[xwiki-users] Another problem...this time is about connection provider
Folks, I have encountered another problem when trying to finish the installation of xwiki.
From xwiki.log, the top most error is:
22:39:01,281 [http://servername.com/xwiki/bin/view/Main/] [http-8080-Processor25] FATAL tion.ConnectionProviderFactory - Could not instantiate connection provider java.lang.ClassNotFoundException: at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:100) Is this error about the placement of the JDBC driver? I've placed it in /common/lib already. Please help. -- View this message in context: http://n2.nabble.com/Another-problem...this-time-is-about-connection-provide... Sent from the XWiki- Users mailing list archive at Nabble.com.
I've got it fixed. I shouldn't have commented the following 3 lines out. <property name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property> <property name="connection.pool_size">10</property> <property name="statement_cache.size">10</property> Now I uncommented them, and with this line above them <property name="connection.provider_class"></property> I can see this: Notice The requested document could not be found. You can edit this page to create it. Charles Charles So wrote:
Folks,
I have encountered another problem when trying to finish the installation of xwiki.
From xwiki.log, the top most error is:
22:39:01,281 [http://servername.com/xwiki/bin/view/Main/] [http-8080-Processor25] FATAL tion.ConnectionProviderFactory - Could not instantiate connection provider java.lang.ClassNotFoundException: at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:100)
Is this error about the placement of the JDBC driver? I've placed it in /common/lib already.
Please help.
-- View this message in context: http://n2.nabble.com/Another-problem...this-time-is-about-connection-provide... Sent from the XWiki- Users mailing list archive at Nabble.com.
On Mar 23, 2009, at 4:34 PM, Charles So wrote:
I've got it fixed.
I shouldn't have commented the following 3 lines out.
<property name = "connection .provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property> <property name="connection.pool_size">10</property> <property name="statement_cache.size">10</property>
Now I uncommented them, and with this line above them <property name="connection.provider_class"></property>
I can see this: Notice The requested document could not be found.
You can edit this page to create it.
Great, now all you need is to import the default XE XAR. Thanks -Vincent
Charles
Charles So wrote:
Folks,
I have encountered another problem when trying to finish the installation of xwiki.
From xwiki.log, the top most error is:
22:39:01,281 [http://servername.com/xwiki/bin/view/Main/] [http-8080-Processor25] FATAL tion.ConnectionProviderFactory - Could not instantiate connection provider java.lang.ClassNotFoundException: at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:100)
Is this error about the placement of the JDBC driver? I've placed it in /common/lib already.
Please help.
Charles So wrote:
Folks,
I have encountered another problem when trying to finish the installation of xwiki.
From xwiki.log, the top most error is:
22:39:01,281 [http://servername.com/xwiki/bin/view/Main/] [http-8080-Processor25] FATAL tion.ConnectionProviderFactory - Could not instantiate connection provider java.lang.ClassNotFoundException: at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:100)
Is this error about the placement of the JDBC driver? I've placed it in /common/lib already.
Why are you placing it in there? Just put it in webapps/xwiki/WEB-INF/lib You must also edit the hibernate.cfg.xml file to enable the connector. -- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (3)
-
Charles So -
Sergiu Dumitriu -
Vincent Massol