The file must exist and be readable and writable by both the tomcat user and the apache user.
You won't be able to get UNIX sockets working on a windows 2000 box, obviously. Ta Matt -----Original Message----- From: Tonte Pouncil [mailto:[EMAIL PROTECTED] Sent: 08 July 2004 16:24 To: Tomcat Users List Subject: RE: Newbie question: Error 503 Service Temp. Unavailable I am trying to do the same thing as you guys. I have a windows 2000 box. How did you configure the two so far? And what goes in the jk2.socket file? Tonté -----Original Message----- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Thursday, July 08, 2004 10:16 AM To: Tomcat Users List Subject: RE: Newbie question: Error 503 Service Temp. Unavailable I think you might have to create the file yourself. touch /opt/tomcat/work/jk2.socket Ta Matt -----Original Message----- From: Birt, Jeffrey [mailto:[EMAIL PROTECTED] Sent: 08 July 2004 16:11 To: [EMAIL PROTECTED] Subject: Newbie question: Error 503 Service Temp. Unavailable Hello all, I've been working on getting Apache 2.0.49 and Tomcat 5.0.25 to play nice together via mod_jk2 connector. Both work fine separately and I get the dreaded 503 Service Temp. Unavailable error. (which seems to have come up a lot on various list but I've yet to find a solution). I've been following along with this guide. http://www.opq.se/sxs/internet_serving/c875.html I'm running Fedora Core 1 with Apache 2.0.49 and Tomcat 5.0.25, both Apache and Tomcat were installed form RPM's, and as mentioned both seem to work fine separately. The only relevant thing I've found in the logs is in the Apache error_log and is as follows: [error] chanelUn.connect() connect failed 2 No such file or directory [error] ajp13.connect() failed ajp13:/opt/tomcat/work/jk2.socket Etc. My jk2.properties is as follows: # jk2.properties # Configured for channel UNIX # Set the desired handler list handler.list=apr,request,channelUnix # UNIX Domain socket location channelUnix.file=/opt/tomcat/work/jk2.socket # Dynamic Library serverRoot=/etc/httpd apr.NativeSo=/usr/lib/httpd/modules/libjkjni.so and workers2.properties: # workers2.properties # Shared memory handling. Needs to be set. [shm] info=Scoreboard. Required for reconfiguration and status with multiprocess serve rs file=/opt/tomcat/logs/jk2.shm size=1048576 debug=0 disabled=0 # UNIX domain socket [channel.un:/opt/tomcat/work/jk2.socket] tomcatId=localhost:8009 debug=0 # define the worker [ajp13:/opt/tomcat/work/jk2.socket] channel=channel.un:/opt/tomcat/work/jk2.socket # Announce a "status" worker [status:status] info=Status worker. Displays runtime information. [uri:/jkstatus/*] group=status:status # Uri mapping [uri:/examples/*] # Uri mapping for MyFirst [uri:/MyFirst/*] I've added the LoadModule jk2_module etc. in httpd.conf When Tomcat starts a jk2.shm file is created but no jk2.socket file. I'm running everything as root (to make it simpler at this point) and have checked that everything is owned by root (I think). I'm guessing this is caused by incorrect configuration but I don't have a clue as to where to look. Can you guys help a newbie out? Jeff Birt Electronics Engineer Integrated Systems Facility University of Missouri - Rolla 573.341.6058 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]