tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikola Milutinovic <Nikola.Milutino...@ev.co.yu>
Subject WARP connector and Apache2 - error
Date Sun, 19 May 2002 09:43:31 GMT
Hi all.

Apache 2.0.35
Tomcat 4.1.1
mod_webapp 4.1.2

I've built mod_webapp from sources, the build was more/less OK. The module 
loads. I have copied tomcat-warp.jar to server/lib dir of Tomcat 4.1.1

When I start Apache2 and it attempts to connect and deploy webapp, I get errors 
in error logs:

apache2/logs/error_log
----------------------
[Sun May 19 11:46:42 2002] [crit] the listener thread didn't exit
[Sun May 19 11:46:43 2002] [crit] the listener thread didn't exit
[Sun May 19 11:46:44 2002] [crit] the listener thread didn't exit

Tomcat-4.1.1/logs/WARP.txt
--------------------------
2002-05-19 10:46:22 [org.apache.catalina.connector.warp.WarpConnector]
   Connection from Legba.ev.co.yu/192.168.61.18:1275 to
   Mercury.ev.co.yu/192.168.61.16:8008
2002-05-19 10:46:22 [org.apache.catalina.connector.warp.WarpConnector]
   Connection from Legba.ev.co.yu/192.168.61.18:1276 to
   Mercury.ev.co.yu/192.168.61.16:8008
2002-05-19 10:46:23 WarpHost[legba.ev.co.yu]: Installing web application
   at context path /tomcat/addr_book from URL
   file:/usr/users/mercury/webapps/addr_book
2002-05-19 10:46:23 WebappLoader[/tomcat/addr_book]: Deploying class
   repositories to work directory
   /usr/tomcat-4.11/work/Legba.ev.co.yu/legba.ev.co.yu/tomcat_addr_book
2002-05-19 10:46:23 WebappLoader[/tomcat/addr_book]: Deploy class files
   /WEB-INF/classes to /usr/users/mercury/webapps/addr_book/WEB-INF/classes

2002-05-19 10:46:23 [org.apache.catalina.connector.warp.WarpConnector]
   Connection from Legba.ev.co.yu/192.168.61.18:1277 to
   Mercury.ev.co.yu/192.168.61.16:8008
2002-05-19 10:46:25 [org.apache.catalina.connector.warp.WarpConnector]
   Connection from Legba.ev.co.yu/192.168.61.18:1278 to
   Mercury.ev.co.yu/192.168.61.16:8008
2002-05-19 10:46:25 [org.apache.catalina.connector.warp.WarpConnector]
   Connection from Legba.ev.co.yu/192.168.61.18:1279 to
   Mercury.ev.co.yu/192.168.61.16:8008
2002-05-19 10:46:26 [org.apache.catalina.connector.warp.WarpConnector]
   Connection from Legba.ev.co.yu/192.168.61.18:1280 to
   Mercury.ev.co.yu/192.168.61.16:8008
2002-05-19 10:46:32 ContextConfig[/tomcat/addr_book]: Added certificates ->
   request attribute Valve
2002-05-19 10:46:32 StandardManager[/tomcat/addr_book]: Seeding random number
   generator class java.security.SecureRandom
2002-05-19 10:46:32 StandardManager[/tomcat/addr_book]: Seeding of random
  number generator has been completed
2002-05-19 10:46:32 StandardWrapper[/tomcat/addr_book:default]: Loading
   container servlet default
2002-05-19 10:46:32 default: init
2002-05-19 10:46:32 StandardWrapper[/tomcat/addr_book:invoker]: Loading
   container servlet invoker
2002-05-19 10:46:32 invoker: init
2002-05-19 10:46:32 jsp: init

2002-05-19 10:46:42 [org.apache.catalina.connector.warp.WarpConnection]
   Exception on socket
java.io.IOException: Premature packet header end
   at org.apache.catalina.connector.warp.WarpConnection.recv(Unknown Source)
   at org.apache.catalina.connector.warp.WarpRequestHandler.handle(Unknown Source)
   at org.apache.catalina.connector.warp.WarpConnection.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:484)
2002-05-19 10:46:43 [org.apache.catalina.connector.warp.WarpConnection]
   Exception on socket
java.io.IOException: Premature packet header end
   at org.apache.catalina.connector.warp.WarpConnection.recv(Unknown Source)
   at org.apache.catalina.connector.warp.WarpRequestHandler.handle(Unknown Source)
   at org.apache.catalina.connector.warp.WarpConnection.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:484)

-------------------------

So, it sort-of deploys and then when actual communication with Apache2 is 
supposed to take place - "Premature packet header end".

Any suggestions?

Nix.


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message