Hi,
I also remember having some trouble to get Xwiki + tomcat + oracle to work.
My biggest problem was that I had a too old version of ojdbc14.jar that
didn't work with Oracle 10 G.
I first thought that the "14" part of the ojdbc14.jar file name was a
version number. But that was an incorrect assumption.
To check wich ojdbc14.jar version you have, you can do like this: Rename the
.jar file to ojdbc14.zip, unzip it and take a look at the manifest file in
ojdbc14.zip/META-INF/MANIFEST.MF
Containing (among others) a couple of lines looking something like this:
*Specification-Version: Oracle JDBC Driver version - "10.2.0.4.0"
Implementation-Version: Oracle JDBC Driver version - "10.2.0.4.0"
*
The 10.2.0.4.0 version of the driver works fine for me/xwiki with both
oracle 9 and oragle 10G databases.
Kind regards,
Jonas
2009/7/15 Gallois Frédéric <frederic.gallois(a)insee.fr>
Hi
I'm running Xwiki with Tomcat5.5 and Oracle 10g.
Here's what I've done :
- unpack the war under the webapps directory of Tomcat
- change the ojdbc.jar because of a bad version
- change the hibernate.cfg.xml file :
- uncomment only the oracle part
- change connection.url, connection.username and connection.password
As long as I remember, the "Error number 3..." came because of a bad
version of ojdc14.jar.
Hope This Helps
Frédéric
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
De la part de Dean Weber
Envoyé : mardi 14 juillet 2009 22:29
À : users(a)xwiki.org
Objet : Re: [xwiki-users] Can't get XWiki to work with Oracle
I ran a diff and found only cosmetic changes. However, I
pulled that copy
down and replaced mine to guarantee I had the most up to date
one. Nothing
changed. I still got:
HTTP ERROR: 500
Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigratio
nManager from
param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while
hibernate execute
Wrapped Exception: Could not parse mapping document from resource
xwiki.oracle.hbm.xml
I am not the only one that has seen this problem. I found
another posting
similar to mine:
http://n2.nabble.com/Problems-with-Xwiki-Enterprise-1.8-on-Ora
cle---get-Error-number-3001-in-3-td2517809.html#a2518188
It didn't have a resolution as well.
If there are more details needed to help my situation please
let me know and
I will provide any information I can.
Thanks
Dean
Marius Dumitru Florea wrote:
Hi Dean,
Is this
http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-c
ore/src/main/resources/xwiki.oracle.hbm.xml<http://svn.xwiki.org/svnroot…
the same
as your xwiki.oracle.hbm.xml ?
Hope this helps,
Marius
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
View this message in context:
http://n2.nabble.com/Can%27t-get-XWiki-to-work-with-Oracle-tp3
228059p3259203.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users