----------------------------------------------------------------
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!!!
----------------------------------------------------------------

My apologies for sending this without checkign the FAQ, but the 
FAQ-O-Matic seems to be down currently.

#1. What version of Apache JServ you are using
Jserv 1.0
#2. What version of Apache you are using
Apache 1.3.9
#3. What OS and OS version you are using
Linux. Red Hat. 6.0
#4. An exact description of what is going wrong (pretend that we are not 
    there and we cannot see what you are doing). Include any useful log
file 
    output as well.

When letting Apache start JRun I am getting the following error in 
errors.log:
        Can't find class org.apache.jserv.JServ
I get it 5 times.

I have /usr/local/jserv/lib/ApacheJServ.jar in the /etc/profile
file and echo $CLASSPATH shows it to be in both 'root' and 'nobody' 
user's classpaths. I start apache from root using, 
        /usr/local/apache/bin/apachectl start

The classpath in /etc/profile is:
                .:/usr/local/jdk/lib/classes.zip:
                  /usr/local/java/1.1collections/lib/collections.jar:
                  /usr/local/java/jsdk/lib/jsdk.jar:
                  /usr/local/jserv/lib/Apache-JServ.jar  

If I switch to:   ApJServManual on    in jserv.conf and use the
following
script, everything works fine:

#!/bin/sh
# Copied from Servlet Central JServ help site by Hen  02111999
# Launch jserv in manual mode.
jsdk=/usr/local/java/jsdk/lib/jsdk.jar
jserv=/usr/local/jserv/lib/Apache-JServ.jar
props=/home/hen/jserv/ApacheJServ-1.0/example/jserv.properties
log=/home/hen/jserv/ApacheJServ-1.0/example/jserv.log
classes=$CLASSPATH:$jsdk:$jserv
java -classpath $classes org.apache.jserv.JServ $props &> $log 



#5. Your Apache JServ configuration in Apache

ApJServManual off
ApJServProperties
/home/hen/jserv/ApacheJServ-1.0/example/jserv.properties
ApJServLogFile /home/hen/jserv/ApacheJServ-1.0/example/jserv.log
ApJServDefaultProtocol ajpv11
ApJServDefaultPort 8007
ApJServSecretKey DISABLED
ApJServMount /example /example
ApJServMount /alph /alph
ApJServMountCopy on
ApJServAction .jsp /alph/gnujsp
<Location /jserv/>
  SetHandler jserv-status
  order deny,allow
  deny from all
  allow from all
</Location> 




#######

Any ideas what I`m doing wrong? 

Hen


--
--------------------------------------------------------------
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