[Geoserver-users] GeoServer 2.9.0 Error

Hi,

I'm trying to upgrade my GeoServer 2.7.2 instance to 2.9.0, but I keep
encountering the following error at runtime:

minresource-minesatlas-gws: 14:55:32.273 [WARN]
[org.springframework.web.context.support.XmlWebApplicationContext]
<Exception encountered during context initialization - cancelling refresh
attempt: org.springframework.beans.factory.NoSuchBeanDefinitionException: No
bean named 'systemContext' is defined>
minresource-minesatlas-gws: 14:55:32.274 WARN]
[org.springframework.beans.factory.support.DisposableBeanAdapter]
<Invocation of destroy method failed on bean with name 'geoServerLoader':
java.lang.NullPointerException>
minresource-minesatlas-gws: 14:55:32.285 [ERROR]
[org.springframework.web.context.ContextLoader] <Context initialization
failed>
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'systemContext' is defined
  at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:698)
~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
  at
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1175)
~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
  at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:284)
~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
  at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
  at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
  at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
  at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
  at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
  at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
  at
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)
~[spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]
  at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)
~[spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]
  at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
[spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]
  at
org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:23)
[gs-platform-2.9.0.jar:2.9.0]
  at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5077)
[catalina.jar:7.0.67]
  at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5591)
[catalina.jar:7.0.67]
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
[catalina.jar:7.0.67]
  at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1574)
[catalina.jar:7.0.67]
  at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1564)
[catalina.jar:7.0.67]
  at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_65]
  at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_65]
  at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_65]
  at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65]
Jul 04, 2016 2:55:32 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Exception sending context initialized event to listener instance of
class org.geoserver.platform.GeoServerContextLoaderListener
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'systemContext' is defined
  at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:698)
  at
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1175)
  at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:284)
  at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
  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:5077)
  at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5591)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1574)
  at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1564)
  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)

Thanks

Michael

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-2-9-0-Error-tp5274556.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi,
do you have a customized GeoServer by any chance there?
In the standard GeoServer I don’t see any bean named systemContext, and this logging
context is also foreign: “minresource-minesatlas-gws”

Cheers
Andrea

···

On Mon, Jul 4, 2016 at 6:49 AM, comtesacristain <mick.sexton@anonymised.com> wrote:

Hi,

I’m trying to upgrade my GeoServer 2.7.2 instance to 2.9.0, but I keep
encountering the following error at runtime:

minresource-minesatlas-gws: 14:55:32.273 [WARN]
[org.springframework.web.context.support.XmlWebApplicationContext]
<Exception encountered during context initialization - cancelling refresh
attempt: org.springframework.beans.factory.NoSuchBeanDefinitionException: No
bean named ‘systemContext’ is defined>
minresource-minesatlas-gws: 14:55:32.274 WARN]
[org.springframework.beans.factory.support.DisposableBeanAdapter]
<Invocation of destroy method failed on bean with name ‘geoServerLoader’:
java.lang.NullPointerException>
minresource-minesatlas-gws: 14:55:32.285 [ERROR]
[org.springframework.web.context.ContextLoader]
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named ‘systemContext’ is defined
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:698)
~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1175)
~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:284)
~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)
~[spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)
~[spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
[spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at
org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:23)
[gs-platform-2.9.0.jar:2.9.0]
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5077)
[catalina.jar:7.0.67]
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5591)
[catalina.jar:7.0.67]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
[catalina.jar:7.0.67]
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1574)
[catalina.jar:7.0.67]
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1564)
[catalina.jar:7.0.67]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_65]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_65]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_65]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65]
Jul 04, 2016 2:55:32 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Exception sending context initialized event to listener instance of
class org.geoserver.platform.GeoServerContextLoaderListener
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named ‘systemContext’ is defined
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:698)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1175)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:284)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
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:5077)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5591)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1574)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1564)
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)

Thanks

Michael


View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-2-9-0-Error-tp5274556.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.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.


Hi Andrea

Yes I do, I was building it using a custom parent, but then switch GeoServer
Community artifact as the parent. See my pom file below:

