IDependOn-Set: 1
IDependOn-Set: 2
IDependOn-Set: 39
IDependOn-Set: 40
IDependOn-Set: 41
IDependOn-Set: 7
LastModifiedSecs: 924719847
Parent: 7
SequenceNumber: 12
Title: Running Apache JServ on RedHat Linux, it gives me errors saying it can't find the JServ class
Part: 0
Author-Set: jon@working-dogs.com
HideAttributions: 1
LastModifiedSecs: 921089580
Type: monospaced
Lines: 30
----------
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
EndPart: 0
