tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat dies after starting
Date Thu, 02 Sep 2010 02:10:15 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jan,

On 9/1/2010 8:44 PM, jan gestre wrote:
> Here's my server.xml file, pardon me but I don't know what stack trace
> is.

The is the "bottom" of the stack trace, from your original post:

>         at
> org.apache.catalina.connector.MapperListener.destroy(MapperListener.java:176)
>         at org.apache.catalina.connector.Connector.stop(Connector.java:1135)
>         at
> org.apache.catalina.core.StandardService.stop(StandardService.java:596)
>         at
> org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
>         at org.apache.catalina.startup.Catalina.stop(Catalina.java:648)
>         at
> org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:692)
> Sep 1, 2010 1:44:26 PM org.apache.coyote.http11.Http11Protocol destroy
> INFO: Stopping Coyote HTTP/1.1 on http-8080
> Sep 1, 2010 1:44:26 PM org.apache.catalina.connector.Connector stop
> SEVERE: Coyote connector has not been started

There's more in the log file before that. It should say something like:

[date and time] SomeKindOfException: Something bad happened! Oh, no!
Cause by: org.apache.catalina.core.Whatever.someMethod(Whatever.java:45)
     at org.apache.catalina.core.Whatever.someMethod(Whatever.java:98)
   ...

...ending in the stuff you've already posted. If you post the entire
stack trace, it will likely tell us what the problem was. It looks like
there was an error that caused Tomcat to voluntarily shut down, and then
the shut down caused an error, too.

Tell you what: stop Tomcat 9if it's somehow running), delete your
logs/catalina.out file, then re-start Tomcat. If/when it fails, attach
the /entire/ catalina.out file to a message to the list, and we'll check
it out.

> As you can see they're default values, I did not change anything
> in my box. How would I know if apr is used? I think apr is installed.

APR will tell you if it's running at the top of your logs/catalina.out
log file. Each time you start the server, it should tell you whether APR
is enabled or not.

> Also I'm planning to configure to use Apache [httpd] installed in another
> machine as a reverse proxy to access Tomcat.

Why particular reason you're putting Apache httpd into the mix? Tomcat
is a perfectly fine web server on it's own.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx/B4cACgkQ9CaO5/Lv0PCpvgCeMYFjkUD4980tRCBaPQDKJuXa
2NMAoLv4+zQhWph8+F16t5AzOmYBi+0m
=rNhJ
-----END PGP SIGNATURE-----

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


Mime
View raw message