----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Do you have your environment variables set up properly?
from your debugJava.sh output I don't see the classpath to
jdk1.2.2 jar file. That is determined by your JAVA_HOME
environment variable. e.g. I have in .bash_profile
JAVA_HOME=/usr/local/Java/sun/jdk1.2.2/
CLASSPATH=.
export JAVA_HOME CLASSPATH
Azhar
-----Original Message-----
From: G. Bowden Wise [EMAIL PROTECTED]
Sent: Fri, 07 Apr 2000 09:38:26 -0400
To: [EMAIL PROTECTED]
Subject: JServ Won't Start on linux
------------------------------------------------------------
----
BEFORE YOU POST, search the faq at
<http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log
files,
and configuration files. Don't make us guess your
problem!!!
------------------------------------------------------------
----
I have read over the FAQ many times, before you say
"read the FAQ" please bear with me.
RedHatLinux 2.2.12-20
I installed Apache 1.3.12
JSDK 2.0
JDK 1.2.2
at this point the apache web server works just fine
I downloaded Apache JServ 1.1, configured, and installed.
I get the classic error when apache tries to start the JVM:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/jserv/JServ
I have verified that the CLASSPATH is indeed set correctly
(see below)
so why can it not find the JServ class??
I have checked my jserv.conf values many times, the
following are all
valid paths:
wrapper.bin=/usr/local/jdk1.2.2/bin/java
#tried with and without wrapper.class
#wrapper.class=org.apache.jserv.JServ
wrapper.classpath=/usr/local/apache/libexec/ApacheJServ.jar
wrapper.classpath=/usr/local/JSDK2.0/lib/jsdk.jar
Someone suggested running a script to extract the actual
args,
environment, and stdout/error from when java is started, i
did that by
replacing:
wrapper.bin=/usr/local/apache/bin/debugJava.sh
and we get
#stdout:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/jserv/JServ
#args:
org.apache.jserv.JServ
/usr/local/apache/conf/jserv/jserv.properties
#env:
declare -x
CLASSPATH="/usr/local/apache/libexec/ApacheJServ.jar:/usr/lo
cal/JSDK2.0/lib/jsdk.jar"
declare -x HOSTTYPE="i386"
declare -x OSTYPE="Linux"
declare -x PATH="/bin:/usr/bin:/usr/local/bin"
declare -x SHELL="/bin/sh"
declare -x SHLVL="1"
declare -x TERM="dumb"
--
------------------------------------------------------------
-------
G. Bowden Wise General Electric
Company
[EMAIL PROTECTED] Corporate Research and
Development
Phone: 518 387-5175 Dial Comm: 8*833-5175 FAX: 518-
387-6845
--
------------------------------------------------------------
--
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
dogs.com
To unsubscribe: [EMAIL PROTECTED]
dogs.com
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]
______________________________________________________________________
Get Visto.com! Private groups, event calendars, email, and much more.
Visto.com. Life on the Dot.
Check it out @ http://www.visto.com/info
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]