0 Replies Latest reply on Aug 9, 2014 6:34 AM by user12834695

    Weblogic 10.3.2 - The realm "myrealm" failed to be loaded: weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException:

    user12834695

      Hi.

       

       

      I am using Weblogic 10.3.2,  When I start my admin server, I am getting below error, I tried recreating my domain few times.  Please help.

       

       

       

       

      ------------------------------------------------------------------------------------------------------------------------------------

      <Error> <Security> <BEA-090870> <The realm "myrealm" failed to be loaded: weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationEx

       

      ception: javax.jdo.JDOFatalInternalException: Unexpected exception caught.

       

      NestedThrowables:

       

      java.lang.reflect.InvocationTargetException.

       

      weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: javax.jdo.JDOFatalInternalException: Unexpected exception caught.

       

      NestedThrowables:

       

      java.lang.reflect.InvocationTargetException

       

              at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:342)

       

              at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:221)

       

              at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1783)

       

              at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)

       

              at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)

       

              Truncated. see log file for complete stacktrace

       

       

       

      Caused By: com.bea.common.engine.ServiceInitializationException: javax.jdo.JDOFatalInternalException: Unexpected exception caught.

       

      NestedThrowables:

       

      java.lang.reflect.InvocationTargetException

       

              at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:365)

       

              at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:315)

       

              at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:257)

       

              at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:72)

       

              at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(WLSIdentityServiceImpl.java:47)

       

              Truncated. see log file for complete stacktrace

       

       

       

      Caused By: javax.jdo.JDOFatalInternalException: Unexpected exception caught.

       

      NestedThrowables:

       

      java.lang.reflect.InvocationTargetException

       

              at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:549)

       

              at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJDO(StoreServiceDelegate.java:149)

       

              at com.bea.common.security.storeservice.util.StoreServiceDelegate.<init>(StoreServiceDelegate.java:98)

       

              at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreServiceImpl.java:76)

       

              at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:363)

       

              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 javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:534)

       

              Truncated. see log file for complete stacktrace

       

       

       

      Caused By: <openjpa-1.1.1-SNAPSHOT-r422266:807362 fatal internal error> org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory c

       

      lass "org.apache.openjpa.abstractstore.AbstractStoreBrokerFactory".  See the nested exception for details.

       

              at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:95)

       

              at kodo.jdo.PersistenceManagerFactoryImpl.getPersistenceManagerFactory(PersistenceManagerFactoryImpl.java:41)

       

              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

       

       

       

      Caused By: java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object size: 347827296, Num elements: 86956820

       

              at java.util.Arrays.copyOf(Arrays.java:2760)

       

              at java.util.Arrays.copyOf(Arrays.java:2734)

       

              at java.util.ArrayList.ensureCapacity(ArrayList.java:167)

       

              at java.util.ArrayList.add(ArrayList.java:351)

       

              at org.apache.openjpa.conf.CacheMarshallerImpl.setInputUrlFromResourceLocation(CacheMarshallerImpl.java:226)

       

              Truncated. see log file for complete stacktrace

       

       

       

      <Aug 8, 2014 7:20:51 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>

       

      <Aug 8, 2014 7:20:51 PM IST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:

       

      There are 1 nested errors:

       

       

      weblogic.security.service.SecurityServiceRuntimeException: [Security:090399]Security Services Unavailable

       

              at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:916)

       

              at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1050)

       

              at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)

       

              at weblogic.security.SecurityService.start(SecurityService.java:141)

       

              at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

       

              at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)

       

              at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

       

      <Aug 8, 2014 7:20:51 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>

       

      <Aug 8, 2014 7:20:51 PM IST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>

       

      <Aug 8, 2014 7:20:51 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>