RE: Help with mod_jk2

2004-10-19 Thread tomcat
Hello Mark, You said you place this in httpd.conf: [uri:lvh/beg-servlets/servlet/*] worker=ajp13:localhost:8009 [uri:lvh.mdeggers.org/beg-servlets/servlet/*] worker=ajp13:localhost:8009 This looks like worker2 syntax. So this is the way to do it instead of jkUriSets between the IfModule

RE: Help with mod_jk2

2004-10-19 Thread Mark Eggers
Im trying to do multiple instances on different ports. the jkUriSet worked great for the first one, but the second and third dont work. Im ending up having to map every extension type in the workers2.properties which seems totally wrong. I will try your technique and see if i can get the

RE: Help with mod_jk2

2004-10-14 Thread Montz, James C. (James Tower)
Just a simple questions, then an answer. If you are front-ending Tomcat with a web server, why are you passing things like .html, .gif, .jpg, etc. to Tomcat to process? The web server itself is a bit more efficient in handling this content. Secondly, what web server front end are you using?

RE: Help with mod_jk2

2004-10-14 Thread tomcat
Yes apache. Well, I thought it strange too that it wasnt passing the html, gif etc unless i added it to the workers2. So I can put this jkUriSet in the apache file. -nice Ill try this. This is what I did for mod_jk, but those jkmounts no longer worked in apache2. Thanks! John Just a simple

RE: Help with mod_jk2

2004-10-14 Thread tomcat
Hello, Using jkUriSet I get this now: [Thu Oct 14 10:57:32 2004] [notice] uriEnv.setAttribute() the worker directive is deprecated. Use 'group' instead. (I removed all the uri mapping for that instance in workers2) And tomcat isnt getting routed to port 80. Any ideas? Thanks! Just a simple

RE: Help with mod_jk2

2004-10-14 Thread tomcat
Ok I got it working by adding the opening and closing IfModule mod_jk2.c I didnt think those worked with apache2. Still have problem, How do you handle the images? Images dont show up. Do I need to add jkuriset for images? Thanks you guys have been most helpful! John Hello, Using jkUriSet

RE: Help with mod_jk2

2004-10-14 Thread Montz, James C. (James Tower)
I set the Apache Vhost DocumentRoot to the same directory where the JSP pages reside; i.e. DocumentRoot /home/tomcatapp/webapps/ROOT -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 1:22 PM To: Tomcat Users List Subject: RE: Help

RE: Help with mod_jk2

2004-10-14 Thread Mark Eggers
OK, I'm coming in a little late to this thread. Here is my configuration for a typical web application using mod_jk2.so. I am running this on Fedora Core 2 with httpd 2.0.52 and Tomcat 5.0.28. httpd.conf == # # general section - for all virtual hosts # LoadModule jk2_module

Re: Help with mod_jk2 + Coyote connector + Apache 2 + TC 4.1.24

2003-07-31 Thread Eric J. Pinnell
Hi, Try playing with the connectionTimout setting in your server.xml. By default it is set at 0. Try using 12. Also experiment with -1. I have found that the connector resets every once in a while with a 0. With 12 the connection doesn't reset but times out. I have heard that a -1

Re: Help with mod_jk2 + Coyote connector + Apache 2 + TC 4.1.24

2003-07-31 Thread Mauricio Nuñez
Thanks. Yesterday i change thats setting from 1 to 0, assuming the persistence of the ajp13 protocol. I'll try your suggestion. I'll try with jvm bea jrockit also. 12 = 2 min. That's mean 2 min of inactivity? Someone can explain how analize data from a kill -3 ( thread dump ) . I can

Re: Help with mod_jk2 + Coyote connector + Apache 2 + TC 4.1.24

2003-07-31 Thread Eric J. Pinnell
Someone can explain how analize data from a kill -3 ( thread dump ) . I can see nothing rare. Google for this. You could write a book about this subject and I don't think this is the right place to do it. Basically it's used to see if threads are blocked or hanging on a piece of code. If

Re: Help: JNI, mod_jk2 , Apache 2 not working

2003-02-11 Thread liug
=100 debug=99 disabled=0 _ Rahul Bhargava - Original Message - From: Robo code [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, February 08, 2003 10:45 PM Subject: RE: Help: JNI, mod_jk2 , Apache 2 not working | | Hi

Re: Help: JNI, mod_jk2 , Apache 2 not working

2003-02-09 Thread Rahul Bhargava
, February 08, 2003 10:45 PM Subject: RE: Help: JNI, mod_jk2 , Apache 2 not working | | Hi Jimmy, | | I have solved some of the problems you are facing. I can get Apache | to startTomcat via JNI cleanly. The TomcatStarter problem was solved | by putting $TOMCAT/bin/tomcat-jni.jar on the path. I have couple

RE: Help: JNI, mod_jk2 , Apache 2 not working

2003-02-08 Thread jcubic
I just got Apache 2.0.44 and Tomat 4.1 working with a little twist. I think we are trying to accomplish the same thing. I think server.xml is not the culprit. jk2.properties and worker2.properties are. Also web.xml in Tomcat home as well as the webapp could affect servlet and jps execution. What

RE: Help: JNI, mod_jk2 , Apache 2 not working

2003-02-08 Thread Robo code
] lb.service() unrecoverable error... [Sat Feb 08 22:34:34 2003] [error] mod_jk.handler() Error connecting to tomcat 1 2 Thanks, Rahul. From: jcubic [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Help: JNI, mod_jk2 , Apache 2