I posted a few days ago a message on the same subject, but got no answer...
I have the same symptoms when I look in the Apache log.
The jservrunner is working fine. I am using the config files generated by
configure. I do not have any CLASSPATH variable defined, but I declare all
the correct pathes (triple-checked that !) in the config files, one per
line.
When I look into the Jserv log file, it gives a more accurate diagnostic,
telling it cannot connect to
127.0.0.1:8007.
Of course, both the mod_jserv and the JServ are using port 8007, and my
network is working fine, thanks.
It looks like the mod_jserv is working, since I am able to display the
localhost/status/jserv page, and get the parameters. But I cannot list any
zone. I traced down to the socket level in the mod_serv sources, everything
is fine until the "connect()", that returns an error. Is there something
supposed to reply (JServ)? Even if I restart Apache, it doesn't seems to be
launched anywhere.
I am using Apache 1.3.6 on Linux RedHat 5.2 (kernel 2.0.36).
It is probably something I am doing wrong, but I can't figure out what.
Michel Stempin
[EMAIL PROTECTED]
----- Message d'origine -----
De : sjo <[EMAIL PROTECTED]>
� : <[EMAIL PROTECTED]>
Envoy� : mardi 8 juin 1999 16:17
Objet : Apache can't find JServ classes
> Hi
>
> I had Jserv running perfectly on one machine, and now I wanted to install
it
> onto another, with very similar setup: Linux/SUSE6/x86, preinstalled
apache
> version (which works for the other machine), JServ 1.0b3.
>
> Apache complains of not finding the class org.apache.jserv.JServ (in
> /var/log/httpd.error_log). I can successfully start JServ in manual mode.
>
> dump of mod_jserv.log:
>
> [the 5 times started/exited messages snipped]
> [08/06/1999 16:20:49:118] (INFO) wrapper: printing debugging information
(command line, env)
> [08/06/1999 16:20:49:118] (INFO) wrapper: argument[ 1]
/usr/lib/java/bin/java
> [08/06/1999 16:20:49:118] (INFO) wrapper: argument[ 2]
org.apache.jserv.JServ
> [08/06/1999 16:20:49:118] (INFO) wrapper: argument[ 3]
/etc/httpd/conf/jserv.properties
> [08/06/1999 16:20:49:118] (INFO) wrapper: environment[ 1]
PATH=/bin:/usr/bin:/usr/local/bin
> [08/06/1999 16:20:49:119] (INFO) wrapper: environment[ 2]
SIAS_LOG=/usr/local/spinapp/log
> [08/06/1999 16:20:49:119] (INFO) wrapper: environment[ 3]
CLASSPATH=$CLASSPATH:/usr/local/jserv/Apache-JServ.jar
>
> JServ jar file:
>
> admin3:/usr/local/jserv # ls -l /usr/local/jserv
> total 150
> drwxr-xr-x 2 root root 1024 Jun 8 15:14 .
> drwxr-xr-x 13 root root 1024 Jun 8 15:28 ..
> -rw-r--r-- 1 root bin 150500 Jun 8 15:09 Apache-JServ.jar
> admin3:/usr/local/jserv #
>
> CLASSPATH variable:
>
> admin3:/usr/local/jserv # printenv CLASSPATH
> /usr/lib/java/lib/classes.zip:/usr/lib/java/lib/jsdk.jar
> admin3:/usr/local/jserv #
>
> I have checked the paths many times and didn't find a problem. The three
> java archives (classes.zip, jsdk.jar, Apache-JServ.jar) are definitely
> exactly the same as on the other machine (the same applies to the
> jdk tools), where automatic startup of JServ works without problems.
>
> Hopefully somebody here can give me the right hint. Thanks in advance.
>
> bye
>
> Sam Jordan
>
>
> -- --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> READ THE FAQ!!!! <http://java.apache.org/faq/>
> Archives and Other: <http://java.apache.org/main/mail.html/>
> Problems?: [EMAIL PROTECTED]
-- --------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]