I appreciate the comments. I'm using Jetting (which came with the XWiki
installation) instead of Tomcat. What war are you referencing?
I'm using the ojdbc5.jar file downloaded from Oracle's site. It works fine
for us in allowing our Groovy scripts to connect to a different Oracle DB to
obtain record data. I believe the our jar file is more recent than
ojdbc14.jar. I'm not sure if it's even a factor here.
I've made the appropriate changes within the hibernate.cfg.xml just as you
stated.
Perhaps my stacktrace output in a separate post to this thread will provide
more insight.
Please let me know if you see something that can help get past this problem.
Thanks
Dean
Gallois Frédéric wrote:
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
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