<project xmlns="http://maven.apache.org/POM/4.0.0&quot;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&gt;
  <modelVersion>4.0.0</modelVersion>
  <groupId>au.gov.ga.mineral-resources</groupId>
  <artifactId>minresource-minesatlas-gws</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <packaging>war</packaging>
  <name>minresource-minesatlas-gws</name>
  <description>Geoserver webapp for Mineral Resources</description>
  <url>${siteinfo.urlhost}${project.groupId}/${project.artifactId}</url>
   <parent>
      <groupId>org.geoserver</groupId>
      <artifactId>community</artifactId>
      <version>2.8.4</version>
  </parent>
  <dependencies>
      <dependency>
          <groupId>org.geotools</groupId>
          <artifactId>gt-app-schema</artifactId>
          <version>14.1</version>
      </dependency>
      <dependency>
          <groupId>org.geotools</groupId>
          <artifactId>gt-app-schema-resolver</artifactId>
          <version>14.1</version>
      </dependency>
      <dependency>
          <groupId>org.geotools</groupId>
          <artifactId>gt-complex</artifactId>
          <version>14.1</version>
      </dependency>
      <dependency>
          <groupId>org.geotools.jdbc</groupId>
          <artifactId>gt-jdbc-oracle</artifactId>
          </dependency>
      <dependency>
            <groupId>com.oracle</groupId>
            <artifactId>ojdbc6</artifactId>
        </dependency>
      <dependency>
          <groupId>org.geoserver</groupId>
          <artifactId>gs-main</artifactId>
          </dependency>
      <dependency>
          <groupId>org.geoserver.web</groupId>
          <artifactId>gs-web-app</artifactId>
          <version>2.8.4</version>
      </dependency>
  </dependencies>
<dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.oracle</groupId>
                <artifactId>ojdbc6</artifactId>
                <version>11.2.0.3</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
</project>

However I'm now getting an error trying to use Oracle through JNDI

SEVERE: Unable to create initial connections of pool.
java.sql.SQLException: oracle.jdbc.OracleDriver
  at
org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:254)
  at
org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182)
  at
org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:710)
  at
org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:644)
  at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:466)
  at
org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:143)
  at
org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:116)
  at
org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:103)
  at
org.apache.tomcat.jdbc.pool.DataSourceFactory.createDataSource(DataSourceFactory.java:554)
  at
org.apache.tomcat.jdbc.pool.DataSourceFactory.getObjectInstance(DataSourceFactory.java:242)
  at
org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:141)
  at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:321)
  at org.apache.naming.NamingContext.lookup(NamingContext.java:842)
  at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
  at org.apache.naming.NamingContext.lookup(NamingContext.java:830)
  at org.apache.naming.NamingContext.lookup(NamingContext.java:167)
  at
org.apache.catalina.core.NamingContextListener.addResource(NamingContextListener.java:1103)
  at
org.apache.catalina.core.NamingContextListener.createNamingContext(NamingContextListener.java:682)
  at
org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingContextListener.java:271)
  at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
  at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
  at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5479)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1574)
  at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1564)
  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: oracle.jdbc.OracleDriver
  at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Class.java:348)
  at
org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:246)
  ... 28 more

Jul 05, 2016 3:25:52 PM org.apache.naming.NamingContext lookup
WARNING: Unexpected exception resolving reference
java.sql.SQLException: oracle.jdbc.OracleDriver
  at
org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:254)
  at
org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182)
  at
org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:710)
  at
org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:644)
  at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:466)
  at
org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:143)
  at
org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:116)
  at
org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:103)
  at
org.apache.tomcat.jdbc.pool.DataSourceFactory.createDataSource(DataSourceFactory.java:554)
  at
org.apache.tomcat.jdbc.pool.DataSourceFactory.getObjectInstance(DataSourceFactory.java:242)
  at
org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:141)
  at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:321)
  at org.apache.naming.NamingContext.lookup(NamingContext.java:842)
  at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
  at org.apache.naming.NamingContext.lookup(NamingContext.java:830)
  at org.apache.naming.NamingContext.lookup(NamingContext.java:167)
  at
org.apache.catalina.core.NamingContextListener.addResource(NamingContextListener.java:1103)
  at
org.apache.catalina.core.NamingContextListener.createNamingContext(NamingContextListener.java:682)
  at
org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingContextListener.java:271)
  at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
  at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
  at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5479)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1574)
  at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1564)
  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: oracle.jdbc.OracleDriver
  at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Class.java:348)
  at
org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:246)
  ... 28 more

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-2-9-0-Error-tp5274556p5274675.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

On Tue, Jul 5, 2016 at 7:10 AM, comtesacristain <mick.sexton@anonymised.com>
wrote:

SEVERE: Unable to create initial connections of pool.
java.sql.SQLException: oracle.jdbc.OracleDriver

Weird, in GeoTools JDBC we use "oracle.jdbc.driver.OracleDriver" as the
driver name instead, althought
I see the use of "oracle.jdbc.OracleDriver" in the jdbc-mosaic module
(which has not received
updates in quite some time)... could it be that Oracle changed the driver
class package over time?

Cheers
Andrea

--

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.

-------------------------------------------------------