RE: the Tomcat generates more than one session id with the same http request, please help me

2009-12-07 Thread Looijmans, Mike
Seems like a propietary way of storing the session ID, I'm not much into JSP stuff so I really don't know. Someone else here may be able to explain. You can store whatever you need in parameters, either by putting into URLs or by creating (hidden) controls on web forms. This is the preferred met

RE: the Tomcat generates more than one session id with the same http request, please help me

2009-12-07 Thread Peter Chen
Hi pid, I used a JavaBean to pass the parameter, the sentence is like this: And the scope is session, in the Jsp page, I use this JavaBean like this: Message msg = bean.getMessage(); And in the object of Message, I stored a MMS(Multimedia Message Service, include video and audio files), and I w

RE: the Tomcat generates more than one session id with the same http request, please help me

2009-12-07 Thread Peter Chen
Thanks for Mike's reply. I searched on the Internet, and I got a method, the detail is as follows: document.write(''); document.write('RE: JSSE question
Am Montag, den 07.12.2009, 10:25 -0800 schrieb Vadim Letitchevski: > Bill. > > I have followed the recommendations in that document but did not succeed. > So I have a set of self-generated (using OpenSSL) credentials. OpenSSL server > and client work fine (connect) using these credentials with au

Re: mod_proxy tomcat6 question

I figured it out. It turns out the module configuration is getting overwritten by the configuration of another module. Answers to your questions inline. > But what is getting close to off-topic, is being confusing in your > explanations, to the point of making people wonder what exactly you are >

RE: Publishing Java webservice - tomcat 5.5 shared hosting

Dear All, Thanks for your valuable suggestions. We managed to achieve this by developing the web service using lomboz and just copied the entire application folder from the local tomcat server into our web hosting environment ( /webapps/mywebsite/mywebservice ). It worked fine. Thank you very

directory path

Hi Team, I have started using Tomcat 5.5.27 recently and now I would like to integrate with Axis for web service development.However, I could see many web-inf and lib folders so I am confused where I should keep my library files. I thought of using this location C:\Documents and Settings\minglau

Re: CGI on Tomcat 5.5.28

nicoli wrote: > Mark, > > I also tried to run it from http://localhost/cgi-bin/cognos.cgi > but for some reason IE doesn't find cognos.cgi in that directory, even > WEB-INF/cgi value is specified for cgiPathPrefix: > > cgiPathPrefix > WEB-INF/cgi > > > Th

Re: CGI on Tomcat 5.5.28

Mark, I also tried to run it from http://localhost/cgi-bin/cognos.cgi but for some reason IE doesn't find cognos.cgi in that directory, even WEB-INF/cgi value is specified for cgiPathPrefix: cgiPathPrefix WEB-INF/cgi Thank you markt-2 wrote: > > nicol

Re: CGI on Tomcat 5.5.28

nicoli wrote: > Hi Mark, > > Thank you for quick response. > I'm using URL as http://localhost/cognos.cgi > cognos.cgi is located in Tmcat's ROOT directory. > What IE is doing - just asking to choose program to open cognos.cgi > The same issue happens when it’s trying to open cognos.cgi file from

Re: CGI on Tomcat 5.5.28

Hi Mark, Thank you for quick response. I'm using URL as http://localhost/cognos.cgi cognos.cgi is located in Tmcat's ROOT directory. What IE is doing - just asking to choose program to open cognos.cgi The same issue happens when it’s trying to open cognos.cgi file from a virtual directory that I

RE: tomcat, uPortal, error messages and confusion

> From: Egeste [mailto:ege...@egeste.net] > Subject: Re: tomcat, uPortal, error messages and confusion > > To clarifty, do you want the web.xml and context.xml files > before or after I build the war file? We don't want to see Tomcat's conf/web.xml and conf/context.xml files, we want to see the

Re: tomcat, uPortal, error messages and confusion

Chuck, Thank you for volunteering assistance. To clarifty, do you want the web.xml and context.xml files before or after I build the war file? On Dec 7, 2009, at 3:18 PM, Caldarale, Charles R wrote: From: Egeste [mailto:ege...@egeste.net] Subject: tomcat, uPortal, error messages and confusi

RE: tomcat, uPortal, error messages and confusion

> From: Egeste [mailto:ege...@egeste.net] > Subject: tomcat, uPortal, error messages and confusion > > in communication with the uPortal mailing list, I was advised to seek > advice from this group regarding the following thread: Is this a real Tomcat, or a Ubuntu-mangled version? Please post yo

tomcat, uPortal, error messages and confusion

I've recently been trying to implement uPortal on my debian linux server running the following binaries: tomcat5.5 maven2 ant 1.7.1 Again, attempting to deploy uPortal version 3.0.4 in communication with the uPortal mailing list, I was advised to seek advice from this group regarding the fo

