Hi Reidar,
Look for duplicate jars inside WEB-INF/lib and also try to remove jruby
jars. I'm just guessing..
Hope this helps,
Marius
RMTRON wrote:
Hi
I just wonder if anyone have been able to install the xwiki war version.
I run an OpenSuse 11 x86_64, Glassfish v2.1, Java jdk1.6.0_13, MySQL 5.0.51a
I've downloaded xwiki-enterprise-web-1.9.2.war and deployed it on the
Glassfish server, it was not possible to deploy without changing the
XML header in the file web.xml.
I followed the steps in the documentation:
- Configuration of MySQL, which works using the command-line.
- Added the MySQL section to hibernate.cfg.xml
- Copied the JDBC connection as described in the documentation
(mysql-connector-java-5.1.8-bin.jar)
The installation does not work, I've also tried other versions of
xwiki but the same problem.
I've seen that the file xwiki.hbm.xml is inside xwiki-core-1.9.2.jar.
I've search the WEB but without finding any solution.
I will appreciate any help to fix the problem.
Best regards
Reidar
The error when accessing the page:
HTTP Status 500 -
type Exception report
message
descriptionThe server encountered an internal error () that prevented
it from fulfilling this request.
exception
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.hbm.xml
root cause
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.hbm.xml
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users