Tuesday, October 1, 2013

BEA-000362 Server failed. Reason: Parsing Failure in config.xml: java.lang.IllegalArgumentException

Dear All,

Greetings...!!!!
This post i am writing after so long.. I hope you all are doing well.. 

Today we will be talking about Weblogic Error While starting weblogic Server. one of my friend stuck with below error while starting weblogic after monthly log purging. He had received below error in logs

"BEA-000362 Server failed. Reason: Parsing Failure in config.xml: java.lang.IllegalArgumentException "

 
 After checking weblogic server we have found below solutions for the same.
Solution: -
This happens when MW_HOME is not defined and weblogic.jar is getting called twice in CLASSPATH. To fix this, check below two points :
  • Ensure weblogic.jar in CLASSPATH is not duplicated. You can check CLASSPATH section when it prints while starting.
  • Set MW_HOME either on unix shell or in startup scripts.
MW_HOME=/Weblogic/wls1036/

Start WebLogic now, it should work!

 Enjoy working with Middleware Technologies. If you have any queries kindly write me on middlewaresolution1@gmail.com

Regards,
Ajinkya Vichare

2 comments:

  1. * server administration, use the WebLogic Server *
    * console at http://:/console *
    ***************************************************
    ++ /usr/java/latest/bin/java -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Xms1024m -Xmx1024m -XX:MaxPermSize=500m -d64 -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0 -Dweblogic.system.BootIdentityFile=/app/oracle/ccb/OUCCB/splapp/security/boot.properties -Djava.security.auth.login.config=/app/oracle/ccb/OUCCB/splapp/config/java.login.config -Dweblogic.security.SSL.protocolVersion=TLS1 -Dweblogic.configuration.schemaValidationEnabled=false -classpath /app/oracle/ccb/OUCCB/splapp/standalone/lib/antlr-2.7.7.jar:/app/oracle/ccb/OUCCB/splapp/standalone/lib/xalan-2.7.2.jar:/app/oracle/ccb/OUCCB/splapp/standalone/lib/serializer-2.7.2.jar:/usr/java/latest/lib/tools.jar:/app/oracle/biee/wlserver/server:/app/oracle/biee/wlserver/server/lib/weblogic_sp.jar:/app/oracle/biee/wlserver/server/lib/weblogic.jar -Dweblogic.Name=myserver -Dbea.home=/app/oracle/ccb/OUCCB/product/bea -Dweblogic.ProductionModeEnabled=false -Djava.security.policy=/app/oracle/biee/wlserver/server/lib/weblogic.policy weblogic.Server
    Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=500m; support was removed in 8.0



    <"ResourceManagement" is not enabled in this JVM. Enable "ResourceManagement" to use the WebLogic Server "Resource Consumption Management" feature. To enable "ResourceManagement", you must specify the following JVM options in the WebLogic Server instance in which the JVM runs: -XX:+UnlockCommercialFeatures -XX:+ResourceManagement.>

    <Server subsystem failed. Reason: A MultiException has 9 exceptions. They are:
    1. weblogic.management.provider.internal.RuntimeAccessImpl$ParseException: [Management:141266]Parsing failure in config.xml: java.lang.IllegalArgumentException: The provider Provider already exists.
    2. java.lang.IllegalStateException: Unable to perform operation: create on weblogic.management.provider.internal.RuntimeAccessImpl
    3. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.management.provider.internal.RuntimeAccessService
    4. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.t3.srvr.FinalThreadLocalService errors were found
    5. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.t3.srvr.FinalThreadLocalService
    6. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.t3.srvr.BootService errors were found
    7. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.t3.srvr.BootService
    8. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.server.PartitionRuntimeBuilderService errors were found
    9. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.server.PartitionRuntimeBuilderService

    ReplyDelete
  2. Hi Ajinkya,

    we are getting below error for one of the Admin server while starting. Please help me on this.
    rity.allowCryptoJDefaultPRNG=true>
    <
    *******
    *
    * The selected version of Java, 1.6.0_31, contains a known security flaw. Please upgrade to at least 1.6.0_141
    *
    *******
    >
    Dec 24, 2018 7:50:13 AM UTC Info WebLogicServer BEA-000377 Starting WebLogic Server with Oracle JRockit(R) Version R28.2.3-13-149708-1.6.0_31-20120327-1523-linux-x86_64 from Oracle Corporation
    Dec 24, 2018 7:50:14 AM UTC Info Management BEA-141107 Version: WebLogic Server 10.3.6.0.181016 PSU Patch for BUG28343311 FRI AUG 17 18:34:42 IST 2018
    WebLogic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050 Dec 24, 2018 7:50:15 AM UTC Critical WebLogicServer BEA-000362 <Server failed. Reason: Management:141266]Parsing Failure in config.xml: failed to load java type corresponding to e=domain@http://xmlns.oracle.com/weblogic/domain
    Dec 24, 2018 7:50:15 AM UTC Notice WebLogicServer BEA-000365 Server state changed to FAILED
    Dec 24, 2018 7:50:15 AM UTC Error WebLogicServer BEA-000383 A critical service failed. The server will shut itself down
    Dec 24, 2018 7:50:15 AM UTC Notice WebLogicServer BEA-000365 Server state changed to FORCE_SHUTTING_DOWN

    ReplyDelete