Problem with logging

2007-08-27 Thread Oscar Segarra Rey
Hi, I have updated from Tomcat 5.5.21 to Tomcat 5.5.23 mantaining the server.xml file. In our installation we have 4 nodes (W11,W12,W21,W22) W11 and W12 make a cluster. W21 and W22 make another cluster. 4 nodes have been upgraded to version 5.5.23. After the installation I

Re: Tomcat (javac)compilation arguments

2007-08-27 Thread Manivannan Palanichamy
oh! Then, let me put my question clear first.. My problem is: I am trying to install java tomcat on a server (redhat linux, 64 bit), which runs on shared memory. I need to limit down java start up memory, by passing arguments like $javac -J -Xmx118m $java -Xmx118m so that the virtual machince

Re: Tomcat looses POST parameters

2007-08-27 Thread M4N - Arjan Tijms
Hi, Martin Gainty wrote: Fiddler lets you construct the request http://www.fiddlertool.com/fiddler/ Thanks for your suggestion, but I already tried that: Using a proxy server to monitor what my browser was sending, I clearly saw in the raw HTTP headers that parameters where being send

Re: Tomcat looses POST parameters

2007-08-27 Thread M4N - Arjan Tijms
Hi, thebugslayer wrote: I would suggest a TCP sniff tool like one found from axis or grinder to peek at your http track to be sure. Thanks for your reply. The TCP Sniffer from The Grinder is an HTTP proxy, and I already tried that: Using a proxy server to monitor what my browser was

digest ignored in Data source realm

2007-08-27 Thread Glenn McCall
I have a problem where the digest element is seemingly being ignored when I move my web app from development to production. The application uses form based security and works just fine in development. Here are the details. Dev - tomcat 5.5.17 in Netbeans 5.5.1 Prod - tomcat 5.5.15 - this is

RE: Tomcat looses POST parameters

2007-08-27 Thread Hehl, Thomas
I've read other responses and don't know much more about what to tell you. It seems to be the first order of business is to figure out how to consistently re-create the problem. Have you tried running requests from a load testing app? Try banging on tomcat directly, then on Apache if no luck

Re: Tomcat (javac)compilation arguments

2007-08-27 Thread Brian Munroe
On 8/27/07, Manivannan Palanichamy [EMAIL PROTECTED] wrote: My problem is: I am trying to install java tomcat on a server (redhat linux, 64 bit), which runs on shared memory. I need to limit down java start up memory, by passing arguments like $javac -J -Xmx118m $java -Xmx118m so that the

RE: catalina error log

