matthew zeier wrote:

> On Mon, Mar 22, 1999 at 08:15:48AM -0800, Gujran, Natraj wrote:
> > you've probably taken care of this ..but check that the
> > Apache-JServ.jar is not 0 bytes.
> >
>
> mrz@cable [/web/jserv/lib/] 25> ls -l
> total 2246
> -rw-r--r--   1 mrz      staff     150500 Mar 21 22:31 Apache-JServ.jar
>
> Yeah, I checked that and even ran strings on the binary and found
> org/apache/jserv/JServ.class .
>
> - mz

a better test would be to run: (its probably -tf, if you just type 'jar' it
should list the arguments,
you want one that will either test the jar, or list the contents, the f
specifies to use a file).
jar -tf Apache-JServ.jar
and see that it outputs a listing of class files.
if it generates *any* garbage, you should replace the file. ( i heard a rumor
that netscape trashes .jar files when downloading them)

After doing this and teh jar seems alright, what i would do is, take a look at
jservs log, set your environment variables as described in the log, and attempt
to start jserv manually.
um, i forget, but the string should be in the log(i think).

This should let you take a look at the problems going on with the jvm directly,
and try different things out, when you have it figured out modify your jserv
configs to match these settings and give it a try.

a final thing to think about is file permissions, when invoking the jvm
directly to test, try to do it as the uid that jserv/apache is running under,
other wise you'll probably get extraneous errors like exceptions caused by not
being able to write to the log file, etc.  It could even be that jserv doesn't
have the permissions to read the .jar(though i doubt that).




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