XWiki initialization failed! Exception thrown during job execution[9.5.1 version]

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

XWiki initialization failed! Exception thrown during job execution[9.5.1 version]

mohit77jindal
This post has NOT been accepted by the mailing list yet.
This post was updated on .
I am trying to install the XWiki and getting the below error:

XWiki initialization failed!

    Exception thrown during job execution
    class java.lang.AbstractMethodError: null
        at org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:918)
        at org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:918)
        at org.apache.commons.dbcp2.PoolableConnection.validate(PoolableConnection.java:283)
        at org.apache.commons.dbcp2.PoolableConnectionFactory.validateConnection(PoolableConnectionFactory.java:357)
        at org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2307)
        at org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2290)
        at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2039)
        at org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
        at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:215)
        at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
        at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
        at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
        at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
        at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
        at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
        at com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:266)
        at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:710)
        at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:863)
        at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:280)
        at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1830)
        at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1871)
        at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1288)
        at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1262)
        at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:1201)
        at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:1116)
        at com.xpn.xwiki.XWiki.<init>(XWiki.java:1089)
        at com.xpn.xwiki.internal.XWikiInitializerJob.runInternal(XWikiInitializerJob.java:117)
        at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:206)
        at org.xwiki.job.AbstractJob.run(AbstractJob.java:189)
        at java.lang.Thread.run(Thread.java:745)

hibernate.cfg.xml:
<property name="connection.url">jdbc:oracle:thin:@10.10.6.51:1521:XE</property>
    <property name="connection.username">xwiki</property>
    <property name="connection.password">xwiki</property>
    <property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
    <property name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
    <property name="connection.SetBigStringTryClob">true</property>
    <property name="jdbc.batch_size">0</property>
    <property name="jdbc.use_streams_for_binary">false</property>
    <property name="dbcp.poolPreparedStatements">true</property>
    <property name="dbcp.maxOpenPreparedStatements">20</property>
    <mapping resource="xwiki.oracle.hbm.xml"/>
    <mapping resource="feeds.oracle.hbm.xml"/>
    <mapping resource="activitystream.hbm.xml"/>
    <mapping resource="instance.hbm.xml"/>
    <mapping resource="mailsender.oracle.hbm.xml"/>

I am using Tomcat version 8.5.5 with Java 1.8
Loading...