配置管理服务器与被管理服务器,启动管理服务器正常,但是启动被管理服务器时出现如下错误
Truncated. see log file for complete stacktrace
Caused By: weblogic.security.internal.encryption.EncryptionServiceException: com.rsa.jsafe.JSAFE_PaddingException: Invalid padding.
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:99)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
Truncated. see log file for complete stacktrace
Caused By: com.rsa.jsafe.JSAFE_PaddingException: Invalid padding.
at com.rsa.jsafe.JSAFE_SymmetricCipher.decryptFinal(Unknown Source)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:124)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:187)
at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:99)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
<2015-1-29 上午11时04分15秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>
<2015-1-29 上午11时04分15秒 CST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>
<2015-1-29 上午11时04分15秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>
这个错误应该是无法读取管理服务器密码照成的。修改管理服务器的config.xml。
<credential-encrypted>weblogic12</credential-encrypted>
<node-manager-username>weblogic</node-manager-username>
<node-manager-password-encrypted>weblogic12</node-manager-password-encrypted>
<embedded-ldap>
<name>base_domain</name>
<credential-encrypted>weblogic12</credential-encrypted>
</embedded-ldap>
其中weblogic12是我设置的密码,创建的域需要处于开发状态,这样才能读取明文密码。
再次启动,问题解决。
但是管理服务器的控制台出现了一个Warning,内容为:
<Warning> <DeploymentService> <BEA-290074> <Deployment service servlet received file download request for file "security/SerializedSystemIni.dat". The file may exist, but download of this file is not allowed.>
到现在依然不明白为什么出现这个Warning。如果大家遇到过这个问题,还请赐教。