Regarding, an error message for Apache version 2.2.6

2007-12-19 Thread Vimal Kumar
Hello, Jkworkers file takes one argument, the name of a worker file for Tomcat servlet containers. What does this error message mean, I have defined a workers.properties file and path was also checked, it was correct. The Apache version is 2.2.6 amd the connector is corresponding to that.

Re: Regarding, an error message for Apache version 2.2.6

2007-12-19 Thread Rainer Jung
Hi Vimal, Vimal Kumar schrieb: Hello, Jkworkers file takes one argument, the name of a worker file for Tomcat servlet containers. What does this error message mean, I have defined a workers.properties file and path was also checked, it was correct. The Apache version is 2.2.6 amd the

RE: tomcat session security hole

2007-12-19 Thread Peter Crowther
From: Dave [mailto:[EMAIL PROTECTED] Hi, I am using URL rewriting for session tracking, ie, session id is on the URL. After I login into a web application, if someone else knows my current session id, he/she can access my account using the session id. It is ok because it is difficult for

RE: Tomcat is slow with router configured

2007-12-19 Thread Peter Crowther
From: Nabble-Member1 [mailto:[EMAIL PROTECTED] The web app is fast if I configured network bridge mode (both Web server and DB server have same subnet 192.168.1.x). But it is very slow if the network is configured as router mode (Web server and DB server is in different subnets -

MIME TYPE problem

2007-12-19 Thread Richard Dunne
I can't access localhost on my machine. The server is up and running. I am getting a Unknown File Type error MIME Type: application/x-httpd-php3, yet I have this line in my http.conf file: AddType application/x-httpd-php .php Any clue what the problem might be? Any help appreciated. Richard.

Re: MIME TYPE problem

2007-12-19 Thread Antonio Petrelli
2007/12/19, Richard Dunne [EMAIL PROTECTED]: I can't access localhost on my machine. The server is up and running. I am getting a Unknown File Type error MIME Type: application/x-httpd-php3, yet I have this line in my http.conf file: AddType application/x-httpd-php .php Are you trying to

Re: MIME TYPE problem

2007-12-19 Thread Richard Dunne
Trying to run it on Apache2! - Original Message From: Antonio Petrelli [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, December 19, 2007 1:38:35 PM Subject: Re: MIME TYPE problem 2007/12/19, Richard Dunne [EMAIL PROTECTED]: I can't access localhost on

Re: MIME TYPE problem

2007-12-19 Thread Antonio Petrelli
2007/12/19, Richard Dunne [EMAIL PROTECTED]: Trying to run it on Apache2! This is a Tomcat-related mailing list, please ask it to the httpd mailing list: http://httpd.apache.org/lists.html Ciao Antonio

RE: MIME TYPE problem

2007-12-19 Thread Caldarale, Charles R
From: Richard Dunne [mailto:[EMAIL PROTECTED] Subject: Re: MIME TYPE problem Trying to run it on Apache2! Then why are you posting on the Tomcat mailing list, rather than the httpd one? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus

RE: Memory usage problem

2007-12-19 Thread Caldarale, Charles R
From: Christoph Sperle [mailto:[EMAIL PROTECTED] Subject: Memory usage problem As you can see, tomcat uses 138m, even though, it was start up with 64m restriction (-Xmx64m). You're confusing heap size (-Xmx) with total process space. The total process space includes many other things

Memory usage problem

2007-12-19 Thread Christoph Sperle
Hello all I run tomcat on a virtual private server with very limited resources. Therefore I want tomcat to run with very restrictive memory usage. I tried hard to get this done, but with no success. Tomcat uses as much memory as it wants to use, regardless of the specified startup settings. OS:

Re: Tomcat is slow with router configured

2007-12-19 Thread Gary Evesson
Try using the IP address in the driver specification rather than the name of the machine. THat will tell you if it is a name resolution issue. Gary. On Dec 19, 2007 2:46 AM, Peter Crowther [EMAIL PROTECTED] wrote: From: Nabble-Member1 [mailto:[EMAIL PROTECTED] The web app is fast if I

Tomcat 5.5 + SSL

2007-12-19 Thread Filipe David Manana
Hi, I am pretty newbie to Tomcat. I have been reading the documentation, and I was not successful enabling SSL for tomcat 5.5. I have a PKCS12 certificate (file name ***-cert.p12) and I want to use it as my Tomcat certificate. When I run the keytool command line utility I always get an error

RE: Memory usage problem

2007-12-19 Thread Christoph Sperle
Thank you Chuck, you are right. But for me, that remains a big problem (and I read about it many times in VPS forums too): How to restrict the process size of tomcat? If I stop tomcat and measure the free memory (on a VPS that's not easy at all, see

Consolidating Multiple Tomcats

2007-12-19 Thread Bai Shen
Currently, I have three different applications that are hosted using Tomcat. They were all developed separately, and I'd like to set them up to run on the same machine, preferably on the same port. Is there a way to put them together in the same tomcat while still retaining their own jars and

RE: Tomcat is slow with router configured

2007-12-19 Thread Peter Crowther
From: Gary Evesson [mailto:[EMAIL PROTECTED] Try using the IP address in the driver specification rather than the name of the machine. THat will tell you if it is a name resolution issue. The connection is working but slow - I don't think the OP specified whether they were using the name or

Re: Quality check mod_jk 1.2.26-dev

2007-12-19 Thread Travis Haagen
I may have found a problem with 1.2.26-dev. I installed 'isapi_redirect.dll' on my server and only one of two workers would respond to HTTP requests after that (ajp13w, but not ajp13lmsw). I then reinstalled the 1.2.25 version of the DLL and it worked fine. I'm running this on Windows 2003 server

Re: Quality check mod_jk 1.2.26-dev

2007-12-19 Thread Mladen Turk
Travis Haagen wrote: I may have found a problem with 1.2.26-dev. I installed 'isapi_redirect.dll' on my server and only one of two workers would respond to HTTP requests after that (ajp13w, but not ajp13lmsw). I then reinstalled the 1.2.25 version of the DLL and it worked fine. I'm running this

Re: Comet processor blocks if chunk includes final CRLF

2007-12-19 Thread Chris Pettitt
Filip, Your patch has fixed the chunk parsing and the processor is no longer blocking. Sometimes newly connected clients get disconnected immediately, but I think that is related to this bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=43846. Thanks, Chris On Dec 14, 2007 11:41 AM, Filip

How hard would it be to customize Jasper to allow loading JSPs from outside the webapp?

2007-12-19 Thread mraible
I'm working on a project where my company has a custom JSP compiler that they've written and maintained for the last 5 years. It works extremely well for them and has some unique features - like being able to load JSPs from remote locations using Spring's Resources API. In other words, they can

Re: Comet processor blocks if chunk includes final CRLF

2007-12-19 Thread Chris Pettitt
Filip, Do you know which release this patch will go into? Is there a bug number I can watch? Thanks, Chris On Dec 19, 2007 9:13 AM, Chris Pettitt [EMAIL PROTECTED] wrote: Filip, Your patch has fixed the chunk parsing and the processor is no longer blocking. Sometimes newly connected

Re: Servlet File Structure

2007-12-19 Thread Spencer Tickner
Hi Hassan and David, Thanks, for the response. Hassan of course you're right, there are always some standard for internal paths that have to be adhered to. However with relative paths coming from editors that edit html their documents can be seen exactly on the file system as they can be seen on

selecting java version

2007-12-19 Thread Lawrence A. Quinn
Can tomcat be configured to use a different version of java than what is listed in java_home? Where does that configuration information reside? LAQ

Tomcat Log Entries

2007-12-19 Thread Tony Anecito
Hi, I have a question regarding Tomcat logging. I am a Principle Engineer (focusing on performance) at a very large company (Fortune 50) where we are starting to use Tomcat. I have two questions one I did not get an anser to previously: 1. If a log entry shows say 100 seconds for the response

Re: selecting java version

2007-12-19 Thread Wesley Schwengle
On 19.12.07 10:12 Lawrence A. Quinn wrote: Can tomcat be configured to use a different version of java than what is listed in java_home? Where does that configuration information reside? Funny that you mention this, as I just completed a project at work to deal with something similar. We

Re: Quality check mod_jk 1.2.26-dev

2007-12-19 Thread Rainer Jung
Travis Haagen wrote: I may have found a problem with 1.2.26-dev. I installed 'isapi_redirect.dll' on my server and only one of two workers would respond to HTTP requests after that (ajp13w, but not ajp13lmsw). I then reinstalled the 1.2.25 version of the DLL and it worked fine. I'm running this

RE: Tomcat is slow with router configured

2007-12-19 Thread Nabble-Member1
Hi all, Thanks for your inputs. The issue is at MySQL. With router mode, even using IP address, MySQL sends TCP messages to resolve hostname. The threads are timed out after each one. It runs fast after I disabled host name resolve my MySQL server. I got the information from this forum.

Re: selecting java version

2007-12-19 Thread Gabe Wong
Lawrence A. Quinn wrote: Can tomcat be configured to use a different version of java than what is listed in java_home? Where does that configuration information reside? LAQ Hi Lawrence, you never specified which OS you are on, but in general you set the JAVA_HOME environment variable by

RE: Memory usage problem

2007-12-19 Thread Caldarale, Charles R
From: Christoph Sperle [mailto:[EMAIL PROTECTED] Subject: RE: Memory usage problem Do you have a hint to restrict/reduce the overall process memory tomcat uses. 1) Eliminate unnecessary items in server.xml (e.g., unused connectors). 2) Reduce the number of threads configured for each

Configuring tomcat, servlet not found error

2007-12-19 Thread cuco2772
I keep getting this error: 'The requested resource (/servlet/HelloServlet) is not available'. (404) The servlet is not getting located by tomcat for some reason. This happens when I go to localhost:8080/servlet/HelloServlet. The servlet engine is running, tomcat is running. I did this: javac

RE: Configuring tomcat, servlet not found error

2007-12-19 Thread Caldarale, Charles R
From: cuco2772 [mailto:[EMAIL PROTECTED] Subject: Configuring tomcat, servlet not found error This happens when I go to localhost:8080/servlet/HelloServlet. And well it should. Such a URL indicates you're trying to use the invoker servlet, which was a truly atrocious invention, and has

Re: Fw: Processing of multipart/form-data request failed. Socket read failed

2007-12-19 Thread Boom
Hi, I have the same setup (apache ajp - tomcat) and got the same error when uploading a file. Have you figured out what causes it? The same upload works if the request is sent directly to tomcat and not through apache. Going through apache only works if the request comes in from the same domain.

Strange Problem in Tomcat

2007-12-19 Thread Gaurav Pruthi
Hi, I am new to tomcat and using Tomcat 6.0.14 with apache, mod_jk Here is the Host configured in server.xml Host name=tomcatuser.org debug=0 appBase=/usr/local/tomcat/webapps/tomcatuser.org/webapps unpackWARs=true Valve className=org.apache.catalina.valves.AccessLogValve