Expert |
|
Joined: Sat Oct 25, 2003 8:49 am Posts: 490 Location: Vrhnika, Slovenia
|
I am using OSCache 2.0.1 with Hibernate 2.1 in web app running on Tomcat 4.0.6.
I get this exception when stopping Tomcat servlet.
Is this OSCache problem or Hibernate's?
Tnx,
Ales Justin
-------- exception stack trace -------
WARN [20-02-2004 12:26:46] (QueryCache.java:90) - could not destroy query cache: net.sf.hibernate.cache.QueryCache
java.lang.NullPointerException
at com.opensymphony.oscache.base.AbstractCacheAdministrator.finalizeListeners(AbstractCacheAdministrator.java:326)
at com.opensymphony.oscache.general.GeneralCacheAdministrator.destroy(GeneralCacheAdministrator.java:187)
at net.sf.hibernate.cache.OSCache.destroy(OSCache.java:51)
at net.sf.hibernate.cache.QueryCache.destroy(QueryCache.java:87)
at net.sf.hibernate.impl.SessionFactoryImpl.close(SessionFactoryImpl.java:549)
at com.generalynx.gema.hibernate.HibernateSessionFactory.dispose(HibernateSessionFactory.java:56)
at com.generalynx.gema.web.interceptors.InterceptorPlugin.destroy(InterceptorPlugin.java:26)
at org.apache.struts.action.ActionServlet.destroyModules(ActionServlet.java:738)
at org.apache.struts.action.ActionServlet.destroy(ActionServlet.java:430)
at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1079)
at org.apache.catalina.core.StandardWrapper.stop(StandardWrapper.java:1287)
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:984)
at org.apache.catalina.startup.ContextConfig.stop(ContextConfig.java:877)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:226)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1151)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3451)
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:984)
at org.apache.catalina.core.StandardHost.remove(StandardHost.java:791)
at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:422)
at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:402)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:234)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1151)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1163)
at org.apache.catalina.core.StandardService.stop(StandardService.java:435)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:535)
at org.apache.catalina.startup.Catalina.start(Catalina.java:799)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
Gema WARN [20-02-2004 12:26:46] (UpdateTimestampsCache.java:73) - could not destroy UpdateTimestamps cache
java.lang.NullPointerException
at com.opensymphony.oscache.base.AbstractCacheAdministrator.finalizeListeners(AbstractCacheAdministrator.java:326)
at com.opensymphony.oscache.general.GeneralCacheAdministrator.destroy(GeneralCacheAdministrator.java:187)
at net.sf.hibernate.cache.OSCache.destroy(OSCache.java:51)
at net.sf.hibernate.cache.UpdateTimestampsCache.destroy(UpdateTimestampsCache.java:70)
at net.sf.hibernate.impl.SessionFactoryImpl.close(SessionFactoryImpl.java:556)
at com.generalynx.gema.hibernate.HibernateSessionFactory.dispose(HibernateSessionFactory.java:56)
at com.generalynx.gema.web.interceptors.InterceptorPlugin.destroy(InterceptorPlugin.java:26)
at org.apache.struts.action.ActionServlet.destroyModules(ActionServlet.java:738)
at org.apache.struts.action.ActionServlet.destroy(ActionServlet.java:430)
at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1079)
at org.apache.catalina.core.StandardWrapper.stop(StandardWrapper.java:1287)
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:984)
at org.apache.catalina.startup.ContextConfig.stop(ContextConfig.java:877)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:226)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1151)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3451)
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:984)
at org.apache.catalina.core.StandardHost.remove(StandardHost.java:791)
at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:422)
at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:402)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:234)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1151)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1163)
at org.apache.catalina.core.StandardService.stop(StandardService.java:435)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:535)
at org.apache.catalina.startup.Catalina.start(Catalina.java:799)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
_________________ --------------------------------
Ales Justin
JBoss, a division of Red Hat
|
|