Re: CGI on Tomcat 5.5.28

nicoli wrote: Hi, I have installed Tomcat 5.5.28 on my Windows XP computer. I did all recommended changes to a web.xml: - uncommented cgi org.apache.catalina.servlets.CGIServlet debug 0 cgiPathPrefix WEB-I

Re: Control character in cookie value

sure! protected void setCookieValueIfEnabled(String value) { FacesContext ctx = FacesContext.getCurrentInstance(); if ( isCookieEnabled() && ctx != null) { HttpServletResponse response = (HttpServletResponse) ctx.getExternalContext().getResponse(); Cookie co

Re: CGI on Tomcat 5.5.28

nicoli wrote: > But when I'm trying to execute cgi module from IE, it doesn't recognize it > as executable. > Please help. > What is wrong? A few questions: - What URL are you requesting ? - Where is the cgi script located in the web app? Mark

CGI on Tomcat 5.5.28

Hi, I have installed Tomcat 5.5.28 on my Windows XP computer. I did all recommended changes to a web.xml: - uncommented cgi org.apache.catalina.servlets.CGIServlet debug 0 cgiPathPrefix WEB-INF/cgi

Re: Control character in cookie value

itay sahar wrote: sure! protected void clearCookieValue() { Cookie cookie = getCookie(); if ( cookie!=null ) { HttpServletResponse response = (HttpServletResponse) FacesContext.getCurrentInstance().getExternalContext().getResponse(); cookie.setValue(null);

Re: Control character in cookie value

sure! protected void clearCookieValue() { Cookie cookie = getCookie(); if ( cookie!=null ) { HttpServletResponse response = (HttpServletResponse) FacesContext.getCurrentInstance().getExternalContext().getResponse(); cookie.setValue(null); cookie.setP

RE: Publishing Java webservice - tomcat 5.5 shared hosting

Abdul Have you developed the Web-service? There are a few frameworks that allow you to develop ws (Axis, CXF) but I can't tell if these are going to far. Axis (from memory) you can add more or less as a sub directory in your context, from there you should be able to create individual web-servi

Re: Control character in cookie value

On 7 Dec 2009, at 19:26, itay sahar wrote: > I add log for the following method: > > protected String encodeToken(String username, String value) > { > StringBuilder sb = new StringBuilder(); > sb.append(username); > sb.append(":"); > sb.append(value); > return Base64.en

RE: JSSE question

Thanks again Chuck. Unfortunately Bill's suggestion did not work or I did something wrong. Thanks Vadim. (310)765-3812 -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Monday, December 07, 2009 11:23 AM To: Tomcat Users List Subject: RE: JSSE q

Re: Setting up x planner plus using Tomcat

After much fustration I managed to get it working but thanks for your help it was greatly appreciated. Peter Crowther wrote: > > Given that the samples run fine, this doesn't look like a Tomcat issue. I > suspect you'd have better luck on a MySQL, Hibernate or x-planner list. > > I'm slightl

Re: Control character in cookie value

I add log for the following method: protected String encodeToken(String username, String value) { StringBuilder sb = new StringBuilder(); sb.append(username); sb.append(":"); sb.append(value); return Base64.encodeBytes(sb.toString().getBytes()); } *Before encodi

RE: JSSE question

> From: Vadim Letitchevski [mailto:vletitchev...@teledyne.com] > Subject: RE: JSSE question > > I checked the log file and it states that APR library was not found. O.k., good to know that. Ignore the pointer to the APR configuration that I gave you and go back to the original one Bill B pointe

RE: JSSE question

Hi Chuck. Thank you for your quick response. It makes it really interactive. I checked the log file and it states that APR library was not found. I am using the binary distribution 6.0.20 from the Tomcat website on CentOS 5. Thanks Vadim. (310)765-3812 -Original Message- From: Caldar

RE: JSSE question

> From: Vadim Letitchevski [mailto:vletitchev...@teledyne.com] > Subject: RE: JSSE question > > I have noticed the strings > >SSLEngine="on" /> > In my server.xml. The presence of the listener does not necessarily mean you're using APR. If you have a libtcnative .dll or .so file in your

RE: JSSE question

Hi Chuck It does not help either. You are probably right about APR, I have noticed the strings In my server.xml. So following the document you suggested I have changed my server.xml (see attached) and copied pem forkat files localhost.crt and localhost.key from their default locations t

RE: JSSE question

> From: Vadim Letitchevski [mailto:vletitchev...@teledyne.com] > Subject: RE: JSSE question > > I have followed the recommendations in that document but did not > succeed. Are you using APR with Tomcat? If so, the proper doc is here: http://tomcat.apache.org/tomcat-6.0-doc/apr.html#HTTPS - Chu

RE: JSSE question

Bill. I have followed the recommendations in that document but did not succeed. So I have a set of self-generated (using OpenSSL) credentials. OpenSSL server and client work fine (connect) using these credentials with authentication both ways. Following the instructions in (http://tomcat.apache

Re: Setting up x planner plus using Tomcat

Given that the samples run fine, this doesn't look like a Tomcat issue. I suspect you'd have better luck on a MySQL, Hibernate or x-planner list. I'm slightly bemused that the username in the error message is in UPPERCASE when you've specified it in lower case - is something assuming particular c

Re: Tomcat, out of memory and hot reployment

Thanks very much for your answers. My question has been clarified. Malcolm Pid ha scritto: On 07/12/2009 10:53, Malcolm Warren wrote: Dear All, I've seen that using hot deploy too often for apps on my production server (more than seven or eight times) without restarting Tomcat causes an Out

RE: JSSE question

Thank you Bill. Vadim. -Original Message- From: news [mailto:n...@ger.gmane.org] On Behalf Of Bill Barker Sent: Friday, December 04, 2009 7:25 PM To: users@tomcat.apache.org Subject: Re: JSSE question "Vadim Letitchevski" wrote in message news:e17da276f9a0c84fad22739de29c389005dafc3

Setting up x planner plus using Tomcat

Hi, I am trying to configure Tomcat so that I can run x-planner plus on it. I have been following some tutorials but don't seem to be getting anywhere with it. Im getting what looks like some database errors when running Tomcat with my xplanner plus application in the web apps dir. If the xplan

RE: Can service output be redirected to the terminal window?

Hi Andre. I am using CentOS 5. The binary distribution of Tomcat 6.0.20 is downloaded from Tomcat website. Thanks Vadim. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Saturday, December 05, 2009 4:08 AM To: Tomcat Users List Subject: Re: Can service output b

[OT] Application speed (was Re: Tomcat performance benchmark)

2009/12/7 André Warnier > On the other hand, it would be really interesting to compare the > performance of a set of webservers 5 years ago, with the current ones, if > the comparison is in terms of real-world application requests served. > Granted, servers have become faster, memory and disk hav

Re: Tomcat performance benchmark

Peter Crowther wrote: 2009/12/7 Neil Aggarwal Here is one that is somewhat dated: http://www.webperformanceinc.com/library/reports/ServletReport/ Good grief, that's not so much "dated" as "coming back from beyond the grave"! It's two major versions and a lot of performance optimisations out

RE: Tomcat performance benchmark

> From: peter.crowth...@googlemail.com > [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther > Subject: Re: Tomcat performance benchmark > > Benchmarking current performance based on that report is rather like > assuming the current Formula 1 motor racing teams are showing similar

Re: [/jakarta/isapi_redirect.dll] is not a servlet url

Yes, my worker files are in the path I have specified in the registry. I am confused by this as well. I don't know where that worker name is coming from. The workers.minimal settings I posted are the ones I am using. If indeed the redirector is looking for a worker called ajp13 then, yes, it is no

Re: Tomcat performance benchmark

2009/12/7 Neil Aggarwal > Here is one that is somewhat dated: > http://www.webperformanceinc.com/library/reports/ServletReport/ > > Good grief, that's not so much "dated" as "coming back from beyond the grave"! It's two major versions and a lot of performance optimisations out of date for Tomcat

RE: Tomcat performance benchmark

Hello: > I would like to know if anybody could provide me with a > unbiased "tomcat vs > others" peformance benchmark Here is one that is somewhat dated: http://www.webperformanceinc.com/library/reports/ServletReport/ Neil -- Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net Host y

RE: Logging into TOMCAT Manager

> From: joe_sad [mailto:joesadd...@gmail.com] > Subject: RE: Logging into TOMCAT Manager > > It did not ask me for a username or password though is this normal? Your browser may have remembered it for you. > I have placed my xplanner-plus dir with files in the below path. > C:\Program Files\apac

RE: Logging into TOMCAT Manager

I didn't restart the server so this now lets me in. It did not ask me for a username or password though is this normal? Now that I am in... I have placed my xplanner-plus dir with files in the below path. C:\Program Files\apache-tomcat-6.0.20\apache-tomcat-6.0.20\webapps\ When I try and selec

Re: Tomcat, out of memory and hot reployment

On 07/12/2009 10:53, Malcolm Warren wrote: Dear All, I've seen that using hot deploy too often for apps on my production server (more than seven or eight times) without restarting Tomcat causes an Out of memory exception. Whereas it doesn't happen on my mac test machine, presumably because it ha

RE: Tomcat, out of memory and hot reployment

> From: Malcolm Warren [mailto:malc...@villeinitalia.com] > Subject: Tomcat, out of memory and hot reployment > > If I turn off hot redeployment and use the Tomcat manager to redeploy > applications, does that solve the problem? No, that is a hot redeployment. > I would assume that it does not,

RE: Logging into TOMCAT Manager

> From: joe_sad [mailto:joesadd...@gmail.com] > Subject: Logging into TOMCAT Manager > I am new to using TomCat. It's Tomcat, not TomCat. > I have configured the tomcat-users.xml file so that I have a manager > username and password like so.. 1) Did you restart Tomcat after making the changes?

Logging into TOMCAT Manager

Hi, I am new to using TomCat. I have used an apache server like WAMP before for a PHP project. I think that TomCat should be fairly simmilar. All I am trying to do is to login to the manager section so that I can start to use an application called x-planner plus. I have configured the tomcat-u

Re: Tomcat performance benchmark

Cae Fernandes wrote: > Hello guys, > > I would like to know if anybody could provide me with a unbiased "tomcat vs > others" peformance benchmark with full tests and full system specs > (hardware, os, etc). > > I'm interested in concurrent amount of users, hardware load and specs. > I've been des

Re: Control character in cookie value

Thanks André, * * *I agree with you about the doubt you have about the ":" being in C (after encoding).* return Base64.encodeBytes(sb.toString().getBytes()); *I guess you suggest to log somthing like * *(new String(C)).getBytes ? If yes I post it here later. I hope you can then suggest somthing to

Tomcat performance benchmark

Hello guys, I would like to know if anybody could provide me with a unbiased "tomcat vs others" peformance benchmark with full tests and full system specs (hardware, os, etc). I'm interested in concurrent amount of users, hardware load and specs. I've been designing a new system that may need to

Re: Control character in cookie value

itay sahar wrote: Pid, I'm not using B as the cookie value. A & B go to encode and finally you have *one *value(C). this value is sent to addCookie. C is somthing like: aXRheS5zYWhhckBnbWFpbC5jb206NmRlNWNhNGY6MTI1NGM0NjExMTA6LTdmZWI6OTEzNTQ4NjI0 Ok, let's take this at face value. So yet, you

Re: Control character in cookie value

Pid, I'm not using B as the cookie value. A & B go to encode and finally you have *one *value(C). this value is sent to addCookie. C is somthing like: aXRheS5zYWhhckBnbWFpbC5jb206NmRlNWNhNGY6MTI1NGM0NjExMTA6LTdmZWI6OTEzNTQ4NjI0 On Mon, Dec 7, 2009 at 12:16 PM, Pid wrote: > On 06/12/2009 21:51,

Tomcat, out of memory and hot reployment

Dear All, I've seen that using hot deploy too often for apps on my production server (more than seven or eight times) without restarting Tomcat causes an Out of memory exception. Whereas it doesn't happen on my mac test machine, presumably because it has a different jvm from the debian linux p

Re: Apache Tomcat Windows Installer Insecure Password Vulnerability

On 07/12/2009 04:53, Saw Chee Hong wrote: I seen this at one of apache website. *[Summary]* Apache Tomcat is prone to an insecure-password vulnerability in the Windows installer. The administrative password defaults to a blank password during the install process. Attackers may exploit this iss

Re: the Tomcat generates more than one session id with the same http request, please help me

On 07/12/2009 08:22, Peter Chen wrote: Hi, all I am testing a website with the server Tomcat. I am using Tomcat 5.5.26, and I found one problem. The website is used to display audio files. After I log in the website, I can see the icon of the audio file. But after I press the button "play"

Re: Control character in cookie value

On 06/12/2009 21:51, itay sahar wrote: Hi Andre, please see below input and output of: protected String encodeToken(String username, String value) { StringBuilder sb = new StringBuilder(); sb.append(username); sb.append(":"); sb.append(value); return Base64

Re: tomcat server start up without looking dependency jars

On 06/12/2009 17:10, ahmed kasim wrote: Hi thanks a lot for your response and valuable inputs. I want to avoid looking of that classes during server startup, my requirement is, specified classes/properties should lookup only when my war file deployed. If the app is not deployed before start

RE: the Tomcat generates more than one session id with the same http request, please help me

Put the session ID in the URL and it will work on all systems. Alternatively, don't use sessions for the audio file. > -Original Message- > From: Peter Chen [mailto:peter.c...@aicent.com] > Sent: maandag 07 december 2009 09:22 > To: users@tomcat.apache.org > Subject: the Tomcat generat

the Tomcat generates more than one session id with the same http request, please help me

Hi, all I am testing a website with the server Tomcat. I am using Tomcat 5.5.26, and I found one problem. The website is used to display audio files. After I log in the website, I can see the icon of the audio file. But after I press the button "play", it has different results with differe