Hi All,

I configured tomcat 4.0.1 with Apache 1.3.23 on Sun Solaris 2.7

My problem is for mod_jk connector i am getting 
[Ajp13] bad read: -103 error. After certain point
of time i need to restart tomcat on live server.


I decided to switch configuration to warp connector.
warp is working without errors on test server.
 but when my test web site gets request in a reasonable hits I am getting 
"Premature packet end" error.

I would like to ask that is there any proper solution for "Premature packet header"
problem. I searched a lot, but I don't find any proper solution for that.

If there is not, Is it better use warp with "Premature packet end" error
than ajp13 with bad read : -103.

Thanks in advance

Best Regards

Ozan Saglam


PS. 


in jakarta/apache_*.logs

java.io.IOException: Premature packet header end
at org.apache.catalina.connector.warp.WarpConnection.recv(WarpConnection.java:237)
at 
org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHandler.java:112)
at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:194)
at java.lang.Thread.run(Thread.java:479)




.
 <Service name="Tomcat-Apache">

   <Connector className="org.apache.catalina.connector.warp.WarpConnector"
    port="8008" minProcessors="5" maxProcessors="75"
    enableLookups="true"
    acceptCount="10" debug="0"/>

   <Engine className="org.apache.catalina.connector.warp.WarpEngine"
    name="devserver" debug="0" appBase="webapps">

     <Logger className="org.apache.catalina.logger.FileLogger"
                 verbosity="4"
             prefix="apache_log." suffix=".txt"
             timestamp="true"/>

     <Realm className="org.apache.catalina.realm.MemoryRealm" />

   </Engine>

 </Service>
...



httpd.conf
...

NameVirtualHost 10.xx.xx.xx:80

WebAppConnection warpConnection warp localhost:8008
WebAppInfo /webapp-info

<VirtualHost 10.xx.xx.xx>
    DocumentRoot /opt/jakarta-tomcat-4.0.1/webapps/devcontent
    ServerName devserver
    WebAppDeploy  devcontent warpConnection /
</VirtualHost>
...

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.350 / Virus Database: 196 - Release Date: 17.04.02
 


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to