Tomcat Shutting Itself Down

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
PointsWell
Posts: 1462
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

Tomcat Shutting Itself Down

Post by PointsWell »

Hi

I seem to be having an issue with Tomcat on a clean machine. When I run the AIM Control Centre Tomcat attempts to start and then gives a message that it has shutdown.

The log gives the following, but Tomcat is outwith my area of skills.

Can anyone suggest a fix?

Code: Select all

Feb 10, 2017 12:00:04 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 713 ms
Feb 10, 2017 12:00:04 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Feb 10, 2017 12:00:04 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.0.14
Feb 10, 2017 12:00:04 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /Applications/AwareIM.app/Contents/Resources/Java/Tomcat/webapps/AwareIM
Feb 10, 2017 12:00:07 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Path of logonAdmin.html is /Applications/AwareIM.app/Contents/Resources/Java/Tomcat/webapps/AwareIM/logonAdmin.html
Setting web app dir to /Applications/AwareIM.app/Contents/Resources/Java/Tomcat/webapps/AwareIM/
Setting lib dir to /Applications/AwareIM.app/Contents/Resources/Java/Tomcat
Feb 10, 2017 12:00:07 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /Applications/AwareIM.app/Contents/Resources/Java/Tomcat/webapps/AwareIM has finished in 2,594 ms
Feb 10, 2017 12:00:07 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /Applications/AwareIM.app/Contents/Resources/Java/Tomcat/webapps/host-manager
Feb 10, 2017 12:00:08 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Feb 10, 2017 12:00:08 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /Applications/AwareIM.app/Contents/Resources/Java/Tomcat/webapps/host-manager has finished in 1,450 ms
Feb 10, 2017 12:00:08 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /Applications/AwareIM.app/Contents/Resources/Java/Tomcat/webapps/manager
Feb 10, 2017 12:00:10 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Feb 10, 2017 12:00:10 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /Applications/AwareIM.app/Contents/Resources/Java/Tomcat/webapps/manager has finished in 1,440 ms
Feb 10, 2017 12:00:10 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5535 ms
Feb 10, 2017 12:00:10 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[localhost:8005]: 
java.net.BindException: Address already in use
	at java.net.PlainSocketImpl.socketBind(Native Method)
	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382)
	at java.net.ServerSocket.bind(ServerSocket.java:375)
	at java.net.ServerSocket.<init>(ServerSocket.java:237)
	at org.apache.catalina.core.StandardServer.await(StandardServer.java:420)
	at org.apache.catalina.startup.Catalina.await(Catalina.java:713)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:659)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)

Feb 10, 2017 12:00:10 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-nio-8080"]
Feb 10, 2017 12:00:10 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-nio-8009"]
Feb 10, 2017 12:00:10 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Feb 10, 2017 12:00:10 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-nio-8080"]
Feb 10, 2017 12:00:10 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-nio-8080"]
Feb 10, 2017 12:00:10 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-nio-8009"]
Feb 10, 2017 12:00:10 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-nio-8009"]
cishpix
Posts: 183
Joined: Fri Nov 06, 2015 5:07 am
Location: Indonesia

Re: Tomcat Shutting Itself Down

Post by cishpix »

Code: Select all

Feb 10, 2017 12:00:10 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[localhost:8005]: 
java.net.BindException: Address already in use
Please check what application is running on the port 8005 on your system (I guess your system is Linux)
Regards,

Suwandy
-----------------
Kisaran - Indonesia
Post Reply