----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
It looks like something is trying to run the jserv properties file as a
shell script.
Deon wrote:
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> Hi,
>
> I have trouble starting JServ manualy. I have looked throught the FAQ, and
> did not see anything relating to the errors I am getting. I am using Sun's
> JSDK2.0 and JDK1.2.2. I am pretty sure that the underlying directory
> permissions are allowing my "User1" to reach the appropriate files. I then
> get the following errors when running the sample script I got. I'm not sure
> who's complaining, Apache or JServ ( must be JServ since that is what I am
> trying to start). The web server has been started as root initially, and
> then switched to user=Nobody, group=Nobody as specified in the configuration
> files. Web server has been configured to not start JServ automatically.
>
> Any help/ideas would be appreciated.
>
> Thanks
> Deon
>
> ====================================
> TEST SCRIPT:
> log=/usr/local/jserv/logs/jserv_manual.log
> java -cp /usr/local/jserv/libexec/ApacheJServ.jar org.apache.jserv.JServ
> /usr/local/jserv/etc/jserv.properties $1 2>> $log
>
> USER CLASSPATH VALUES FOR COMMAND = echo $CLASSPATH:
> /usr/local/java/jsdk2.0/classes:/usr/local/jserv/libexec/ApacheJServ.jar
>
> JSERV JAVA STACKTRACE: NoClassDefinitionFound :
> javax.servlet.http.HttpServlet.
>
> JSERV ERROR_LOG AFTER LAUNCHING VM MANUALY:
> /usr/local/jserv/etc/jserv.properties:
> wrapper.bin=/usr/local/java/jdk1.2.2/bin/java: No such file or directory
> /usr/local/jserv/etc/jserv.properties:
> wrapper.classpath=/usr/local/jserv/libexec/ApacheJServ.jar: No such file or
> directory
> /usr/local/jserv/etc/jserv.properties:
> wrapper.classpath=/usr/local/java/jsdk2.0/classes: No such file or directory
> /usr/local/jserv/etc/jserv.properties: pool.capacity=10: command not found
> /usr/local/jserv/etc/jserv.properties:
> pool.controller=org.apache.java.recycle.DefaultController: command not found
> /usr/local/jserv/etc/jserv.properties: security.selfservlet=true: command
> not found
> /usr/local/jserv/etc/jserv.properties: security.maxConnections=50: command
> not found
> /usr/local/jserv/etc/jserv.properties:
> security.allowedAddresses=212.107.2.99: command not found
> /usr/local/jserv/etc/jserv.properties: security.authentication=false:
> command not found
> /usr/local/jserv/etc/jserv.properties:
> log.file=/usr/local/jserv/logs/jserv.log: No such file or directory
> /usr/local/jserv/etc/jserv.properties: log.timestamp=true: command not found
> /usr/local/jserv/etc/jserv.properties: log.dateFormat=[dd/MM/yyyy: No such
> file or directory
> /usr/local/jserv/etc/jserv.properties: log.queue.maxage: command not found
> /usr/local/jserv/etc/jserv.properties: log.queue.maxsize: command not found
> /usr/local/jserv/etc/jserv.properties: log.channel.servletException=true:
> command not found
> /usr/local/jserv/etc/jserv.properties: log.channel.jservException=true:
> command not found
> /usr/local/jserv/etc/jserv.properties: log.channel.warning=true: command not
> found
> /usr/local/jserv/etc/jserv.properties: log.channel.servletLog=true: command
> not found
> /usr/local/jserv/etc/jserv.properties: log.channel.critical=true: command
> not found
>
> --
> --------------------------------------------------------------
> 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]
--
--------------------------------------------------------------
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]