cancel
Showing results for 
Search instead for 
Did you mean: 

Failed shutdown of Apache Portable Runtime

evdgeest
Champ in-the-making
Champ in-the-making
Hello,

When I stop the afresco server using alf_stop.bat I get the following Error Message:

INFO: Failed shutdown of Apache Portable Runtime
Exception in thread "HSQLDB Timer @cf68af" java.lang.NullPointerException
        at org.hsqldb.lib.HsqlTimer.nextTask(Unknown Source)
        at org.hsqldb.lib.HsqlTimer$TaskRunner.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:595)

Can someone tell me what this message means and how to resolve it.

Many thanks,

Edwin
6 REPLIES 6

hnzekto
Champ in-the-making
Champ in-the-making
It's just an info message, so you can ignore it, by the way, it only happens if you don't compile APR support for Tomcat.

More info:
http://apr.apache.org/

paulhh
Champ in-the-making
Champ in-the-making
There is a known issue in the Enterprise release that means that Tomcat does not shutdown completely.  This will be fixed in the first maintenance release that will be available soon.

Cheers
Paul.

sacco
Champ in-the-making
Champ in-the-making
This will be fixed in the first maintenance release that will be available soon.

Just in case it's been overlooked, this still happens (on every shutdown) in the Virtualisation server in the 2.1.0 RC community release.


INFO: Unexporting RMI registry
20-Jul-2007 01:38:09 org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8180
20-Jul-2007 01:38:09 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Failed shutdown of Apache Portable Runtime

mgomarg
Champ in-the-making
Champ in-the-making
Good days: 

I am using the version Community Network - v2.1.0 (482) of Alfresco with linux, and there also happens to me that on stopping alfresco (tomcat),
appears me the message of "INFO: Failed shutodown of Apache Portable Runtime ".

Was it solved already?, or it continues failing tomcat on having been closed?.

Sometimes Tomcat does not close (stop) well, and makes the process of Java opened. 

Regards,

mrogers
Star Contributor
Star Contributor
Don't know about 2.1.      And there may well still be a problem with the VS. 

There's been lots of issues with shutdown and the issue in the title of this thread is a Java / Tomcat problem and is therefore beyond Alfresco's control.

Problems with shutdown seems to have gone away from these forums,  so I'm presuming the fixes and work-arounds that went into 3.0 have had an effect.

unknown-user
Champ on-the-rise
Champ on-the-rise
Tomcat still hangs around after a shutdown in Alf 3.2 Community on a Fedora 12 server running jdk1.6_16.


/opt/javainstalled/jdk1.6.0_16/bin/java -Xms128m -Xmx512m -XX:MaxPermSize=512m -server -Dalfresco.home=/opt/Alfresco -Dcom.sun.management.jmxremote -XX:CompileCommand=exclude,org/apache/lucene/index/IndexReader$1,doBody -XX:CompileCommand=exclude,org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger,mergeIndexes -XX:CompileCommand=exclude,org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger,mergeDeletions -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/opt/Alfresco/tomcat/conf/logging.properties -Djava.endorsed.dirs=/opt/Alfresco/tomcat/endorsed -classpath :/opt/Alfresco/tomcat/bin/bootstrap.jar -Dcatalina.base=/opt/Alfresco/tomcat -Dcatalina.home=/opt/Alfresco/tomcat -Djava.io.tmpdir=/opt/Alfresco/tomcat/temp org.apache.catalina.startup.Bootstrap start


I have to do a kill -9 to remove it before I start up Alf again, otherwise… Big problems! Context initialization failed up the yin yang.