My Oracle Support Banner

Converting Policy Store From File Based To DB Based Repository Using WLST Script StackOverflowError (Doc ID 1488496.1)

Last updated on MAY 10, 2018

Applies to:

Oracle Platform Security for Java - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

  1. OPSS security store reassociated from file to DB using WLST. Here is sample of reassociation command ran:

    wls:/base_domain/serverConfig> reassociateSecurityStore(domain="base_domain", admin="weblogic", password="welcome1", datasourcename="sample", servertype="DB_ORACLE", jpsroot="cn=jpsroot")

  2. After reassociation and trying to start WLS follow stack message is reported:

 [AdminServer] [WARNING] [J2EE JMX-46252] [] [tid: JMX FRAMEWORK Domain Runtime MBeanServer pooling thread] [ecid: 0000J^kYBqLCGvsMwiFg6G1GBJ5N000000,0] Error during preRegister for MBean com.oracle.igf:type=Xml,name=CarmlConfig_IDXUserRole[[
java.lang.RuntimeException: java.lang.StackOverflowError
    at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalPreRegister(LoggingMBeanInterceptor.java:663)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
    at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.preRegister(OracleStandardEmitterMBean.java:619)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preRegisterInvoke(DefaultMBeanServerInterceptor.java:1010)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:938)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:714)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
    at weblogic.management.mbeanservers.internal.JMXContextInterceptor.registerMBean(JMXContextInterceptor.java:445)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:712)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServer.registerMBean(WLSMBeanServer.java:462)
    at oracle.as.jmx.framework.wls.spi.security.PrivilegedMBeanServerInterceptor$1.run(PrivilegedMBeanServerInterceptor.java:55)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at oracle.as.jmx.framework.wls.spi.security.PrivilegedMBeanServerInterceptor.registerMBean(PrivilegedMBeanServerInterceptor.java:60)
    at oracle.as.jmx.framework.util.TransientMBeanAssociationInfo.doCreateAndRegisterMBean(TransientMBeanAssociationInfo.java:362)
    at oracle.as.jmx.framework.util.TransientMBeanAssociationInfo.createAndRegisterMBean(TransientMBeanAssociationInfo.java:315)
    at oracle.as.jmx.framework.util.DefaultConfigObjectMBeanAssociationInfo.initializeConfigObjectAndAssociatedMBean(DefaultConfigObjectMBeanAssociationInfo.java:736)
    at oracle.as.jmx.framework.wls.spi.ComponentMBeans.parseAndRegister(ComponentMBeans.java:201)
    at oracle.as.jmx.framework.wls.spi.ComponentMBeans.parseDescriptors(ComponentMBeans.java:243)
    at oracle.as.jmx.framework.wls.spi.ComponentMBeans.registerDomainLevelMBeans(ComponentMBeans.java:330)
    at oracle.as.jmx.framework.wls.spi.ComponentMBeans.registerMBeans(ComponentMBeans.java:359)
    at oracle.as.jmx.framework.wls.spi.ComponentMBeans.registerMBeans(ComponentMBeans.java:353)
    at oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl$3$1.run(JMXFrameworkProviderImpl.java:1093)
    at oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl$3.run(JMXFrameworkProviderImpl.java:1098)
    at oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl.initRuntimeMBeanServer(JMXFrameworkProviderImpl.java:1120)
    at oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl.initDomainRuntimeMBeanServer(JMXFrameworkProviderImpl.java:1130)
    at oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl.getDomainRuntimeMBeanServer(JMXFrameworkProviderImpl.java:925)
    at oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl$2$1.run(JMXFrameworkProviderImpl.java:997)
    at oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl$2$1.run(JMXFrameworkProviderImpl.java:995)
    at oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl$2.run(JMXFrameworkProviderImpl.java:993)
    at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.StackOverflowError

 

  1. If same reassociation process is conducted thru EM Fusion Middleware control, issue reported starting WLS not happens.

 

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.