geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krishnakumar B" <www....@gmail.com>
Subject Testsuite error related to serialVersionUID
Date Thu, 21 Dec 2006 10:12:41 GMT
Hi,

I am trying to deploy daytrader using the testsuite. I get the
following error. The same ear and plan i am able to deploy
successfully using the console. Any thoughts on possible reasons for
this mismatch in UID.

[INFO] [INFO] java.rmi.UnmarshalException: error unmarshalling return; nested ex
ception is:
[INFO]  java.io.InvalidClassException: org.apache.geronimo.gbean.GOperationInfo;
 local class incompatible: stream classdesc serialVersionUID = 51855155811041929
76, local class serialVersionUID = -5593225815559931812
[INFO]
[INFO] [INFO] ------------------------------------------------------------------
------
[INFO] [INFO] Trace
[INFO] org.apache.maven.lifecycle.LifecycleExecutionException: java.rmi.Unmarsha
lException: error unmarshalling return; nested exception is:
[INFO]  java.io.InvalidClassException: org.apache.geronimo.gbean.GOperationInfo;
 local class incompatible: stream classdesc serialVersionUID = 51855155811041929
76, local class serialVersionUID = -5593225815559931812
[INFO]  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:559)
[INFO]  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:475)
[INFO]  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:454)
[INFO]  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
[INFO]  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
[INFO]  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
[INFO]  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
[INFO]  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
[INFO]  at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
[INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
[INFO]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
[INFO]  at java.lang.reflect.Method.invoke(Method.java:585)
[INFO]  at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
[INFO]  at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
[INFO]  at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

[INFO]  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] Caused by: org.apache.maven.plugin.MojoExecutionException: java.rmi.Unmar
shalException: error unmarshalling return; nested exception is:
[INFO]  java.io.InvalidClassException: org.apache.geronimo.gbean.GOperationInfo;
 local class incompatible: stream classdesc serialVersionUID = 51855155811041929
76, local class serialVersionUID = -5593225815559931812
[INFO]  at org.apache.geronimo.mavenplugins.geronimo.reporting.ReportingMojoSupp
ort.execute(ReportingMojoSupport.java:105)
[INFO]  at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
[INFO]  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
[INFO]  ... 16 more
[INFO] Caused by: org.apache.geronimo.kernel.InternalKernelException: java.rmi.U
nmarshalException: error unmarshalling return; nested exception is:
[INFO]  java.io.InvalidClassException: org.apache.geronimo.gbean.GOperationInfo;
 local class incompatible: stream classdesc serialVersionUID = 51855155811041929
76, local class serialVersionUID = -5593225815559931812
[INFO]  at org.apache.geronimo.system.jmx.KernelDelegate.getGBeanInfo(KernelDele
gate.java:616)
[INFO]  at org.apache.geronimo.kernel.basic.BasicProxyManager.getVisibleInterfac
es(BasicProxyManager.java:123)
[INFO]  at org.apache.geronimo.kernel.basic.BasicProxyManager.createProxy(BasicP
roxyManager.java:99)
[INFO]  at org.apache.geronimo.kernel.config.ConfigurationUtil.getConfigurationM
anager(ConfigurationUtil.java:260)
[INFO]  at org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager.initia
lize(JMXDeploymentManager.java:68)
[INFO]  at org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentManager.<in
it>(RemoteDeploymentManager.java:73)
[INFO]  at org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryImpl
.getDeploymentManager(DeploymentFactoryImpl.java:130)
[INFO]  at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.get
DeploymentManager(DeploymentFactoryManager.java:109)
[INFO]  at org.apache.geronimo.mavenplugins.geronimo.module.ModuleMojoSupport.ge
tDeploymentManager(ModuleMojoSupport.java:84)
[INFO]  at org.apache.geronimo.mavenplugins.geronimo.module.DeployModuleMojo.dis
tribute(DeployModuleMojo.java:148)
[INFO]  at org.apache.geronimo.mavenplugins.geronimo.module.DeployModuleMojo.doE
xecute(DeployModuleMojo.java:94)
[INFO]  at org.apache.geronimo.mavenplugins.geronimo.reporting.ReportingMojoSupp
ort.execute(ReportingMojoSupport.java:91)
[INFO]  ... 18 more
[INFO] Caused by: java.rmi.UnmarshalException: error unmarshalling return; neste
d exception is:
[INFO]  java.io.InvalidClassException: org.apache.geronimo.gbean.GOperationInfo;
 local class incompatible: stream classdesc serialVersionUID = 51855155811041929
76, local class serialVersionUID = -5593225815559931812
[INFO]  at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:157)
[INFO]  at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
[INFO]  at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Sou
rce)
[INFO]  at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.
invoke(RMIConnector.java:972)
[INFO]  at org.apache.geronimo.system.jmx.KernelDelegate.invokeKernel(KernelDele
gate.java:880)
[INFO]  at org.apache.geronimo.system.jmx.KernelDelegate.getGBeanInfo(KernelDele
gate.java:610)
[INFO]  ... 29 more
[INFO] Caused by: java.io.InvalidClassException: org.apache.geronimo.gbean.GOper
ationInfo; local class incompatible: stream classdesc serialVersionUID = 5185515
581104192976, local class serialVersionUID = -5593225815559931812
[INFO]  at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
[INFO]  at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:155
2)
[INFO]  at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
[INFO]  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
699)
[INFO]  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
[INFO]  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
[INFO]  at java.util.HashSet.readObject(HashSet.java:278)
[INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
[INFO]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
[INFO]  at java.lang.reflect.Method.invoke(Method.java:585)
[INFO]  at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946
)
[INFO]  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)

[INFO]  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
719)
[INFO]  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
[INFO]  at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:19
08)
[INFO]  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)

[INFO]  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
719)
[INFO]  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
[INFO]  at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:19
08)
[INFO]  at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:47
9)
[INFO]  at org.apache.geronimo.gbean.GBeanInfo.readObject(GBeanInfo.java:283)
[INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
[INFO]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
[INFO]  at java.lang.reflect.Method.invoke(Method.java:585)
[INFO]  at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946
)
[INFO]  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)

[INFO]  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
719)
[INFO]  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
[INFO]  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
[INFO]  at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:290)
[INFO]  at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:139)
[INFO]  ... 34 more

Regards
Krish

Mime
View raw message