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

I'm willing to be that it couldn't start up because it couldn't find the
class HttpServlet that JServ extends.

(Ok, i know this to be true because I just debuged this joe.)

The problem with our system was that org.apache.jserv.JServ extends
HttpServlet and our jsdk.jar file was corrupted somehow... so I just went
and got a fresh new one and that worked.

I geuss this could be added to the faq too huh?

-gus

> ----------
> From:         Joseph Heck
> Reply To:     Java Apache Users
> Sent:         Wednesday, August 25, 1999 9:39 PM
> To:   Java Apache Users
> Subject:      odd problem
> 
> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
> 
> I've been reading faq item #85, and tried Pier's suggestion of running
> JServ by hand since I got the "couldn't load" error. I can't seem to run
> it by hand. When I issue the command by hand, I'm issuing:
> 
> /usr/local/java/bin/java -classpath
> /usr/local/src/ApacheJServ-1.0/src/java/ApacheJServ.jar:/usr/local/java/li
> b/jsdk.jar:/usr/local/java/lib/classes.zip
> -v org.apache.jserv.JServ
> 
>  and at the tail end of it, it clearly loads the ApacheJServ jar file:
> 
> ...
> [Loaded java/lang/Compiler.class from /usr/local/java/lib/classes.zip]
> [Loaded org/apache/jserv/JServ.class from
> /usr/local/src/ApacheJServ-1.0/src/java/ApacheJServ.jar]
> [Loaded org/apache/jserv/JServLogChannels.class from
> /usr/local/src/ApacheJServ-1.0/src/java/ApacheJServ.jar]
> [Loaded org/apache/jserv/JServDefs.class from
> /usr/local/src/ApacheJServ-1.0/src/java/ApacheJServ.jar]
> Can't find class org.apache.jserv.JServ
> 
> I've also tried just copying the org/apache/.. directory structure into
> the /usr/local/java/lib directory and switching the classpath to match -
> it found it there as well, but wouldn't load it.
> 
> Any thoughts?
> 
> I've blackdown's jdk117_v3 on a RedHat 6.0 box. Tried running this command
> manually as root and as the user "nobody" with no significant difference.
> It's a straight default configuration (the example actually).
> 
> I've also tried setting LD_LIBRARY_PATH to the .so files utilized by java
> as mentioned in item #40 to no avail.
> 
> Thanks,
> 
> -joe
> [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]
> 
> 


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