Discussion:
[Openjmx-devel] Weblogic
Carlos Quiroz
2002-01-24 13:13:30 UTC
Permalink
Hi all

I'm trying to run weblogic replacing the RI with openjmx but I found a very
disturbing exception

[java.io.InvalidClassException: javax.management.MBeanInfo; Local class not
compatible: stream classdesc serialVersionUID=-6451021435135161911 local
class serialVersionUID=-1032367222752819935]
at weblogic.management.internal.Helper.getMBeanInfo(Helper.java:209)
at
weblogic.management.internal.Helper.getAdminOrConfigMBeanInfo(Helper.java:106)
at
weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:105)
at weblogic.management.AdminServer.<init>(AdminServer.java:112)
at weblogic.management.Admin.initialize(Admin.java:218)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:359)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)

Is gues Weblogic has some serialized stuff and is not compatible with
OpenJMX's UID. Taking a look at the RI's code they don't have a
serialVersionUID and what's worse even if we could copy the same UID it
doesn't mean that the deserialization process will be the same. For that the
variable should be identical

Any opinions?

Carlos
Bordet, Simone
2002-01-24 14:23:06 UTC
Permalink
Hi,
Post by Carlos Quiroz
[java.io.InvalidClassException: javax.management.MBeanInfo;
Local class not
compatible: stream classdesc
serialVersionUID=-6451021435135161911 local
class serialVersionUID=-1032367222752819935]
[snip]
Post by Carlos Quiroz
Is gues Weblogic has some serialized stuff and is not compatible with
OpenJMX's UID. Taking a look at the RI's code they don't have a
serialVersionUID and what's worse even if we could copy the
same UID it
doesn't mean that the deserialization process will be the
same. For that the
variable should be identical
Any opinions?
We can take the serialVersionUID from the RI class and copy it in OpenJMX's, but then we have to handle serialization/deserialization by hand...
Carlos Quiroz
2002-01-24 16:09:02 UTC
Permalink
Post by Bordet, Simone
Hi,
Post by Carlos Quiroz
[java.io.InvalidClassException: javax.management.MBeanInfo;
Local class not
compatible: stream classdesc
serialVersionUID=-6451021435135161911 local
class serialVersionUID=-1032367222752819935]
[snip]
Post by Carlos Quiroz
Is gues Weblogic has some serialized stuff and is not compatible with
OpenJMX's UID. Taking a look at the RI's code they don't have a
serialVersionUID and what's worse even if we could copy the
same UID it
doesn't mean that the deserialization process will be the
same. For that the
variable should be identical
Any opinions?
We can take the serialVersionUID from the RI class and copy it in
OpenJMX's, but then we have to handle serialization/deserialization by
hand...
Yes, nasty business
Loading...