Admin Server Startup Problem with "IllegalArgumentException: In production mode, it's not allowed to set a clear text value to the property: CredentialEncrypted of EmbeddedLDAPMBean" (Doc ID 1564034.1)

Last updated on AUGUST 25, 2017

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.

Symptoms

When attempting to start the server, the following error appears on startup.

$ ./startWebLogic.sh
.
.
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m  -XX:MaxPermSize=128m
.
WLS Start Mode=Development
.
CLASSPATH=/home/dralquinta/WLS/32/10.3.6/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/dralquinta/WLS/32/10.3.6/patch_oepe180/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/dralquinta/WLS/32/10.3.6/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/dralquinta/WLS/32/10.3.6/patch_adfr1111/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/dralquinta/WLS/32/10.3.6/jdk160_29/lib/tools.jar:/home/dralquinta/WLS/32/10.3.6/wlserver_10.3/server/lib/weblogic_sp.jar:/home/dralquinta/WLS/32/10.3.6/wlserver_10.3/server/lib/weblogic.jar:/home/dralquinta/WLS/32/10.3.6/modules/features/weblogic.server.modules_10.3.6.0.jar:/home/dralquinta/WLS/32/10.3.6/wlserver_10.3/server/lib/webservices.jar:/home/dralquinta/WLS/32/10.3.6/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/dralquinta/WLS/32/10.3.6/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/home/dralquinta/WLS/32/10.3.6/wlserver_10.3/common/derby/lib/derbyclient.jar:/home/dralquinta/WLS/32/10.3.6/wlserver_10.3/server/lib/xqrl.jar:/opt/desktop/orclobi
.
PATH=/home/dralquinta/WLS/32/10.3.6/wlserver_10.3/server/bin:/home/dralquinta/WLS/32/10.3.6/modules/org.apache.ant_1.7.1/bin:/home/dralquinta/WLS/32/10.3.6/jdk160_29/jre/bin:/home/dralquinta/WLS/32/10.3.6/jdk160_29/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/java/latest/bin:/opt/real/RealPlayer:/home/dralquinta/bin:/sbin:/usr/sbin:/usr/java/latest/bin:/opt/real/RealPlayer
.
***************************************************
*  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_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode)
Starting WLS with line:
/home/dralquinta/WLS/32/10.3.6/jdk160_29/bin/java -client   -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m  -XX:MaxPermSize=128m -Dweblogic.Name=AdminServer -Djava.security.policy=/home/dralquinta/WLS/32/10.3.6/wlserver_10.3/server/lib/weblogic.policy  -Xverify:none  -da -Dplatform.home=/home/dralquinta/WLS/32/10.3.6/wlserver_10.3 -Dwls.home=/home/dralquinta/WLS/32/10.3.6/wlserver_10.3/server -Dweblogic.home=/home/dralquinta/WLS/32/10.3.6/wlserver_10.3/server   -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/home/dralquinta/WLS/32/10.3.6/patch_wls1036/profiles/default/sysext_manifest_classpath:/home/dralquinta/WLS/32/10.3.6/patch_oepe180/profiles/default/sysext_manifest_classpath:/home/dralquinta/WLS/32/10.3.6/patch_ocp371/profiles/default/sysext_manifest_classpath:/home/dralquinta/WLS/32/10.3.6/patch_adfr1111/profiles/default/sysext_manifest_classpath  weblogic.Server
<Jun 20, 2013 5:32:33 PM CLT> <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 20, 2013 5:32:33 PM CLT> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<Jun 20, 2013 5:32:33 PM CLT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 20.4-b02 from Sun Microsystems Inc.>
<Jun 20, 2013 5:32:33 PM CLT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0  Tue Nov 15 08:52:36 PST 2011 1441050 >
<Jun 20, 2013 5:32:34 PM CLT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Jun 20, 2013 5:32:34 PM CLT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Jun 20, 2013 5:32:34 PM CLT> <Notice> <LoggingService> <BEA-320400> <The log file /home/dralquinta/WLS/32/10.3.6/user_projects/domains/3-7389558311/servers/AdminServer/logs/AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<Jun 20, 2013 5:32:34 PM CLT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /home/dralquinta/WLS/32/10.3.6/user_projects/domains/3-7389558311/servers/AdminServer/logs/AdminServer.log00008. Log messages will continue to be logged in /home/dralquinta/WLS/32/10.3.6/user_projects/domains/3-7389558311/servers/AdminServer/logs/AdminServer.log.>
<Jun 20, 2013 5:32:34 PM CLT> <Notice> <Log Management> <BEA-170019> <The server log file /home/dralquinta/WLS/32/10.3.6/user_projects/domains/3-7389558311/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
<Jun 20, 2013 5:32:35 PM CLT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Jun 20, 2013 5:32:38 PM CLT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError: weblogic.management.provider.EditFailedException:
java.lang.AssertionError: weblogic.management.provider.EditFailedException:
at weblogic.management.mbeanservers.domainruntime.internal.DomainRuntimeServiceMBeanImpl$SINGLETON.<init>(DomainRuntimeServiceMBeanImpl.java:79)
at weblogic.management.mbeanservers.domainruntime.internal.DomainRuntimeServiceMBeanImpl$SINGLETON.getInstance(DomainRuntimeServiceMBeanImpl.java:68)
at weblogic.management.mbeanservers.domainruntime.internal.DomainRuntimeServiceMBeanImpl.getDomainConfiguration(DomainRuntimeServiceMBeanImpl.java:132)
at weblogic.management.deploy.internal.DeploymentManagerImpl.initAppDeploymentRuntimes(DeploymentManagerImpl.java:239)
at weblogic.management.deploy.internal.DeploymentManagerImpl.<init>(DeploymentManagerImpl.java:81)
Truncated. see log file for complete stacktrace
Caused By: weblogic.management.provider.EditFailedException:
at weblogic.management.provider.internal.EditAccessImpl.ensureBeanTreeLoaded(EditAccessImpl.java:1838)
at weblogic.management.provider.internal.EditAccessImpl.getCurrentDomainBean(EditAccessImpl.java:241)
at weblogic.management.mbeanservers.domainruntime.internal.DomainRuntimeServiceMBeanImpl$SINGLETON.<init>(DomainRuntimeServiceMBeanImpl.java:76)
at weblogic.management.mbeanservers.domainruntime.internal.DomainRuntimeServiceMBeanImpl$SINGLETON.getInstance(DomainRuntimeServiceMBeanImpl.java:68)
at weblogic.management.mbeanservers.domainruntime.internal.DomainRuntimeServiceMBeanImpl.getDomainConfiguration(DomainRuntimeServiceMBeanImpl.java:132)
Truncated. see log file for complete stacktrace
Caused By: java.lang.IllegalArgumentException: In production mode, it's not allowed to set a clear text value to the property: CredentialEncrypted of EmbeddedLDAPMBean
at weblogic.management.configuration.EmbeddedLDAPMBeanImpl.setCredentialEncrypted(EmbeddedLDAPMBeanImpl.java:641)
at weblogic.management.configuration.EmbeddedLDAPMBeanImpl.setCredentialEncryptedAsString(EmbeddedLDAPMBeanImpl.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Truncated. see log file for complete stacktrace
>
<Jun 20, 2013 5:32:38 PM CLT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Jun 20, 2013 5:32:38 PM CLT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Jun 20, 2013 5:32:38 PM CLT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>

You may find a similar signature for the same problem, as described below:

<Jun 30, 2013 5:32:35 PM CLT> <Critical>  <WebLogicServer> <BEA-000386> <Server subsystem failed.  Reason: java.lang.AssertionError:  java.lang.reflect.InvocationTargetException
java.lang.AssertionError: java.lang.reflect.InvocationTargetException
at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy._invokeServiceMethod(DescriptorManager.java:175)
at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy.decrypt(DescriptorManager.java:192)
at weblogic.descriptor.DescriptorManager$SecurityServiceImpl.decrypt(DescriptorManager.java:114)
at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(AbstractDescriptorBean.java:1092)
at weblogic.management.configuration.SecurityConfigurationMBeanImpl.getCredential(SecurityConfigurationMBeanImpl.java:737)
Truncated. see log file for complete stacktrace
Caused By: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy._invokeServiceMethod(DescriptorManager.java:173)
Truncated. see log file for complete stacktrace
Caused By: weblogic.security.internal.encryption.EncryptionServiceException
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:139)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:187)
at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
Truncated. see log file for complete stacktrace

Notice that problem happens even if we manually overload the value of <production-mode-enabled> to false, as server does not fall back to Development Mode correctly.

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms