tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: tomcat6 + apache 2.2 mod_jk - Help
Date Fri, 18 Sep 2009 21:22:43 GMT
Hash: SHA1


On 9/18/2009 1:29 PM, Paul S wrote:
> -----------------
> worker.list=wkr01
> worker.wkr01.type=ajp13
> worker.wkr01.port=8009

This looks okay.

> <Connector port="8009" enableLookups="false" protocol="AJP/1.3" redirectPort="8445"
debug="1" />


> Apache is running on port 8079.

Do you mean that Apache httpd is listening on port 8079? What about port 80?

> tomcat is running on 8080

You mean that Tomcat also has an HTTP <Connector> listening on port 8080?

> i am able to access helloWorld using tomcat:   http://localhost:8080/helloWorld

Good. This is using the HTTP connector directly to Tomcat.

> I am able to access apache: http://localhost   ---> i see 'It works' page come up.

Good. Apache httpd is listening on port 80.

> When i try to access 
> http://localhost:8079/helloWorld i am getting this error....
> ...
> ..
>  init_jk::mod_jk.c (3183): mod_jk/1.2.28 initialized
> ...
> ...
>  ajp_get_endpoint::jk_ajp_common.c (2977): acquired connection pool slot=0 after 0 retries
> ajp_marshal_into_msgb::jk_ajp_common.c (605): ajp marshaling done
> ajp_service::jk_ajp_common.c (2283): processing wkr01 with 2 retries
> ajp_send_request::jk_ajp_common.c (1501): (wkr01) all endpoints are disconnected.

This would seem to indicate that Tomcat isn't running, or that a
connector hasn't properly been configured. What happens if you do
"telnet localhost 8009" from the command line? Can you connect, or do
you get a "connection refused"?

> Am i missing any configuration?

If you could post your entire server.xml, it might be helpful.

Are you running Tomcat under any kind of multiple-instance
configuration, or through NetBeans or anything like that? If so, Tomcat
may be using a server.xml that you don't expect...

- -chris
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message