7 Replies Latest reply on Jun 19, 2012 7:29 AM by 856307

    [OIM] on WebLogic - install not working

    KraToS - VenKizmet
      Hi all,

      I've installed OIM on Weblogic server. First I installed OIM 9.1.0.1 on Weblogic 10.3.0. Then I moved to 9.1.0.2 and then to 9.1.0.2 BP 15, so I was recommended to upgrade to Weblogic 10.3.3.

      Some pages of OIM application are not working, it appears a message saying "..Contact System Administrator..".

      For example, when I go to Users -> Create, Stacktrace is:

      ERROR,27 jun 2011 16:30:55,984,[XELLERATE.WEBAPP],Class/Method: tcManageUserActi
      on/prepareNewUser encounter some problems: EJB Exception: ; nested exception is:

      java.lang.NullPointerException
      Thor.API.Exceptions.tcAPIException: EJB Exception: ; nested exception is:
      java.lang.NullPointerException
      at Thor.API.Operations.tcFormDefinitionOperationsClient.getFormFields(Un
      known Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
      dSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
      121)
      at weblogic.security.Security.runAs(Security.java:41)
      at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Sou
      rce)
      at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
      at $Proxy62.getFormFields(Unknown Source)
      at com.thortech.xl.webclient.actions.tcManageUserAction.setFormFields(Un
      known Source)
      at com.thortech.xl.webclient.actions.tcManageUserAction.prepareNewUser(U..........


      When I go to Users -> Manage:

      ERROR,27 jun 2011 16:31:34,000,[XELLERATE.WEBAPP],Class/Method: tcSearchUserActi
      on/createNewSearch encounter some problems: EJB Exception: ; nested exception is
      :
      java.lang.NullPointerException
      Thor.API.Exceptions.tcAPIException: EJB Exception: ; nested exception is:
      java.lang.NullPointerException
      at Thor.API.Operations.tcFormDefinitionOperationsClient.getFormFields(Un
      known Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
      dSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
      121)
      at weblogic.security.Security.runAs(Security.java:41)
      at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Sou
      rce)
      at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
      at $Proxy62.getFormFields(Unknown Source)
      at com.thortech.xl.webclient.actions.tcSearchUserAction.createNewSearch(
      Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces.......
        • 1. Re: [OIM] on WebLogic - install not working
          Kevin Pinsky
          There are section of the patches that are different when you apply to 10.3 and 10.3.x. Make sure you go through the latest Bundle Patch and reapply the settings and run the patch script.

          -Kevin
          • 2. Re: [OIM] on WebLogic - install not working
            Sunny.Saxena
            so I was recommended to upgrade to Weblogic 10.3.3.

            The Readme.html suggests that even 10.3.0 is supported, but if you have anyway upgraded then as per Kevin's suggestion look for the Applying the Bundle Patch thoroughly and follow the instruction for For Oracle WebLogic Server 10.3.1 or later
            • 3. Re: [OIM] on WebLogic - install not working
              BikashBagaria
              Are your create/manager user pages along with organization create/manage pages are not working?

              Check the FormMetadata.xml file and look for any white spaces missed or etc. Few things which you can try is replace the FormMetadata.xml with the original 9101 version [as a check] or open the modified FormMetadata.xml in IE and check if it is valid.

              HTH,
              BB
              • 4. Re: [OIM] on WebLogic - install not working
                Rajiv Dewan
                In 9102 Patches, it asks for pasting couple of lines into FormMetadata.xml.

                Try to open FormMetadata.xml with Internet Explorer you would be able to find the solution as when you do copy paste from PDF either it convers some characters into special characters or some extra spaces.
                • 5. Re: [OIM] on WebLogic - install not working
                  856307
                  Hi,

                  DId you get any solution to this problem?
                  I am facing the same issue.When I am clicking on Create or manage user tab I'm getting this error.

                  18-Jun-2012 23:32:39,986 ERROR [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.WEBAPP - Class/Method: tcSearchOrganizationAction/createNewSearch encounter some problems: EJB Exception: ; nested exception is:
                       java.lang.NullPointerException
                  Thor.API.Exceptions.tcAPIException: EJB Exception: ; nested exception is:
                       java.lang.NullPointerException
                       at Thor.API.Operations.tcFormDefinitionOperationsClient.getFormFields(Unknown Source)
                       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 Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
                       at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                       at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
                       at weblogic.security.Security.runAs(Security.java:41)
                       at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
                       at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
                       at $Proxy67.getFormFields(Unknown Source)
                       at com.thortech.xl.webclient.actions.tcSearchOrganizationAction.createNewSearch(Unknown Source)
                       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 org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
                       at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
                       at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
                       at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
                       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
                       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
                       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
                       at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
                       at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
                       at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
                       at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
                       at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
                       at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                       at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
                       at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                       at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
                       at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                       at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
                       at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
                       at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
                       at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
                       at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
                       at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)


                  Please help me out with this issue.

                  -TIA
                  • 6. Re: [OIM] on WebLogic - install not working
                    BikashBagaria
                    Dis you check your FormMetadata.xml for special characters as he mentioned earlier?

                    -Bikash

                    Edited by: Bikash Bagaria on Jun 19, 2012 12:15 PM
                    • 7. Re: [OIM] on WebLogic - install not working
                      856307
                      Hi Bikash,

                      Yes I checked the formmetadata.xml file but of no help..