java.lang.Exception: The specified role does not exist in the realm.

Oracle Community | 414953 | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Creating users in OAS 10.1.3.3.0

    Oracle Community | 9 years ago | 414953
    java.lang.Exception: The specified role does not exist in the realm.

    Root Cause Analysis

    1. java.lang.Exception

      The specified role does not exist in the realm.

      at oracle.security.jazn.jmx.XMLSecurityProvider.grantUserRole()
    2. oracle.security.jazn
      XMLSecurityProvider.grantUserRoles
      1. oracle.security.jazn.jmx.XMLSecurityProvider.grantUserRole(XMLSecurityProvider.java:123)
      2. oracle.security.jazn.jmx.XMLSecurityProvider.grantUserRoles(XMLSecurityProvider.java:135)
      2 frames
    3. oracle.oc4j.admin
      SecurityProviderManager.grantUserRoles
      1. oracle.oc4j.admin.management.mbeans.SecurityProviderManager.grantUserRoles(SecurityProviderManager.java:1344)
      1 frame
    4. Java RT
      RequiredModelMBean.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      5. sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
      6. sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
      7. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      8. java.lang.reflect.Method.invoke(Method.java:585)
      9. sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:239)
      10. javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071)
      11. javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953)
      11 frames
    5. oracle.oc4j.admin
      DefaultModelMBeanImpl.invoke
      1. oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
      1 frame
    6. Java RT
      JmxMBeanServer.invoke
      1. com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
      2. com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
      3. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
      4. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
      4 frames
    7. oracle.oc4j.admin
      LocalizationFilterMBeanServer.invoke
      1. oracle.oc4j.admin.jmx.server.state.ApplicationStateFilterMBeanServer.invoke(ApplicationStateFilterMBeanServer.java:572)
      2. oracle.oc4j.admin.jmx.shared.UserMBeanServer.invoke(UserMBeanServer.java:634)
      3. oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
      3 frames
    8. oracle.sysman.ias
      AbstractController.handleEvent
      1. oracle.sysman.ias.studio.jmx.spi.JMXConnectorImpl.invoke(JMXConnectorImpl.java:389)
      2. oracle.sysman.ias.studio.sdk.SDKJMXUtil.invokeOperation(SDKJMXUtil.java:413)
      3. oracle.sysman.ias.studio.setup.JMXAddUserAdminBean.addUser(JMXAddUserAdminBean.java:93)
      4. oracle.sysman.ias.studio.setup.AddUserHelper.handleOKEvent(AddUserHelper.java:215)
      5. oracle.sysman.ias.studio.setup.AddUserHelper.handleEvent(AddUserHelper.java:120)
      6. oracle.sysman.ias.studio.sdk.AbstractController.handleEvent(AbstractController.java:769)
      6 frames
    9. oracle.sysman.emSDK
      EMServlet.doGet
      1. oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:378)
      2. oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765)
      3. oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283)
      3 frames
    10. oracle.sysman.ias
      StudioConsole.doGet
      1. oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:385)
      1 frame
    11. oracle.cabo.servlet
      UIXServlet.doPost
      1. oracle.cabo.servlet.UIXServlet.doPost(Unknown Source)
      1 frame
    12. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      2 frames
    13. com.evermind.server
      ResourceFilterChain.doFilter
      1. com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
      1 frame
    14. oracle.sysman.ias
      BrowserVersionFilter.doFilter
      1. oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75)
      1 frame
    15. com.evermind.server
      EvermindFilterChain.doFilter
      1. com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
      1 frame
    16. oracle.sysman.ias
      MultipleJVMFilter.doFilter
      1. oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85)
      1 frame
    17. com.evermind.server
      EvermindFilterChain.doFilter
      1. com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
      1 frame
    18. oracle.sysman.ias
      PostLogonFilter.doFilter
      1. oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80)
      1 frame
    19. com.evermind.server
      EvermindFilterChain.doFilter
      1. com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
      1 frame
    20. oracle.sysman.ias
      ShortHostnameRedirectFilter.doFilter
      1. oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68)
      1 frame
    21. com.evermind.server
      AJPRequestHandler.run
      1. com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
      2. com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
      3. com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
      4. com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
      5. com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
      6. com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
      6 frames
    22. oracle.oc4j.network
      ServerSocketAcceptHandler$AcceptHandlerHorse.run
      1. oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      2. oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
      3. oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
      4. oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
      4 frames
    23. com.evermind.util
      ReleasableResourcePooledExecutor$MyWorker.run
      1. com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      1 frame
    24. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame