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

--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
I really need some assistance with my JServ setup.  For some reason the JVM is not 
starting up - or so it seems.  Any help would be greatly appreciated.  I have been 
struggling with this for quite some time now - so if anyone has any idea why this is 
happening - PLEASE let me know!

Using:
JDK 1.2 (/usr/opt/java121)
JSDK 2.0 (/usr/opt/java121/JSDK2.0)
Apache JServ 1.0 (SERVERROOT/jserv)

On a:
Digital Unix V4.0B
Stronghold v2.4.2

Under SERVERROOT:
drwx------   5 root     webmastr    8192 Sep  2 13:58 jserv

Under SERVERROOT/jserv
drwxrwxrwx   2 http     www         8192 Sep  3 12:00 conf
drwxr-xr-x   7 ohria    webmastr    8192 Aug 27 13:08 docs
drwxr-xr-x   2 ohria    webmastr    8192 Aug 27 13:08 lib

Under SERVERROOT/jserv/lib
-rwxr-xr-x   1 ohria    webmastr  150529 Aug 27 13:08 ApacheJServ.jar

Under SERVERROOT/jserv/conf
-rwxr-xr-x   1 ohria    webmastr    5314 Sep  2 14:05 example.properties
-rwxr-xr-x   1 ohria    webmastr    4873 Sep  3 12:43 jserv.conf
-rwxr-xr-x   1 ohria    webmastr    7371 Sep  3 12:50 jserv.properties
-rw-------   1 root     www         3040 Sep  3 12:50 mod_jserv.log

Stronghold runs as:
user http
group www

jserv.conf:
ApJServManual off
ApJServProperties SERVERROOT/jserv/conf/jserv.properties
ApJServLogFile SERVERROOT/jserv/conf/mod_jserv.log
ApJServDefaultProtocol ajpv11
ApJServDefaultPort 8007
ApJServSecretKey DISABLED
ApJServMount /example /example
ApJServMountCopy on
<Location /jserv/>
  SetHandler jserv-status
</Location>

jserv.properties:
wrapper.bin=/usr/opt/java121/bin/java
wrapper.bin.parameters="-verbose"
wrapper.classpath=SERVERROOT/jserv/lib/ApacheJServ.jar
wrapper.classpath=/usr/opt/java121/JSDK2.0/lib/jsdk.jar
port=8007
zones=example
example.properties=SERVERROOT/jserv/conf/example.properties
security.selfservlet=true
security.maxConnections=50
security.allowedAddresses=127.0.0.1
security.authentication=false
security.challengeSize=5
log=true
log.file=SERVERROOT/jserv/conf/jserv.log
log.timestamp=true
log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz] 
log.channel.servletLog=true
log.channel.init=true
log.channel.terminate=true
log.channel.serviceRequest=true
log.channel.authentication=true
log.channel.requestData=true
log.channel.responseHeaders=true
log.channel.signal=true
log.channel.exceptionTracing=true
log.channel.servletManager=true

Last line of SERVERROOT/conf/httpd.conf:
Include SERVERROOT/jserv/conf/jserv.conf

CLASSPATH:
/usr/opt/java121/mm.mysql.jdbc-1.2a:/usr/opt/java121/lib:
SERVERROOT/jserv/lib/ApacheJServ.jar:
/usr/opt/java121/JSDK2.0/lib/jsdk.jar:.
(I manually added ApacheJServ.jar - does it NEED to be there permanently?)

Excerpt from mod_jserv.log after restarting server, and attempting to access 
/example/Hello:
[03/09/1999 12:50:24:177] (INFO) jserv_watchdog:(5309) watchdog_cleanup()
[03/09/1999 12:50:24:191] (INFO) Apache Module was cleaned-up
[03/09/1999 12:50:37:170] (EMERGENCY) ajp11: can not connect to host 127.0.0.1:8007
[03/09/1999 12:50:37:171] (EMERGENCY) ajp11: connection fail
[03/09/1999 12:50:37:171] (ERROR) an error returned handling request via protocol 
"ajpv11"



PROBLEM
-----------------
- Any time I run anything in /example/ whether it be /example/Hello or a file that 
doesn't exist or just /example/ I get an internal server error
- I can access /jserv/ (the status page)
- I manually added the SERVERROOT in the excerpts above - it's not part of the problem 
:)



I've been struggling with this - including installation - for weeks...  Please help!

Atul Ohri
NYU School of Law Webteam
[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