if user's browser doesn't support Cookies, then where to store user's session information?

2010-01-12 Thread Peter Chen
Hi, all I am using Tomcat 5.5.26 as the Web Server. I know the session information is stored in Cookies with the key JSESSIONID. But some browsers don't support Cookies. So my question is if user's browser doesn't support Cookies, then where to store user's session information? And

RE: if user's browser doesn't support Cookies, then where to store user's session information?

2010-01-12 Thread Looijmans, Mike
There's an option somewhere to put the session ID into the URL. You can store state information in the session. Be careful, a browser with two windows will share the session between the two windows, so that a user may get very confusing results when you store currentpage in the session.

Re: if user's browser doesn't support Cookies, then where to store user's session information?

2010-01-12 Thread Mark Thomas
On 12/01/2010 09:00, Peter Chen wrote: Hi, all I am using Tomcat 5.5.26 as the Web Server. I know the session information is stored in Cookies with the key JSESSIONID. But some browsers don't support Cookies. So my question is if user's browser doesn't support Cookies, then where to

Re: Running Tomcat 6 as a service

2010-01-12 Thread Pid
On 12/01/2010 04:10, Russell Collins wrote: I am using JRockit as my java runtime. When I manually start Tomcat, I have no problems with it. However, when I try to run Tomcat as a service with JRockit as my java runtime, I get an error that says that it cannot start the service. I looked

Re: JVM goes away

