JDK-6355051 : BEA 9.0 server can't start due to incompatible serialVersion UID in javax.xml.namespace.QName
  • Type: Bug
  • Component: xml
  • Sub-Component: jaxp
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2003
  • CPU: x86
  • Submitted: 2005-11-23
  • Updated: 2012-06-08
  • Resolved: 2005-11-29
Related Reports
Duplicate :  
Description
Using Mustang b59a, BEA 9.0 server startup failed due to incompatible serialVersion UID in javax.xml.namespace.QName. 

Here are the details of the messages when trying to start the BEA server:
-------------------------------------------------------------------------
<Nov 23, 2005 11:12:14 AM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Nov 23, 2005 11:12:14 AM PST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 
Client VM Version 1.6.0-beta-b59 from Sun Microsystems Inc.>
<Nov 23, 2005 11:12:16 AM PST> <Critical> <WebLogicServer> <BEA-000362> <Server
failed. Reason:weblogic.management.ManagementException: Parsing Failure - with n
ested exception:
[java.io.InvalidClassException: javax.xml.namespace.QName; local class incompati
ble: stream classdesc serialVersionUID = 4418622981026545151, local class serial
VersionUID = -9120448754896609940]>
<Nov 23, 2005 11:12:16 AM PST> <Notice> <WebLogicServer> <BEA-000365> <Server st
ate changed to FAILED>
<Nov 23, 2005 11:12:16 AM PST> <Error> <WebLogicServer> <BEA-000383> <A critical
 service failed. The server will shut itself down>
<Nov 23, 2005 11:12:16 AM PST> <Notice> <WebLogicServer> <BEA-000365> <Server st
ate changed to SHUTTING_DOWN

How to reproduce:
-----------------
1. telnet 10.5.16.16 (Please contact the submitter for the login)
2. cd D:/weblogic/dev/src/wls, execute the script to setup the environment:
. ./mydevenv.sh
3. cd D:/weblogic/dev/src/wls/tools/weblogic/qa/tests, execute the script to start server:
startserver.cmd
4. observe the failure messages from above.

Comments
EVALUATION his change went through CCC approval: 6267224: QName serialVersionUID change http://ccc.sfbay/6267224 as this is an intentional change to serialization behavior with CCC approval, I'm going to close the bug. see the CCC request for a discussion of compatibility. this change was actually done to preserve the most compatibility possible.
29-11-2005