[Geoserver-users] Problem reading features: SQLException: Could not obtain native oracle connection for class com.sun.proxy.$Proxy11

Hi,
I am trying to install GeoServer on a Tomcat-server and I am running into
some trouble.

This is the StackTrace I find in the logs:

java.lang.RuntimeException: Error getting FeatureType, this should never
happen!
        at
org.geoserver.wms.map.GetMapKvpRequestReader.checkStyle(GetMapKvpRequestReader.java:1223)
        at
org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:453)
        at
org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:84)
        at
org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1488)
        at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:674)
        at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:258)
        at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:147)
        at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50)
        at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
        at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
        at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:968)
        at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:859)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
        at
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:844)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
        at
org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)
        at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
        at
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316)
        at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
        at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)
        at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)
        at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
        at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
        at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
        at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
        at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
        at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
        at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at
org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
        at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
        at
org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158)
        at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
        at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
        at
org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:84)
        at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
        at
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91)
        at
org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)
        at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
        at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
        at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213)
        at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176)
        at
org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:152)
        at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
        at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at
org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:87)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:48)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at
org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at
org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
        at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
        at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
        at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
        at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
        at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
        at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Unable to obtain Oracle Connection require
for SDO Geometry access).Check connection pool implementation to unsure
unwrap is available
        at
org.geotools.data.oracle.OracleNGDataStoreFactory.createDataStoreInternal(OracleNGDataStoreFactory.java:149)
        at
org.geotools.jdbc.JDBCJNDIDataStoreFactory.createDataStoreInternal(JDBCJNDIDataStoreFactory.java:184)
        at
org.geotools.jdbc.JDBCDataStoreFactory.createDataStore(JDBCDataStoreFactory.java:278)
        at
org.geotools.jdbc.JDBCDataStoreFactory.createDataStore(JDBCDataStoreFactory.java:54)
        at
org.vfny.geoserver.util.DataStoreUtils.getDataAccess(DataStoreUtils.java:90)
        at
org.geoserver.catalog.ResourcePool.getDataStore(ResourcePool.java:590)
        at
org.geoserver.catalog.ResourcePool.getCacheableFeatureType(ResourcePool.java:897)
        at
org.geoserver.catalog.ResourcePool.tryGetFeatureType(ResourcePool.java:884)
        at
org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:878)
        at
org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:865)
        at
org.geoserver.catalog.impl.FeatureTypeInfoImpl.getFeatureType(FeatureTypeInfoImpl.java:120)
        at sun.reflect.GeneratedMethodAccessor223.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at
org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:147)
        at com.sun.proxy.$Proxy63.getFeatureType(Unknown Source)
        at
org.geoserver.wms.map.GetMapKvpRequestReader.checkStyle(GetMapKvpRequestReader.java:1219)
        ... 97 more
Caused by: java.sql.SQLException: Could not obtain native oracle connection
for class com.sun.proxy.$Proxy11
        at
org.geotools.data.oracle.OracleDialect.unwrapConnection(OracleDialect.java:670)
        at
org.geotools.data.oracle.OracleNGDataStoreFactory.createDataStoreInternal(OracleNGDataStoreFactory.java:147)
        ... 113 more

I have used GeoServer previously on both Tomcat-server and WSL-servers and
have not had this problem before.
We are moving from WSL to Tomcat in our project and the geoserver-version
was 2.7 I believe. When I tried to deploy the exact same .war that we had
used previously we got the this exception: java.sql.SQLException: Could not
obtain native oracle connection for class com.sun.proxy.$Proxy11

I then tried to download the newest version of geoserver, and the oracle
plugin, but it seems that we have the same exception, but a bit more in the
stacktrace. Now it happens much earlier, I cannot even seem the load the
Features. With 2.7 I looked fine until I tried to preview a layer.

I don't know exactly how to approach this error, and some guidance would be
very helpful!

Thanks!

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-reading-features-SQLException-Could-not-obtain-native-oracle-connection-for-class-com-sun-pr1-tp5279641.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

No one has encountered this issue? I am tearing my hair out. Can it have
something to do with the ojdbc.jar or something?

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-reading-features-SQLException-Could-not-obtain-native-oracle-connection-for-class-com-sun-pr1-tp5279641p5280171.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi,
I’m not familiar with the particular error (specifically, the involvement of a com.sun.Proxy in it), but wondering if you may have the oracle driver in two
different places at the same time, like in geoserver, but also inside the tomcat libs?