2010-01-12 Thread Carl
Perhaps not the best design but basically, yes. We have stored a fair amount of information in memory (session) to try to improve the speed of the application (so we don't go back to the disk as often.) At some point (probably never happen) I would like to take a look at the balance between

Re: JVM goes away

2010-01-12 Thread Carl
One more reason why we use this much memory: we run 2-4 contexts most of the time. This was originally done to separate certain customer data while keeping the code base the same and to allow us to have a test environment exactly like the production environment. If each context requires

Problem publishing application.

2010-01-12 Thread Nicanor Gutiérrez Requejo
Hi, i'm developing an application, and i'm having some problems with the publishing of it. When i deploy it my local server it works fine, with no error. But when i deploy it in other remote tomcat, it doesn't work, and it shows me the following error: org.apache.jasper.JasperException: Ha

Re: if user's browser doesn't support Cookies, then where to store user's session information?

2010-01-12 Thread Pid
On 12/01/2010 09:00, Peter Chen wrote: Hi, all I am using Tomcat 5.5.26 as the Web Server. I know the session information is stored in Cookies with the key JSESSIONID. Only the id is stored in the cookie. But some browsers don't support Cookies. So my question is if user's browser doesn't

Re: Problem publishing application.

2010-01-12 Thread Pid
On 12/01/2010 11:03, Nicanor Gutiérrez Requejo wrote: Hi, i'm developing an application, and i'm having some problems with the publishing of it. When i deploy it my local server it works fine, with no error. But when i deploy it in other remote tomcat, it doesn't work, and it shows me the

Re: How to access webapp classes from a Context/Manager implementation (jar located in in $CATALINA_HOME/lib/)

2010-01-12 Thread Martin Grotzke
Hi Konstantin, On Mon, 2010-01-11 at 05:19 +0300, Konstantin Kolinko wrote: 2010/1/11 Martin Grotzke martin.grot...@javakaffee.de: On Mon, 2010-01-11 at 02:54 +0300, Konstantin Kolinko wrote: 2010/1/10 Martin Grotzke martin.grot...@javakaffee.de: Hi, Jan 10, 2010 2:57:51 PM

RE: Tips on tracking down memory leaks

2010-01-12 Thread Joseph Morgan
Greg, you've just awakened a 900 lb gorilla! My guess, based upon your description of the problem as large chunks at a time, is something related to reading and caching data, and this is why PMD and profiling tools won't help. Therefore, look at all the code accessing data from whatever storage

RE: Exception in localhost file

2010-01-12 Thread Joseph Morgan
Jan 11, 2010 4:12:57 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet SwchServlet threw exception java.lang.ArrayIndexOutOfBoundsException There is no clue as to why this might be happening. False, that IS the clue. SwchServlet code is using an

RE: Tips on tracking down memory leaks

2010-01-12 Thread Caldarale, Charles R
From: Greg McCane [mailto:gregmcc...@yahoo.ca] Subject: Tips on tracking down memory leaks The memory growth appears to be in large chunks rather than slow, steady growth. Use a heap profiler to find out what's eating up the space and who is allocating it. Even the simple one (hprof)

Re: Problem publishing application.

2010-01-12 Thread Nicanor Gutiérrez Requejo
Solved, thanks for your help. The linux server needed the saxon's jars. Don't know exactly why the applications works in Windows without them, maybe they are in the classpath or something similar that i can't find. So thanks again. Pid escribió: On 12/01/2010 11:03, Nicanor Gutiérrez

Polling and session timeout

2010-01-12 Thread grailcattt
I have a GWT application that polls tomcat periodically to deliver notifications into the browser. This works well, except that the session never times out since the poll period is much shorter than our tomcat timeout (have set to 15 minutes now). Is there any way to specify that my

Re: Exception in localhost file

2010-01-12 Thread Mohit Anchlia
There seems to be no code. This is logging properties. I am not sure why the exception is not getting logged. I do have application specific log4j.xml but that's only for application logs that is working fine. #org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO

RE: Exception in localhost file

2010-01-12 Thread Joseph Morgan
This isn't a Tomcat issue at all, just code in SwchServlet behaving badly or getting unexpected data. -Original Message- From: Mohit Anchlia [mailto:mohitanch...@gmail.com] Sent: Tuesday, January 12, 2010 9:58 AM To: Tomcat Users List Subject: Re: Exception in localhost file There

RE: Exception in localhost file

2010-01-12 Thread Caldarale, Charles R
From: Mohit Anchlia [mailto:mohitanch...@gmail.com] Subject: Re: Exception in localhost file There seems to be no code. Obviously a false statement. You need to find the code for SwchServlet (it's not part of Tomcat) and determine why it is throwing (and possibly swallowing) the

Re: Exception in localhost file

2010-01-12 Thread Mohit Anchlia
Yes. I understand that. I was trying to understand why full stack trace is not being logged in localhost On Tue, Jan 12, 2010 at 8:11 AM, Joseph Morgan joseph.mor...@ignitesales.com wrote: This isn't a Tomcat issue at all, just code in SwchServlet behaving badly or getting unexpected data.

Client authentication problems

2010-01-12 Thread John Watson
Dear tomcat users, I run tomcat 6.0.18 under java 6 and am attempting to set up client authentication via SSL. I have followed the instructions here: http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html, with Tomcat using the default SSL implementation. We act as our own CA, so I have set

RE: Running Tomcat 6 as a service

2010-01-12 Thread Russell Collins
I commented out those lines, I changed the startmode and stopmode to exe (and also tried java). I get an error when starting the service. I checked all of the paths and they appear to be correct. The error that I am getting is: [2010-01-12 10:40:39] [info] Procrun (2.0.4.0) started

More on Tomcat Sessions - limiting cluster session replication to sessions that will last longer than 'n' duration

2010-01-12 Thread Robin Wilson
Earlier this week I posted a question about how to prevent sessions from being created in our Tapestry pages, and/or how to get Tomcat to get rid of a bunch of '1-second' sessions we're creating during a load test because the sessions eventually fill up the heap. (They are being created faster

Re: More on Tomcat Sessions - limiting cluster session replication to sessions that will last longer than 'n' duration

2010-01-12 Thread Pid
On 12/01/2010 16:47, Robin Wilson wrote: Earlier this week I posted a question about how to prevent sessions from being created in our Tapestry pages, and/or how to get Tomcat to get rid of a bunch of '1-second' sessions we're creating during a load test because the sessions eventually fill

More on Tomcat Sessions - limiting cluster session replication to sessions that will last longer than 'n' duration

2010-01-12 Thread Robin Wilson
REPOSTING this so it won't be on the other thread - sorry about that. Earlier this week I posted a question about how to prevent sessions from being created in our Tapestry pages, and/or how to get Tomcat to get rid of a bunch of '1-second' sessions we're creating during a load test because the

Re: Tomcat Filter Mapping Issue

2010-01-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick, On 1/10/2010 1:45 PM, Patrick Flaherty wrote: I do not dispute you at all, don't get me wrong. It's even been proven in my testing that this is what made filter mapping work for me. If you have a link that illustrates this I would

Re: mod_jk: plus-character causes %-encoding problems

2010-01-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tero, On 1/11/2010 8:41 AM, Tero Karttunen wrote: [snip] RedirectMatch ^/sites(.*)$ /contextroot/subcontext/sites$1 [snip] OBSERVED BEHAVIOR WITH +ForwardURIProxy: (implicit) = I try to access URL

Re: More on Tomcat Sessions - limiting cluster session replication to sessions that will last longer than 'n' duration

2010-01-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robin, On 1/12/2010 1:42 PM, Robin Wilson wrote: Earlier this week I posted a question about how to prevent sessions from being created in our Tapestry pages, and/or how to get Tomcat to get rid of a bunch of '1-second' sessions we're creating

RE: More on Tomcat Sessions - limiting cluster session replication to sessions that will last longer than 'n' duration

2010-01-12 Thread Robin Wilson
Thanks for your response, here are my answers to your questions... In our test environment, we have a 2 server cluster, but our front-end Apache server is only hitting one of them. Regardless of that fact, all sessions created on either server get replicated to the other. So as they are created

Re: More on Tomcat Sessions - limiting cluster session replication to sessions that will last longer than 'n' duration

2010-01-12 Thread Pid
On 12/01/2010 21:05, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robin, On 1/12/2010 1:42 PM, Robin Wilson wrote: Earlier this week I posted a question about how to prevent sessions from being created in our Tapestry pages, and/or how to get Tomcat to get rid of a

how do I enable CGI scripts in Tomcat 6?

2010-01-12 Thread Grossman, Robert B
We have a web application running in Tomcat 6 on Ubuntu, and we want to run CGI scripts in Perl via the browser. The descriptions of the CGI enabling process that we have found on the Web, e.g. http://tomcat.apache.org/tomcat-6.0-doc/cgi-howto.html and

RE: how do I enable CGI scripts in Tomcat 6?

2010-01-12 Thread Caldarale, Charles R
From: Grossman, Robert B [mailto:robert.gross...@uky.edu] Subject: how do I enable CGI scripts in Tomcat 6? The descriptions of the CGI enabling process that we have found on the Web, e.g. http://tomcat.apache.org/tomcat-6.0-doc/cgi-howto.html That's the right one. and

Re: More on Tomcat Sessions - limiting cluster session replication to sessions that will last longer than 'n' duration

2010-01-12 Thread Tsirkin Evgeny
Did you think about a possibility instead of get rid of the session overwriting the manager - getting rid of the data stored in session? If I understand correctly Tapestry needs the session for the page creation time ,which means that you don't need all the data stored there after the page was

rewrite not working in isapi_redirect

2010-01-12 Thread Monu Agrawal
Hi, I am using ISAPI_REDIRECT in IIS, where I am redirecting all *.do pages to a worker. But now I want to redirect few urls to the new URLs like: /site/xyz.do = http://mysite.com/xyz.aspx I wrote the rule in rewrite file. /site/xyz.do=http://mysite.com/xyz.aspx But It didn't work. I gave an

Re: rewrite not working in isapi_redirect

2010-01-12 Thread Mladen Turk
On 01/13/2010 07:45 AM, Monu Agrawal wrote: Hi, I am using ISAPI_REDIRECT in IIS, where I am redirecting all *.do pages to a worker. But now I want to redirect few urls to the new URLs like: /site/xyz.do = http://mysite.com/xyz.aspx I wrote the rule in rewrite file.