tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oscar Carrillo <tom...@daydream.stanford.edu>
Subject Re: Tomcat5 RH ES mod_jk2 Apache2
Date Mon, 02 Feb 2004 20:50:00 GMT
Absotively! Long-live the Source.

Oscar

On Mon, 2 Feb 2004, Rich Baldwin wrote:

> Ok.  I'm ready to partially retract all of the mean things that I said 
> about tomcat.  If anyone thinks that they will be saving themselves time 
> by installing an rpm of mod_jk2.so, think again; re-build from the 
> source!  Thanks to all you responded.   Rich
> 
> Hamilton Andrew wrote:
> 
> >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.
> >> 
> >>
> >>    
> >>
> >
> >  
> >
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message