This might be relevant:
https://osgeo-org.atlassian.net/browse/GEOT-4106

Also, you should probably tell us how you have setup your connection pool

Cheers
Andrea

···

On Wed, Aug 10, 2016 at 9:12 AM, benjoh <bennye88@anonymised.com.> wrote:

No one has encountered this issue? I am tearing my hair out. Can it have
something to do with the ojdbc.jar or something?


View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-reading-features-SQLException-Could-not-obtain-native-oracle-connection-for-class-com-sun-pr1-tp5279641p5280171.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev


Geoserver-users mailing list
Geoserver-users@anonymised.com.382…sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313

fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Thanks for the reply!

I am not in control over the Tomcat-server we use. I can only deploy
applications and configure them. This is my connection resource if it helps:

<Resource
    name="jdbc/app"
    auth="Container"
    factory="oracle.ucp.jdbc.PoolDataSourceImpl"
    type="oracle.ucp.jdbc.PoolDataSource"
    description="jdbc/trafikkna datasource"
    connectionFactoryClassName="oracle.jdbc.pool.OracleDataSource"
    minPoolSize="30"
    maxPoolSize="30"
    inactiveConnectionTimeout="20"
    maxConnectionReuseCount="10"
    user="user"
    password="password"
    onsConfiguration="nodes=node-1,node-2"
    fastConnectionFailoverEnabled="true"
   
connectionProperties=";oracle.net.ns.SQLnetDef.TCP_CONNTIMEOUT_STR=3000;"
    url="jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =
host)(PORT = 1521))(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME =
service_name)))"
    connectionPoolName="jdbc/app"
    validateConnectionOnBorrow="true"
    sqlForValidateConnection="select 1 from DUAL" />

These are the jars that are inside tomcat libs: catalina-jmx-remote.jar,
ojdbc7.jar, ons.jar, simplefan.jar, tomcat-juli-adapters.jar and ucp.jar

There is an ojdbc.jar in geoserver.war as well. Could that cause the issue?
I could try to remove it and redeploy geoserver.

What is weird though, is that I use geoserver in another application on
another tomcatserver with the same jars and that works perfectly fine.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-reading-features-SQLException-Could-not-obtain-native-oracle-connection-for-class-com-sun-pr1-tp5279641p5280185.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Have you tested that the Tomcat-server is actually able to create a connection to the database? I loose count of the number of times some internal firewall prevents connections on TCP 1521, or the connection string is misspelt, or ..

Best Regards,
/julian

-----Oprindelig meddelelse-----
Fra: benjoh [mailto:bennye88@anonymised.com]
Sendt: 10. august 2016 10:02
Til: geoserver-users@lists.sourceforge.net
Emne: Re: [Geoserver-users] Problem reading features: SQLException: Could not obtain native oracle connection for class com.sun.proxy.$Proxy11

Thanks for the reply!

I am not in control over the Tomcat-server we use. I can only deploy applications and configure them. This is my connection resource if it helps:

<Resource
    name="jdbc/app"
    auth="Container"
    factory="oracle.ucp.jdbc.PoolDataSourceImpl"
    type="oracle.ucp.jdbc.PoolDataSource"
    description="jdbc/trafikkna datasource"
    connectionFactoryClassName="oracle.jdbc.pool.OracleDataSource"
    minPoolSize="30"
    maxPoolSize="30"
    inactiveConnectionTimeout="20"
    maxConnectionReuseCount="10"
    user="user"
    password="password"
    onsConfiguration="nodes=node-1,node-2"
    fastConnectionFailoverEnabled="true"
   
connectionProperties=";oracle.net.ns.SQLnetDef.TCP_CONNTIMEOUT_STR=3000;"
    url="jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = host)(PORT = 1521))(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = service_name)))"
    connectionPoolName="jdbc/app"
    validateConnectionOnBorrow="true"
    sqlForValidateConnection="select 1 from DUAL" />

These are the jars that are inside tomcat libs: catalina-jmx-remote.jar, ojdbc7.jar, ons.jar, simplefan.jar, tomcat-juli-adapters.jar and ucp.jar

There is an ojdbc.jar in geoserver.war as well. Could that cause the issue?
I could try to remove it and redeploy geoserver.

What is weird though, is that I use geoserver in another application on another tomcatserver with the same jars and that works perfectly fine.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-reading-features-SQLException-Could-not-obtain-native-oracle-connection-for-class-com-sun-pr1-tp5279641p5280185.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohodev2dev _______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

I will ask the people responsible for the Tomcat-server, but I don't think
that is the issue.

