Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2007

Tip: Looking for answers? Try searching our database.

tomcat configuration broken after upgrade from ubuntu edgy to feisty

Thread view: 
Amir  Michail - 23 Apr 2007 21:16 GMT
Hi,

After upgrading from ubuntu edgy to feisty, I now get this error:

503 Service Temporarily Unavailable

>From the mod_jk.log:

[Mon Apr 23 11:11:47 2007] [4248:31632] [info]
jk_open_socket::jk_connect.c (445): connect to 127.0.0.1:8009 failed
with errno=111
[Mon Apr 23 11:11:47 2007] [4248:31632] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket
to (127.0.0.1:8009) with (errno=111)
[Mon Apr 23 11:11:47 2007] [4248:31632] [info]
ajp_send_request::jk_ajp_common.c (1251): Error connecting to the
backend server.
[Mon Apr 23 11:11:47 2007] [4248:31632] [info]
ajp_service::jk_ajp_common.c (1783): Sending request to tomcat
failed,  recoverable operation attempt=1
[Mon Apr 23 11:11:47 2007] [4248:31632] [info]
jk_open_socket::jk_connect.c (445): connect to 127.0.0.1:8009 failed
with errno=111
[Mon Apr 23 11:11:47 2007] [4248:31632] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket
to (127.0.0.1:8009) with (errno=111)
[Mon Apr 23 11:11:47 2007] [4248:31632] [info]
ajp_send_request::jk_ajp_common.c (1251): Error connecting to the
backend server.
[Mon Apr 23 11:11:47 2007] [4248:31632] [info]
ajp_service::jk_ajp_common.c (1783): Sending request to tomcat
failed,  recoverable operation attempt=2
[Mon Apr 23 11:11:47 2007] [4248:31632] [error]
ajp_service::jk_ajp_common.c (1794): Error connecting to tomcat.
Tomcat is probably not started or is listening on the wrong port.
worker=ajp13 failed

Any ideas on what could have gone wrong?

Amir
Philipp Taprogge - 23 Apr 2007 23:39 GMT
Hi!

Thus spake Amir Michail on 04/23/2007 10:16 PM:
> ajp_service::jk_ajp_common.c (1794): Error connecting to tomcat.
> Tomcat is probably not started or is listening on the wrong port.

Well, I'd start there. Make sure whether tomcat is running at all
and if it is, check the catalina.out and localhost.log for any
anomalies.

Regards,

    Phil
Nigel Wade - 24 Apr 2007 09:59 GMT
> Hi,
>
> After upgrading from ubuntu edgy to feisty, I now get this error:
>
> 503 Service Temporarily Unavailable

>From the mod_jk.log:

> [Mon Apr 23 11:11:47 2007] [4248:31632] [info]
> jk_open_socket::jk_connect.c (445): connect to 127.0.0.1:8009 failed
> with errno=111

If you look in the relevant files you'll find that errno 111 indicates
"Connection refused", i.e. there is, most likely, nothing listening on that
port so Tomcat is probably not running...

> [Mon Apr 23 11:11:47 2007] [4248:31632] [error]
> ajp_service::jk_ajp_common.c (1794): Error connecting to tomcat.
> Tomcat is probably not started or is listening on the wrong port.
> worker=ajp13 failed

... which is just what the log tells you.

> Any ideas on what could have gone wrong?

Yep. It wasn't broken, but you fixed it anyway - and broke it. ;-)

Signature

Nigel Wade, System Administrator, Space Plasma Physics Group,
           University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw@ion.le.ac.uk
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555

Amir  Michail - 25 Apr 2007 01:01 GMT
> Hi,
>
> After upgrading from ubuntu edgy to feisty, I now get this error:
>
> 503 Service Temporarily Unavailable

Hi,

I found a workaround here:

https://bugs.launchpad.net/ubuntu/+source/tomcat5.5/+bug/97096

Amir

> >From the mod_jk.log:
>
[quoted text clipped - 30 lines]
>
> Amir


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.