On Dec 13, 2007 6:03 PM, Alan Chaney <[EMAIL PROTECTED]> wrote:
> I've got tomcat going behind apache several times. My general view is
> get them both working independently and then hook them up. From your
> original mail I'm skeptical that you actually have got
> tomcat started properly.

I have got them working together several times before too which is why
this whole thing is even more frustrating than it might sound.

> > [Thu Dec 13 15:07:19 2007] [info]  ajp_send_request::jk_ajp_common.c
> > (1227): Error connecting to the Tomcat process.
> > [Thu Dec 13 15:07:19 2007] [info]  ajp_service::jk_ajp_common.c
> > (1724): Sending request to tomcat failed,  recoverable operation
> > attempt=1
> > [Thu Dec 13 15:07:19 2007] [info]  jk_open_socket::jk_connect.c (433):
> > connect to 130.237.171.49:8009 failed with errno=61
> > [Thu Dec 13 15:07:19 2007] [info]
> > ajp_connect_to_endpoint::jk_ajp_common.c (877): Failed connecting to
> > tomcat. Tomcat is probably not started or is listening on the wrong
> > host/port (130.237.171.49:8009). Failed errno = 61
> > [Thu Dec 13 15:07:19 2007] [info]  ajp_send_request::jk_ajp_common.c
> > (1227): Error connecting to the Tomcat process.
> > [Thu Dec 13 15:07:19 2007] [info]  ajp_service::jk_ajp_common.c
> > (1724): Sending request to tomcat failed,  recoverable operation
> > attempt=2
> >
> > I have searched the tomcat archives and also performed general google
> > searches. Although I do get hits where a similar problem is described,
> > I haven't found any solution yet. I am sure this has happened before
> > so a pointer to a file/address where I could find guidance on how to
> > proceed will be greatly appreciated.
> >
> >
>
> Questions
>
> 1. What ports are bound to apache? - only 80 I should hope. Make sure
> that 8009 and 8080 aren't bound by apache otherwise tomcat can't work.
> 2. If you stop apache does tomcat start?

It does not. In fact, the service does not stay on --- it says it
starts when I start it from either Control Panel > Admin Services >
Services or via its own control on the task bar. But it never stays on
and if I check a minute later, it's off again. I also noticed that I
cannot change the start up type from manual to automatic; it's the
same thing: it does not protest when I change it, but my change does
not hold.

>
> localhost:8080 is the HTTP connection to tomcat. I assume you are trying
> localhost:8080
> to see if tomcat is available. The mod_jk connector will use port 8009
> for the AJP connection.
> It is possible to run tomcat behind apache with 8080 disabled but I
> assume that is not what you're intention.

Yes, exactly, I was checking to see if tomcat is available; I am not
trying to run it with port 8080 disabled.

Thank you so much for your instructions! I will check catalina.out and
also the way the logging is set up.

> > [Thu Dec 13 15:07:19 2007] [info]  jk_open_socket::jk_connect.c (433):
> > connect to 130.237.171.49:8009 failed with errno=61
> > [Thu Dec 13 15:07:19 2007] [info]
> > ajp_connect_to_endpoint::jk_ajp_common.c (877): Failed connecting to
> > tomcat. Tomcat is probably not started or is listening on the wrong
> > host/port (130.237.171.49:8009). Failed errno = 61
> >
> This seems the critical line - tomcat is probably not started or is
> listening on the wrong host/prot
> Is tomcat listening on localhost? It looks like you are trying to talk
> to the defined IP above (130...) and not localhost

That's the IP of the the localhost. Where do I check if tomcat is
listening for localhost?

I am in Europe and it's getting to be evening here after a long and
frustrating day so I've basically given up for today. But I just can't
thank you enough for writing. I am sure your directions will help me
tomorrow.

All the best,
Ljuba
> Hope that helps
>
> Alan
>
>
>
>
> > Thank you in advance for your time and help.
> >
> > Best wishes,
> > Ljuba
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
===========================================================================
Ljuba Veselinova
Dept of Linguistics          Email: [EMAIL PROTECTED]
Stockholm University      Phone: +46-8-16 2332
106 91 Stockholm          Fax  : +46-8-15 5389
Sweden                         URL  : http://www.ling.su.se/staff/ljuba/

"We learn by going where we want to go."
                                          Julia Cameron
============================================================================

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to