2 Replies Latest reply: Jan 15, 2013 12:16 PM by user730626 RSS

    Creation of Space failes with the following error

    user730626
      SR- 3-6660108191
      Ver-11.1.1.6


      In customer production environment when they attempting to creat a space from WebCenter, they receive the following:

      Creation of space SteveSpace4_11January2013 failed with errors : WCS#2013.01.11.08.47.28: Errors were encountered in creating space. The main error is - Unable to grant permission SteveSpace4_11January2013. You may want to delete the current space if it is visible in your lists. Contact the administrator if the problem persists.


      In Spaces logs-
      <Jan 11, 2013 9:44:37 AM CST> <Warning> <oracle.webcenter.spaces> <BEA-000000> <Ignorable Exception in Create GS
      oracle.webcenter.spaces.operations.GroupSpaceOpsIgnorableException: Granting of Role Moderator partially succeeded for identity MCCORMICK.STEPHEN.J.1251888201-0001. Granting permissions for Discussions failed.
           at oracle.webcenter.spaces.internal.model.operations.GroupSpaceOpsSecurityRoleMappingHandlerPlugin.duringCreateGroupSpace(GroupSpaceOpsSecurityRoleMappingHandlerPlugin.java:631)
           at oracle.webcenter.spaces.internal.model.SpacesManagerImpl$2.run(SpacesManagerImpl.java:1414)
           at oracle.webcenter.concurrent.RunnableTask.call(RunnableTask.java:44)
           at oracle.webcenter.concurrent.Submission$2.run(Submission.java:484)
           at java.security.AccessController.doPrivileged(Native Method)
           at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
           at oracle.webcenter.concurrent.Submission.runAsPrivileged(Submission.java:498)
           at oracle.webcenter.concurrent.Submission.run(Submission.java:424)
           at oracle.webcenter.concurrent.Submission$SubmissionFutureTask.run(Submission.java:888)
           at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
           at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
           at java.util.concurrent.FutureTask.run(FutureTask.java:138)
           at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:657)
           at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:682)
           at java.lang.Thread.run(Thread.java:662)
      Caused By: oracle.webcenter.webcenterapp.security.WCSecurityRoleMappingException: Granting of Role Moderator partially succeeded for identity MCCORMICK.STEPHEN.J.1251888201-0001. Granting permissions for Discussions failed.
           at oracle.webcenter.security.rolemapping.RoleManager.processServiceUsers(RoleManager.java:757)
           at oracle.webcenter.security.rolemapping.RoleManager.processUsers(RoleManager.java:378)
      Jan 11, 2013 9:44:37 AM CST> <Warning> <oracle.webcenter.spaces> <BEA-000000> <Exiting createGroupSpaceInternal>
      <Jan 11, 2013 9:44:37 AM CST> <Error> <oracle.webcenter.spaces> <BEA-000000> <Creation of space SteveSpace7_11January2013 completed with warnings : WCS#2013.01.11.09.44.37: Space created with the following warning(s) : Issues were faced
      while provisioning the service(s) - Announcements. Check the space services settings page if these services have been provisioned.>
      <Jan 11, 2013 9:44:37 AM CST> <Error> <oracle.webcenter.spaces> <BEA-000000> <The exception occured during space creation for spaceName = SteveSpace7_11January2013due to =>
      <Jan 11, 2013 9:44:37 AM CST> <Error> <oracle.webcenter.spaces> <BEA-000000> <
      oracle.webcenter.spaces.SpacesException: Space created with the following warning(s) : Issues were faced while provisioning the service(s) - Announcements. Check the space services settings page if these services have been provisioned.
           at oracle.webcenter.spaces.internal.model.SpacesManagerImpl.createGroupSpaceInternal(SpacesManagerImpl.java:1865)
           at oracle.webcenter.spaces.internal.model.SpacesManagerImpl.access$200(SpacesManagerImpl.java:225)
           at oracle.webcenter.spaces.internal.model.SpacesManagerImpl$1.run(SpacesManagerImpl.java:553)
           at java.security.AccessController.doPrivileged(Native Method)
           at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:259)
           at oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:65)
           at oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedAction.run(Cascade

      In Diagnostic logs:

      [2013-01-11T09:44:06.053-06:00] [WC_Spaces2] [WARNING] [] [oracle.webcenter.webcenterapp] [tid: pool-1-daemon-thread-4] [userId: MCCORMICK.STEPHEN.J.1251888201-0001] [ecid: 0000mii9Zr1Bt1G5uz4EyX00051O0005OU,0:1:3:290:26] [APP: webcenter#11.1.1.4.0] [URI: /webcenter/faces/oracle/webcenter/webcenterapp/view/pages/admin/WebCenterAdmin-Communities.jspx] grantRoleForRoleMappedServices : warning : serviceId :oracle.webcenter.collab.forum
      [2013-01-11T09:44:06.058-06:00] [WC_Spaces2] [WARNING] [] [oracle.webcenter.webcenterapp] [tid: pool-1-daemon-thread-4] [userId: MCCORMICK.STEPHEN.J.1251888201-0001] [ecid: 0000mii9Zr1Bt1G5uz4EyX00051O0005OU,0:1:3:290:26] [APP: webcenter#11.1.1.4.0] [URI: /webcenter/faces/oracle/webcenter/webcenterapp/view/pages/admin/WebCenterAdmin-Communities.jspx] [[
      oracle.webcenter.security.rolemapping.RoleMappingException: The Role Mapping provider encountered an exception while performing security role mapping for service oracle.webcenter.collab.forum.
           at oracle.webcenter.security.rolemapping.RoleManager.processServiceUsers(RoleManager.java:757)
           at oracle.webcenter.security.rolemapping.RoleManager.processUsers(RoleManager.java:378)
           at oracle.webcenter.security.rolemapping.RoleManager.addUsers(RoleManager.java:243)
           at oracle.webcenter.webcenterapp.internal.model.security.WCSecurityManagerImpl$5.run(WCSecurityManagerImpl.java:1313)
           at oracle.webcenter.concurrent.RunnableTask.call(RunnableTask.java:44)
           at oracle.webcenter.concurrent.Submission$2.run(Submission.java:484)
           at java.security.AccessController.doPrivileged(Native Method)
           at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
           at oracle.webcenter.concurrent.Submission.runAsPrivileged(Submission.java:498)
           at oracle.webcenter.concurrent.Submission.run(Submission.java:424)
           at oracle.webcenter.concurrent.Submission$SubmissionFutureTask.run(Submission.java:888)
           at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
           at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
           at java.util.concurrent.FutureTask.run(FutureTask.java:138)
           at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:657)
           at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:682)
           at java.lang.Thread.run(Thread.java:662)
      Caused by: oracle.webcenter.security.rolemapping.spi.RoleMappingSPIException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 400 Bad Request
           at oracle.webcenter.collab.share.security.DefaultRoleMapper.addUsers(DefaultRoleMapper.java:78)



      This looks like the user dont have permissions to create the space, but even Admin user weblogic also geting the same error.


      Please may I know how to debug this and where to see for the permissions.

      Thanks!!
        • 1. Re: Creation of Space failes with the following error
          Kishore Rout
          Hi,
          Please follow steps, may be your issue will be resolved.
          Steps:
          1.Create the Discussions administrator user using the DefaultAuthenticator provider as indicated here:
          Oracle Fusion Middleware Administrator's Guide for Oracle WebCenter
          11g Release 1 (11.1.1)
          23 Managing Security
          23.3.4.1 Migrating the WebCenter Discussions Server to use an External LDAP

          The Discussions Administrator user must exist in the external LDAP and also you need to create the user using the DefaultAuthenticator provider in the embedded LDAP.The username in the embedded LDAP must match the username in the External LDAP.

          Review all steps from the above section of the documentation to be sure you performed all the steps.

          2.Grant WebCenter Spaces Administrator Role to the Discussions Administrator user as indicated here:
          Oracle Fusion Middleware Administrator's Guide for Oracle WebCenter
          23.3 Configuring the Identity Store
          23.3.5 Granting the WebCenter Spaces Administrator Role to a WebCenter Spaces User
          23.3.5.1 Granting the WebCenter Spaces Administrator Role Using Fusion Middleware Control

          3.Restart the WLS_Spaces and WLS_Services Managed Servers.


          If this helps please mark.

          Regards,
          Kishore
          • 2. Re: Creation of Space failes with the following error
            user730626
            Hi Kishore, thanks for the input.

            Yes, customer forgot to create the admin user weblogic_wc in embedded ldap initially,

            said " We went through the documentation provided and found that we were missing the Admin User (in our case weblogic_wc) in the embedded LDAP, so we added this user and restarted the environment, but after the restart we are still seeing the same issues. Please see the attached document that shows the details of our configurations."

            Is it supported to create this user after all other steps? any workaround for this?