Embeded tomcat5

Charlie McVeigh cmcveigh at adelphia.net
Fri May 5 23:36:48 UTC 2006


On Sat, 2006-05-06 at 02:00 +0300, Ali Helmy wrote:
> On 06/05/06, Charlie McVeigh <cmcveigh at adelphia.net> wrote:
>         On Sat, 2006-05-06 at 01:07 +0300, Ali Helmy wrote:
>         > Hey mates,
>         >
>         > I have the tomcat5 server that comes with fedora core 5
>         installed...
>         > now I do [/etc/rc.d/init.d/tomcat5 start] successfully as
>         root, and 
>         > everything seems to go fine... however, when i try to go to
>         > [http://localhost:8080/] which is supposed to be the tomcat
>         test page,
>         > firefox tells me it cant connect to the page... 
>         >
>         > any ideas?
>         
>         
>         Not sure where Tomcat is installed on FC5 but if you go to the
>         Tomcat
>         install directory and cd into the "logs" subdirectory and cat
>         out the
>         "catalina.out" file you should get an indication of whats
>         going wrong 
>         and where.
>         
>         Charlie
>         
>         
>         --
>         fedora-list mailing list
>         fedora-list at redhat.com
>         To unsubscribe:
>         https://www.redhat.com/mailman/listinfo/fedora-list
> 
> ok, so I got to the file, but it's a VERY long list... i cant really
> pin out something wrong... so what should i be looking for?
> 
> -- 
> Cheers,
>      A. Helmy
> ==================
>   One Life... LIVE It
> ==================

Catalina.out is usually a very long and verbose description of all
Tomcat events and happenings and it can be difficult to decipher.  I
would recommend that you stop Tomcat with an "/etc/rc.d/init.d/tomcat5
stop"   then go and delete your catalina.out file and then restart
Tomcat  with "/etc/rc.d/init.d/tomcat5 start"  and wait a minute or so
for Tomcat to start and blow chunks.

Take another look at the new and (now) much smaller catalina.out  file
in the logs subdirectory.  Starting from the top look for the first
error message and you should see a cascade of errors from that point on.
The first couple of errors that you see are typically the culprit of
your problems.

Charlie




More information about the fedora-list mailing list