powered by Jive Software

Wildfire 2.5.1 with war install can''t stop normallly

Hi,all

I setup wildfire 2.5.1 with tomcat 5.5.16 and jdk 1.5.06 using war setup.It runs fine but when I shut down tomcat,it just can’'t shutdown normally.No other logs show what happen,so I tried it in eclipse 3.1,some error shows:

2006.03.24 16:18:00 [org.jivesoftware.util.JiveGlobals.loadSetupProperties(JiveGlobals.java:723)

]

java.io.FileNotFoundException: XML properties file does not exist: null

at org.jivesoftware.util.XMLProperties.(ClientSession.java:131)

at sun.misc.Unsafe.ensureClassInitialized(Native Method)

at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFact ory.java:25)

at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)

at java.lang.reflect.Field.acquireFieldAccessor(Field.java:917)

at java.lang.reflect.Field.getFieldAccessor(Field.java:898)

at java.lang.reflect.Field.set(Field.java:656)

at org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader. java:1608)

at org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1489)

at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:706)

at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4381)

at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066)

at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066)

at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447)

at org.apache.catalina.core.StandardService.stop(StandardService.java:512)

at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)

at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)

at org.apache.catalina.startup.Catalina.start(Catalina.java:576)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

I can’'t find any other message.

BTW,wildfire 2.5.1 runs OK in standalone mode.

Roy

Hi,

no matter if you are using windows or linux, it would be great if you could provide a thread dump of Tomcat while it hangs during shutdown. Please see Different ways to obtain a thread dump of the Java VM[/url] if you need help creating the dump.

Do you see this error when you shutdown Wifi in Eclipse or when you try to launch it?

LG

I tried your method,still no any exceptions.Just show “Abort branches process?”,then exit.I am using windows 2000

got some error here:

LifecycleException: Protocol handler destroy failed: java.lang.NullPointerException

at org.apache.catalina.connector.Connector.stop(Connector.java:1149)

at org.apache.catalina.core.StandardService.stop(StandardService.java:521)

at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)

at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)

at org.apache.catalina.startup.Catalina.start(Catalina.java:576)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Caused by: java.lang.NullPointerException

at org.jivesoftware.util.log.Logger.isErrorEnabled(Logger.java:175)

at org.jivesoftware.util.Log.isErrorEnabled(Log.java:192)

at org.jivesoftware.util.Log.error(Log.java:337)

at org.jivesoftware.util.Log$JiveLogHandler.publish(Log.java:429)

at java.util.logging.Logger.log(Logger.java:428)

at java.util.logging.Logger.doLog(Logger.java:450)

at java.util.logging.Logger.logp(Logger.java:650)

at org.apache.commons.logging.impl.Jdk14Logger.log(Jdk14Logger.java:93)

at org.apache.commons.logging.impl.Jdk14Logger.error(Jdk14Logger.java:127)

at org.apache.catalina.startup.Catalina.stop(Catalina.java:603)

at org.apache.catalina.startup.Catalina.start(Catalina.java:576)

… 6 more

The same error occour in wildfire 2.6.0

critical: Catalina.stop

LifecycleException: Protocol handler destroy failed: java.lang.NullPointerException

at org.apache.catalina.connector.Connector.stop(Connector.java:1149)

at org.apache.catalina.core.StandardService.stop(StandardService.java:521)

at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)

at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)

at org.apache.catalina.startup.Catalina.start(Catalina.java:576)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Caused by: java.lang.NullPointerException

at org.jivesoftware.util.log.Logger.isErrorEnabled(Logger.java:175)

at org.jivesoftware.util.Log.isErrorEnabled(Log.java:192)

at org.jivesoftware.util.Log.error(Log.java:337)

at org.jivesoftware.util.Log$JiveLogHandler.publish(Log.java:429)

at java.util.logging.Logger.log(Logger.java:428)

at java.util.logging.Logger.doLog(Logger.java:450)

at java.util.logging.Logger.logp(Logger.java:650)

at org.apache.commons.logging.impl.Jdk14Logger.log(Jdk14Logger.java:93)

at org.apache.commons.logging.impl.Jdk14Logger.error(Jdk14Logger.java:127)

at org.apache.catalina.startup.Catalina.stop(Catalina.java:603)

at org.apache.catalina.startup.Catalina.start(Catalina.java:576)

… 6 more