2007-08-27 Thread Caldarale, Charles R
From: KarenC [mailto:[EMAIL PROTECTED] Subject: Re: catalina error log I have tomcat 5.5.23 and am getting the same error as this thread. I have found the Windows file tomcat-native-1.1.10-win32-src.zip and unzipped it. Probably a waste of time, since that's just the source code, not

Re: Tomcat looses POST parameters

2007-08-27 Thread M4N - Arjan Tijms
Hehl, Thomas wrote: I've read other responses and don't know much more about what to tell you. It seems to be the first order of business is to figure out how to consistently re-create the problem. Indeed. We've been trying that for a couple of weeks now but no luck yet. As of now the only

Re: Tomcat looses POST parameters

2007-08-27 Thread Ben Souther
One thing that you've go on your side, as far as isolating the problem is concerned, is that Tomcat is a busy project and has thousands of users. If it had a bug that caused it to miss or drop form parameters hundreds or thousands of apps would be breaking right now and this, the dev list, and

Re: Tomcat looses POST parameters

2007-08-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arjan, M4N - Arjan Tijms wrote: The problem I'm encountering is that for a percentage of the POST requests, Tomcat seems to loose all parameters. Are you observing this in log files, or by actually doing it and having it fail. I'm asking because

Re: Tomcat (javac)compilation arguments

2007-08-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manivannan, Manivannan Palanichamy wrote: My problem is: I am trying to install java tomcat on a server (redhat linux, 64 bit), which runs on shared memory. I need to limit down java start up memory, by passing arguments like $javac -J -Xmx118m

Re: digest ignored in Data source realm

2007-08-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Glenn, Glenn McCall wrote: I have a problem where the digest element is seemingly being ignored when I move my web app from development to production. The application uses form based security and works just fine in development. That's very

Re: Tomcat looses POST parameters

2007-08-27 Thread M4N - Arjan Tijms
Hi, Christopher Schultz wrote: The problem I'm encountering is that for a percentage of the POST requests, Tomcat seems to loose all parameters. Are you observing this in log files, or by actually doing it and having it fail. Both actually. I have installed a top-level filter, and

Fwd: regarding a bug while verifying that a server can start.

2007-08-27 Thread Neha Sancheti
hi, I am having a problem while using tomcat. I have installed tomcat in the following destination:F:/WinApps/Tomcat 5..5 I successfully installed it and have set my JAVA_HOME and CATALINA_HOME variables to .;F:\WinApps\Tomcat 5.5\ and F:\WinApps\Java\jdk 1.5 respectively. My CLASSPATH is

Re: Tomcat looses POST parameters

2007-08-27 Thread M4N - Arjan Tijms
Hi, Ben Souther wrote: One thing that you've go on your side, as far as isolating the problem is concerned, is that Tomcat is a busy project and has thousands of users. If it had a bug that caused it to miss or drop form parameters hundreds or thousands of apps would be breaking right now and

Re: Fwd: regarding a bug while verifying that a server can start.

2007-08-27 Thread David Smith
Hi Neha. Please do not set the CLASSPATH or make any attempt to make the startup pay attention to it. jsp-api and servlet-api are already stored where they will be found. mysql-connector-java should be removed from the jre's lib/ext directory and placed in tomcat's common/lib folder.

RE: Tomcat (javac)compilation arguments

2007-08-27 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat (javac)compilation arguments Though I'm not positive, I'm pretty sure that the JSP compiler within Tomcat runs in-process; That's true by default. However, there is a fork parameter that can be set for the JSP servlet

Re: Apache authentication information (remoteuser) not visible in Tomcat

2007-08-27 Thread Omar Nafees
Hi Rainer, Thanks for the response. I should have thought of testing the relevant methods in a simpler servlet. This has revealed the following: If I turn off the SSL requirement in my application's web.xml (i.e., in the security constraint of web.xml), request.getRemoteUser() works fine.

RE: [mod_jk] problem serving URIs with 'special characters'

2007-08-27 Thread Guy Katz
Thanks; one question though. The downloads page states that mod_jk1.2.25 is for apache 2.0.59 and later only. i have a 2.0.52 installation(on centos) that i can't change. does this mean i am stuck here? or can mod_jk1.2.25 still work with apache 2.0.52 thanks in advance. -Original

Re: Tomcat looses POST parameters

2007-08-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arjan, M4N - Arjan Tijms wrote: It's a good thought, and such a thing could have happened. Only in this case the parameters are already missing before any request processing is being done. No, your filter will only be executed after the login has

Re: [OT] Session replication vs stateless

2007-08-27 Thread lightbulb432
Thanks for your response. So it sounds like session replication is out for sure - you confirmed my initial feelings about it. Let me see if I have my options straight - stateless app tier and no session affinity, or stateful app tier (i.e. HttpSessions) with session affinity? The former allows

from what site can i download admin tool for TOMCAT 5.0.28?

2007-08-27 Thread alla winter
Hello, the download page for tomcat http://tomcat.apache.org/download-55.cgi#5.0.28 doesn't contain zip file for TOMCAT 5.0.28 admin tool. But it does contain Administration Web Application zip file for Tomcat 5.0.23 or 5.030. Will be ADMIN tool for version 5.0.23 good for version 5.0.28? I

Re: Tomcat looses POST parameters

2007-08-27 Thread David Delbecq
Just a point worth if it's related to FORM login; The form login does have a maximum request size that is stored in user session and restored after login as original request. If request was too big (fileupload, article submissions, etc), it might get dropped. I think the default max is about

Re: [OT] Session replication vs stateless

2007-08-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lb, lightbulb432 wrote: Let me see if I have my options straight - stateless app tier and no session affinity, or stateful app tier (i.e. HttpSessions) with session affinity? That sounds about right. Don't forget that you can't be stateless if you

Re: Tomcat looses POST parameters

2007-08-27 Thread M4N - Arjan Tijms
Hi, c. wrote: I experienced some problems with missing POST parameters. I'm not sure where the problem lay but I was using apache 2, tomcat 5.5, mod_ajp_proxy and dwr. I upgraded to tomcat 6 using mod_proxy and NIO and have not seen the problem since. Chris, this sounds very interesting

Re: Tomcat looses POST parameters

2007-08-27 Thread M4N - Arjan Tijms
Hi, Christopher Schultz wrote: No, your filter will only be executed after the login has been handled, since Tomcat's authentication is done using a valve, which is processed before any filters. I see. The thing is, I'm not using any container managed authentication at all. All

Apache APR Native Library

2007-08-27 Thread KarenC
Hi Chuck, Thanks for helping out with getting the correct files. I have read the Tomcat page you directed me to backwards and forwards many times but still have no idea where to put the dll? Should I put it into the windows\system32 directory? Do I really need the SSL exe as this is for an

Re: Apache APR Native Library

2007-08-27 Thread Len Popp
The DLL should go in Tomcat's bin subdirectory. -- Len On 8/27/07, KarenC [EMAIL PROTECTED] wrote: Hi Chuck, Thanks for helping out with getting the correct files. I have read the Tomcat page you directed me to backwards and forwards many times but still have no idea where to put the dll?

Re: from what site can i download admin tool for TOMCAT 5.0.28?

2007-08-27 Thread Mark Thomas
alla winter wrote: Hello, the download page for tomcat http://tomcat.apache.org/download-55.cgi#5.0.28 doesn't contain zip file for TOMCAT 5.0.28 admin tool. The admin tool for 5.0.28 is part of the core 5.0.28 download. Will be ADMIN tool for version 5.0.23 good for version 5.0.28? No.

Re: Tomcat looses POST parameters

2007-08-27 Thread Mark Thomas
M4N - Arjan Tijms wrote: Hi, c. wrote: I experienced some problems with missing POST parameters. I'm not sure where the problem lay but I was using apache 2, tomcat 5.5, mod_ajp_proxy and dwr. I upgraded to tomcat 6 using mod_proxy and NIO and have not seen the problem since.

Annotations (specifically @PostConstruct) doesn't work in 6.0.14

2007-08-27 Thread mraible
Do I have to do anything special to get Tomcat to recognize @PostConstruct when using 6.0.14 out-of-the-box? I'm trying to get it to work with JSF's RI. Works fine on GlassFish. Environment: OS X, JDK 5 Thanks, Matt -- View this message in context:

Re: 20 Tips for Using Tomcat in Production

2007-08-27 Thread Ole Ersoy
Hi, I'm trying to get the -server option working with jsvc. When inserting -server I get this: [EMAIL PROTECTED] init.d]# service tomcat start Starting tomcat 27/08/2007 21:11:08 10371 jsvc error: Invalid option -server 27/08/2007 21:11:08 10371 jsvc error: Cannot parse command line arguments

Re: 20 Tips for Using Tomcat in Production

2007-08-27 Thread Ole Ersoy
Hi, I ran ./jsvc help and notice it had a -jvm option. So I tried this: CATALINA_HOME=/usr/share/apache-tomcat JAVA_HOME=/usr/lib/jvm/java DAEMON_LAUNCHER=$CATALINA_HOME/bin/jsvc TOMCAT_USER=tomcat TMP_DIR=/var/cache/apache-tomcat/temp

RE: 20 Tips for Using Tomcat in Production

2007-08-27 Thread Caldarale, Charles R
From: Ole Ersoy [mailto:[EMAIL PROTECTED] Subject: Re: 20 Tips for Using Tomcat in Production Anyone know if there is a way to verify that the jvm is running in server mode? Enable JMX and use JConsole to look inside, or install Lambda Probe and look at its System Information tab. Get

Tomcat Feature List

2007-08-27 Thread Sachin Mehrotra
Hi, I want to go through the feature list for the Tomcat 5.x, Can you please mail me or point me to the location where I can find them. Thanks, Sachin

Re: [mod_jk] problem serving URIs with 'special characters'

2007-08-27 Thread Mladen Turk
Guy Katz wrote: Thanks; one question though. The downloads page states that mod_jk1.2.25 is for apache 2.0.59 and later only. i have a 2.0.52 installation(on centos) that i can't change. does this mean i am stuck here? or can mod_jk1.2.25 still work with apache 2.0.52 thanks in advance.

Sessions counter on Web Application Manager

2007-08-27 Thread Justin Madex
Good Afternoon, I recently took note of the Sessions counter on the Tomcat Web Application Manager for one of the applications that i have deployed to the server and the fact that the counter never decreases until the session times out. Despite the fact that my application calls