Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.
(Answer) (Category) Java Apache Project : (Category) Apache JServ 1.0 : (Category) Configuration :
Running Apache JServ on RedHat Linux, it gives me errors saying it can't find the JServ class
----------
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
[Append to This Answer]
Previous: (Answer) Where does System.out.print() go? or Logging from a servlet...
Next: (Answer) Using mod_jserv with Stronghold
This document is: http://java.apache.org/faq/?file=40
[Search] [Appearance] [Show Expert Edit Commands]
This is a Faq-O-Matic 2.709.
Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.