Re: tomcat4.1 apache2 jk2 problem
Pieter Laeremans <[EMAIL PROTECTED]> writes: Ok, my jk2.properties and worker.properties files did get stripped here is there contents: jk2.properties __ # list of needed handlers. handler.list=apr,channelSocket,channelUnix,request # Set the default port for the channelSocket channelSocket.port=8009 # State where the UNIX domain socket is located channelUnix.file=/usr/share/tomcat4/work/jk2.socket # Dynamic library #serverRoot=/usr/local/apache2 #apr.NativeSo=/usr/local/tomcat/lib/libjkjni.so /etc/apache2/conf/workers2.properties _ # Shared memory handling. Needs to be set. [shm] file=/tmp/shm.file #size=1048576 size=104 # Example socket channel, explicitly set port and host. [channel.socket:localhost:8009] port=8009 host=127.0.0.1 # Example UNIX domain socket [channel.un:/usr/share/tomcat4/work/jk2.socket] tomcatId=localhost:8009 debug=0 # define the worker [ajp13:localhost:8009] channel=channel.un:/usr/share/tomcat4/work/jk2.socket # To use the TCP/IP socket instead, just comment out the above # line, and uncomment the one below #channel=channel.socket:localhost:8009 # Announce a "status" worker [status:status] # Uri mapping [uri:/examples/*] #worker=ajp13:localhost:8009 worker=ajp13:/usr/share/tomcat4/work/jk2.socket [uri:/status/*] worker=status:status [uri:/tomcat-docs/*] #worker=ajp13:localhost:8009 worker=ajp13:/usr/share/tomcat4/work/jk2.socket - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat4.1 apache2 jk2 problem
When trying to accees tomcat-docs via tomcat it works perfectly. But when I try to get it via apache2 I get a blank page. I thinks there something wrong with this line : [channel.un:/usr/share/tomcat4/work/jk2.socket] That file does not exist. Should I create it ? And how does it has to be a fifo ? Does anyone knows what is wrong exactly ? thanks in advance, Pieter Here is what I get when I retrieve the status page: Status information for child 1 -- ajp13 runtime info ajp13 information, using getAttribute() +-+ |id| name |lb_factor|lb_value|route |errorState|graceful|epCount|errorTime| |--+--+-++--+--++---+-| |0 |localhost:8009|1|1 |null |N |N |0 |0| |--+--+-++--+--++---+-| |1 |/usr/share/tomcat4/work/jk2.socket|1|1 |localhost:8009|N |N |0 |0| +-+ Scoreboard info (ver=0 slots=1) reset Totals: +---+ |Req|Err|Max|Avg| |---+---+---+---| |0 |0 |0 |- | +---+ Endpoint info ( no shm ) +--+ |Worker|Req|Err|LastReq|ConnectionTime |TotalTime|MaxTime|AvgTime|ReqStart|+jk|+end| +--+ Totals: +---+ |Req|Err|Max|Avg| |---+---+---+---| |0 |0 |0 |- | +---+ uri runtime info uri information, using getAttribute() +--+ |id| name |host| uri | group |context| |--+--++--++---| |0 | ||null |null|null | |--+--++--++---| |0 |/examples/* |* |/examples/* |ajp13:/usr/share/tomcat4/work/jk2.socket|/ | |--+--++--++---| |0 |/status/* |* |/status/* |status:status |/ | |--+--++--++---| |0 |/tomcat-docs/*|* |/tomcat-docs/*|ajp13:/usr/share/tomcat4/work/jk2.socket|/ | |--+--++--++---| |0 |* |* |null |null|null | |--+--++--++---| |0 |*/|* |/ |lb:lb |/ | +--+ Configured Properties Original data set by user ++ | Object name |Property|Value| |-++-| | config: |file|${serverRoot}/conf/workers2.properties | |-++-| | |file|/tmp/shm.file| |shm: |+-| | |size|104 | |-++-| |ajp13:localhost:8009 |channel |channel.un:/usr/share/tomcat4/work/jk2.socket| |-++-| | |port|8009