----------------------------------------------------------------
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 everybody, I am writing because I have a problem with JServ.
I have a setup consisting of:

Solaris 2.4 /SPARC
Apache 1.3.12
Jserv 1.1.1
JDK 1.1.5 + JSDK 2.0

I have installed Apache and it works fine, JSDK works fine too.
But JServ seems is not working.

If I hit http://localhost:8080/jserv/, I get the status page, but if I
hit
http://localhost:8080/servlet/Hello or
http://localhost:8080/servlets/IsItWorking,

I get a Bad Request (Your browser sent a request that
 this server could not understand. Additionally, a
400 Bad Request error was encountered while trying to use an
ErrorDocument to handle the request), I get the same error if I tried
http://localhost:8080/jserv/engine/0/ or
http://localhost:8080/jserv/engine/1/

I have tried to run JServ automatically and manually, when I do ps
-ef|grep jserv JServ is working, but I can't get any Servlet with
Apache. Servlets run ok with servletrunner (jsdk) but not with JServ.

The logs files have permission of write for all users,
this is what they tells me.

jserv.log

[01/06/2000 18:55:35:751 GMT+03:30] AJP Protocol Error:
java.io.IOException: Stream broken
[01/06/2000 18:55:40:324 GMT+03:30] AJP Protocol Error:
java.io.UnsupportedEncodingException

mod_jserv.log

[01/06/2000 17:25:35:813] (ERROR) ajp11: Servlet Error: Malformed data
sent to JServ
[01/06/2000 17:25:40:339] (ERROR) ajp12: Servlet Error: Malformed data
sent to JServ

The uncomment lines of my configuration files are these

jserv.conf

<IfModule mod_jserv.c>
ApJServManual On
ApJServProperties /usr/local/jserv/etc/jserv.properties
ApJServLogFile /usr/local/apache/NONE/logs/mod_jserv.log
ApJServLogLevel notice
ApJServDefaultProtocol ajpv12
ApJServDefaultPort 8007
ApJServVMTimeout 50
ApJServSecretKey DISABLED
ApJServMount /servlets ajpv11://localhost/root
ApJServMount /servlet /root
ApJServMountCopy on
<Location /jserv/>
  SetHandler jserv-status

  order deny,allow
  deny from all
  allow from localhost
</Location>
</IfModule>

 And the jserv.properties

wrapper.bin=/usr/local/jdk/jdk1.1.5/bin/java
wrapper.classpath=/usr/local/jserv/libexec/ApacheJServ.jar
wrapper.classpath=/usr/local/jsdk/JSDK2.0/lib/jsdk.jar
bindaddress=localhost
port=8007
zones=root
root.properties=/usr/local/jserv/etc/zone.properties
pool.capacity=10
pool.controller=org.apache.java.recycle.DefaultController
security.selfservlet=false
security.maxConnections=50
security.authentication=true
log=true
log.file=/usr/local/apache/NONE/logs/jserv.log
log.timestamp=true
log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz]
log.queue.maxage = 5000
log.queue.maxsize = 1000
log.channel.servletException=true
log.channel.jservException=true
log.channel.warning=true
log.channel.servletLog=true
log.channel.critical=true

Please, could somebody help me?

Thanks in advance.


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