tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bjørn T Johansen <...@havleik.no>
Subject Problem when rebooting....
Date Sat, 08 Nov 2014 22:08:58 GMT
I have a init script I have been using now for severeal years that has been working without
any problems...
But since upgrading to Tomcat 8 (now 8.0.14), Tomcat is not coming up if I boot the server..

Here is the output from catalina.out..:

08-Nov-2014 23:03:09.657 INFO [Thread-4] org.apache.coyote.AbstractProtocol.pause Pausing
ProtocolHandler ["http-apr-8080"]
08-Nov-2014 23:03:09.724 INFO [Thread-4] org.apache.coyote.AbstractProtocol.pause Pausing
ProtocolHandler ["ajp-apr-8009"]
08-Nov-2014 23:03:09.775 INFO [Thread-4] org.apache.catalina.core.StandardService.stopInternal
Stopping service Catalina
08-Nov-2014 23:03:10.089 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads
The web application [/kappskole] appears to have started a thread named [Mojarra-WebResourceMonitor-1-thread-1]
but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 sun.misc.Unsafe.park(Native Method)
 java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
 java.lang.Thread.run(Thread.java:745)
08-Nov-2014 23:03:10.097 INFO [localhost-startStop-2] org.springframework.context.support.AbstractApplicationContext.doClose
Closing Root WebApplicationContext: startup date [Sat Nov 01 23:59:29 CET 2014]; root of context
hierarchy
08-Nov-2014 23:03:10.104 INFO [localhost-startStop-2] org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons
Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@7b584330:
defining beans [saldo,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,dataSource,jdbcTemplate];
root of factory hierarchy
08-Nov-2014 23:03:10.128 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc
The web application [/trumf] registered the JDBC driver [org.postgresql.Driver] but failed
to unregister it when the web application was stopped. To prevent a memory leak, the JDBC
Driver has been forcibly unregistered.
08-Nov-2014 23:03:10.164 INFO [Thread-4] org.apache.coyote.AbstractProtocol.stop Stopping
ProtocolHandler ["http-apr-8080"]
08-Nov-2014 23:03:10.216 INFO [Thread-4] org.apache.coyote.AbstractProtocol.stop Stopping
ProtocolHandler ["ajp-apr-8009"]
08-Nov-2014 23:03:10.294 INFO [Thread-4] org.apache.coyote.AbstractProtocol.destroy Destroying
ProtocolHandler ["http-apr-8080"]
08-Nov-2014 23:03:10.295 INFO [Thread-4] org.apache.coyote.AbstractProtocol.destroy Destroying
ProtocolHandler ["ajp-apr-8009"]
08-Nov-2014 23:03:41.930 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Server version: Apache Tomcat/8.0.14
08-Nov-2014 23:03:41.941 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Server built:   Sep 24 2014 09:01:51
08-Nov-2014 23:03:41.941 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Server number:  8.0.14.0
08-Nov-2014 23:03:41.942 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
OS Name:        Linux
08-Nov-2014 23:03:41.942 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
OS Version:     2.6.32-504.el6.x86_64
08-Nov-2014 23:03:41.942 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Architecture:   amd64
08-Nov-2014 23:03:41.943 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
JVM Version:    1.8.0_25-b17
08-Nov-2014 23:03:41.943 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
JVM Vendor:     Oracle Corporation
08-Nov-2014 23:03:43.325 INFO [main] org.apache.catalina.core.AprLifecycleListener.init Loaded
APR based Apache Tomcat Native library 1.1.31 using APR version 1.3.9.
08-Nov-2014 23:03:43.326 INFO [main] org.apache.catalina.core.AprLifecycleListener.init APR
capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
08-Nov-2014 23:03:43.651 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL
OpenSSL successfully initialized (OpenSSL 1.0.1e 11 Feb 2013)
08-Nov-2014 23:03:44.102 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing
ProtocolHandler ["http-apr-8080"]
08-Nov-2014 23:03:44.135 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing
ProtocolHandler ["ajp-apr-8009"]
08-Nov-2014 23:03:44.169 INFO [main] org.apache.catalina.startup.Catalina.load Initialization
processed in 2655 ms
08-Nov-2014 23:03:44.561 INFO [main] org.apache.catalina.core.StandardService.startInternal
Starting service Catalina
08-Nov-2014 23:03:44.561 INFO [main] org.apache.catalina.core.StandardEngine.startInternal
Starting Servlet Engine: Apache Tomcat/8.0.14
08-Nov-2014 23:03:44.666 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR
Deploying web application
archive /lvm/vg1-data/opt/apache-tomcat-8.0.14/webapps/vegaappen.war

As you can see, tomcat just stops at the first web application....

What am I missing?



Regards,

BTJ

-- 
-----------------------------------------------------------------------------------------------
Bjørn T Johansen

btj@havleik.no
-----------------------------------------------------------------------------------------------
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
-----------------------------------------------------------------------------------------------

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


Mime
View raw message