× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Anybody know what to make of this?

Here's the scenario: Tomcat 7.0.25 freshly installed on an AS/400 running V6R1. The box has no port restrictions set up in it. The only ports in use, in the 8000-8099 range are 8000, 8001, 8005, and 8035.

I launch Tomcat, and 8080 and 8009 both open up. Then something connects to them via loopback. Then the CATALINA job ends (reporting a normal end), and 8080 and 8009 both close, with connections from Loopback sitting on the ports until they time out.

HMMMMMmmmmmmm. Looks like Tomcat is trying to open 8005 itself, and finding it "taken" by something entirely different. What does Tomcat use 8005 for, anyway, and can it be reassigned?

catalina.out shows:

Mar 20, 2012 2:17:31 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performan . . .
Mar 20, 2012 2:17:34 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8080"] Mar 20, 2012 2:17:34 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["ajp-bio-8009"] Mar 20, 2012 2:17:34 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 5880 ms Mar 20, 2012 2:17:34 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Mar 20, 2012 2:17:34 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.25 Mar 20, 2012 2:17:34 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /wintouch/tomcat/webapps/ROOT Mar 20, 2012 2:17:36 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /wintouch/tomcat/webapps/docs Mar 20, 2012 2:17:36 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /wintouch/tomcat/webapps/examples Mar 20, 2012 2:17:37 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /wintouch/tomcat/webapps/host-manager
Mar 20, 2012 2:17:38 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /wintouch/tomcat/webapps/manager Mar 20, 2012 2:17:38 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8080"] Mar 20, 2012 2:17:38 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-bio-8009"] Mar 20, 2012 2:17:38 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 4480 ms Mar 20, 2012 2:17:38 PM org.apache.catalina.core.StandardServer await SEVERE: StandardServer.await: create[localhost:8005]: Throwable occurred: java.net.BindException: The socket name is already in use. at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:395) at java.net.ServerSocket.bind(ServerSocket.java:330) at java.net.ServerSocket.<init>(ServerSocket.java:196) at org.apache.catalina.core.StandardServer.await(StandardServer.java:422) at org.apache.catalina.startup.Catalina.await(Catalina.java:728) at org.apache.catalina.startup.Catalina.start(Catalina.java:674) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450) Mar 20, 2012 2:17:38 PM org.apache.coyote.AbstractProtocol pause INFO: Pausing ProtocolHandler ["http-bio-8080"] Mar 20, 2012 2:17:38 PM org.apache.coyote.AbstractProtocol pause INFO: Pausing ProtocolHandler ["ajp-bio-8009"] Mar 20, 2012 2:17:39 PM org.apache.catalina.core.StandardService stopInternal INFO: Stopping service Catalina Mar 20, 2012 2:17:39 PM org.apache.coyote.AbstractProtocol stop INFO: Stopping ProtocolHandler ["http-bio-8080"] Mar 20, 2012 2:17:39 PM org.apache.coyote.AbstractProtocol stop INFO: Stopping ProtocolHandler ["ajp-bio-8009"] Mar 20, 2012 2:17:39 PM org.apache.coyote.AbstractProtocol destroy Mar 20, 2012 2:17:39 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-8080"] Mar 20, 2012 2:17:39 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-bio-8009"]

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.