I'm having trouble getting my Apache (2.0.54) web server running on port 80 to communicate with my JBoss (3.2.3) server which runs Tomcat 4.1
This is my jk2.properties file *********************************************** #shared memory directive shm.file=/var/log/httpd/jk2.shm size=10485760 # Set the desired handler list handler.list=apr,request,channelJni # If set to inprocess the mod_jk2 will Register natives itself # This will enable the starting of the Tomcat from mod_jk2 apr.jniModeSo=/usr/local/j2sdk1.4.2_10/jre/lib/i386/server/libjkjni.so **************************************************** I have made no other modifications to the JBoss deployment configs. These are my configs on the apache side; jk2.conf: ******************************************************** # # JK2 is the Apache/Tomcat connector # LoadModule jk2_module modules/mod_jk2.so JkSet config.file /etc/httpd/conf/workers2.properties ********************************************************** This is my worker2.properties conf ************************************************************ [shm] info=Scoreboard. Requried for reconfiguration and status with multiprocess servers. file=/var/log/httpd/jk2.shm [logger] level=DEBUG # Defines a load balancer named lb. Use even if you only have one machine. [lb:lb] # Example socket channel, override port and host. [channel.socket:192.168.1.2:8009] port=8009 host=192.168.1.2 # define the worker [ajp13:192.168.1.2:8009] channel=channel.socket:192.168.1.2:8009 group=lb # Map the Tomcat examples webapp to the Web server uri space [uri:/wf/*] info=The Greyhound /wf handler group=lb [status:] info=Status worker, displays runtime information [uri:/jkstatus/*] info=The Tomcat /jkstatus handler group=status: ********************************************************************************* This is the error that I'm gertting from my Apache Error log [notice] channelApr.open(): create tcp socket 163164864 [error] channelApr.open() attempt to connect to 192.168.1.2:8009 (192.168.1.2) failed 13 [error] ajp13.connect() failed ajp13:192.168.1.2:8009 [error] ajp13.service() failed to connect endpoint errno=9 Bad file descriptor [error] ajp13.service() Error forwarding ajp13:192.168.1.2:8009 1 1 [notice] ajp13.done() close endpoint ajp13:192.168.1.2:8009 error_state 1 [error] lb.service() worker failed 120000 for ajp13:192.168.1.2:8009 [notice] lb.getWorker() All workers in error state, use the one with oldest error [notice] lb.getWorker() We tried all possible workers 1 [error] lb_worker.service() all workers in error or disabled state [error] mod_jk2.handler() Error connecting to tomcat 120000, status 503 Any help or guidance would be greatly appreciated. I've been fighting with this for days. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942609#3942609 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942609 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
