[xwiki-users] Upgrate XWiki Enterprise 2.4 M1 to M2
I have extract the WAR-file into \Enterprise\webapps\xwiki and imported the XAR over XWIKI -> Administer Wiki -> Import For the M1 I used the Standalone installation including a Jetty container and an HSQLDB database and had no changes in the hibernate.cfg.xml or xwiki.cfg. So there is no need to copy them in the new WEB-INF. Now tell me what did I do wrong?! The new creations/applications seem to don't have a translation and the Class Editor site also looks curious. Here a screenshot: http://xwiki.475771.n2.nabble.com/file/n5243269/ClassEditorM2.jpg -- View this message in context: http://xwiki.475771.n2.nabble.com/Upgrate-XWiki-Enterprise-2-4-M1-to-M2-tp52... Sent from the XWiki- Users mailing list archive at Nabble.com.
On 07/01/2010 03:50 PM, Aleks87 wrote:
I have extract the WAR-file into \Enterprise\webapps\xwiki and imported the XAR over XWIKI -> Administer Wiki -> Import
For the M1 I used the Standalone installation including a Jetty container and an HSQLDB database and had no changes in the hibernate.cfg.xml or xwiki.cfg. So there is no need to copy them in the new WEB-INF.
Now tell me what did I do wrong?!
Clear browser cache maybe? Hope this helps, Marius
The new creations/applications seem to don't have a translation and the Class Editor site also looks curious.
Here a screenshot: http://xwiki.475771.n2.nabble.com/file/n5243269/ClassEditorM2.jpg
On 07/01/2010 02:50 PM, Aleks87 wrote:
I have extract the WAR-file into \Enterprise\webapps\xwiki and imported the XAR over XWIKI -> Administer Wiki -> Import
For the M1 I used the Standalone installation including a Jetty container and an HSQLDB database and had no changes in the hibernate.cfg.xml or xwiki.cfg. So there is no need to copy them in the new WEB-INF.
Now tell me what did I do wrong?!
Did you first remove the existing files before extracting the new war? You might have two versions of each jar in WEB-INF/lib if you didn't, which is wrong. -- Sergiu Dumitriu http://purl.org/net/sergiu/
Marius Dumitru Florea wrote:
On 07/01/2010 03:50 PM, Aleks87 wrote:
I have extract the WAR-file into \Enterprise\webapps\xwiki and imported the XAR over XWIKI -> Administer Wiki -> Import
For the M1 I used the Standalone installation including a Jetty container and an HSQLDB database and had no changes in the hibernate.cfg.xml or xwiki.cfg. So there is no need to copy them in the new WEB-INF.
Now tell me what did I do wrong?!
Clear browser cache maybe?
Hope this helps, Marius
The new creations/applications seem to don't have a translation and the Class Editor site also looks curious.
Here a screenshot: http://xwiki.475771.n2.nabble.com/file/n5243269/ClassEditorM2.jpg
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
I already cleared cache. Last time I upgradet I have also done something wrong. I have read the upgrading notes often enough but it never worked and at least I removed the hole wiki and installed the standalone of the new version. So I think its my fault. But I dont know what I am doing wrong. This time my wiki is a little bigger and I dont want to delete all. PS. I noticed that starting the .bat I get many WARN messages It always says: "It will not be possible to look it up". I never get this messages before opening the .bat Here an excerpt: [...] 2010-07-01 13:55:41,892 [main] WARN tion.ComponentAnnotationLoader - Component [org.xwiki.rest.resources.classes.ClassPropertyResource] is being overwritten by component [org.xwiki.rest.resources.classes.ClassPropertyResource] for Role/Hint [role = [org.xwiki.rest.XWikiRestComponent] hint = [org.xwiki.rest.resources.classes.ClassPropertyResource]]. It will not be possible to look it up. [...] 2010-07-01 13:55:42,079 [main] WARN tion.ComponentAnnotationLoader - Component [com.xpn.xwiki.wysiwyg.server.wiki.internal.DefaultLinkService] is being overwritten by component [com.xpn.xwiki.wysiwyg.server.wiki.internal.DefaultLinkService] for Role/Hint [role = [com.xpn.xwiki.wysiwyg.server.wiki.LinkService] hint = [default]]. It will not be possible to look it up. and there are thounds of those -- View this message in context: http://xwiki.475771.n2.nabble.com/Upgrate-XWiki-Enterprise-2-4-M1-to-M2-tp52... Sent from the XWiki- Users mailing list archive at Nabble.com.
Sergiu Dumitriu-2 wrote:
On 07/01/2010 02:50 PM, Aleks87 wrote:
I have extract the WAR-file into \Enterprise\webapps\xwiki and imported the XAR over XWIKI -> Administer Wiki -> Import
For the M1 I used the Standalone installation including a Jetty container and an HSQLDB database and had no changes in the hibernate.cfg.xml or xwiki.cfg. So there is no need to copy them in the new WEB-INF.
Now tell me what did I do wrong?!
Did you first remove the existing files before extracting the new war? You might have two versions of each jar in WEB-INF/lib if you didn't, which is wrong.
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
He asked me if I want to replace and I clicked yes. Have I to delete them first? -- View this message in context: http://xwiki.475771.n2.nabble.com/Upgrate-XWiki-Enterprise-2-4-M1-to-M2-tp52... Sent from the XWiki- Users mailing list archive at Nabble.com.
On Thu, Jul 1, 2010 at 15:40, Aleks87 <[email protected]> wrote:
Marius Dumitru Florea wrote:
On 07/01/2010 03:50 PM, Aleks87 wrote:
I have extract the WAR-file into \Enterprise\webapps\xwiki and imported the XAR over XWIKI -> Administer Wiki -> Import
For the M1 I used the Standalone installation including a Jetty container and an HSQLDB database and had no changes in the hibernate.cfg.xml or xwiki.cfg. So there is no need to copy them in the new WEB-INF.
Now tell me what did I do wrong?!
Clear browser cache maybe?
Hope this helps, Marius
The new creations/applications seem to don't have a translation and the Class Editor site also looks curious.
Here a screenshot: http://xwiki.475771.n2.nabble.com/file/n5243269/ClassEditorM2.jpg
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
I already cleared cache. Last time I upgradet I have also done something wrong. I have read the upgrading notes often enough but it never worked and at least I removed the hole wiki and installed the standalone of the new version. So I think its my fault. But I dont know what I am doing wrong. This time my wiki is a little bigger and I dont want to delete all.
PS. I noticed that starting the .bat I get many WARN messages It always says: "It will not be possible to look it up". I never get this messages before opening the .bat
Here an excerpt: [...] 2010-07-01 13:55:41,892 [main] WARN tion.ComponentAnnotationLoader - Component [org.xwiki.rest.resources.classes.ClassPropertyResource] is being overwritten by component [org.xwiki.rest.resources.classes.ClassPropertyResource] for Role/Hint [role = [org.xwiki.rest.XWikiRestComponent] hint = [org.xwiki.rest.resources.classes.ClassPropertyResource]]. It will not be possible to look it up. [...] 2010-07-01 13:55:42,079 [main] WARN tion.ComponentAnnotationLoader - Component [com.xpn.xwiki.wysiwyg.server.wiki.internal.DefaultLinkService] is being overwritten by component [com.xpn.xwiki.wysiwyg.server.wiki.internal.DefaultLinkService] for Role/Hint [role = [com.xpn.xwiki.wysiwyg.server.wiki.LinkService] hint = [default]]. It will not be possible to look it up.
and there are thounds of those
Well this is typically the kind of thing that happen when you have a duplicate of all jars: it tried to register each component twice.
-- View this message in context: http://xwiki.475771.n2.nabble.com/Upgrate-XWiki-Enterprise-2-4-M1-to-M2-tp52... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
On 07/01/2010 03:44 PM, Aleks87 wrote:
Sergiu Dumitriu-2 wrote:
On 07/01/2010 02:50 PM, Aleks87 wrote:
I have extract the WAR-file into \Enterprise\webapps\xwiki and imported the XAR over XWIKI -> Administer Wiki -> Import
For the M1 I used the Standalone installation including a Jetty container and an HSQLDB database and had no changes in the hibernate.cfg.xml or xwiki.cfg. So there is no need to copy them in the new WEB-INF.
Now tell me what did I do wrong?!
Did you first remove the existing files before extracting the new war? You might have two versions of each jar in WEB-INF/lib if you didn't, which is wrong.
He asked me if I want to replace and I clicked yes. Have I to delete them first?
The jars also have the version in their name, so they don't get overwritten. If you didn't change anything on the filesystem, it would be simpler to: - save the "database" folder from the old installation - extract the new version in a clean folder - move the old database folder instead of the new one -- Sergiu Dumitriu http://purl.org/net/sergiu/
tmortagne wrote:
On Thu, Jul 1, 2010 at 15:40, Aleks87 <[email protected]> wrote:
Marius Dumitru Florea wrote:
On 07/01/2010 03:50 PM, Aleks87 wrote:
I have extract the WAR-file into \Enterprise\webapps\xwiki and imported the XAR over XWIKI -> Administer Wiki -> Import
For the M1 I used the Standalone installation including a Jetty container and an HSQLDB database and had no changes in the hibernate.cfg.xml or xwiki.cfg. So there is no need to copy them in the new WEB-INF.
Now tell me what did I do wrong?!
Clear browser cache maybe?
Hope this helps, Marius
The new creations/applications seem to don't have a translation and the Class Editor site also looks curious.
Here a screenshot: http://xwiki.475771.n2.nabble.com/file/n5243269/ClassEditorM2.jpg
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
I already cleared cache. Last time I upgradet I have also done something wrong. I have read the upgrading notes often enough but it never worked and at least I removed the hole wiki and installed the standalone of the new version. So I think its my fault. But I dont know what I am doing wrong. This time my wiki is a little bigger and I dont want to delete all.
PS. I noticed that starting the .bat I get many WARN messages It always says: "It will not be possible to look it up". I never get this messages before opening the .bat
Here an excerpt: [...] 2010-07-01 13:55:41,892 [main] WARN tion.ComponentAnnotationLoader - Component [org.xwiki.rest.resources.classes.ClassPropertyResource] is being overwritten by component [org.xwiki.rest.resources.classes.ClassPropertyResource] for Role/Hint [role = [org.xwiki.rest.XWikiRestComponent] hint = [org.xwiki.rest.resources.classes.ClassPropertyResource]]. It will not be possible to look it up. [...] 2010-07-01 13:55:42,079 [main] WARN tion.ComponentAnnotationLoader - Component [com.xpn.xwiki.wysiwyg.server.wiki.internal.DefaultLinkService] is being overwritten by component [com.xpn.xwiki.wysiwyg.server.wiki.internal.DefaultLinkService] for Role/Hint [role = [com.xpn.xwiki.wysiwyg.server.wiki.LinkService] hint = [default]]. It will not be possible to look it up.
and there are thounds of those
Well this is typically the kind of thing that happen when you have a duplicate of all jars: it tried to register each component twice.
-- View this message in context: http://xwiki.475771.n2.nabble.com/Upgrate-XWiki-Enterprise-2-4-M1-to-M2-tp52... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_________________________________________________________________________________________ I delete the content off \Enterprise\webapps\xwiki and extract then the WAR-file. Starting the .bat I was happy because there aren't any WARNINGs but trying to visit http://localhost:8080/xwiki/bin/view/Main/ I get a HTTP ERROR 500 like someone else in another post: http://xwiki.475771.n2.nabble.com/HTTP-Error-500-td5243338.html#a5243338 How to go on? _________________________________________________________________________________________ HTTP ERROR 500 Problem accessing /xwiki/bin/view/Main/. Reason: 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 create a DBCP pool. There is an error in the hibernate configuration file, please review it. Caused by: 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 create a DBCP pool. There is an error in the hibernate configuration file, please review it. at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:380) at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:449) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:915) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) Wrapped Exception: com.xpn.xwiki.XWikiException: 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 create a DBCP pool. There is an error in the hibernate configuration file, please review it. at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:1115) at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:794) at com.xpn.xwiki.XWiki.<init>(XWiki.java:737) at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:361) at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:449) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:915) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) Wrapped Exception: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it. at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1069) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1099) at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:68) at com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.<init>(AbstractXWikiMigrationManager.java:68) at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.<init>(XWikiHibernateMigrationManager.java:51) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:1107) at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:794) at com.xpn.xwiki.XWiki.<init>(XWiki.java:737) at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:361) at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:449) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:915) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) Wrapped Exception: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.hsqldb.jdbcDriver' at org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1429) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1371) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:193) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56) at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2073) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1298) at com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:166) at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:561) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1055) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1099) at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:68) at com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.<init>(AbstractXWikiMigrationManager.java:68) at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.<init>(XWikiHibernateMigrationManager.java:51) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:1107) at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:794) at com.xpn.xwiki.XWiki.<init>(XWiki.java:737) at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:361) at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:449) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:915) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) Caused by: java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:401) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:363) at org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1420) ... 61 more Powered by Jetty:// -- View this message in context: http://xwiki.475771.n2.nabble.com/Upgrate-XWiki-Enterprise-2-4-M1-to-M2-tp52... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (4)
-
Aleks87 -
Marius Dumitru Florea -
Sergiu Dumitriu -
Thomas Mortagne