I looked a bit deeper in the log-file now and found another stack trace that
is thrown before my original stacktrace:

2016-08-10 11:00:57,195 ERROR [geotools.jdbc] - There's code using JDBC
based datastore and not disposing them. This may lead to temporary loss of
database connections. Please make sure all data access code calls
DataStore.dispose() before freeing all references to it
getFeatureType(Unknown Source)
        at
org.geoserver.gwc.layer.CatalogConfiguration.isLayerExposable(CatalogConfiguration.java:453)
        at
org.geoserver.gwc.config.GWCInitializer.addLayersToNotCache(GWCInitializer.java:283)
        at
org.geoserver.gwc.config.GWCInitializer.initialize(GWCInitializer.java:153)
        at
org.geoserver.config.GeoServerLoader.loadInitializers(GeoServerLoader.java:147)
        at
org.geoserver.config.GeoServerLoader.postProcessBeforeInitialization(GeoServerLoader.java:127)
        at
org.geoserver.config.GeoServerLoaderProxy.postProcessBeforeInitialization(GeoServerLoaderProxy.java:59)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
        at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
        at
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)
        at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)
        at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
        at
org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:23)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)
        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
        at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
        at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: Illegal access: this web
application instance has been stopped already. Could not load
[oracle.ucp.UniversalPooledConnection]. The following stack trace is thrown
for debugging purposes as well as to attempt to terminate the thread which
caused the illegal access.
        at
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1318)
        at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1181)
        at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1142)
        ... 55 more
Caused by: java.lang.IllegalStateException: Illegal access: this web
application instance has been stopped already. Could not load
[oracle.ucp.UniversalPooledConnection]. The following stack trace is thrown
for debugging purposes as well as to attempt to terminate the thread which
caused the illegal access.
        at
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1328)
        at
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1316)
        ... 57 more
2016-08-10 11:00:42,424 WARN [data.jdbc] - Could not test
org.geoserver.data.jdbc.GenericUnWrapper@anonymised.com for unwrapping abilities
agaist oracle.jdbc.driver.T4CConnection@anonymised.com
java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleCloseCallback
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
        at java.lang.Class.privateGetPublicMethods(Class.java:2902)
        at java.lang.Class.privateGetPublicMethods(Class.java:2917)
        at java.lang.Class.getMethods(Class.java:1615)
        at
org.geoserver.data.jdbc.GenericUnWrapper.unwrapInternal(GenericUnWrapper.java:173)
        at
org.geoserver.data.jdbc.GenericUnWrapper.canUnwrap(GenericUnWrapper.java:108)
        at
org.geotools.data.jdbc.datasource.DataSourceFinder.getUnWrapper(DataSourceFinder.java:126)
        at
org.geotools.data.oracle.OracleDialect.unwrapConnection(OracleDialect.java:634)
        at
org.geotools.data.oracle.OracleNGDataStoreFactory.createDataStoreInternal(OracleNGDataStoreFactory.java:147)
        at
org.geotools.jdbc.JDBCJNDIDataStoreFactory.createDataStoreInternal(JDBCJNDIDataStoreFactory.java:184)
        at
org.geotools.jdbc.JDBCDataStoreFactory.createDataStore(JDBCDataStoreFactory.java:278)
        at
org.geotools.jdbc.JDBCDataStoreFactory.createDataStore(JDBCDataStoreFactory.java:54)
        at
org.vfny.geoserver.util.DataStoreUtils.getDataAccess(DataStoreUtils.java:90)
        at
org.geoserver.catalog.ResourcePool.getDataStore(ResourcePool.java:590)
        at
org.geoserver.catalog.ResourcePool.getCacheableFeatureType(ResourcePool.java:897)
        at
org.geoserver.catalog.ResourcePool.tryGetFeatureType(ResourcePool.java:884)
        at
org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:878)
        at
org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:865)
        at
org.geoserver.catalog.impl.FeatureTypeInfoImpl.getFeatureType(FeatureTypeInfoImpl.java:120)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at
org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:147)
        at com.sun.proxy.$Proxy28.getFeatureType(Unknown Source)
        at
org.geoserver.gwc.layer.CatalogConfiguration.isLayerExposable(CatalogConfiguration.java:453)
        at
org.geoserver.gwc.config.GWCInitializer.addLayersToNotCache(GWCInitializer.java:283)
        at
org.geoserver.gwc.config.GWCInitializer.initialize(GWCInitializer.java:153)
        at
