CDV ❯ The eclipse plugin should upgrade the boot jar when it's out of sync after an upgrade of Terracotta
-
New Feature
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
Eclipse Plugin
-
-
prodmgmt
-
Reporter:
-
August 14, 2008
-
0
-
Watchers: 0
-
July 27, 2012
-
August 19, 2008
Description
I upgraded the eclipse plugin and got this error:
2008-08-14 17:48:51,979 INFO - Terracotta 2.6.2, as of 20080626-150627 (Revision 8952 by cruise@rh4mo0 from 2.6) 2008-08-14 17:48:52,567 INFO - Configuration loaded from the file at ‘/Users/orion/Documents/workspace/locking-examples/tc-config.xml’. 2008-08-14 17:48:52,770 INFO - Log file: ‘/Users/orion/Documents/workspace/locking-examples/terracotta/client-logs/terracotta-client.log’. java.lang.reflect.InvocationTargetException 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:585) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.createGlobalContext(ClassProcessorHelper.java:627) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.init(ClassProcessorHelper.java:417) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.systemLoaderInitialized(ClassProcessorHelper.java:805) at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1382) at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1341) Caused by: com.tc.config.schema.setup.ConfigurationSetupException: ******************************************************************************* com.tc.object.tools.InvalidBootJarMetaDataException: Incompatible DSO meta data: tcversion; expected ‘2.6.2’ but was (in boot jar): ‘2.6.0’ *******************************************************************************
at com.tc.object.config.StandardDSOClientConfigHelperImpl.<init>(StandardDSOClientConfigHelperImpl.java:283)
at com.tc.object.config.StandardDSOClientConfigHelperImpl.<init>(StandardDSOClientConfigHelperImpl.java:199)
at com.tc.object.bytecode.hook.impl.DSOContextImpl.getGlobalConfigHelper(DSOContextImpl.java:203)
at com.tc.object.bytecode.hook.impl.DSOContextImpl.createGlobalContext(DSOContextImpl.java:62)
... 9 more Caused by: java.lang.RuntimeException: com.tc.object.tools.InvalidBootJarMetaDataException: Incompatible DSO meta data: tcversion; expected '2.6.2' but was (in boot jar): '2.6.0'
at com.tc.object.config.StandardDSOClientConfigHelperImpl.doAutoconfig(StandardDSOClientConfigHelperImpl.java:814)
at com.tc.object.config.StandardDSOClientConfigHelperImpl.<init>(StandardDSOClientConfigHelperImpl.java:281)
... 12 more Caused by: com.tc.object.tools.InvalidBootJarMetaDataException: Incompatible DSO meta data: tcversion; expected '2.6.2' but was (in boot jar): '2.6.0'
at com.tc.object.tools.BootJar$BootJarMetaData.<init>(BootJar.java:382)
at com.tc.object.tools.BootJar.getBootJarForReading(BootJar.java:94)
at com.tc.object.tools.BootJar.getBootJarForReading(BootJar.java:77)
at com.tc.object.tools.BootJar.getDefaultBootJarForReading(BootJar.java:126)
at com.tc.object.config.StandardDSOClientConfigHelperImpl.doAutoconfig(StandardDSOClientConfigHelperImpl.java:800)
... 13 more
I have a fix for this ready to go.