"Craig R. McClanahan" a écrit :

Hello !

Thank you for your answer, it is really nice to be helped in such
'despairful' problems :-)

AND I FOUND THE SOLUTION, at the end :-)))))

> > THE PROBLEM IS : Can't find class org.apache.jserv.JServ
> >  > # ls -l /usr/local/Apache-JServ/Apache-JServ.jar
> >  > -rw-r----- 1 root root 150410 May 2 18:35
> >  > /usr/local/Apache-JServ/Apache-JServ.jar

> Denis:  Apache JServ runs under the same username that you have Apache configured 
>under
> (usually "nobody"), not as root.  Therefore, it won't be able to read this JAR file
> (which contains the class in question).  You need to assign world read permissions to
> this and any other JAR file you refer to, plus at least "read" and "execute"
> permissions on directories above this JAR file (in your case, "/usr", "/usr/local", 
>and
> "/usr/local/Apache-JServ").

In fact, this one was ok:

horus:/root # su - wwwrun
wwwrun@horus:/tmp > cd /usr/local/Apache-JServ/
wwwrun@horus:/usr/local/Apache-JServ > ls -l
total 150
-rw-r--r--   1 root     root       150410 May  2 18:35 Apache-JServ.jar

But some others in the classpath weren't !!!

I made them accessible, and then some other *documentated* errors appeared
which were easy to correct thanks to the error message. And now it is
starting without errors, and accessing /servlets (to be changed to /servlet
I think ?) on the website doen't says internal error anymore -> it works !!!

Just go to http://www.horus.ch/servlets/Hello to see your work :-))))

If you need anything from Switzerland some day, you know who to ask ;-))

Denis


----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to