org.geoserver.config.GeoServerLoader.loadInitializers(GeoServerLoader.java:147)
        at
org.geoserver.config.GeoServerLoader.postProcessBeforeInitialization(GeoServerLoader.java:127)
        at
org.geoserver.config.GeoServerLoaderProxy.postProcessBeforeInitialization(GeoServerLoaderProxy.java:59)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
        at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
        at
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)
        at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)
        at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
        at
org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:23)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)
        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
        at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
        at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: Illegal access: this web
application instance has been stopped already. Could not load
[oracle.jdbc.driver.OracleCloseCallback]. The following stack trace is
thrown for debugging purposes as well as to attempt to terminate the thread
which caused the illegal access.
        at
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1318)
        at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1181)
        at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1142)
        ... 56 more
Caused by: java.lang.IllegalStateException: Illegal access: this web
application instance has been stopped already. Could not load
[oracle.jdbc.driver.OracleCloseCallback]. The following stack trace is
thrown for debugging purposes as well as to attempt to terminate the thread
which caused the illegal access.
        at
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1328)
        at
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1316)
        ... 58 more

Also many of this: 2016-08-10 11:00:42,516 ERROR [geotools.jdbc] - There's
code using JDBC based datastore and not disposing them. This may lead to
temporary loss of database connections. Please make sure all data access
code calls DataStore.dispose() before freeing all references to it

And

2016-08-10 11:00:42,550 WARN [data.jdbc] - Could not test
org.geoserver.data.jdbc.GenericUnWrapper@anonymised.com for unwrapping abilities
agaist com.sun.proxy.$Proxy16@anonymised.com
java.lang.NoClassDefFoundError: oracle/ucp/UniversalPooledConnection
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
        at java.lang.Class.privateGetPublicMethods(Class.java:2902)
        at java.lang.Class.getMethods(Class.java:1615)
        at
org.geoserver.data.jdbc.GenericUnWrapper.unwrapInternal(GenericUnWrapper.java:173)
        at
org.geoserver.data.jdbc.GenericUnWrapper.canUnwrap(GenericUnWrapper.java:108)
        at
org.geotools.data.jdbc.datasource.DataSourceFinder.getUnWrapper(DataSourceFinder.java:126)
        at
org.geotools.data.oracle.OracleDialect.unwrapConnection(OracleDialect.java:634)
        at
org.geotools.data.oracle.OracleNGDataStoreFactory.createDataStoreInternal(OracleNGDataStoreFactory.java:147)
        at
org.geotools.jdbc.JDBCJNDIDataStoreFactory.createDataStoreInternal(JDBCJNDIDataStoreFactory.java:184)
        at
org.geotools.jdbc.JDBCDataStoreFactory.createDataStore(JDBCDataStoreFactory.java:278)
        at
org.geotools.jdbc.JDBCDataStoreFactory.createDataStore(JDBCDataStoreFactory.java:54)
        at
org.vfny.geoserver.util.DataStoreUtils.getDataAccess(DataStoreUtils.java:90)
        at
org.geoserver.catalog.ResourcePool.getDataStore(ResourcePool.java:590)
        at
org.geoserver.catalog.ResourcePool.getCacheableFeatureType(ResourcePool.java:897)
        at
org.geoserver.catalog.ResourcePool.tryGetFeatureType(ResourcePool.java:884)
        at
org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:878)
        at
org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:865)
        at
org.geoserver.catalog.impl.FeatureTypeInfoImpl.getFeatureType(FeatureTypeInfoImpl.java:120)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at
org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:147)
        at com.sun.proxy.$Proxy28.getFeatureType(Unknown Source)
        at
org.geoserver.gwc.layer.CatalogConfiguration.isLayerExposable(CatalogConfiguration.java:453)
        at
org.geoserver.gwc.config.GWCInitializer.addLayersToNotCache(GWCInitializer.java:283)
        at
org.geoserver.gwc.config.GWCInitializer.initialize(GWCInitializer.java:153)
        at
org.geoserver.config.GeoServerLoader.loadInitializers(GeoServerLoader.java:147)
        at
org.geoserver.config.GeoServerLoader.postProcessBeforeInitialization(GeoServerLoader.java:127)
        at
org.geoserver.config.GeoServerLoaderProxy.postProcessBeforeInitialization(GeoServerLoaderProxy.java:59)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
        at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
        at
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)
        at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)
        at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
        at
org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:23)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)
        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
        at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
        at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: Illegal access: this web
