On Mon, Mar 22, 1999 at 12:03:34PM -0500, Adam Gifford wrote:
> 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).



1. I ran 'jar -tf /web/jserv/lib/Apache-JServ.jar' and saw a bunch of
.class files.  

2. I manually did 

setenv CLASSPATH 
/usr/java/lib/classes.zip:/web/jserv/lib/Apache-JServ.jar:/web/JSDK2.0lib/jsdk.jar

3. ran '/bin/java org.apache.jserv.JServ' and got "Can't find class 
org.apache.jserv.JServ" as an error.  

4. I tried 'java -classpath /web/jserv/lib/Apache-JServ.jar 
org.apache.jserv.JServ /web/httpd/etc/jserv.properties' as user "nobody" 
and still got the same error.  Even tried as root.

5. permissions all look fine.  I'm not sure what to look at.  

6. I ran a truss on it.  It appears to opens Apache-JServ.jar.  

I've never had this much problems installing something :|


-- 
matthew zeier -  "Chance is irrelevant - we will succeed." - 7 of 9
in|tele|net communications; 18101 Von Karman Ave, St 550; Irvine, CA 92612
949/851-8250, 949/851-1088 FAX, http://www.intelenet.net/


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