-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Hi Jon,

> > Can the Jserv server only be run as root? And if not, who should I run
it
> > as?
>
> You can run it as whatever uid you want. I would run it as a uid that
> doesn't have much in the way of write access. ;-)

I've tried running it as bin...

godzilla:/www/zeus/jserv$ CLASSPATH=jsdk.jar:ApacheJServ.jar /usr/bin/java
org.apache.jserv.JServ conf/j
serv.properties
ApacheJServ/1.0
java.io.IOException: Not writable: /www/zeus/jserv/logs/jserv.log
        at org.apache.java.io.LogWriter.<init>(LogWriter.java:278)
        at org.apache.java.io.LogWriter.<init>(LogWriter.java:202)
        at org.apache.jserv.JServLog.<init>(JServLog.java:76)
        at org.apache.jserv.JServ.start(JServ.java:218)
        at org.apache.jserv.JServ.main(JServ.java:153)
ApacheJServ/1.0: Error opening log file: java.io.IOException: Not wri

No one but root has write directory on my /www/zeus directory so I can't
change that....

Is my answer to move the whole jserv directory elsewhere? :)

Thanks for the help! :)

Regards,

Marc-Adrian Napoli
Connect Infobahn Australia
+61 2 92811750



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