----------------------------------------------------------------
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 a feeling this is because the wrapper to start the JVM probably does not pass
on the LD_LIBRARY_PATH env. var. to the JVM.
I am able to manually start with JDK-1.1.6 (both green and native threads),
JDK-1.1.8_09 and JDK-1.2.1_04 just fine. With auto, only JDK-1.1.6 works.
With 1.1.8 as an example:
I set:
In jserv.conf:
ApJServManual On
And my start-jserv script (thanks to Jean-Luc):
#!/bin/sh
java -classpath \
/apps/JDKsmplat/1.1.8_09/lib/classes.zip\
:/home/chatsa/web/tools/jsdk/lib/jsdk.jar\
/home/chatsa/web/tools/jserv/libexec/ApacheJServ.jar\
org.apache.jserv.JServ \
/home/chatsa/web/tools/jserv/etc/jserv.properties &
echo $! > /home/chatsa/web/tools/jserv/logs/jserv.pid
My env. looks like:
export JDK_HOME=/apps/JDKsmplat/1.1.8_09
export JAVA_HOME=$JDK_HOME
export PATH=$JDK_HOME/bin:$PATH
export LD_LIBRARY_PATH=$JDK_HOME/lib:$LD_LIBRARY_PATH
export CLASSPATH=$JDK_HOME/lib/classes.zip
When using auto start, the jserv.properties I change are:
wrapper.path=/bin
wrapper.path=/usr/bin
wrapper.path=/usr/local/bin
wrapper.path=/apps/JDKsmplat/1.1.8_09/bin
wrapper.classpath=/apps/JDKsmplat/1.1.8_09/lib/classes.zip
wrapper.classpath=/home/chatsa/web/tools/jserv/libexec/ApacheJServ.jar
wrapper.classpath=/home/chatsa/web/tools/jsdk/lib/jsdk.jar
Any ideas or suggestions?
Thanks,
Shash
Jean-Luc Rochat wrote:
>
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> "Sasvata (Shash) Chatterjee" wrote:
> >
> > jon * wrote:
> >
> > > You should NEVER get JVM crashing like that and the fact that you do shows
> > > that it is NOT a problem with Apache JServ. You have a problem with running
> > > JVM's on your system. Period. This is not an Apache JServ issue.
> >
> > I do not disagree with you. However, all the test applets and every other Java
>application I usually run, works just fine. To help me debug the problem, can
>somebody please show me what I have to do to start the servlet engine manually?
> >
>
> #!/bin/sh
> /usr/bin/java -classpath \
> :/usr/java/jdk/lib/classes.zip\
> :/usr/java/JSDK2.0/lib/jsdk.jar\
> :/usr/local/jserv/libexec/ApacheJServ.jar\
> org.apache.jserv.JServ \
> /usr/local/jserv/jserv.properties &
> echo $! > /usr/local/jserv/logs/jserv.pid
>
> Jean-Luc
>
> --
> --------------------------------------------------------------
> 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]
--
--------------------------------------------------------------
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]