tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ilic Aleksandar <flyl...@gavrilo.elfak.ni.ac.yu>
Subject apache+web_app/mod_jk+tomcat - segmentation fault error
Date Sun, 03 Feb 2002 17:41:10 GMT
I just configure tomcat-4.0 and I set up its virtual hosts. Just to
mention that root dirs for virtual hosts are not in webapps but in
/home/<user> dirs. Than I set up Apache-1.3.22 also with the same virtual
hosts and the document roots (/home/<user>) . Than I wanted to set up
mod_webapp to deploy apps from tomcat through apache. But it doesnt't
work. I have downloaded mod_webapp-1.0-eapi.so , I put
 LoadModule webapp_module /home/flylord/mod_webapp-1.0-eapi.so
AddModule mod_webapp.c

Then  I put
<VirtualHost x.x.x.x>
    ServerAdmin webmaster@handtake.com
    DocumentRoot /home/cmsdev/www/htdocs
    ServerName x.x.x.x
WebAppConnection  tomcat4_connect  warp  localhost:8008
WebAppDeploy cmsdev tomcat4_connect /
#WebAppInfo /webapp-info
# WebAppDeploy examples tomcat4_connect         /examples
#    JkMount /*.jsp ajp13
    ErrorLog    /var/log/apache/cmsdev/error.log
    CustomLog   /var/log/apache/cmsdev/access.log combined
</VirtualHost>

And in /var/log/apache/error.log I got:

[Mon Feb  4 17:56:02 2002] [notice] child pid 13523 exit signal
Segmentation fault (11)

In tomcat/logs I got:

2002-02-04 18:07:39 [org.apache.catalina.connector.warp.WarpConnector]
Connection from localhost/127.0.0.1:2052 to localhost/127.0.0.1:8008
2002-02-04 18:07:39
[org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter
mappings (0)
2002-02-04 18:07:39
[org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter
mappings (0)
2002-02-04 18:07:41 [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:498)

2002-02-04 18:07:41 [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:498)

2002-02-04 18:07:42 [org.apache.catalina.connector.warp.WarpConnector]
Connection from localhost/127.0.0.1:2053 to localhost/127.0.0.1:8008
2002-02-04 18:07:42
[org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter
mappings (0)
2002-02-04 18:07:43 [org.apache.catalina.connector.warp.WarpConnector]
Connection from localhost/127.0.0.1:2054 to localhost/127.0.0.1:8008
2002-02-04 18:07:43 [org.apache.catalina.connector.warp.WarpConnector]
Connection from localhost/127.0.0.1:2055 to localhost/127.0.0.1:8008
2002-02-04 18:07:43
[org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter mappi


I also have tried with mod_jk. And I am getting problem with it too. I
wrote some JSPs thatt have to check wether client have cookies and
javascript enabled. When I am accessing to that app through tomcat, it's
working ffine, but when I am try that through apache I got error that
cookies are disabled!!!

I just loaded mod_jk into apache and put
JkMount /*.jsp ajp13 into apache and enabled ajp13 conenctor in Tomcat

				Any help, pleaseeee

Ilic Aleksandar


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message