[xwiki-users] upgrade fails..
Hi all just no getting around to upgrading xwiki.. This is my first attempt at an xwiki upgrade.. Not a pretty outcome :-( stack below I've copied over my xwiki.cfg, xwiki.properties, and hibernate.cfg.xml from my 2.7.1 xwiki instance. I verified xwiki.store.migration=1 is set is there any other hibernate things I need to uncomment? I cant see anything in the release notes that I should have done different.. INFO: Deploying configuration descriptor ROOT.xml Apr 15, 2011 3:46:33 PM org.apache.catalina.session.StandardManager doLoad SEVERE: IOException while loading persisted sessions: java.io.InvalidClassException: com.xpn.xwiki.objects.BaseElement; local class incompatible: stream classdesc serialVersionUID = 7375085244707397057, local class serialVersionUID = 8286109986904027210 java.io.InvalidClassException: com.xpn.xwiki.objects.BaseElement; local class incompatible: stream classdesc serialVersionUID = 7375085244707397057, local class serialVersionUID = 8286109986904027210 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1475) at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:977) at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:394) at org.apache.catalina.session.StandardManager.load(StandardManager.java:321) at org.apache.catalina.session.StandardManager.start(StandardManager.java:648) at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:446) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4597) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061) at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:701) at org.apache.catalina.startup.Catalina.start(Catalina.java:585) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Apr 15, 2011 3:46:33 PM org.apache.catalina.session.StandardManager start SEVERE: Exception loading sessions from persistent storage java.io.InvalidClassException: com.xpn.xwiki.objects.BaseElement; local class incompatible: stream classdesc serialVersionUID = 7375085244707397057, local class serialVersionUID = 8286109986904027210 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1475) at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:977) at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:394) at org.apache.catalina.session.StandardManager.load(StandardManager.java:321) at org.apache.catalina.session.StandardManager.start(StandardManager.java:648) at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:446) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4597) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061) at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:701) at org.apache.catalina.startup.Catalina.start(Catalina.java:585) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Apr 15, 2011 3:46:38 PM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Apr 15, 2011 3:46:38 PM org.apache.catalina.core.StandardContext start SEVERE: Context [] startup failed due to previous errors ------ thanks kevin.foote
On 04/15/2011 10:06 PM, Kevin P. Foote wrote:
Hi all just no getting around to upgrading xwiki.. This is my first attempt at an xwiki upgrade.. Not a pretty outcome :-( stack below
I've copied over my xwiki.cfg, xwiki.properties, and hibernate.cfg.xml from my 2.7.1 xwiki instance.
Did you also copy the database connector jar?
I verified xwiki.store.migration=1 is set is there any other hibernate things I need to uncomment? I cant see anything in the release notes that I should have done different..
SEVERE: Exception loading sessions from persistent storage java.io.InvalidClassException: com.xpn.xwiki.objects.BaseElement; local class incompatible: stream classdesc serialVersionUID = 7375085244707397057, local class serialVersionUID = 8286109986904027210
This shouldn't affect the startup. It just means that Tomcat tried to save the existing user sessions and restore them at startup, but the old sessions are not compatible with the new classes. You could try to remove the saved sessions, but that really shouldn't cause the application to stop working. -- Sergiu Dumitriu http://purl.org/net/sergiu/
Thanks Sergiu.. Yea forgot mysql connector.. but that was only part of it. Xwiki-3.0 would not start with the balsamiq mockups jar.. I had to remove it and its configuration mods then tomcat started right up. I'm up and running on 3.0 now .. but some wierdness.. I'm not seeing the Administration page as is displayed in the release notes section.. I can see Administration but there is no structure to it... (No CSS) just a single column, something like this.. o Configuration o Edit Mode Settings o Localization o Email ..... Not very pretty :-) functional yes but not pretty. What page got botched during the xar import? Is it safe to import the 3.0 xar again over top? ------ thanks kevin.foote On Sat, 16 Apr 2011, Sergiu Dumitriu wrote: -> On 04/15/2011 10:06 PM, Kevin P. Foote wrote: -> > -> > Hi all just no getting around to upgrading xwiki.. This is my first -> > attempt at an xwiki upgrade.. Not a pretty outcome :-( -> > stack below -> > -> > I've copied over my xwiki.cfg, xwiki.properties, and hibernate.cfg.xml -> > from my 2.7.1 xwiki instance. -> -> Did you also copy the database connector jar? -> -> > I verified xwiki.store.migration=1 is set is there any other hibernate -> > things I need to uncomment? I cant see anything in the release notes -> > that I should have done different.. -> > -> -> > SEVERE: Exception loading sessions from persistent storage -> > java.io.InvalidClassException: com.xpn.xwiki.objects.BaseElement; local -> > class incompatible: stream classdesc serialVersionUID = -> > 7375085244707397057, local class serialVersionUID = 8286109986904027210 -> -> This shouldn't affect the startup. It just means that Tomcat tried to -> save the existing user sessions and restore them at startup, but the old -> sessions are not compatible with the new classes. You could try to -> remove the saved sessions, but that really shouldn't cause the -> application to stop working. -> -> -- -> Sergiu Dumitriu -> http://purl.org/net/sergiu/ -> _______________________________________________ -> users mailing list -> [email protected] -> http://lists.xwiki.org/mailman/listinfo/users ->
On Apr 18, 2011, at 3:21 PM, Kevin P. Foote wrote:
Thanks Sergiu..
Yea forgot mysql connector.. but that was only part of it.
Xwiki-3.0 would not start with the balsamiq mockups jar.. I had to remove it and its configuration mods then tomcat started right up.
I'm up and running on 3.0 now .. but some wierdness..
I'm not seeing the Administration page as is displayed in the release notes section..
I can see Administration but there is no structure to it... (No CSS)
Try refreshing your browser cache... Thanks -Vincent
just a single column, something like this..
o Configuration o Edit Mode Settings o Localization o Email .....
Not very pretty :-) functional yes but not pretty. What page got botched during the xar import?
Is it safe to import the 3.0 xar again over top?
------ thanks kevin.foote
On Sat, 16 Apr 2011, Sergiu Dumitriu wrote:
-> On 04/15/2011 10:06 PM, Kevin P. Foote wrote: -> > -> > Hi all just no getting around to upgrading xwiki.. This is my first -> > attempt at an xwiki upgrade.. Not a pretty outcome :-( -> > stack below -> > -> > I've copied over my xwiki.cfg, xwiki.properties, and hibernate.cfg.xml -> > from my 2.7.1 xwiki instance. -> -> Did you also copy the database connector jar? -> -> > I verified xwiki.store.migration=1 is set is there any other hibernate -> > things I need to uncomment? I cant see anything in the release notes -> > that I should have done different.. -> > -> -> > SEVERE: Exception loading sessions from persistent storage -> > java.io.InvalidClassException: com.xpn.xwiki.objects.BaseElement; local -> > class incompatible: stream classdesc serialVersionUID = -> > 7375085244707397057, local class serialVersionUID = 8286109986904027210 -> -> This shouldn't affect the startup. It just means that Tomcat tried to -> save the existing user sessions and restore them at startup, but the old -> sessions are not compatible with the new classes. You could try to -> remove the saved sessions, but that really shouldn't cause the -> application to stop working. -> -> -- -> Sergiu Dumitriu -> http://purl.org/net/sergiu/
Vincent.. Just read back a few posts found same query .. yea that did it .. sorry for the noise. ------ thanks kevin.foote On Mon, 18 Apr 2011, Vincent Massol wrote: -> -> On Apr 18, 2011, at 3:21 PM, Kevin P. Foote wrote: -> -> > -> > Thanks Sergiu.. -> > -> > Yea forgot mysql connector.. but that was only part of it. -> > -> > Xwiki-3.0 would not start with the balsamiq mockups jar.. I had to remove it and its -> > configuration mods then tomcat started right up. -> > -> > I'm up and running on 3.0 now .. but some wierdness.. -> > -> > I'm not seeing the Administration page as is displayed in the release -> > notes section.. -> > -> > I can see Administration but there is no structure to it... (No CSS) -> -> Try refreshing your browser cache... -> -> Thanks -> -Vincent -> -> > -> > just a single column, something like this.. -> > -> > o Configuration -> > o Edit Mode Settings -> > o Localization -> > o Email -> > ..... -> > -> > Not very pretty :-) functional yes but not pretty. What page got botched -> > during the xar import? -> > -> > Is it safe to import the 3.0 xar again over top? -> > -> > -> > ------ -> > thanks -> > kevin.foote -> > -> > On Sat, 16 Apr 2011, Sergiu Dumitriu wrote: -> > -> > -> On 04/15/2011 10:06 PM, Kevin P. Foote wrote: -> > -> > -> > -> > Hi all just no getting around to upgrading xwiki.. This is my first -> > -> > attempt at an xwiki upgrade.. Not a pretty outcome :-( -> > -> > stack below -> > -> > -> > -> > I've copied over my xwiki.cfg, xwiki.properties, and hibernate.cfg.xml -> > -> > from my 2.7.1 xwiki instance. -> > -> -> > -> Did you also copy the database connector jar? -> > -> -> > -> > I verified xwiki.store.migration=1 is set is there any other hibernate -> > -> > things I need to uncomment? I cant see anything in the release notes -> > -> > that I should have done different.. -> > -> > -> > -> -> > -> > SEVERE: Exception loading sessions from persistent storage -> > -> > java.io.InvalidClassException: com.xpn.xwiki.objects.BaseElement; local -> > -> > class incompatible: stream classdesc serialVersionUID = -> > -> > 7375085244707397057, local class serialVersionUID = 8286109986904027210 -> > -> -> > -> This shouldn't affect the startup. It just means that Tomcat tried to -> > -> save the existing user sessions and restore them at startup, but the old -> > -> sessions are not compatible with the new classes. You could try to -> > -> remove the saved sessions, but that really shouldn't cause the -> > -> application to stop working. -> > -> -> > -> -- -> > -> Sergiu Dumitriu -> > -> http://purl.org/net/sergiu/ -> _______________________________________________ -> users mailing list -> [email protected] -> http://lists.xwiki.org/mailman/listinfo/users ->
participants (3)
-
Kevin P. Foote -
Sergiu Dumitriu -
Vincent Massol