application instance has been stopped already. Could not load
[oracle.ucp.UniversalPooledConnection]. The following stack trace is thrown
for debugging purposes as well as to attempt to terminate the thread which
caused the illegal access.
        at
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1318)
        at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1181)
        at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1142)
        ... 55 more
Caused by: java.lang.IllegalStateException: Illegal access: this web
application instance has been stopped already. Could not load
[oracle.ucp.UniversalPooledConnection]. The following stack trace is thrown
for debugging purposes as well as to attempt to terminate the thread which
caused the illegal access.
        at
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1328)
        at
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1316)
        ... 57 more
2016-08-10 11:00:42,552 WARN [data.jdbc] - Could not test
org.geoserver.data.jdbc.GenericUnWrapper@anonymised.com for unwrapping abilities
agaist oracle.jdbc.driver.T4CConnection@anonymised.com
java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleCloseCallback
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
        at java.lang.Class.privateGetPublicMethods(Class.java:2902)
        at java.lang.Class.privateGetPublicMethods(Class.java:2917)
        at java.lang.Class.getMethods(Class.java:1615)
        at
org.geoserver.data.jdbc.GenericUnWrapper.unwrapInternal(GenericUnWrapper.java:173)
        at
org.geoserver.data.jdbc.GenericUnWrapper.canUnwrap(GenericUnWrapper.java:108)
        at
org.geotools.data.jdbc.datasource.DataSourceFinder.getUnWrapper(DataSourceFinder.java:126)
        at
org.geotools.data.oracle.OracleDialect.unwrapConnection(OracleDialect.java:634)
        at
org.geotools.data.oracle.OracleNGDataStoreFactory.createDataStoreInternal(OracleNGDataStoreFactory.java:147)
        at
org.geotools.jdbc.JDBCJNDIDataStoreFactory.createDataStoreInternal(JDBCJNDIDataStoreFactory.java:184)
        at
org.geotools.jdbc.JDBCDataStoreFactory.createDataStore(JDBCDataStoreFactory.java:278)
        at
org.geotools.jdbc.JDBCDataStoreFactory.createDataStore(JDBCDataStoreFactory.java:54)
        at
org.vfny.geoserver.util.DataStoreUtils.getDataAccess(DataStoreUtils.java:90)
        at
org.geoserver.catalog.ResourcePool.getDataStore(ResourcePool.java:590)
        at
org.geoserver.catalog.ResourcePool.getCacheableFeatureType(ResourcePool.java:897)
        at
org.geoserver.catalog.ResourcePool.tryGetFeatureType(ResourcePool.java:884)
        at
org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:878)
        at
org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:865)
        at
org.geoserver.catalog.impl.FeatureTypeInfoImpl.getFeatureType(FeatureTypeInfoImpl.java:120)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at
org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:147)
        at com.sun.proxy.$Proxy28.getFeatureType(Unknown Source)
        at
org.geoserver.gwc.layer.CatalogConfiguration.isLayerExposable(CatalogConfiguration.java:453)
        at
org.geoserver.gwc.config.GWCInitializer.addLayersToNotCache(GWCInitializer.java:283)
        at
org.geoserver.gwc.config.GWCInitializer.initialize(GWCInitializer.java:153)
        at
org.geoserver.config.GeoServerLoader.loadInitializers(GeoServerLoader.java:147)
        at
org.geoserver.config.GeoServerLoader.postProcessBeforeInitialization(GeoServerLoader.java:127)
        at
org.geoserver.config.GeoServerLoaderProxy.postProcessBeforeInitialization(GeoServerLoaderProxy.java:59)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
        at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
        at
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)
        at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)
        at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
        at
org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:23)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)
        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
        at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
        at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: Illegal access: this web
application instance has been stopped already. Could not load
[oracle.jdbc.driver.OracleCloseCallback]. The following stack trace is
thrown for debugging purposes as well as to attempt to terminate the thread
which caused the illegal access.
        at
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1318)
        at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1181)
        at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1142)
        ... 56 more
Caused by: java.lang.IllegalStateException: Illegal access: this web
application instance has been stopped already. Could not load
[oracle.jdbc.driver.OracleCloseCallback]. The following stack trace is
thrown for debugging purposes as well as to attempt to terminate the thread
which caused the illegal access.
        at
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1328)
        at
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1316)
        ... 58 more

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-reading-features-SQLException-Could-not-obtain-native-oracle-connection-for-class-com-sun-pr1-tp5279641p5280215.html
Sent from the GeoServer - User mailing list archive at Nabble.com.