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

 
 I was try to running servlet for Cobalt.
 (Cobalt Linux release 4.0 (Fargo) Kernel 2.0.34 on a mips)

 I've installed Apache 1.3.9,Jserv1.0,JSDK2.0,kaffe-1.0b4-C2.mips.rpm.

 I was success running example servlet "Hello".
 (under the ApacheJServ-1.0/example/Hello)

 But I can't running my servlet.

 1. Installed my servlet.
 directory /usr/local/Myservlet
 jar file  /usr/local/Myservlet/myservlet.jar

 2. create new zone.(added example configuration file)
 jserv.conf

ApJServMount /example /example
ApJServMount /servlet ajpv11://127.0.0.1:8007/myservlet

 jserv.properties
zones=example,myservlet
myservlet.properties=myservlet.propertie

 3. add my servlet classpath jserv.properties.

wrapper.classpath=/usr/local/JSDK2.0/lib/jsdk.jar
wrapper.classpath=/usr/local/jserv/lib/ApacheJServ.jar
wrapper.classpath=/usr/local/Myservlet
wrapper.classpath=/usr/local/Myservlet/myservlet.jar

 4. create myservlet.propertie.

repositories=/usr/local/Myservlet/myservlet.jar,/usr/local/Myservlet

 and jserv.properties trace is true.

 I try to http://my_cobalt/myservlet/myservlet .
 
 I see the jserv's trace file.
 Servlet-Error: ClassNotFoundException: myservlet 

 Also I was try copy example's Hello.class to /usr/local/Myservlet.
 then try to http://my_cobalt/mayservlet/Hello  This is success.
 and myservlet already running Sun's JavaWebServer.

 How do I check configuration or my install ?


Orangesoft Inc.
Watanabe Naoaki
[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