tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Cherry <jcea...@mac.com>
Subject Re: Apache-tomcat integration
Date Thu, 01 Aug 2002 14:28:07 GMT
Apache runs just fine and I find it on the port I expect however tomcat does
not run as I expect.  http://my.host.com:8080/examples dose not respond.  I
do find a lot of java apps running when I do ps -U tomcat.  Here are my
error files:

Apache_log.<date>.txt:
2002-07-31 17:21:06 [org.apache.catalina.connector.warp.WarpConnector] Error
accepting requests
java.net.SocketException: Socket closed
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:343)
    at java.net.ServerSocket.implAccept(ServerSocket.java:438)
    at java.net.ServerSocket.accept(ServerSocket.java:409)
    at 
org.apache.catalina.connector.warp.WarpConnector.run(WarpConnector.java)
    at java.lang.Thread.run(Thread.java:536)

Catalina_log.<date>.txt:
2002-07-31 17:23:16 HttpConnector Opening server socket on all host IP
addresses
2002-07-31 17:23:28 HttpConnector[8180] Starting background thread
2002-07-31 17:23:28 HttpProcessor[8180][0] Starting background thread
2002-07-31 17:23:28 Ajp13Connector[8109] Opening server socket on all host
IP addresses
2002-07-31 17:23:28 Ajp13Connector[8109] Starting background thread
2002-07-31 17:23:28 Ajp13Processor[8109][0] Starting background thread

Localhost_examples_log.<date>.txt:
2002-07-31 17:23:22 WebappLoader[/examples]: Deploying class repositories to
work directory /var/tomcat4/work/localhost/examples
2002-07-31 17:23:22 WebappLoader[/examples]: Reloading checks are enabled
for this Context
2002-07-31 17:23:22 StandardManager[/examples]: Seeding random number
generator class java.security.SecureRandom
2002-07-31 17:23:22 StandardManager[/examples]: Seeding of random number
generator has been completed
2002-07-31 17:23:24 ContextConfig[/examples]: Added certificates -> request
attribute Valve
2002-07-31 17:23:24 ContextConfig[/examples]: Configured an authenticator
for method FORM
2002-07-31 17:23:24 ContextListener: contextInitialized()
2002-07-31 17:23:24 SessionListener: contextInitialized()
2002-07-31 17:23:24 ContextListener:
attributeReplaced('org.apache.catalina.WELCOME_FILES',
'[Ljava.lang.String;@385660')
2002-07-31 17:23:24 StandardWrapper[/examples:default]: Loading container
servlet default
2002-07-31 17:23:24 default: init
2002-07-31 17:23:24 StandardWrapper[/examples:invoker]: Loading container
servlet invoker
2002-07-31 17:23:24 invoker: init
2002-07-31 17:23:24 jsp: init

Localhost_log.<date>.txt:
2002-07-31 17:23:27 StandardHost[localhost]: Installing web application at
context path /webdav from URL file:/var/tomcat4/webapps/webdav
2002-07-31 17:23:27 WebappLoader[/webdav]: Deploying class repositories to
work directory /var/tomcat4/work/localhost/webdav
2002-07-31 17:23:27 StandardManager[/webdav]: Seeding random number
generator class java.security.SecureRandom
2002-07-31 17:23:27 StandardManager[/webdav]: Seeding of random number
generator has been completed
2002-07-31 17:23:27 ContextConfig[/webdav]: Added certificates -> request
attribute Valve
2002-07-31 17:23:27 StandardWrapper[/webdav:default]: Loading container
servlet default
2002-07-31 17:23:27 default: init
2002-07-31 17:23:27 StandardWrapper[/webdav:invoker]: Loading container
servlet invoker
2002-07-31 17:23:27 invoker: init
2002-07-31 17:23:27 jsp: init

Mod_jk.log:
[jk_uri_worker_map.c (430)]: In jk_uri_worker_map_t::map_uri_to_worker,
wrong parameters


on 08/01/2002 9:31 AM, tomcat-user-digest-help@jakarta.apache.org at
tomcat-user-digest-help@jakarta.apache.org wrote:

> 
> From: "Ralph Einfeldt" <ralph.einfeldt@uptime-isc.de>
> Date: Thu, 1 Aug 2002 12:17:13 +0200
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Subject: AW: Apache-tomcat integration
> 
> Yes it's possible to use mod_jk from 3.3.
> 
> Zhis informatin is better than your previous post,
> but I'm missing an description of the error(s).
> 
> - Is apache running at all. (ps aux | grep bin/apache)
> - Is tomcat running at all. (ps aux | grep tomcat)
> - Is apache listening on the ports you expect (netstat -a)
> - Is tomcat listening on the ports you expect (netstat -a)
> - can you get static resources
> - can you get dynamic resources through port 8080
> (Use the port from the settings for the HttpConnector in
> server.xml)

 
 
> From: "Turner, John" <JTurner@AAS.com>
> Date: Thu, 1 Aug 2002 08:13:43 -0400
> To: 'Tomcat Users List' <tomcat-user@jakarta.apache.org>
> Subject: RE: Apache-tomcat integration
> 
> 
> Sorry, there isn't enough info here to really tell.
> 
> 1) does apache work on it's own?
> 2) do the tomcat examples work on port 8080:
> http://your.host.com:8080/examples ?
> 
> If both one and two are true, I would make sure things like apache
> ServerName in httpd.conf match the Host name in server.xml.  Also, I notice
> that your workers.properties file looks incomplete...there should be a host
> name there as well.
> 
> I posted a HOWTO for a RH Linux system, it may help even though you are
> running on Mandrake.  Nothing in my HOWTO is OS-specific, as far as I know:
> 
> http://www.johnturner.com/howto/apache-tomcat-howto.html
> 
> John Turner
> jturner@NOSPAM.aas.com



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