tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jie tang <crybird2...@gmail.com>
Subject Re: Tomcat shuts down with exception within few seconds?
Date Wed, 03 Nov 2010 05:55:44 GMT
>From the exception stack.
Maybe you should use the command "ping localhost" to see whether your host
can resolve the host-name "localhost".

2010/11/3 Karthik Nanjangude <karthik.nanjangude@xius-bcgi.com>

> Hi
>
> Tomcat shuts down with exception within few seconds?
>
>
>
> SPEC
> Sun JDK 1.5
> TOMCAT 6.0.29   [ Startup port 8090   / Shut down Port 8.91 ]
> O/s
>
> $ uname -a
> Linux instaroamd 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686
> i686 i386 GNU/Linux
>
> $ lsb_release -a
> LSB Version:    1.3
> Distributor ID: RedHatEnterpriseAS
> Description:    Red Hat Enterprise Linux AS release 3 (Taroon)
> Release:        3
> Codename:       Taroon
>
>
>
> Exception
> INFO: Deploying web application directory docs
> Nov 3, 2010 9:45:33 AM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory examples
> Nov 3, 2010 9:45:34 AM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory ROOT
> Nov 3, 2010 9:45:34 AM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-8090
> Nov 3, 2010 9:45:34 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Nov 3, 2010 9:45:34 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/55  config=null
> Nov 3, 2010 9:45:34 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 1858 ms
> Nov 3, 2010 9:45:44 AM org.apache.catalina.core.StandardServer await
> SEVERE: StandardServer.await: create[8091]:
> java.net.UnknownHostException: localhost: localhost
>        at java.net.InetAddress.getAllByName0(InetAddress.java:1128)
>        at java.net.InetAddress.getAllByName0(InetAddress.java:1098)
>        at java.net.InetAddress.getAllByName(InetAddress.java:1061)
>        at java.net.InetAddress.getByName(InetAddress.java:958)
>        at
> org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
>        at org.apache.catalina.startup.Catalina.await(Catalina.java:662)
>        at org.apache.catalina.startup.Catalina.start(Catalina.java:614)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
> Nov 3, 2010 9:45:44 AM org.apache.coyote.http11.Http11Protocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-8090
> Nov 3, 2010 9:45:45 AM org.apache.catalina.core.StandardService stop
> INFO: Stopping service Catalina
> Nov 3, 2010 9:45:45 AM org.apache.coyote.http11.Http11Protocol destroy
> INFO: Stopping Coyote HTTP/1.1 on http-8090
>
>
>
>
> with regards
>
> N.S.Karthik
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message