[Geoserver-devel] FreefsLog exception when reloading servlet

Hi,

I got the following exception when reloading geoserver servlet (i haven't got
the sde datastore) :

26 févr. 2005 14:41:36 org.apache.catalina.core.StandardContext reload
INFO: Le rechargement de ce contexte a démarré
13333214 [FIN] org.vfny.geoserver.servlets.FreefsLog - SDE datasource found,
releasing resources
java.lang.IllegalAccessException: Class org.vfny.geoserver.servlets.FreefsLog
can not access a member of class
org.geotools.data.arcsde.ConnectionPoolFactory with modifiers "public static
synchronized"
        at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:57)
        at java.lang.reflect.Method.invoke(Method.java:317)
        at org.vfny.geoserver.servlets.FreefsLog.destroy(FreefsLog.java:96)
        at
org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1270)
        at
org.apache.catalina.core.StandardWrapper.stop(StandardWrapper.java:1595)
        at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContext.removeChild(StandardContext.java:3094)
        at
org.apache.catalina.startup.ContextConfig.stop(ContextConfig.java:693)
        at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:255)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
        at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:4443)
        at
org.apache.catalina.core.StandardContext.reload(StandardContext.java:2984)
        at
org.apache.catalina.core.StandardContext.backgroundProcess(StandardContext.java:4584)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1662)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1671)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1671)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1651)
        at java.lang.Thread.run(Thread.java:534)
26 févr. 2005 14:41:36 org.apache.catalina.logger.LoggerBase stop

I guess it has to do with geotools
org.geotools.data.arcsde.ConnectionPoolFactory.

didier

Yeah, it's to release the resources, since I guess there's no standard api
way for us to release them. Does hit cause you any problems? Or just
print the nasty stack trace? If the latter then it's annoying, but fine.
Perhaps gabriel has better ideas on what to do with it.

Chris

On Sat, 26 Feb 2005, Richard didier wrote:

Hi,

I got the following exception when reloading geoserver servlet (i haven't got
the sde datastore) :

26 févr. 2005 14:41:36 org.apache.catalina.core.StandardContext reload
INFO: Le rechargement de ce contexte a démarré
13333214 [FIN] org.vfny.geoserver.servlets.FreefsLog - SDE datasource found,
releasing resources
java.lang.IllegalAccessException: Class org.vfny.geoserver.servlets.FreefsLog
can not access a member of class
org.geotools.data.arcsde.ConnectionPoolFactory with modifiers "public static
synchronized"
        at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:57)
        at java.lang.reflect.Method.invoke(Method.java:317)
        at org.vfny.geoserver.servlets.FreefsLog.destroy(FreefsLog.java:96)
        at
org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1270)
        at
org.apache.catalina.core.StandardWrapper.stop(StandardWrapper.java:1595)
        at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContext.removeChild(StandardContext.java:3094)
        at
org.apache.catalina.startup.ContextConfig.stop(ContextConfig.java:693)
        at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:255)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
        at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:4443)
        at
org.apache.catalina.core.StandardContext.reload(StandardContext.java:2984)
        at
org.apache.catalina.core.StandardContext.backgroundProcess(StandardContext.java:4584)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1662)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1671)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p

--