Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

jsvc.exec error: Service exit with a return value of 143

Status
Not open for further replies.

spyghost

Technical User
Jan 17, 2003
52
HK
hi,

i am trying to run tomcat as a standalone webserver to run in standard port 80 and 443 as a non-root user.

i followed the instructions in the tomcat website.

the application starts up fine, HOWEVER, whenever i shut it down, i always get this messages appended in catalina.err

jsvc.exec error: Service exit with a return value of 143

is this a source code problem? has anyone ever circumvented this problem?
 
tomcat: 5.5.4
jre: 1.5.0
os: sunos 5.9 (solaris 9 sparc)
 
This seems to be a rare problem on UNIX & Linux machines :

I wouldn't worry about it - it seems to be a problem only when shutting down.
Strange though, we run Tomcat 5.0.28 on SDK 1.4.1 on same solaris OS with no problems.

Have you tried a different JRE & Tomcat version ?

--------------------------------------------------
Free Database Connection Pooling Software
 
hmmm... what did you use for compilation? versions?
 
compile what exactly ? I gave you the relevant versions that we run above ...

--------------------------------------------------
Free Database Connection Pooling Software
 
what i mean is the gcc, autoconf, m4, and the others... ???

or did you use the cc from solaris?
 
GCC ? Its Java, not C !

You cannot compile the C sections of the JRE as they are closed source - so you can't mean that, and Tomcat is entirely written in Java, so you can't use a CC for that either.

I'm not sure what you mean ...

--------------------------------------------------
Free Database Connection Pooling Software
 
ah... what i meant was the compilation of the jsvc source... what are the versions that you used for compiling it?
 
Ahhhh.... finally it becomes clear !
No, we don't use jsvc :)

--------------------------------------------------
Free Database Connection Pooling Software
 
ok... so how do you deal with running tomcat at ports 80 and 443 as non-root if you do not use jsvc?
 
We don't. We have an apache front end listening on those ports.


--------------------------------------------------
Free Database Connection Pooling Software
 
ah ok... i just thought so... in our case, we can actually do away with the apache since the web site is almost entirely java driven... only around 2% are html files... the rest are jsp/servlet.

anyway, i would consider implementing apache for this matter... from what i can see, the only purpose of apache (in our scenario) is only to listen to ports 80 and 443.
 
its better not to run it as non-root due to some security issues
 
why ?
Name me one security hole that can affect a system's resources or file permissions that could be exploited purely by running Tomcat as root rather than a non-root user (unless your webapp allowed execution of system level command via a web page - which I kind of guess it won't).

--------------------------------------------------
Free Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top