Only see html/code

2008-01-20 Thread Chris Baty
Hi Guys, I'm running Tomcat 5.5 and Apache 2, with Tomcat connector (Kind of a newbie). I got my Tomcat working fine at /usr/share/tomcat5.5-webapps/ROOT/cwrecyclers. When I point the browser (locally) at localhost:8180/cwrecyclers/ I see exactly what I expect. But when I look remotely also

Re: Only see html/code

2008-01-20 Thread Martin Gainty
Hi Chris is your webserver is forwarding/redirecting or retunfing in the response anything other than html? if so could you display these pages and your configuration from web.xml M-- - Original Message - From: Chris Baty [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Sunday,

Re: Only see html/code

2008-01-20 Thread Rainer Jung
Hi Chris, Chris Baty schrieb: Hi Guys, I'm running Tomcat 5.5 and Apache 2, with Tomcat connector (Kind of a newbie). I got my Tomcat working fine at /usr/share/tomcat5.5-webapps/ROOT/cwrecyclers. When I point the browser (locally) at localhost:8180/cwrecyclers/ I see exactly what I expect.

Tomcat App becomes Unresponsive

2008-01-20 Thread tc
I have been asked to investigate a tomcat/java application. The basic problem is that this application sometimes becomes unresponsive if more than one user uses it at a time. Restarting Tomcat clears the problem. I don't think it has ever occurred when only one person was using the app. It is

mod_jk taking a single tomcat-worker offline for software maintenance

2008-01-20 Thread Thomas Glanzmann
Hello, I have mod_jk version 1:1.2.18-3etch1 (which comes with Debian Etch) as loadbalancer in front of four tomcats version 5.5.20-2etch2 that do not duplicate sessions because of their size (100Mbyte per session; 120 - 500 users). My workers.property looks the following: worker.list=router,

Re: mod_jk taking a single tomcat-worker offline for softwaremaintenance

2008-01-20 Thread Rainer Jung
Hi Thomas, Thomas Glanzmann schrieb: Hello, I have mod_jk version 1:1.2.18-3etch1 (which comes with Debian Etch) as loadbalancer in front of four tomcats version 5.5.20-2etch2 that do not duplicate sessions because of their size (100Mbyte per session; 120 - 500 users). My workers.property looks

Tomcat 4.x, 5.x Client mode vs Server mode and JAVA_OPTS, how-to-know which is running?

2008-01-20 Thread David Brown
Hello TC committers, contributors and users. I am a long time TC user and it is the reason I have my current gig. In spite of the length of time using Tomcat I was not aware of the Client vs Server mode using the JAVA_OPTS variable in catalina or the startup script. Currently, I am using JMeter

Fw: Tomcat 4.x, 5.x Client mode vs Server mode and JAVA_OPTS, how-to-know which is running?

2008-01-20 Thread Martin Gainty
I dont believe you can force JAVA VM to run in 'server-mode' configuration on any windows box perhaps if you try to use -server option configured in the %JAVA_OPTS% with a AMD64 bit processor? http://java.sun.com/j2se/1.5.0/docs/guide/vm/server-class.html M - Original Message - From:

Re: Tomcat App becomes Unresponsive

2008-01-20 Thread David Delbecq
If you are on a UNIX jvm, issue a signal 3 (SIGQUIT) to the jvm process when tomcat stops responding. It will dump on standard-out (normaly redirected to catalina.out) the list of Threads with a stacktrace for each. By invstigating stacktrace you will get clues as where the problem is. I don't

Re: Tomcat App becomes Unresponsive

2008-01-20 Thread tc
Okay, sounds good. Thanks. Now if I could just figure out how to cause it to happen... If you are on a UNIX jvm, issue a signal 3 (SIGQUIT) to the jvm process when tomcat stops responding. It will dump on standard-out (normaly redirected to catalina.out) the list of Threads with a stacktrace

web.xml problems outside tomcat webapp folder

2008-01-20 Thread Frank Habermann
Hi, i am using tomcat 6.0.14 on windows and create projects with eclipse. For my own projects i do not use the webapps folder from the original package of tomcat. I use a different location. But with this solution i have some problems. Tomcat is not using all values from the web.xml. Perhaps

Re: web.xml problems outside tomcat webapp folder

2008-01-20 Thread Hassan Schroeder
On Jan 20, 2008 1:41 PM, Frank Habermann [EMAIL PROTECTED] wrote: i am using tomcat 6.0.14 on windows and create projects with eclipse. For my own projects i do not use the webapps folder from the original package of tomcat. I use a different location. But with this solution i have some

Re: Fw: Tomcat 4.x, 5.x Client mode vs Server mode and JAVA_OPTS, how-to-know which is running?

2008-01-20 Thread Rainer Jung
Martin Gainty schrieb: I dont believe you can force JAVA VM to run in 'server-mode' configuration on any windows box perhaps if you try to use -server option configured in the %JAVA_OPTS% with a AMD64 bit processor? http://java.sun.com/j2se/1.5.0/docs/guide/vm/server-class.html

Re: web.xml problems outside tomcat webapp folder

2008-01-20 Thread mgainty
yes..can you also display you configuration for default Virtual Host appBase attribute? In other words %TOMCAT_HOME%\conf\server.xml you should see appBase that looks like Host name=YourServerGoesHere appBase=webapps M-- - Original Message - Wrom:

RE: Tomcat 4.x, 5.x Client mode vs Server mode and JAVA_OPTS, how-to-know which is running?

2008-01-20 Thread Caldarale, Charles R
From: David Brown [mailto:[EMAIL PROTECTED] Subject: Tomcat 4.x, 5.x Client mode vs Server mode and JAVA_OPTS, how-to-know which is running? Martin's comment about not being able to run in server mode on a Windows box is, of course, fallacious. A HotSpot JVM will run in server or client

Re: comet questions

2008-01-20 Thread Filip Hanik - Dev Lists
setting a timeout doesn't mean you're gonna get a timeout in exactly 5 seconds, it means that after 5 seconds the server can time it out. the server is still only checking for timeouts at certain intervals. the way you describe it, like connectionTimeout drives your timeout, that would mean

Re: comet end event

2008-01-20 Thread Filip Hanik - Dev Lists
now I get it. I just ran through a test case, and an END event was not thrown just because there was an end chunk. the response is very much still open at that point Filip Peter Warren wrote: What java.net.HttpURLConnection has to do with Tomcat and comet is that HttpURLConnection is Java's

Re: comet client doesn't receive server response

2008-01-20 Thread Filip Hanik - Dev Lists
yes, most proxies will wait until they receive the end of the response, before passing it on. that's what you are seeing, a regular servlet, ends the response right away Filip Peter Warren wrote: What is interesting to me is that the exact same client code only using a different url (i.e. to

Re: mod_jk taking a single tomcat-worker offline for softwaremaintenance

2008-01-20 Thread Thomas Glanzmann
Rainer, No, the design of mod_jk is stateless w.r.t. sessions. There are only the obvious solutions, i.e. assuming that after some time of disabling (time depending on typical session use cases like 10 minutes or an hour) you stop the worker and thereby redirect users that still try to use