Chris,

I removed "address" and changed back to (and will fix the security problem here)

"<Server port="8005" shutdown="SHUTDOWN">"

The only other problem I see is that JK has to look at different ports before it binds to anything but I assume that it just means it takes a bit longer to start but that's all. I am starting to understand how to log and undersand the log, much thanks! I am getting the Tomcat HTTP server working proprly and I am working on setting up a database and such ...

------------------------------------------------------------------------------------------------

Feb 11, 2009 12:19:43 PM 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: /home/qsys/jdk1.6.0_12/jre/lib/i386/client:/home/qsys/jdk1.6.0_12/jre/lib/i386:/home/qsys/jdk1.6.0_12/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib

Feb 11, 2009 12:19:44 PM org.apache.coyote.http11.Http11Protocol init

INFO: Initializing Coyote HTTP/1.1 on http-91.203.57.197-8080

Feb 11, 2009 12:19:44 PM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 2395 ms

Feb 11, 2009 12:19:44 PM org.apache.catalina.core.StandardService start

INFO: Starting service Catalina

Feb 11, 2009 12:19:44 PM org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/6.0.18

Feb 11, 2009 12:19:47 PM org.apache.coyote.http11.Http11Protocol start

INFO: Starting Coyote HTTP/1.1 on http-91.203.57.197-8080

Feb 11, 2009 12:19:47 PM org.apache.jk.common.ChannelSocket init

INFO: Port busy 8081 java.net.BindException: Address already in use

Feb 11, 2009 12:19:47 PM org.apache.jk.common.ChannelSocket init

INFO: Port busy 8082 java.net.BindException: Address already in use

Feb 11, 2009 12:19:47 PM org.apache.jk.common.ChannelSocket init

INFO: Port busy 8083 java.net.BindException: Address already in use

Feb 11, 2009 12:19:47 PM org.apache.jk.common.ChannelSocket init

INFO: JK: ajp13 listening on /0.0.0.0:8084

Feb 11, 2009 12:19:47 PM org.apache.jk.server.JkMain start

INFO: Jk running ID=3 time=0/42 config=null

Feb 11, 2009 12:19:47 PM org.apache.catalina.startup.Catalina start

INFO: Server startup in 3215 ms





----- Original Message ----- From: "Christopher Schultz" <ch...@christopherschultz.net>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Tuesday, February 10, 2009 10:18 PM
Subject: Re: Fw: Still trying to get Tomcat 6 to work


-----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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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

Reply via email to