-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul,

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

This looks okay.

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

Okay.

> 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqz+iMACgkQ9CaO5/Lv0PA3owCfSxwdB/w3nPjKoV0oh03l2DV+
DGMAoKdrOOrxZYAVVWsNtckSlI2WBDAj
=sitb
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to