I'm having a hell of a time getting jserv 1.1.2-1
to work on Apache 1.3.12-2.1.
I keep getting "Can't find class
org.apache.jserv.JServ". However, the /usr/share/java/ApacheJServ.jar *is*
listed on a wrapper.classpath line in /etc/jserv/jserv.properties.
When I turn on verbose mode, I see that the JVM
never finds anything in ApacheJServ.jar.
However, here's the wierd part. If I unpack
the jar and reassemble it with no compression, the logs will then
show:
[Loaded org/apache/jserv/JServ.class from
/usr/share/java/ApacheJServ.jar]
....
Can't find class
org.apache.jserv.JServ
So, the questions become:
1 - Is the currently-packaged jserv compiled
to support compressed jars in the classpath?
2 - If not, why does it ship with a
compressed ApacheJServ.jar?
3 - Even when java *does* find the class in
the uncompressed jar, why does it still complain?
The only answer to #3 that I can imagine is that it
loads the class and then does a sanity check on it, which fails. Which then
leads to the question: why would a simple "jar -xf"/"jar -c0f" repackaging cause
this?
- Joe
|