6 Replies Latest reply: Jun 15, 2012 3:19 AM by Ashishshinde-Oracle RSS

    Error while starting WLS server

    ManikandaPrabhu
      Hi,

      Am getting the below error

      starting weblogic with Java version:
      java version "1.6.0_20"
      Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
      Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
      Starting WLS with line:
      C:\PROGRA~1\Java\JDK16~1.0_2\bin\java -client -Xms256m -Xmx512m -XX:CompileThr
      eshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Dweblogic.Name=myserver -Dja

      .
      .
      .

      <Jun 14, 2012 5:26:19 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogi
      c Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050 >
      <Jun 14, 2012 5:26:19 PM IST> <Critical> <WebLogicServer> <BEA-000362>
      <Server f ailed. Reason: [Management:141266]Parsing Failure in config.xml: java.lang.IllegalArgumentException: The provider Provider already exists>
      <Jun 14, 2012 5:26:19 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server sta
      te changed to FAILED>
      <Jun 14, 2012 5:26:19 PM IST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
      <Jun 14, 2012 5:26:19 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server sta
      te changed to FORCE_SHUTTING_DOWN>



      This is very urgent and I need help to solve this.

      Please reply back soon
        • 1. Re: Error while starting WLS server
          ManikandaPrabhu
          this is the config.xml


          <?xml version='1.0' encoding='UTF-8'?>
          <domain xmlns="http://xmlns.oracle.com/weblogic/domain" xmlns:sec="http://xmlns.oracle.com/weblogic/security" xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/security/xacml http://xmlns.oracle.com/weblogic/security/xacml/1.0/xacml.xsd http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator/1.0/passwordvalidator.xsd http://xmlns.oracle.com/weblogic/domain http://xmlns.oracle.com/weblogic/1.0/domain.xsd http://xmlns.oracle.com/weblogic/security http://xmlns.oracle.com/weblogic/1.0/security.xsd http://xmlns.oracle.com/weblogic/security/wls http://xmlns.oracle.com/weblogic/security/wls/1.0/wls.xsd">
          <name>mydomain</name>
          <domain-version>10.3.6.0</domain-version>
          <security-configuration>
          <name>mydomain</name>
          <realm>
          <sec:authentication-provider xsi:type="wls:default-authenticatorType"></sec:authentication-provider>
          <sec:authentication-provider xsi:type="wls:default-identity-asserterType">
          <sec:active-type>AuthenticatedUser</sec:active-type>
          </sec:authentication-provider>
          <sec:role-mapper xmlns:xac="http://xmlns.oracle.com/weblogic/security/xacml" xsi:type="xac:xacml-role-mapperType"></sec:role-mapper>
          <sec:authorizer xmlns:xac="http://xmlns.oracle.com/weblogic/security/xacml" xsi:type="xac:xacml-authorizerType"></sec:authorizer>
          <sec:adjudicator xsi:type="wls:default-adjudicatorType"></sec:adjudicator>
          <sec:credential-mapper xsi:type="wls:default-credential-mapperType"></sec:credential-mapper>
          <sec:cert-path-provider xsi:type="wls:web-logic-cert-path-providerType"></sec:cert-path-provider>
          <sec:cert-path-builder>WebLogicCertPathProvider</sec:cert-path-builder>
          <sec:name>myrealm</sec:name>
          <sec:password-validator xmlns:pas="http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator" xsi:type="pas:system-password-validatorType">
          <sec:name>SystemPasswordValidator</sec:name>
          <pas:min-password-length>8</pas:min-password-length>
          <pas:min-numeric-or-special-characters>1</pas:min-numeric-or-special-characters>
          </sec:password-validator>
          </realm>
          <default-realm>myrealm</default-realm>
          <credential-encrypted>{AES}DO7UStBZljQz8xV6biUOFJqdK5gsj1D1riTUGbO7Il4FWYqlhurBQqPIDqAINVjswiUuNnqW6Fgh0Q5w4DUkQRmdVVHObsY/RXP7geTmt3Ps3eW3s/ucrlxdMYGzv8Y/</credential-encrypted>
          <node-manager-username>weblogic</node-manager-username>
          <node-manager-password-encrypted>{AES}+mvIGJfWsqWkZekqkwYV6gc9tsY7DPmRWa/avipt80U=</node-manager-password-encrypted>
          </security-configuration>
          <server>
          <name>myserver</name>
          <listen-address></listen-address>
          </server>
          <embedded-ldap>
          <name>mydomain</name>
          <credential-encrypted>{AES}yVDi5dwjQzQyCxCHXqjB4h3brKgkcLEgHP/3nu0yf81UC/t27TfkQuFjKl8cxm7r</credential-encrypted>
          </embedded-ldap>
          <configuration-version>10.3.6.0</configuration-version>
          <app-deployment>
          <name>demantra_new2</name>
          <target>myserver</target>
          <module-type>war</module-type>
          <source-path>D:\Oracle_Demantra_Spectrum_122\Collaborator\demantra_new2.war</source-path>
          <security-dd-model>DDOnly</security-dd-model>
          </app-deployment>
          <app-deployment>
          <name>demantra_JUNE14</name>
          <target>myserver</target>
          <module-type>war</module-type>
          <source-path>D:\Oracle_Demantra_Spectrum_122\Collaborator\demantra_JUNE14.war</source-path>
          <security-dd-model>DDOnly</security-dd-model>
          </app-deployment>
          <library>
          <name>api</name>
          <target>myserver</target>
          <module-type xsi:nil="true"></module-type>
          <source-path>C:\Oracle\Middlewareforweblogic\wlserver_10.3\server\lib\api.jar</source-path>
          <deployment-principal-name>api</deployment-principal-name>
          <security-dd-model>DDOnly</security-dd-model>
          </library>
          <library>
          <name>javax.servlet.jsp.jstl#1.2@1.2</name>
          <target>myserver</target>
          <module-type xsi:nil="true"></module-type>
          <source-path>D:\Oracle_Demantra_Spectrum_122\Collaborator\Tomcat\lib\jstl-1.2.jar</source-path>
          <deployment-principal-name>jstl</deployment-principal-name>
          <security-dd-model>DDOnly</security-dd-model>
          </library>
          <library>
          <name>jstl#1.2@1.2.0.1</name>
          <target>myserver</target>
          <module-type>war</module-type>
          <source-path>C:\Oracle\Middlewareforweblogic\wlserver_10.3\common\deployable-libraries\jstl-1.2.war</source-path>
          <security-dd-model>DDOnly</security-dd-model>
          </library>
          <admin-server-name>myserver</admin-server-name>
          <jdbc-system-resource>
          <name>JDBC Data Source-0</name>
          <target>myserver</target>
          <descriptor-file-name>jdbc/JDBC_Data_Source-0-3407-jdbc.xml</descriptor-file-name>
          </jdbc-system-resource>
          </domain>

          Edited by: Manikanda Prabhu on Jun 14, 2012 5:03 AM
          • 2. Re: Error while starting WLS server
            Ashishshinde-Oracle
            Hi Mani,

            This seems that there is some conflicts with the old version with the new version installations.

            Can you please provide the complete classpath and path from the Stdout.

            GD,
            Ashish
            • 3. Re: Error while starting WLS server
              ManikandaPrabhu
              Hi Ashish,

              Am new to this. .what is that STDOUT mean in this scenario?

              Thanks,
              Prabhu
              • 4. Re: Error while starting WLS server
                Ashishshinde-Oracle
                Hi Mani,

                In Simple words, stdout is logging happening on the command prompt when u run the script startWebLogic.cmd.

                You will see the classpath and path= in that, provide these things.

                Hope I am clear.

                GD,
                Ashish Shinde
                • 5. Re: Error while starting WLS server
                  ManikandaPrabhu
                  Here is the output

                  .
                  JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=
                  48m -XX:MaxPermSize=128m
                  .
                  WLS Start Mode=Development
                  .
                  CLASSPATH=C:\PROGRA~1\Java\JDK16~1.0_2\lib\tools.jar;D:\wlserver\server\lib\webl
                  ogic_sp.jar;D:\wlserver\server\lib\weblogic.jar;D:\modules\features\weblogic.ser
                  ver.modules_10.3.6.0.jar;D:\wlserver\server\lib\webservices.jar;D:\modules\org.a
                  pache.ant_1.7.1/lib/ant-all.jar;D:\modules\net.sf.antcontrib_1.1.0.0_1-0b2/lib/a
                  nt-contrib.jar;D:\wlserver\common\derby\lib\derbyclient.jar;D:\wlserver\server\l
                  ib\xqrl.jar;C:\PROGRA~1\Java\JDK16~1.0_2\lib\tools.jar;D:\PROJEC~1\ORACLE~1\WLS1
                  03~1\wlserver\server\lib\weblogic_sp.jar;D:\PROJEC~1\ORACLE~1\WLS103~1\wlserver\
                  server\lib\weblogic.jar;D:\PROJEC~1\ORACLE~1\WLS103~1\modules\features\weblogic.
                  server.modules_10.3.6.0.jar;D:\PROJEC~1\ORACLE~1\WLS103~1\wlserver\server\lib\we
                  bservices.jar;D:\PROJEC~1\ORACLE~1\WLS103~1\modules\ORGAPA~1.1/lib/ant-all.jar;D
                  :\PROJEC~1\ORACLE~1\WLS103~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\TimesTe
                  n\TT1122~1\lib\ttjdbc6.jar;.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
                  .
                  PATH=;D:\wlserver\server\native\win\32;D:\wlserver\server\bin;D:\modules\org.apa
                  che.ant_1.7.1\bin;C:\PROGRA~1\Java\JDK16~1.0_2\jre\bin;C:\PROGRA~1\Java\JDK16~1.
                  0_2\bin;;D:\PROJEC~1\ORACLE~1\WLS103~1\wlserver\server\native\win\32;D:\PROJEC~1
                  \ORACLE~1\WLS103~1\wlserver\server\bin;D:\PROJEC~1\ORACLE~1\WLS103~1\modules\ORG
                  APA~1.1\bin;C:\PROGRA~1\Java\JDK16~1.0_2\jre\bin;C:\PROGRA~1\Java\JDK16~1.0_2\bi
                  n;C:\TimesTen\TT1122~1\bin;C:\TimesTen\TT1122~1\ttoracle_home\instantclient_11_2
                  ;C:\Program Files\Oracle Demantra Spectrum\Demand Planner\Desktop;C:\Program Fil
                  es\Oracle Demantra Spectrum\Demand Planner\Security Management;C:\Program Files\
                  Oracle Demantra Spectrum\DemandPlanner\Analytical Engines\bin;C:\Program Files\O
                  racle Demantra Spectrum\Collaborator\demantra\optimization\dll;D:\app\mpmurali\p
                  roduct\11.1.0\db_1\bin;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDO
                  WS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Progra
                  m Files\Java\jre1.5.0_22\bin;C:\Program Files\Java\jdk1.6.0_20\bin;C:\Program Fi
                  les\QuickTime\QTSystem\;;D:\PROJEC~1\ORACLE~1\WLS103~1\wlserver\server\native\wi
                  n\32\oci920_8;;D:\wlserver\server\native\win\32\oci920_8
                  .
                  ***************************************************
                  * To start WebLogic Server, use a username and *
                  * password assigned to an admin-level user. For *
                  * server administration, use the WebLogic Server *
                  * console at http:\\hostname:port\console *
                  ***************************************************
                  starting weblogic with Java version:
                  java version "1.6.0_20"
                  Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
                  Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
                  Starting WLS with line:
                  C:\PROGRA~1\Java\JDK16~1.0_2\bin\java -client -Xms256m -Xmx512m -XX:CompileThr
                  eshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Dweblogic.Name=myserver -Dja
                  va.security.policy=D:\wlserver\server\lib\weblogic.policy -Xverify:none -da -D
                  platform.home=D:\wlserver -Dwls.home=D:\wlserver\server -Dweblogic.home=D:\wlser
                  ver\server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.test
                  Console= -Dwlw.logErrorsToConsole= weblogic.Server
                  <Jun 15, 2012 1:01:57 PM IST> <Info> <Security> <BEA-090905> <Disabling CryptoJ
                  JCE Provider self-integrity check for better startup performance. To enable this
                  check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
                  <Jun 15, 2012 1:01:58 PM IST> <Info> <Security> <BEA-090906> <Changing the defau
                  lt Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable
                  this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
                  <Jun 15, 2012 1:01:59 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting Web
                  Logic Server with Java HotSpot(TM) Client VM Version 16.3-b01 from Sun Microsyst
                  ems Inc.>
                  <Jun 15, 2012 1:02:01 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogi
                  c Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050 >
                  <Jun 15, 2012 1:02:04 PM IST> <Critical> <WebLogicServer> <BEA-000362> <Server f
                  ailed. Reason: [Management:141266]Parsing Failure in config.xml: java.lang.Illeg
                  alArgumentException: The provider Provider already exists>
                  <Jun 15, 2012 1:02:04 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server sta
                  te changed to FAILED>
                  <Jun 15, 2012 1:02:04 PM IST> <Error> <WebLogicServer> <BEA-000383> <A critical
                  service failed. The server will shut itself down>
                  <Jun 15, 2012 1:02:04 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server sta
                  te changed to FORCE_SHUTTING_DOWN>
                  • 6. Re: Error while starting WLS server
                    Ashishshinde-Oracle
                    Hi,

                    when check the classpath u can see duplicate .jar's loaded

                    D:\wlserver\server\lib\weblogic_sp.jar;D:\wlserver\server\lib\weblogic.jar;
                    D:\PROJEC~1\ORACLE~1\WLS103~1\wlserver\server\lib\weblogic_sp.jar;D:\PROJEC~1\ORACLE~1\WLS103~1\wlserver\server\lib\weblogic.jar;
                    Check if you have any other installation and you have set the classpath twice somewhere like:
                    My Computer > Properties > Advanced > Environment Variable > System Variables.
                    Hoping after this changes should fix this issue.

                    GD,
                    Ashish