Michael Nash a �crit :
Hello !
Thank you for the nice answer :-) There are more information :
[A. CLASSPATH]
> Denis: Sorry, didn't see your first posting, but I have Apache & Jserv
> working here (among others), but I did it an odd way: I un-jar-eed the
> ApacheJServ.jar file that comes with JServ into my normal CLASSPATH
> directory & had no problems after that.
This is my classpath under root :
> CLASSPATH=/usr/lib/java/lib/classes.zip:
> /usr/local/jserv/servclasses.zip:
> /usr/local/jserv/src
Should I start by trying to add /usr/local/Apache-JServ/ or maybe
/usr/local/Apache-JServ/Apache-JServ.jar into the CLASSPATH ?
But if you see in the logs, it seems ok :
[03/05/1999 15:19:53:390] (INFO) wrapper: environment[ 2] CLASSPATH=
/usr/lib/jdk1.1.3/lib/classes.zip:/usr/local/Apache-JServ/Apache-JSe
rv.jar:/usr/local/jsdk/lib/jsdk.jar
So I should maybe try your suggestion to unpack ?
[B. FILE SIZE]
> Also, make sure you're Jar file isn't zero length, the one that downloads by
> default has an error & comes out as an empty file, there's a patch file on
> their site to fix that.
This seems ok :
> # ls -l /usr/local/Apache-JServ/Apache-JServ.jar
> -rw-r----- 1 root root 150410 May 2 18:35
> /usr/local/Apache-JServ/Apache-JServ.jar
I just added the logs that appears when starting Apache in the P.S., just
in case...
Thank you VERY MUCH for your help, it is really appreciated :-))
Denis
P.S.
- httpd-errors log
httpsd: [Mon May 3 15:19:43 1999] [notice] SIGHUP received. Attempting to
restart
httpsd: [Mon May 3 15:19:43 1999] [notice] Apache/1.3.4 (Unix)
ApacheJServ/1.0b3 co
nfigured -- resuming normal operations
httpsd: [Mon May 3 15:19:43 1999] [notice] suEXEC mechanism enabled (wrapper:
/usr/
local/apache/sbin/suexec)
Can't find class org.apache.jserv.JServ
Can't find class org.apache.jserv.JServ
Can't find class org.apache.jserv.JServ
Can't find class org.apache.jserv.JServ
Can't find class org.apache.jserv.JServ
Can't find class org.apache.jserv.JServ
Can't find class org.apache.jserv.JServ
- jserv.log log
[03/05/1999 15:19:43:311] (ERROR) an error returned cleaning-up protocol
"wrapper"
[03/05/1999 15:19:43:311] (ERROR) in init all protocols "wrapper" returned an
error
[03/05/1999 15:19:43:311] (EMERGENCY) Error cleaning-up protocols
[03/05/1999 15:19:43:311] (INFO) Apache Module was cleaned-up
[03/05/1999 15:19:46:391] (INFO) wrapper: watching processes
(PID=18386,PPID=1810,VM
PID=18392)
[03/05/1999 15:19:46:391] (INFO) wrapper classpath:
/usr/lib/jdk1.1.3/lib/classes.zi
p:/usr/local/Apache-JServ/Apache-JServ.jar:/usr/local/jsdk/lib/jsdk.jar
[03/05/1999 15:19:46:392] (INFO) wrapper: Java VM spawned
(PID=18392|PPID=18386)
[03/05/1999 15:19:47:390] (INFO) wrapper: JVM Exited, restarting it (my
PID=18386)
[03/05/1999 15:19:47:391] (INFO) wrapper: Java VM spawned
(PID=18401|PPID=18386)
[03/05/1999 15:19:48:390] (INFO) wrapper: JVM Exited, restarting it (my
PID=18386)
[03/05/1999 15:19:48:391] (INFO) wrapper: Java VM spawned
(PID=18410|PPID=18386)
[03/05/1999 15:19:49:390] (INFO) wrapper: JVM Exited, restarting it (my
PID=18386)
[03/05/1999 15:19:49:391] (INFO) wrapper: Java VM spawned
(PID=18419|PPID=18386)
[03/05/1999 15:19:50:390] (INFO) wrapper: JVM Exited, restarting it (my
PID=18386)
[03/05/1999 15:19:50:391] (INFO) wrapper: Java VM spawned
(PID=18428|PPID=18386)
[03/05/1999 15:19:51:390] (INFO) wrapper: JVM Exited, restarting it (my
PID=18386)
[03/05/1999 15:19:51:391] (INFO) wrapper: Java VM spawned
(PID=18437|PPID=18386)
[03/05/1999 15:19:52:390] (INFO) wrapper: JVM Exited, restarting it (my
PID=18386)
[03/05/1999 15:19:52:391] (INFO) wrapper: Java VM spawned
(PID=18446|PPID=18386)
[03/05/1999 15:19:53:390] (INFO) wrapper: VM died too many times w/in 5 second
inter
vals (6); no more tries
[03/05/1999 15:19:53:390] (INFO) wrapper: printing debugging information
(command li
ne, env)
[03/05/1999 15:19:53:390] (INFO) wrapper: argument[ 1] /usr/lib/java/bin/java
[03/05/1999 15:19:53:390] (INFO) wrapper: argument[ 2] org.apache.jserv.JServ
[03/05/1999 15:19:53:390] (INFO) wrapper: argument[ 3]
/w3/conf/servlets/jserv.prope
rties
[03/05/1999 15:19:53:390] (INFO) wrapper: environment[ 1]
PATH=/bin:/usr/bin:/usr/lo
cal/bin
[03/05/1999 15:19:53:390] (INFO) wrapper: environment[ 2]
CLASSPATH=/usr/lib/jdk1.1.
3/lib/classes.zip:/usr/local/Apache-JServ/Apache-JServ.jar:/usr/local/jsdk/lib/jsdk.
jar
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html