BEA WebLogic Server 9.2 application server refuses to start with Java Virtual Ma

Question
Depending on the version of the Java™ Virtual machine (JVM), the WebLogic Server application server refuses to start after the profile has been deployed.
 
 
Cause
During the start of the WebLogic Server application server, the following error occurs:

weblogic.management.ManagementException: [Management:141266] Parsing Failure in config.xml:javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = 4418622981026545151

This issue is specific to WebLogic Server 9.2. The error occurs with various versions of JVMs when WebLogic Server 9.2 is installed.
 
 
Answer
In the startWeblogic.sh file, located inside the profile directory, JAVA_OPTIONS need to be appended with an extra option. The path to this file should be:
bea_home/user_projects/domains/base_domain/bin

Append to the JAVA_OPTIONS as follows:

JAVA_OPTIONS = "${JAVA_OPTIONS} - Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0"

This change can be made after the following entry in the startWeblogic.sh script:

. ${DOMAIN_HOME}/bin/setDomainEnv.sh $*

猜你喜欢

转载自swvip.iteye.com/blog/762832