----------
From: Tyson Weihs tyson@atension.com
To: Java Apache Servlet List java-apache@list.working-dogs.com
Subject: Re: running jserv on redhat linux
Date: Tue, Mar 9, 1999, 9:41 PM
Michael McCray wrote:
> I have installed redhat 5.2 on a pentium system, and am trying to run apache
> 1.3.4, and jserv 1.0b3 with jdk1.1.6. I understand that apache runs as
> "nobody", when I run apachectl start, httpd starts, and in the logs, I find
> that it can't find class org.apache.jserv.JServ. it attempts a few times,
> and quits trying to start the vm. I know my classpaths are correct, because
> I can run the jserv class from the command line as a regular command, (as
> root) and the servlet Hello actually runs. I changed to the nobody user,
> and run the jserv command from above, and I get the message can't find class
> org.apache.jserv.JServ
I had this problem once. You have to make sure your wrapper.bin
property in jserv.properties is pointing to the correct binary, and that
your LD_LIBRARY_PATH is set in the wrapper.properties field (depending
on who's JDK you are using).
At one point I had the java exe in /usr/bin, removed it, and tried to
restart Apache. That's when I got the same messages you got in my error
log, saying basically that JServ tried to start the JVM multiple times
but bombed.
Tyson
tyson@atension.com |