[xwiki-users] Version Error
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,
Hi Chris, What version of XE are you using? If it's 3.1 then we have moved to requiring JDK6 as the minimum version. Thanks -Vincent On Jun 15, 2011, at 8: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,
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/
Hi, I'm having the http://pastebin.com/k5V6mBha same error . My xwiki installation is Enterprise 3.3, on Ubuntu 11.10 (x64) with tomcat6. I installed following the instructions on this http://blog.dontneedcoffee.com/2010/02/install-xwiki-22-on-ubuntu-910-mysql.... site . Here is an example of my http://pastebin.com/HEPmAAeQ hibernate.cfg.xml . I created MySQL user 'xwiki' who was granted with create, insert, alter, delete entries for the xwiki database. All the setup tutorials I've seen are quite straight forward but, for some reason, I just can't get it to work. Any hint / advice will be appreciated. Cheers, - Eric -- View this message in context: http://xwiki.475771.n2.nabble.com/Version-Error-tp6480013p7216532.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Looks like http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL#HHTTP5... Try this. Hope it will help. Kind Regards, Dmitry 23 января 2012, 20:10 от eparent_pk <[email protected]>:
Hi,
I'm having the http://pastebin.com/k5V6mBha same error .
My xwiki installation is Enterprise 3.3, on Ubuntu 11.10 (x64) with tomcat6.
I installed following the instructions on this http://blog.dontneedcoffee.com/2010/02/install-xwiki-22-on-ubuntu-910-mysql.... site .
Here is an example of my http://pastebin.com/HEPmAAeQ hibernate.cfg.xml .
I created MySQL user 'xwiki' who was granted with create, insert, alter, delete entries for the xwiki database.
All the setup tutorials I've seen are quite straight forward but, for some reason, I just can't get it to work. Any hint / advice will be appreciated.
Cheers,
- Eric
-- View this message in context: http://xwiki.475771.n2.nabble.com/Version-Error-tp6480013p7216532.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On 01/23/2012 09:52 AM, eparent_pk wrote:
Hi,
I'm having the http://pastebin.com/k5V6mBha same error .
My xwiki installation is Enterprise 3.3, on Ubuntu 11.10 (x64) with tomcat6.
I installed following the instructions on this http://blog.dontneedcoffee.com/2010/02/install-xwiki-22-on-ubuntu-910-mysql.... site .
Here is an example of my http://pastebin.com/HEPmAAeQ hibernate.cfg.xml .
I created MySQL user 'xwiki' who was granted with create, insert, alter, delete entries for the xwiki database.
All the setup tutorials I've seen are quite straight forward but, for some reason, I just can't get it to work. Any hint / advice will be appreciated.
Cheers,
- Eric
Make sure mysql is listening on a TCP port and not just on a local pipe. -- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (5)
-
Chris Seker -
eparent_pk -
Haru Mamburu -
Sergiu Dumitriu -
Vincent Massol