-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Try changing the classpath you have in jserv.properties:

wrapper.classpath=/usr/local/apache/jserv/lib/ApacheJServ.jar

to

wrapper.classpath=/<path to where your Jserv source files
are>/lib/ApacheJServ.jar

That  - for some reason - worked for me. Although it may have been a fluke.

JJ



-----Original Message-----
From: Michael R. Abato <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Date: 13 August 1999 14:55
Subject: Install problem w/ajpv11 connection


>-----------------------------
>Please read the FAQ!
><http://java.apache.org/faq/>
>-----------------------------
>
>Hello,
>
>I'm having troubling getting JServ to run on
> Solaris7 (sparc)
> Apache 1.3.6 (w/DSO, successfully running my C modules)
> JServ 1.0
> JSDK 2.0
> JDK 1.2.2 (also tried with 1.1.8 & HotSpot)
>
>The problem in short is that I get "(EMERGENCY) ajp11: can not connect
>to host 127.0.0.1:8007" when I attempt to hit a servlet. Looking through
>the FAQ & the archives suggestly (strongly) that JServ is unable to
>start my Java, and based on prior experience w/JServ 0.9 (successful) I
>can see that JServ is not listening on port 8007 like it should be, but
>the error logs I'm getting are not helpful in getting more specific.
>
>jserv.conf:
>> LoadModule jserv_module libexec/mod_jserv.so
>> <IfModule mod_jserv.c>
>> ApJServManual Off
>> ApJServProperties ./jserv/conf/jserv.properties
>> ApJServLogFile ./jserv/logs/mod_jserv.log
>> ApJServLogLevel info
>> ApJServDefaultProtocol ajpv11
>> ApJServDefaultHost localhost
>> ApJServDefaultPort 8007
>> ApJServSecretKey DISABLED
>> ApJServMount /servlets /root
>> </IfModule>
>
>jserv.properties:
>> wrapper.bin=/usr/bin/java
>> wrapper.class=org.apache.jserv.JServ
>> #wrapper.classpath=/usr/java/lib/classes.zip
>> # I've tried various jdk-appropriate value, including none
>> wrapper.classpath=/usr/local/apache/jserv/lib/ApacheJServ.jar
>> wrapper.classpath=/usr/local/apache/jserv/lib/jsdk.jar
>> wrapper.protocol=ajpv11
>> port=8007
>> zones=example
>#etc...
>
>
>http://localhost/jserv/
> gives the JServ page
>
>http://localhost/jserv/status?module=myhost.actv.com
> reflects jserv.conf values
>
>http://localhost/jserv/engine/0/
>   or
>http://localhost/servlets/Hello
> give 500 Internal Server Error
>
>Looking at the mod_jserv.log shows:
>> [12/08/1999 14:55:41:470] (INFO) jserv_watchdog:(29523)
watchdog_cleanup()
>> [12/08/1999 14:55:41:482] (INFO) Apache Module was cleaned-up
>> [13/08/1999 09:36:33:291] (EMERGENCY) ajp11: can not connect to host
127.0.0.1:8007
>> [13/08/1999 09:36:33:303] (EMERGENCY) ajp11: connection fail
>> [13/08/1999 09:36:33:303] (ERROR) an error returned handling request via
protocol "ajpv11"
>> [13/08/1999 09:36:33:303] (ERROR) an error returned handling request via
protocol "status"
>
>I don't see any indication of JServ trying to start java & listen on
>port 8007. Is there more logging available to indicate what is wrong
>with my wrapper settings?
>
>I have a successful JServ 0.9 on Apache 1.3.3 (various version of
>java/jsdk), and it looks to me like JServ is not starting java
>correctly, as port 8007 is not being listen'ed on, whereas I can open a
>connection to 8007 on the valid install manually (eg: telnet). There is
>nothing, however in either errors.log or mod_jserv.log until I attempt
>to hit a servlet.
>
>Any suggestions?
>
>tia
>- mike
>
>
>--
>--------------------------------------------------------------
>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]

Reply via email to