JVM config in Tomcat

2006-05-07 Thread Martin Gainty
Good Morning Gentlemen- Dumb Question but I have to ask Is there a easy way to switch JVM configurations in Tomcat or does one have to re-install? Many Thanks, Martin Gainty __ Disclaimer and confidentiality note Everything in this e-mail and any a

Re: JVM config in Tomcat

2006-05-07 Thread Bruno Georges
Hi Just set your JAVA HOME and restart. Tomcat can be configured to use different JVM and different JVM options as with other containers. I suggest you make an effort to read the documentation. Bruno Georges Glencore International AG Tel. +41 41 709 3204 Fax +41 41 709 3000 - Original Mess

RE: JVM config in Tomcat

2006-05-07 Thread Tim Lucia
You can easily change the JVM options at run-time. You don't say what O/S, so... Windows: Run the service configuration (bin/tomcat5w) and look on the Java tab. Put the Java options, one per line, in the text area "Java Options". Note the memory options are specified separately on this same tab.

RE: JVM config in Tomcat

2006-05-07 Thread Bruno Georges
Martin, For a reference to all relevant Tomcat documentation please visit: http://www.jboss.com/products/apache/docs With Best Regards Bruno Georges Glencore International AG Tel. +41 41 709 3204 Fax +41 41 709 3000 LEGAL DISCLAIMER. The contents of this e-mail and any attachments are stri

RE: JVM config in Tomcat

2006-05-07 Thread Martin Gainty
Good Morning Tim- This is Great advice Thanks for the quick response Much appreciated, Martin Gainty (mobile) 603-438-5053 From: "Tim Lucia" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: "'Tomcat Users List'" Subject: RE: JVM config in Tomcat Date: Sun, 7 May 2006 09:19:59 -040

Living a Tomcat life with the catalina.policy file: policy file analysis tools

2006-05-07 Thread Mark Petrovic
Good day. This is a newbie question. Having spent a bit of time manually editing via trial and error my catalina.policy file just right so my webapp would run leaves me wondering whether there is a tool that can be responsibly used to show you what the policy file should look like if the app is

Invalid request?

2006-05-07 Thread Jochen Wiedmann
Hi, can anybody please be so kind and validate the following request. According to Tomcat, it is invalid somehow, because HttpServletRequest.getInputStream() always returns nothing. However, I am unable to determine a cause. Thanks, Jochen -- Whenever you find yourself on the side of the major

Re: Invalid request?

2006-05-07 Thread Bill Barker
You need to send either a Content-Length header or a Transfer-Encoding header on the request (actually, to comply with HTTP/1.0, you need Content-Length, but Tomcat accepts both). Otherwise, Tomcat correctly assumes that the Request body is empy. "Jochen Wiedmann" <[EMAIL PROTECTED]> wrote in

RE: META-INF/context.xml and custom Manager

2006-05-07 Thread John D'Emic
Michael, Adding the context.xml to the war file did the trick. When I redeployed the war my custom manager loaded. Thanks all for the help! -john -Original Message- From: Michael Echerer [mailto:[EMAIL PROTECTED] Sent: Saturday, May 06, 2006 2:09 AM To: Tomcat Users List Subject: Re: M

Re: Living a Tomcat life with the catalina.policy file: policy file analysis tools

2006-05-07 Thread Mark Petrovic
I got to thinking about this tool problem. Here is a a bit of basic work on a tool to generate a catalina.policy file. Time will tell if it's useful. Someone may have already solved this problem, but it's all fun. http://www.petrovic.org/blog/?p=134 On 5/7/06, Mark Petrovic <[EMAIL PROTECTED]

Tomcat 4.1.13 dies every 3-4 days

2006-05-07 Thread Vasily Ivanov
Hello, We are running J2EE web-application under Apache Server/Tomcat 4.1.31 on Linux. At any point of time we've got around 250 active open sessions and around 100 active threads running on server. The problem is that tomcat occasionally gets dead every 3-4 days without reporting any error to lo

Re: Tomcat 4.1.13 dies every 3-4 days

2006-05-07 Thread Vasily Ivanov
This is an update from our system administrator: "From what I can tell from the errors and the research I have done the ajp_process_callback from the jk_ajp_common.c function is failing because it is not recieving a close code from the apache instance - possibly when a sender (browser) stopped sen

Re: SSL enabled and trying to open the port 8443 wit h the browser and nothing happend

2006-05-07 Thread Franck Borel
Please take a look at your log file: /opt/tomcat/logs/catalina.out or C:\tomcat\logs\catalina.out This is the first thing to do, if you have problems. -- Franck Hi I enable SSL in Tomcat, creating a key creaded with keytool and I updated my server.xml removing the comments on the port 8443