-----------------------------
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/lib/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]

Reply via email to