(1) Problem:
Today, I accidentally deleted a server directory under WebLogic, on the premise that the server is stopped by wood, and then quickly re-established on the console, but it is too late, the log is as follows:
<05:41:06 P.M. CST> <notice> <weblogicserver> <BEA-000365> <server state changed to starting>
<05:41:06 P.M. CST> <info> <workmanager> <BEA-002900> <initializing self-tuning thread pool>
<05:41:06 P.M. CST> <notice> <log management> <BEA-170019> <the server log file/home/zhuying/opt/BEA/user_projects/domains/base_domain/servers/MamdbServer-233/logs /MamdbServer-233.log is opened. all server side log events will be written to this file.>
<05:41:07 P.M. CST> <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: 990)
At weblogic. Management. configuration. securityconfigurationmbeanimpl. getcredential (securityconfigurationmbeanimpl. Java: 704)
Truncated. See log file for complete stacktrace
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
Weblogic. Security. Internal. Encryption. encryptionserviceexception: COM. RSA. jsafe. jsafe_paddingexception: cocould not perform unpadding: Invalid pad byte.
At weblogic. Security. Internal. Encryption. jsafeencryptionserviceimpl. decryptbytes (jsafeencryptionserviceimpl. Java: 78)
At weblogic. Security. Internal. Encryption. jsafeencryptionserviceimpl. decryptstring (jsafeencryptionserviceimpl. Java: 94)
At weblogic. Security. Internal. Encryption. clearorencryptedservice. decrypt (clearorencryptedservice. Java: 87)
At sun. Reflect. nativemethodaccessorimpl. invoke0 (native method)
At sun. Reflect. nativemethodaccessorimpl. Invoke (nativemethodaccessorimpl. Java: 39)
Truncated. See log file for complete stacktrace
Com. RSA. jsafe. jsafe_paddingexception: cocould not perform unpadding: Invalid pad byte.
At com. RSA. jsafe. ja_pkcs5padding.a (unknown source)
At com. RSA. jsafe. jg_blockcipher.decryptfinal (unknown source)
At weblogic. Security. Internal. Encryption. jsafeencryptionserviceimpl. decryptbytes (jsafeencryptionserviceimpl. Java: 68)
At weblogic. Security. Internal. Encryption. jsafeencryptionserviceimpl. decryptstring (jsafeencryptionserviceimpl. Java: 94)
At weblogic. Security. Internal. Encryption. clearorencryptedservice. decrypt (clearorencryptedservice. Java: 87)
Truncated. See log file for complete stacktrace
>
<05:41:07 P.M. CST> <notice> <weblogicserver> <BEA-000365> <server state changed to failed>
<05:41:07 P.M. CST> <error> <weblogicserver> <BEA-000383> <a critical service failed. The server will shut itself down>
<05:41:07 P.M. CST> <notice> <weblogicserver> <BEA-000365> <server state changed to force_shutting_down>
If there is a way for me to restart adminserver, but it cannot be started, the prompt is as follows (which means there is a problem during type conversion ):
<06:33:01 P.M. CST> <notice> <weblogicserver> <BEA-000365> <server state changed to starting>
<06:33:01 P.M. CST> <info> <workmanager> <BEA-002900> <initializing self-tuning thread pool>
<06:33:01 P.M. CST> <notice> <log management> <BEA-170019> <the server log file/home/zhuying/opt/BEA/user_projects/domains/base_domain/servers/adminserver/logs /adminserver. log is opened. all server side log events will be written to this file.>
<06:33:02 P.M. CST> <critical> <weblogicserver> <BEA-000386> <Server Subsystem failed. Reason: Java. Lang.AssertionError: Java. Lang. reflect.Invocationtargetexception [Call target exception]
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: 990)
At weblogic. Management. configuration. securityconfigurationmbeanimpl. getcredential (securityconfigurationmbeanimpl. Java: 704)
Truncated. See log file for complete stacktrace
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
Weblogic. Security. Internal. Encryption. encryptionserviceexception: COM. RSA. jsafe. jsafe_paddingexception: cocould not perform unpadding: Invalid pad byte.
At weblogic. Security. Internal. Encryption. jsafeencryptionserviceimpl. decryptbytes (jsafeencryptionserviceimpl. Java: 78)
At weblogic. Security. Internal. Encryption. jsafeencryptionserviceimpl. decryptstring (jsafeencryptionserviceimpl. Java: 94)
At weblogic. Security. Internal. Encryption. clearorencryptedservice. decrypt (clearorencryptedservice. Java: 87)
At sun. Reflect. nativemethodaccessorimpl. invoke0 (native method)
At sun. Reflect. nativemethodaccessorimpl. Invoke (nativemethodaccessorimpl. Java: 39)
Truncated. See log file for complete stacktrace
Com. RSA. jsafe. jsafe_paddingexception: cocould not perform unpadding: Invalid pad byte.
At com. RSA. jsafe. ja_pkcs5padding.a (unknown source)
At com. RSA. jsafe. jg_blockcipher.decryptfinal (unknown source)
At weblogic. Security. Internal. Encryption. jsafeencryptionserviceimpl. decryptbytes (jsafeencryptionserviceimpl. Java: 68)
At weblogic. Security. Internal. Encryption. jsafeencryptionserviceimpl. decryptstring (jsafeencryptionserviceimpl. Java: 94)
At weblogic. Security. Internal. Encryption. clearorencryptedservice. decrypt (clearorencryptedservice. Java: 87)
Truncated. See log file for complete stacktrace
>
<06:33:02 P.M. CST> <notice> <weblogicserver> <BEA-000365> <server state changed to failed>
<06:33:02 P.M. CST> <error> <weblogicserver> <BEA-000383> <a critical service failed. The server will shut itself down>
<06:33:02 P.M. CST> <notice> <weblogicserver> <BEA-000365> <server state changed to force_shutting_down>
(2) solution: [You can copy a configuration similar to the config. xml file to overwrite it ~]
Symptoms [Symptom]
After an outage or unexpected physical machine shutdown WebLogic does not start.
If you see this error when Admin Server is starting, or the following exception is thrown:
<Critical> <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)
Reason:
The file serializedsystemini. dat has become upload upted. this file contains the hash to decrypt the encrypted credential values if the config. XML. so, the admin server will not start because is not able to decrypt the credential and perform authentication properly. [meaning serializedsystemini. the DAT file is corrupted and contains decrypted config. the hash value of the XML Information credential. Because the credential cannot be decrypted and the authentication is performed correctly, the admin
Server cannot start ~]
Location of the file:
$ Domain_home/yourdomain/security/serializedsystemini. dat
Resolution:
The specified upted hash values must be replaced.
1. Edit all the encrypted values in the config. XML to plain text.
Example:
Before:
<Credential-encrypted> {AES} b3i7uhwtryj4dukmidvtw4ln2nzh + hiyrhhqw1h2qpu0qjmoadlk8ifz + lvllju I
Encryption </Credential-encrypted>
After:
<Credential-encrypted> mycredentialinplaintext </Credential-encrypted>
2. Restart the admin server.
After restart the Admin Server, the credentials will be encrypted again and the adminserver will start.
Reprint Source: http://www.wikiconsole.com/wiki? P = 3122