tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tonte Pouncil" <Ton...@imc2.com>
Subject RE: Newbie question: Error 503 Service Temp. Unavailable
Date Thu, 08 Jul 2004 15:29:33 GMT
Do you know how to do this on a windows box?

-----Original Message-----
From: Dale, Matt [mailto:Matt.Dale@beCogent.com]
Sent: Thursday, July 08, 2004 10:28 AM
To: Tomcat Users List
Subject: RE: Newbie question: Error 503 Service Temp. Unavailable



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:TonteP@imc2.com]
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:Matt.Dale@beCogent.com]
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:birtj@umr.edu]
Sent: 08 July 2004 16:11
To: tomcat-user@jakarta.apache.org
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


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


---------------------------------------------------------------------
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