Pages

Monday, June 6, 2011

WebLogic - myrealm failed to load exception

For WebLogic myrealm errors like below, the following could be tried:
  • Ensure hostname correctly resolves to the IP address in /etc/hosts
  • Check you configuration and validate encrypted password by running from the domain folder:
    java -cp <path_to_weblogic.jar> weblogic.security.Encrypt
  • If you are using database as the security store, try to run the script at $WLS_HOME\wlserver_10.3\server\lib\rdbms_security_store_oracle.sql on the database logged in as the weblogic user. 

<Error> <Security> <BEA-090870> <The realm "myrealm" failed to be loaded: weblogic.security.service.SecuritySe
rviceException: java.lang.ExceptionInInitializerError.
weblogic.security.service.SecurityServiceException: java.lang.ExceptionInInitializerError
        at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:342)
        at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:221)
        Truncated. see log file for complete stacktrace
Caused By: java.lang.ExceptionInInitializerError
        at com.octetstring.vde.util.guid.GuidGenerator.nextGuidInBytes(GuidGenerator.java:125)
        at com.octetstring.vde.util.guid.Guid.<init>(Guid.java:84)
        at com.octetstring.vde.backend.standard.BackendStandard.add(BackendStandard.java:379)
        at com.octetstring.vde.backend.BackendHandler.add(BackendHandler.java:460)
        at com.octetstring.vde.util.LDIF.importLDIF(LDIF.java:279)
        Truncated. see log file for complete stacktrace

No comments:

Post a Comment