On 06/15/2011 08:19 PM, Chris Seker wrote:
I am getting the following error and cant seem to
resolve. This is a new install. Here are my Java Versions, except I did not recompile
anything. Just deployed the Enterprise WAR.
JAVA version 1.6.0_20 (Open JDK IcedTea6 1.9.8)
JAVAC - 1.5.0_15
-----------ERROR------------------------------------------
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: Bad version number in .class file
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:428)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:497)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:137)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23
logs.
Chris,
Are you sure you're using IcedTea6? On debian/ubuntu systems it's not
that obvious how to set a different JDK. What happens when you execute
java -version
--
Sergiu Dumitriu
http://purl.org/net/sergiu/