----------------------------------------------------------------
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 also met similar problem. But now no problem.
You should check
1. the classpath and path settings in bashrc or something else
2. check the configure
pay attentation to ServerName in httpd.conf
read the FAQ.
restart httpd
There should no problem.
>----------------------------------------------------------------
>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/local/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]
>To unsubscribe: [EMAIL PROTECTED]
>Archives and Other: <http://java.apache.org/main/mail.html>
>Problems?: [EMAIL PROTECTED]
JackWang
[EMAIL PROTECTED]
--
--------------------------------------------------------------
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]