|
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.AprLifecycleListenerinit
INFO: The APR based Apache Tomcat Native library which allows optimalperforman . . .
Mar 20, 2012 2:17:34 PM org.apache.coyote.AbstractProtocol initstartInternal
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
INFO: Starting service CatalinastartInternal
Mar 20, 2012 2:17:34 PM org.apache.catalina.core.StandardEngine
INFO: Starting Servlet Engine: Apache Tomcat/7.0.25deployDirectory
Mar 20, 2012 2:17:34 PM org.apache.catalina.startup.HostConfig
INFO: Deploying web application directory /wintouch/tomcat/webapps/ROOTdeployDirectory
Mar 20, 2012 2:17:36 PM org.apache.catalina.startup.HostConfig
INFO: Deploying web application directory /wintouch/tomcat/webapps/docsdeployDirectory
Mar 20, 2012 2:17:36 PM org.apache.catalina.startup.HostConfig
INFO: Deploying web application directory/wintouch/tomcat/webapps/examples
Mar 20, 2012 2:17:37 PM org.apache.catalina.startup.HostConfigdeployDirectory
INFO: Deploying web application directory/wintouch/tomcat/webapps/host-manager
Mar 20, 2012 2:17:38 PM org.apache.catalina.startup.HostConfigdeployDirectory
INFO: Deploying web application directory/wintouch/tomcat/webapps/manager
Mar 20, 2012 2:17:38 PM org.apache.coyote.AbstractProtocol startin use.
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
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:395)org.apache.catalina.core.StandardServer.await(StandardServer.java:422)
at java.net.ServerSocket.bind(ServerSocket.java:330)
at java.net.ServerSocket.<init>(ServerSocket.java:196)
at
at org.apache.catalina.startup.Catalina.await(Catalina.java:728)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at org.apache.catalina.startup.Catalina.start(Catalina.java:674)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)stopInternal
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
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"]
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
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.