tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Fw: Still trying to get Tomcat 6 to work
Date Wed, 11 Feb 2009 03:18:27 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michel,

On 2/10/2009 9:30 PM, michel wrote:
> I get some messages in the catalina.out log but they don't seem to
> indicate any problem. I probably could fine-tune a few things but I am
> just happy to get it working.
> 
> Feb 11, 2009 2:19:03 AM
> org.apache.tomcat.util.digester.SetPropertiesRule begin
> 
> WARNING: [SetPropertiesRule]{Server} Setting property 'address' to
> '91.203.57.197' did not find a matching property.

<Server> doesn't support the "address" property. It always binds to
localhost.

> Feb 11, 2009 2:19:04 AM org.apache.catalina.core.AprLifecycleListener init
> 
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:

This isn't a big deal. You can disable the AprLifecycleListener if you
don't intend to use APR and you shouldn't get this warning message.

> Feb 11, 2009 2:19:05 AM org.apache.coyote.http11.Http11Protocol init
> 
> INFO: Initializing Coyote HTTP/1.1 on http-91.203.57.197-8080
> 
> Feb 11, 2009 2:19:05 AM org.apache.catalina.startup.Catalina load

This indicates that your Connector started successfully and bound to
91.203.57.197:8080. Are you saying that netstat doesn't show this
anywhere? I always use "-plan" as my netstat parameters. This is what I get:

$ netstat -plan | grep 8.8.
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:8385            0.0.0.0:*
LISTEN     591/java
tcp        0      0 127.0.0.1:8386          0.0.0.0:*
LISTEN     591/java
tcp        0      0 0.0.0.0:8485            0.0.0.0:*
LISTEN     3571/java
tcp        0      0 127.0.0.1:8486          0.0.0.0:*
LISTEN     3571/java
tcp        0      0 0.0.0.0:8585            0.0.0.0:*
LISTEN     3529/java
tcp        0      0 127.0.0.1:8586          0.0.0.0:*
LISTEN     3

(I have several TC servers running, so you're seeing matched pairs of
Connector and Shutdown port bindings, each pair under a different pid).

> INFO: Starting Coyote HTTP/1.1 on http-91.203.57.197-8080
> Feb 11, 2009 2:19:08 AM org.apache.jk.common.ChannelSocket init
> 
> INFO: Port busy 8081 java.net.BindException: Address already in use
> Feb 11, 2009 2:19:08 AM org.apache.jk.common.ChannelSocket init
> 
> INFO: Port busy 8082 java.net.BindException: Address already in use
> Feb 11, 2009 2:19:08 AM org.apache.jk.common.ChannelSocket init
> 
> INFO: Port busy 8083 java.net.BindException: Address already in use
> Feb 11, 2009 2:19:08 AM org.apache.jk.common.ChannelSocket init
> 
> INFO: JK: ajp13 listening on /0.0.0.0:8084

It looks like you have more <Connector> elements than you originally
claimed. Cal you post /all/ of your <Connector> elements from server.xml?

Are you trying to use the HTTP connector or AJP connector? Or both? It
looks like you have at least one HTTP connector and one AJP connector
configured. Ports 8080-8480 appear to be configured and having various
problems starting.

> Feb 11, 2009 2:19:50 AM org.apache.coyote.http11.Http11Protocol pause
> 
> INFO: Pausing Coyote HTTP/1.1 on http-91.203.57.197-8080
> 
> Feb 11, 2009 2:19:51 AM org.apache.catalina.core.StandardService stop
> 
> INFO: Stopping service Catalina
> 
> Feb 11, 2009 2:19:51 AM org.apache.coyote.http11.Http11Protocol destroy
> 
> INFO: Stopping Coyote HTTP/1.1 on http-91.203.57.197-8080

Right: Tomcat is stopping immediately, probably because one or more
connectors failed to start properly. That's why you can't telnet to
anything: Tomcat ain't running.

Post the other <Connector> configurations (or just comment them out) and
we'll see where we can go from there.

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

iEYEARECAAYFAkmSQ4MACgkQ9CaO5/Lv0PBV2gCfbrE8u6joaZwo1x/kRmNiJPDo
6SIAnjw7b9IBDBRRKsWTKu3JgdTVpFHX
=eXAE
-----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