hi..
    I am trying to get Apache Jserv running for the past one week with 
little success.  When I start apache the errors I find in the error.log 
file is Exception in thread main : java.lang.NoClassDefFoundError 
org\apache\jserv\Jserv 
and in my mod_jserv.log file I noticed that the virtual machine is 
crashing.
    I did read the FAQ and I noticed that my ApacheJserv.jar file is 0 
bytes so I downloaded the tar file and renamed it. This didnt solve my 
problem. I have checked all my classpaths and I am not able to figure 
out the problem. Here is what I am using including my config files any 
help regarding this would be great.

#1. What version of Apache JServ you are using
     ApacheJserv1_0b2-Apache1_3_4

#2. What version of Apache you are using
      Apache1_3_4

#3. What OS and OS version you are using
       windows98 and I actually have the same problem on an NT machine
#4  MY CONFIG FILES

ERROR.LOG  file
                EXCEPION IN THREAD main NOClassDefFoundError: org\apache\jserv\Jserv

mod_jserv.log

[01/04/1999 02:33:23:420] (INFO) Apache Module was cleaned-up
[01/04/1999 02:33:23:420] (INFO) Apache Module was cleaned-up
[01/04/1999 02:33:27:870] (INFO) wrapper: Shutdown done (PID=-362979)
[01/04/1999 02:33:27:870] (INFO) Apache Module was cleaned-up
[01/04/1999 02:33:28:090] (INFO) wrapper: Java Virtual Machine started 
(PID=-435463)
[01/04/1999 02:33:28:140] (INFO) wrapper: controller started 
(PID=-362979)
[01/04/1999 02:33:29:790] (INFO) wrapper: Java Virtual Machine crashed
[01/04/1999 02:33:29:790] (INFO) wrapper: Java Virtual Machine started 
(PID=-434259)
[01/04/1999 02:33:30:610] (INFO) wrapper: Java Virtual Machine crashed
[01/04/1999 02:33:30:610] (INFO) wrapper: Java Virtual Machine started 
(PID=-436755)
[01/04/1999 02:33:31:220] (INFO) wrapper: Java Virtual Machine crashed
[01/04/1999 02:33:31:220] (INFO) wrapper: Java Virtual Machine started 
(PID=-370959)
[01/04/1999 02:33:31:820] (INFO) wrapper: Java Virtual Machine crashed
[01/04/1999 02:33:31:820] (INFO) wrapper: Java Virtual Machine started 
(PID=-370743)
[01/04/1999 02:33:32:430] (INFO) wrapper: Java Virtual Machine crashed
[01/04/1999 02:33:32:430] (INFO) wrapper: Java Virtual Machine started 
(PID=-435279)
[01/04/1999 02:33:33:090] (INFO) wrapper: Java Virtual Machine crashed
[01/04/1999 02:33:33:090] (INFO) wrapper: Java Virtual Machine started 
(PID=-436087)



###############################################################################
#                     Apache JServ Configuration File  ATTACHED TO HTTPD 
CONF  #
###############################################################################

# Note: this file should be appended to httpd.conf
ApJServManual off
ApJServProperties "C:\Program Files\Apache Group\Apache 
JServ\conf\jserv.properties"
ApJServLogFile "C:\Program Files\Apache Group\Apache 
JServ\logs\mod_jserv.log"
ApJServDefaultProtocol ajpv11
ApJservDefaultHost cool
ApJServDefaultPort 8007
ApJServSecretKey DISABLED
## I have a folder by name "example" in c:\program 
files\apache~1\apache\htdocs\example
## in which I have HelloWorldServlet.java. So is this right way of 
doing??
ApJServMount \example\example 
ApJServMountCopy on
<Location /jserv/>
  SetHandler jserv-status
  order deny,allow
  deny from all
  allow from all
</Location>

###############################################################################
#                        Apache JServ Configuration File                      
#
###############################################################################
wrapper.bin=C:\jdk1.2\bin\java.exe
wrapper.classpath=C:\Program Files\Apache Group\Apache 
JServ\ApacheJServ.jar
wrapper.classpath=C:\jsdk\jarfile\jsdk.jar
wrapper.classpath=C:\jdk1.2\bin
wrapper.env=windir=C:\WINDOWS
port=8007
## is this okay my zone settings ??
zones=example
example.properties=C:\Program Files\Apache 
Group\Apache\conf\example.properties
security.selfservlet=true
security.maxConnections=50
security.allowedAddresses=127.0.0.1
security.authentication=false
log=true
log.file=C:\Program Files\Apache Group\Apache JServ\logs\jserv.log
log.timestamp=true
log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz] 
log.channel.init=true
log.channel.terminate=true
log.channel.serviceRequest=true
log.channel.authentication=true
log.channel.signal=true
log.channel.exceptionTracing=true
log.channel.servletLog=true

###############################################################################
#                        Servlet Zone Configuration File                      
#
###############################################################################
repositories=C:\progra~1\Apache~1\apache\htdocs\example
autoreload.classes=true
autoreload.file=true
init.timeout=10000
destroy.timeout=10000
session.timeout=1800000
session.checkFrequency=30000
singleThreadModelServlet.initialCapacity=5
singleThreadModelServlet.incrementCapacity=5
singleThreadModelServlet.maximumCapacity=10


Get Your Private, Free Email at http://www.hotmail.com


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