Re: [xwiki-users] HTTP 500 Error : Unable to find Oracle hdm file

2009-01-27 Thread hel-o

Hi,

I'm no Oracle Expert but sure it may be a CLASSPATH problem if the file is
not found. But mayby the mapping-file is not working:

  in 3: Exception while hibernate execute Wrapped Exception: Could not
 parse
  mapping document from resource xwiki.oracle.hbm.xml 

We had that problem with the MSSQL mapping file in the core. It didn't work.

But as i understand it the installation on your desktop worked fine (did you
use a oracle db there too?)

hel.


christophe perinaud wrote:
 
 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_sqlfalse/property
 property name=use_outer_jointrue/property
 property name=dbcp.defaultAutoCommitfalse/property
 property name=dbcp.maxActive50/property
 property name=dbcp.maxIdle5/property
 property name=dbcp.maxWait3/property
 property name=dbcp.whenExhaustedAction1/property
 property name=dbcp.ps.whenExhaustedAction1/property
 property name=dbcp.ps.maxActive20/property
 property name=dbcp.ps.maxWait12/property
 property name=dbcp.ps.maxIdle20/property
 
 property name=connection.urljdbc:oracle:thin:@doralu01
 :1522:od33/property
 property name=connection.usernamexwiki/property
 property name=connection.passwordTkbf_w5s#9/property
 property
 name=connection.driver_classoracle.jdbc.driver.OracleDriver/property
 property name=dialectorg.hibernate.dialect.Oracle10gDialect/property
 property
 name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property
 property name=connection.pool_size2/property
 property name=statement_cache.size2/property
 property name=hibernate.connection.SetBigStringTryClobtrue/property
 property name=hibernate.jdbc.batch_size0/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 h...@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@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 


 -
 Helmut Lehner
 h...@hel.at

 --
 View this message in context:
 http://n2.nabble.com/HTTP-500-Error-%3A-Unable-to-find-Oracle-hdm-file-tp2203973p2213982.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 


-
Helmut Lehner
h...@hel.at

-- 
View this message in context: 
http://n2.nabble.com/HTTP-500-Error-%3A-Unable-to-find-Oracle-hdm-file-tp2203973p2226023.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] HTTP 500 Error : Unable to find Oracle hdm file

2009-01-25 Thread hel-o

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@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 


-
Helmut Lehner
h...@hel.at

-- 
View this message in context: 
http://n2.nabble.com/HTTP-500-Error-%3A-Unable-to-find-Oracle-hdm-file-tp2203973p2213982.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] HTTP 500 Error : Unable to find Oracle hdm file

2009-01-23 Thread christophe perinaud
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@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users