Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 83399 invoked from network); 2 Feb 2004 19:27:08 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Feb 2004 19:27:08 -0000 Received: (qmail 80174 invoked by uid 500); 2 Feb 2004 19:25:39 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 80126 invoked by uid 500); 2 Feb 2004 19:25:38 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 80008 invoked from network); 2 Feb 2004 19:25:37 -0000 Received: from unknown (HELO janus.afccc.af.mil) (209.22.30.2) by daedalus.apache.org with SMTP; 2 Feb 2004 19:25:37 -0000 Received: from mithra.afccc.af.mil (mithra.afccc.af.mil [209.22.31.21]) by janus.afccc.af.mil with ESMTP id i12J6iX2018863 for ; Mon, 2 Feb 2004 19:06:44 GMT Received: by mithra.afccc.af.mil with Internet Mail Service (5.5.2653.19) id <1A8ML1Z5>; Mon, 2 Feb 2004 14:25:40 -0500 Message-ID: From: Hamilton Andrew To: Tomcat Users List Subject: RE: Tomcat5 RH ES mod_jk2 Apache2 Date: Mon, 2 Feb 2004 14:25:34 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3E9C2.54A503D9" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C3E9C2.54A503D9 Content-Type: text/plain; charset="iso-8859-1" I have RH AS and I use Tomcat5, mod_jk2, and apache2 and they all work fine. I use the uri's you say don't work, ie [uri:/servlets-examples/*] works just fine for me. You are free to do what you like as far as switching to a different framework. I see several people are trying to help you and it might help to post your entire current workers2.properties and your jk2.properties. Does everything work properly when you use just Tomcat and not apache? Here is my workers2.properties: ################################# [logger.apache2] level=DEBUG [shm] file=/www/apache2/logs/shm.file size=1048576 # Define the communication channel [channel.socket:localhost:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/jsp-examples/*] info=Map the jsp-examples webapp worker=ajp13:localhost:8009 [uri:/servlets-examples/*] info=Map the servlets-examples webapp worker=ajp13:localhost:8009 ################################# And my jk2.properties: ################################# # Set the desired handler list handler.list=channelSocket,request # # Override the default port for the socketChannel # channelSocket.port=8019 # Default: # channelUnix.file=${jkHome}/work/jk2.socket # Just to check if the the config is working # shm.file=${jkHome}/work/jk2.shm # In order to enable jni use any channelJni directive # channelJni.disabled = 0 # And one of the following directives: # apr.jniModeSo=/www/apache2/modules/mod_jk2.so # If set to inprocess the mod_jk2 will Register natives itself # This will enable the starting of the Tomcat from mod_jk2 # apr.jniModeSo=inprocess ################################# -----Original Message----- From: Rich Baldwin [mailto:Rich.Baldwin@noaa.gov] Sent: Monday, February 02, 2004 2:04 PM To: Tomcat Users List Subject: Re: Tomcat5 RH ES mod_jk2 Apache2 Well. I have gotten Tomcat5, RH ES, mod_jk2, and apache2 all working. I've come to the conclusion that the clowns who developed this stuff sit back and watch the traffic on the list and laugh. Here is what you need to do in your workers2.properites file: For every servlet you need to define a worker in worker2.properties..... [uri:/servlets-examples/*] This won't work, but this will [uri:/servlets-examples/servlet/HelloWorldExample] [uri:/servlets-examples/servlet/RequestInfoExample] etc. [uri:/servlets-examples/servlet/*] won't work [uri:/servlets-examples/servlet/*.*] won't work [uri:/servlets-examples/servlet/*e] will work, but all of your servlets must end with the letter 'e' Unless one of you fine developers want to clear this up. I'm going to switch to Jetty. Tomcat is crap!!! Yiannis Mavroukakis wrote: >Curious...Send me your entire workers2.properties file and I'll have a look. > >Also, what are the urls you are using to access your html/jsp/servlets? Feel >free to use 'localhost' if you don't want to reveal sensitive server >hostname/ip's > >Yiannis > >-----Original Message----- >From: Rich Baldwin [mailto:Rich.Baldwin@noaa.gov] >Sent: 02 February 2004 15:22 >To: Tomcat Users List >Subject: Re: Tomcat5 RH ES mod_jk2 Apache2 > > >Same as in the past works fine on port 8080. Jsp stuff works on port >80. Html in servlets-examples works fine. Servlets cannot be found??? > >Yiannis Mavroukakis wrote: > > > >>Hmm ok.. :) >>you don't need >>channelSocket.address=127.0.0.1 >>in jk2.properties. >>Add the following under [channel.socket:localhost:8009] >>host=localhost >>port=8009 >> >>and under [ajp13:localhost:8009] add this >>channel=channel.socket:localhost:8009 >> >>Before you go about making those changes, make sure that your servlets >>are working OK on standalone tomcat :) >> >>Good luck, >> >>Yiannis. >> >>-----Original Message----- >>From: Rich Baldwin [mailto:Rich.Baldwin@noaa.gov] >>Sent: 02 February 2004 14:10 >>To: Tomcat Users List >>Subject: Re: Tomcat5 RH ES mod_jk2 Apache2 >> >> >>The jsp is working but not the servlets. I've double check /alias and >>workers for typos. Other suggestions?? >> >>Yiannis Mavroukakis wrote: >> >> >> >> >> >>>Make these additions/ammendments to workers2 >>> >>>[ajp13:localhost:8009] >>>channel=channel.socket:localhost:809 >>> >>>[shm] >>>file=/tmp/shm.file >>>size=1000000 >>> >>> >>>Yiannis. >>>-----Original Message----- >>>From: Rich Baldwin [mailto:Rich.Baldwin@noaa.gov] >>>Sent: 30 January 2004 18:27 >>>To: tomcat-user@jakarta.apache.org >>>Subject: Tomcat5 RH ES mod_jk2 Apache2 >>> >>> >>>I finally made some progress configuring Tomcat5 Apache2 and mod_jk2 >>>running on RedHat Enterprise Server. I get html over port 80, but no >>>jsp or servlets will run. Don't know what I may have missed. >>> >>>jk2.properties >>>handler.list=channelSocket,request >>>channelSocket.port=8009 >>>channelSocket.address=127.0.0.1 >>> >>>workers2.properties >>>[channel.socket:localhost:8009] >>> >>>[ajp13:localhost:8009] >>> >>>[status:status] >>>[uri:/sjstatus/*] >>>group=status:status >>> >>>[uri:/servlets-examples/*] >>>worker=ajp13:localhost:8009 >>>debug=0 >>> >>> >>>Appreciate any help, Rich >>> >>> >>>--------------------------------------------------------------------- >>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >>> >>> >>>________________________________________________________________________ >>>This e-mail has been scanned for all viruses by Star Internet. The >>>service is powered by MessageLabs. >>> >>> >>>Note:__________________________________________________________________ >>>This message is for the named person's use only. It may contain >>>confidential, proprietary or legally privileged information. No >>>confidentiality or privilege is waived or lost by any mistransmission. >>>If you receive this message in error, please immediately delete it and >>>all copies of it from your system, destroy any hard copies of it and >>>notify the sender. You must not, directly or indirectly, use, disclose, >>>distribute, print, or copy any part of this message if you are not the >>>intended recipient. Jaguar Freight Services and any of its subsidiaries >>>each reserve the right to monitor all e-mail communications through its >>>networks. >>>Any views expressed in this message are those of the individual sender, >>>except where the message states otherwise and the sender is authorized >>>to state them to be the views of any such entity. >>>________________________________________________________________________ >>>This e-mail has been scanned for all viruses by Star Internet. The >>>service is powered by MessageLabs. >>> >>> >>> >>> >>> >>> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >> >> >>________________________________________________________________________ >>This e-mail has been scanned for all viruses by Star Internet. The >>service is powered by MessageLabs. >> >> >>Note:__________________________________________________________________ >>This message is for the named person's use only. It may contain >>confidential, proprietary or legally privileged information. No >>confidentiality or privilege is waived or lost by any mistransmission. >>If you receive this message in error, please immediately delete it and >>all copies of it from your system, destroy any hard copies of it and >>notify the sender. You must not, directly or indirectly, use, disclose, >>distribute, print, or copy any part of this message if you are not the >>intended recipient. Jaguar Freight Services and any of its subsidiaries >>each reserve the right to monitor all e-mail communications through its >>networks. >>Any views expressed in this message are those of the individual sender, >>except where the message states otherwise and the sender is authorized >>to state them to be the views of any such entity. >>________________________________________________________________________ >>This e-mail has been scanned for all viruses by Star Internet. The >>service is powered by MessageLabs. >> >> >> >> > > >________________________________________________________________________ >This e-mail has been scanned for all viruses by Star Internet. The >service is powered by MessageLabs. > > >Note:__________________________________________________________________ >This message is for the named person's use only. It may contain >confidential, proprietary or legally privileged information. No >confidentiality or privilege is waived or lost by any mistransmission. >If you receive this message in error, please immediately delete it and >all copies of it from your system, destroy any hard copies of it and >notify the sender. You must not, directly or indirectly, use, disclose, >distribute, print, or copy any part of this message if you are not the >intended recipient. Jaguar Freight Services and any of its subsidiaries >each reserve the right to monitor all e-mail communications through its >networks. >Any views expressed in this message are those of the individual sender, >except where the message states otherwise and the sender is authorized >to state them to be the views of any such entity. >________________________________________________________________________ >This e-mail has been scanned for all viruses by Star Internet. The >service is powered by MessageLabs. > > ------_=_NextPart_001_01C3E9C2.54A503D9--