Hello,
This is the hibernate file that is in the xwiki/WEB-INF folder (not in
subfolder classes)
<hibernate-configuration>
<session-factory>
<property name="show_sql">false</property>
<property name="use_outer_join">true</property>
<property name="dbcp.defaultAutoCommit">false</property>
<property name="dbcp.maxActive">50</property>
<property name="dbcp.maxIdle">5</property>
<property name="dbcp.maxWait">30000</property>
<property name="dbcp.whenExhaustedAction">1</property>
<property name="dbcp.ps.whenExhaustedAction">1</property>
<property name="dbcp.ps.maxActive">20</property>
<property name="dbcp.ps.maxWait">120000</property>
<property name="dbcp.ps.maxIdle">20</property>
<property name="connection.url">jdbc:oracle:thin:@doralu01
:1522:od33</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">Tkbf_w5s#9</property>
<property
name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property
name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<property
name="hibernate.connection.SetBigStringTryClob">true</property>
<property name="hibernate.jdbc.batch_size">0</property>
<mapping resource="xwiki.oracle.hbm.xml"/>
<mapping resource="feeds.oracle.hbm.xml"/>
</session-factory>
</hibernate-configuration>
I can't find where is the problem. The both XML are in the core jar file. A
CLASSPATH problem ?
Thank you
2009/1/25 hel-o <hel(a)hel.at>
Hi,
could be an error in your hibernate configuration could you post it.
If there is no hibernate file in the core, the hibernate file should be in
WEB-INF/classes
hel.
christophe perinaud wrote:
Hello,
After installing Xwiki on my linux laptop without any problem, now i try
to
install it in my company. We use Websphere 6.1 and Oracle 10
When we deploy the standard WAR file (from the
xwiki.org website) it
goes
ok
but trying to reach the xwiki URL, we got an error message :
Error 500: javax.servlet.ServletException: com.xpn.xwiki.XWikiException:
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.XWikiHibernateMigrationManager
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
The xml file can be found in the core jar but does not seem to be found
by
the system.
We tried to put some XML copies in other folders but without success.
Thank you for your help
Christophe
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
-----
Helmut Lehner
hel(a)hel.at
--
View this message in context:
http://n2.nabble.com/HTTP-500-Error-%3A-Unable-to-find-Oracle-hdm-file-tp22…
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