5 Replies Latest reply: May 25, 2011 1:53 AM by 808915 RSS

    OIM & OIA 11g integration

    808915
      Hi,

      I'm working on the OIM and OIA integration alike many people out here, and have not been able to successfully do it.
      It'll be of great help, if somebody could let me know as to what all has to be done apart from the things mentioned below in order to integrate them successfully.

      Steps which I followed as per the System Integration guide were:

      Under IAM-CONTEXT.xml file:

      1. uncommented the <entry key="oracle">.
      2. uncommented the <bean id="oim">.
      3. uncommented the <property name="namespaceMap">.
      4. uncommented the <property name="userProperties">.
      5. uncommented the <property name="customProperties">.

      After this, I copied the following Jars present in the OIM_HOME directory:

      1. wlXLSecurityProviders.jar
      2. xlAPI.jar
      3. xlAuthentication.jar
      4. xlCache.jar
      5. xlCrypto.jar
      6. xlDataObjectBeans.jar
      7. xlLogger.jar
      8. xlUtils.xls
      9. xLVO.jar

      Since my OIM instance is deployed on JBoss, i've copied the jbossall-client.jar to the WEB-INF/lib folder.

      Then, while creating the Provisoning Server for OIM, I've mentioned the follwoing values to connect to OIM :

      Server Name : Name
      Xellerate Home : C:\oim\xellerate
      Login Config : C:\oim\xellerate\config\auth.conf
      Provider URL : jnp://Name:1099
      Intial Context Factory : org.jnp.interfaces.NamingContextFactory
      UserName : xelsysadm
      Password : *****

      Now after doing all this, when I restart the server and try importing the users, I'm getting the following issue :

      12:02:20,103 ERROR [ACCOUNTMANAGEMENT] Class/Method: ConfigurationClient/init encounter some problems: Configuration file xlconfig.xml not found in C:\oim\xellerate\config
      12:02:20,103 ERROR [ACCOUNTMANAGEMENT] Class/Method: ConfigurationClient/init encounter some problems: C:\oim\xellerate\config\xlconfig.xml (The system cannot find the path specified)
      java.io.FileNotFoundException: C:\oim\xellerate\config\xlconfig.xml (The system cannot find the path specified)
           at java.io.FileInputStream.open(Native Method)
           at java.io.FileInputStream.<init>(FileInputStream.java:106)
           at com.thortech.xl.util.config.ConfigurationClient.init(Unknown Source)
           at com.thortech.xl.util.config.ConfigurationClient.<init>(Unknown Source)
           at com.thortech.xl.util.config.ConfigurationClient.getConfigurationClient(Unknown Source)
           at Thor.API.Security.LoginHandler.LoginHandlerFactory.getLoginHandler(Unknown Source)
           at Thor.API.Security.ClientLoginUtility.login(Unknown Source)
           at Thor.API.tcUtilityFactory.<init>(Unknown Source)
           at com.vaau.rbacx.iam.oracle.OIMIAMSolution.getUtilityFactory(OIMIAMSolution.java:2595)
           at com.vaau.rbacx.iam.oracle.OIMIAMSolution.readUsers(OIMIAMSolution.java:770)
           at com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl.importUsers(RbacxIAMServiceImpl.java:119)
           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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
           at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
           at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
           at $Proxy112.importUsers(Unknown Source)
           at com.vaau.rbacx.scheduling.executor.iam.IAMJobExecutor.execute(IAMJobExecutor.java:121)
           at com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.AbstractJob.execute(AbstractJob.java:72)
           at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
           at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
      12:02:20,135 ERROR [OIMIAMSolution] Error Connecting to OIM Server
      java.lang.IllegalArgumentException: No Configuration was registered that can handle the configuration named xellerate
           at com.bea.common.security.jdkutils.JAASConfiguration.getAppConfigurationEntry(JAASConfiguration.java:124)
           at javax.security.auth.login.LoginContext.init(LoginContext.java:243)
           at javax.security.auth.login.LoginContext.<init>(LoginContext.java:403)
           at Thor.API.Security.LoginHandler.jbossLoginHandler.login(Unknown Source)
           at Thor.API.Security.ClientLoginUtility.login(Unknown Source)
           at Thor.API.tcUtilityFactory.<init>(Unknown Source)
           at com.vaau.rbacx.iam.oracle.OIMIAMSolution.getUtilityFactory(OIMIAMSolution.java:2595)
           at com.vaau.rbacx.iam.oracle.OIMIAMSolution.readUsers(OIMIAMSolution.java:770)
           at com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl.importUsers(RbacxIAMServiceImpl.java:119)
           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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
           at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
           at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
           at $Proxy112.importUsers(Unknown Source)
           at com.vaau.rbacx.scheduling.executor.iam.IAMJobExecutor.execute(IAMJobExecutor.java:121)
           at com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.AbstractJob.execute(AbstractJob.java:72)
           at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
           at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
      12:02:20,135 ERROR [OIMIAMSolution] Error Connecting to OIM Server : : Error Connecting to OIM Server : No Configuration was registered that can handle the configuration named xellerate
      12:02:20,135 ERROR [JobRunShell] Job IAM.A threw an unhandled Exception:
      java.lang.NullPointerException
           at com.vaau.rbacx.iam.oracle.OIMIAMSolution.readUsers(OIMIAMSolution.java:838)
           at com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl.importUsers(RbacxIAMServiceImpl.java:119)
           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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
           at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
           at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
           at $Proxy112.importUsers(Unknown Source)
           at com.vaau.rbacx.scheduling.executor.iam.IAMJobExecutor.execute(IAMJobExecutor.java:121)
           at com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.AbstractJob.execute(AbstractJob.java:72)
           at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
           at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
      12:02:20,135 ERROR [ErrorLogger] Job (IAM.A threw an exception.
      org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
           at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
           at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
      Caused by: java.lang.NullPointerException
           at com.vaau.rbacx.iam.oracle.OIMIAMSolution.readUsers(OIMIAMSolution.java:838)
           at com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl.importUsers(RbacxIAMServiceImpl.java:119)
           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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
           at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
           at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
           at $Proxy112.importUsers(Unknown Source)
           at com.vaau.rbacx.scheduling.executor.iam.IAMJobExecutor.execute(IAMJobExecutor.java:121)
           at com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.AbstractJob.execute(AbstractJob.java:72)
           at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
           ... 1 more

      Going through the various threads here, I tried checking the following things too, but still didn't help me out.

      1. Couldn't find oimclient.jar in my OIM directory.
      2. Couldn't find iam-platform-utils.jar again in the OIM directory.
      3. Tried copying the complete config folder to some other directory and giving that particular path in my provisioning server.

      If at all the jars mentioned in the points 1&2 are required, it would be great if somebody could provide me with them or with some link from where i can get them downloaded for me.

      Please guys, help me out with this.

      Thanks
        • 1. Re: OIM & OIA 11g integration
          808915
          Just to add,

          I've got OIM on JBoss server and OIA on Weblogic.
          I was trying to follow the OIM-OIA integration using the deprecated method as my OIM is 9.1.0.2 and OIA is 11gR1BP1 (11.1.1.3.1)

          Regards
          • 2. Re: OIM & OIA 11g integration
            808915
            Hi,

            I've been able to fix the first issue and have now proceeded to the next error:

            ERROR [OIMIAMSolution] Error Connecting to OIM Server
            java.lang.IllegalArgumentException: No Configuration was registered that can handle the configuration named xellerate
                 at com.bea.common.security.jdkutils.JAASConfiguration.getAppConfigurationEntry(JAASConfiguration.java:124)
                 at javax.security.auth.login.LoginContext.init(LoginContext.java:243)
                 at javax.security.auth.login.LoginContext.<init>(LoginContext.java:403)
                 at Thor.API.Security.LoginHandler.jbossLoginHandler.login(Unknown Source)
                 at Thor.API.Security.ClientLoginUtility.login(Unknown Source)
                 at Thor.API.tcUtilityFactory.<init>(Unknown Source)
                 at com.vaau.rbacx.iam.oracle.OIMIAMSolution.getUtilityFactory(OIMIAMSolution.java:2595)
                 at com.vaau.rbacx.iam.oracle.OIMIAMSolution.readUsers(OIMIAMSolution.java:770)
                 at com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl.importUsers(RbacxIAMServiceImpl.java:119)
                 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
                 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
                 at $Proxy112.importUsers(Unknown Source)
                 at com.vaau.rbacx.scheduling.executor.iam.IAMJobExecutor.execute(IAMJobExecutor.java:121)
                 at com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.AbstractJob.execute(AbstractJob.java:72)
                 at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
                 at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
            14:08:35,335 ERROR [OIMIAMSolution] Error Connecting to OIM Server : : Error Connecting to OIM Server : No Configuration was registered that can handle the configuration named xellerate
            14:08:35,351 ERROR [JobRunShell] Job IAM.A threw an unhandled Exception:
            java.lang.NullPointerException
                 at com.vaau.rbacx.iam.oracle.OIMIAMSolution.readUsers(OIMIAMSolution.java:838)
                 at com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl.importUsers(RbacxIAMServiceImpl.java:119)
                 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
                 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
                 at $Proxy112.importUsers(Unknown Source)
                 at com.vaau.rbacx.scheduling.executor.iam.IAMJobExecutor.execute(IAMJobExecutor.java:121)
                 at com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.AbstractJob.execute(AbstractJob.java:72)
                 at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
                 at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
            14:08:35,351 ERROR [ErrorLogger] Job (IAM.A threw an exception.
            org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
                 at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
                 at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
            Caused by: java.lang.NullPointerException
                 at com.vaau.rbacx.iam.oracle.OIMIAMSolution.readUsers(OIMIAMSolution.java:838)
                 at com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl.importUsers(RbacxIAMServiceImpl.java:119)
                 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
                 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
                 at $Proxy112.importUsers(Unknown Source)
                 at com.vaau.rbacx.scheduling.executor.iam.IAMJobExecutor.execute(IAMJobExecutor.java:121)
                 at com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.AbstractJob.execute(AbstractJob.java:72)
                 at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
                 ... 1 more


            Can you please assist me on this ?

            Thanks
            • 3. Re: OIM & OIA 11g integration
              808915
              Hi,

              I've managed to get noth the above problems solved, but I'm stuck with a new one now :( :( :(

              20:21:30,381 ERROR [JBOSSLOGINHANDLER] Error in creating login context
              javax.security.auth.login.LoginException: javax.security.auth.login.LoginException: java.lang.SecurityException: [Security:090304]Authentication Failed: User xelsysadm javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User xelsysadm denied
                   at weblogic.security.auth.login.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:199)
                   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.security.auth.login.LoginContext.invoke(LoginContext.java:769)
                   at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
                   at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
                   at java.security.AccessController.doPrivileged(Native Method)
                   at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
                   at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
                   at Thor.API.Security.LoginHandler.jbossLoginHandler.login(Unknown Source)
                   at Thor.API.Security.ClientLoginUtility.login(Unknown Source)
                   at Thor.API.tcUtilityFactory.<init>(Unknown Source)
                   at com.vaau.rbacx.iam.oracle.OIMIAMSolution.getUtilityFactory(OIMIAMSolution.java:2595)
                   at com.vaau.rbacx.iam.oracle.OIMIAMSolution.readUsers(OIMIAMSolution.java:770)
                   at com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl.importUsers(RbacxIAMServiceImpl.java:119)
                   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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
                   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
                   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
                   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
                   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
                   at $Proxy112.importUsers(Unknown Source)
                   at com.vaau.rbacx.scheduling.executor.iam.IAMJobExecutor.execute(IAMJobExecutor.java:121)
                   at com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.AbstractJob.execute(AbstractJob.java:72)
                   at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
                   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
              20:21:30,834 ERROR [JobRunShell] Job IAM.A threw an unhandled Exception:
              java.lang.NoSuchFieldError: TRACE
                   at org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:85)
                   at org.jboss.logging.Logger.isTraceEnabled(Logger.java:122)
                   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:660)
                   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
                   at javax.naming.InitialContext.lookup(InitialContext.java:392)
                   at com.thortech.xl.ejb.interfaces.tcUnauthenticatedOperationsUtil.lookupHome(Unknown Source)
                   at com.thortech.xl.ejb.interfaces.tcUnauthenticatedOperationsUtil.getHome(Unknown Source)
                   at Thor.API.Security.ClientLoginUtility.getUnauthenticatedOperations(Unknown Source)
                   at Thor.API.Security.ClientLoginUtility.login(Unknown Source)
                   at Thor.API.tcUtilityFactory.<init>(Unknown Source)
                   at com.vaau.rbacx.iam.oracle.OIMIAMSolution.getUtilityFactory(OIMIAMSolution.java:2595)
                   at com.vaau.rbacx.iam.oracle.OIMIAMSolution.readUsers(OIMIAMSolution.java:770)
                   at com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl.importUsers(RbacxIAMServiceImpl.java:119)
                   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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
                   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
                   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
                   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
                   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
                   at $Proxy112.importUsers(Unknown Source)
                   at com.vaau.rbacx.scheduling.executor.iam.IAMJobExecutor.execute(IAMJobExecutor.java:121)
                   at com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.AbstractJob.execute(AbstractJob.java:72)
                   at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
                   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
              20:21:30,850 ERROR [ErrorLogger] Job (IAM.A threw an exception.
              org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NoSuchFieldError: TRACE]
                   at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
                   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
              Caused by: java.lang.NoSuchFieldError: TRACE
                   at org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:85)
                   at org.jboss.logging.Logger.isTraceEnabled(Logger.java:122)
                   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:660)
                   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
                   at javax.naming.InitialContext.lookup(InitialContext.java:392)
                   at com.thortech.xl.ejb.interfaces.tcUnauthenticatedOperationsUtil.lookupHome(Unknown Source)
                   at com.thortech.xl.ejb.interfaces.tcUnauthenticatedOperationsUtil.getHome(Unknown Source)
                   at Thor.API.Security.ClientLoginUtility.getUnauthenticatedOperations(Unknown Source)
                   at Thor.API.Security.ClientLoginUtility.login(Unknown Source)
                   at Thor.API.tcUtilityFactory.<init>(Unknown Source)
                   at com.vaau.rbacx.iam.oracle.OIMIAMSolution.getUtilityFactory(OIMIAMSolution.java:2595)
                   at com.vaau.rbacx.iam.oracle.OIMIAMSolution.readUsers(OIMIAMSolution.java:770)
                   at com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl.importUsers(RbacxIAMServiceImpl.java:119)
                   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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
                   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
                   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
                   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
                   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
                   at $Proxy112.importUsers(Unknown Source)
                   at com.vaau.rbacx.scheduling.executor.iam.IAMJobExecutor.execute(IAMJobExecutor.java:121)
                   at com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.AbstractJob.execute(AbstractJob.java:72)
                   at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
                   ... 1 more

              Reading through the above posts regarding the Unable to Create Login Context I figured out that this is due to a version issue of a Jar (log4j-1.2.8.jar). As per the suggestions given, I tried to check for this Jar in the JBoss directory, but unfortunately couldn't find this jar present. Moreover I could find this Jar in the OIM-DESIGN-CONSOLE\etx directory.

              Guys please assist !!!! :( :(

              Edited by: 805912 on Apr 25, 2011 8:30 PM

              Edited by: 805912 on Apr 25, 2011 8:30 PM

              Edited by: 805912 on Apr 25, 2011 8:31 PM
              • 4. Re: OIM & OIA 11g integration
                837708
                Hi.. did you manage to solve these errors and successfully integrate? I have an issue while importing users and it will be great if you can help me:

                11:39:20,000 DEBUG [IAMJob] ******* executing job importusers *******
                11:39:20,109 DEBUG [IAMJob] ---> executing job 'importusers' using IAMJobExecutor
                11:39:20,109 DEBUG [IAMJobExecutor] found valid iam service
                11:39:20,109 DEBUG [IAMJobExecutor] looking for iam server connection 'OIM1'
                11:39:20,140 DEBUG [IAMJobExecutor] ----> adding connection defined in config files [dbIAMConnection, fileIAMConnection]
                11:39:20,140 DEBUG [IAMJobExecutor] found 3 iam server connections
                11:39:20,140 DEBUG [IAMJobExecutor] checking iam server connection 'OIM1'
                11:39:20,140 DEBUG [IAMJobExecutor] found matching iam server connection 'OIM1'
                11:39:20,140 DEBUG [IAMJobExecutor] found valid iam server OIM1
                11:39:20,140 DEBUG [IAMJobExecutor] IAM action specified is ACTION_IMPORT_USERS[2]
                11:39:20,140 DEBUG [OIMIAMSolution] In Read Users ...
                11:39:20,140 DEBUG [OIMIAMSolution] publishing import starting event...
                11:39:20,156 DEBUG [OIMIAMSolution] Starting import run id ---> null
                11:39:20,156 DEBUG [OIMIAMSolution] Trying to establish a connection with OIM Server...
                11:39:20,156 DEBUG [DefaultIAMListener] storing new ImportRun
                11:39:20,156 DEBUG [OIMIAMSolution] ************** OIM Connection Params *************
                11:39:20,156 DEBUG [OIMIAMSolution] XL Home ---> E:\Middleware10G_Home\xellerate
                11:39:20,156 DEBUG [OIMIAMSolution] login config ---> E:\Middleware10G_Home\xellerate\config\auth.config
                11:39:20,156 DEBUG [OIMIAMSolution] Naming Factory Initial ---> : weblogic.jndi.WLInitialContextFactory
                11:39:20,156 DEBUG [OIMIAMSolution] Provider URL --> t3://vkalyan-in:7001
                11:39:20,156 DEBUG [OIMIAMSolution] ****************************************************
                11:39:20,156 DEBUG [OIMIAMSolution] ********** Connecting to OIM Server **********
                11:39:22,656 INFO [DefaultRemoter] Exec: dwrSchedulerService.getJobStatus()
                11:39:22,656 DEBUG [DefaultRemoter] --Object created,  not stored. id=0
                11:39:22,656 DEBUG [DebuggingPrintWriter] out(45): throw 'allowScriptTagRemoting is false.';
                11:39:22,656 DEBUG [DebuggingPrintWriter] out(45): //#DWR-INSERT
                11:39:22,656 DEBUG [DebuggingPrintWriter] out(45): //#DWR-REPLY
                11:39:22,656 DEBUG [DebuggingPrintWriter] out(45): var s0={};var s1={};s0.currentCount=0;s0.groupName="IAM";s0.job=null;s0.jobName="importusers";s0.jobStatusId=null;s0.jobType="Import/Export Progress";s0.lastAccessedTime=0;s0.launcher=null;s0.monitorMap=s1;s0.status=1;s0.timeElapsed=0;s0.totalCount=0;

                dwr.engine._remoteHandleCallback('22','0',[s0]);
                11:39:23,546 ERROR [JobRunShell] Job IAM.importusers threw an unhandled Exception:
                java.lang.AssertionError: Failed to generate class for com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_EOImpl_1032_WLStub
                     at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:790)
                     at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:779)
                     at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:74)
                     at weblogic.rmi.internal.StubInfo.resolveObject(StubInfo.java:226)
                     at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:207)
                     at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source)
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                     at java.lang.reflect.Method.invoke(Method.java:597)
                     at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1061)
                     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1762)
                     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
                     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
                     at weblogic.rmi.extensions.server.CBVInputStream.readObject(CBVInputStream.java:64)
                     at weblogic.rmi.internal.ServerRequest.unmarshalReturn(ServerRequest.java:100)
                     at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
                     at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
                     at com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_HomeImpl_1032_WLStub.create(Unknown Source)
                     at Thor.API.tcUtilityFactory.getUnauthenticatedOperations(Unknown Source)
                     at Thor.API.tcUtilityFactory.getPropertyValue(Unknown Source)
                     at Thor.API.tcUtilityFactory.<init>(Unknown Source)
                     at com.vaau.rbacx.iam.oracle.OIMIAMSolution.getUtilityFactory(OIMIAMSolution.java:2542)
                     at com.vaau.rbacx.iam.oracle.OIMIAMSolution.readUsers(OIMIAMSolution.java:754)
                     at com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl.importUsers(RbacxIAMServiceImpl.java:119)
                     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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
                     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
                     at $Proxy114.importUsers(Unknown Source)
                     at com.vaau.rbacx.scheduling.executor.iam.IAMJobExecutor.execute(IAMJobExecutor.java:121)
                     at com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.AbstractJob.execute(AbstractJob.java:72)
                     at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
                     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
                Caused by: java.lang.reflect.InvocationTargetException
                     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
                     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
                     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
                     at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:788)
                     ... 37 more
                Caused by: java.lang.ArrayIndexOutOfBoundsException: 20
                     at com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_EOImpl_1032_WLStub.ensureInitialized(Unknown Source)
                     at com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_EOImpl_1032_WLStub.<init>(Unknown Source)
                     ... 42 more
                11:39:23,546 ERROR [ErrorLogger] Job (IAM.importusers threw an exception.
                org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.AssertionError: Failed to generate class for com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_EOImpl_1032_WLStub]
                     at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
                     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
                Caused by: java.lang.AssertionError: Failed to generate class for com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_EOImpl_1032_WLStub
                     at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:790)
                     at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:779)
                     at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:74)
                     at weblogic.rmi.internal.StubInfo.resolveObject(StubInfo.java:226)
                     at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:207)
                     at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source)
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                     at java.lang.reflect.Method.invoke(Method.java:597)
                     at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1061)
                     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1762)
                     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
                     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
                     at weblogic.rmi.extensions.server.CBVInputStream.readObject(CBVInputStream.java:64)
                     at weblogic.rmi.internal.ServerRequest.unmarshalReturn(ServerRequest.java:100)
                     at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
                     at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
                     at com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_HomeImpl_1032_WLStub.create(Unknown Source)
                     at Thor.API.tcUtilityFactory.getUnauthenticatedOperations(Unknown Source)
                     at Thor.API.tcUtilityFactory.getPropertyValue(Unknown Source)
                     at Thor.API.tcUtilityFactory.<init>(Unknown Source)
                     at com.vaau.rbacx.iam.oracle.OIMIAMSolution.getUtilityFactory(OIMIAMSolution.java:2542)
                     at com.vaau.rbacx.iam.oracle.OIMIAMSolution.readUsers(OIMIAMSolution.java:754)
                     at com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl.importUsers(RbacxIAMServiceImpl.java:119)
                     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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
                     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
                     at $Proxy114.importUsers(Unknown Source)
                     at com.vaau.rbacx.scheduling.executor.iam.IAMJobExecutor.execute(IAMJobExecutor.java:121)
                     at com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.AbstractJob.execute(AbstractJob.java:72)
                     at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
                     ... 1 more
                Caused by: java.lang.reflect.InvocationTargetException
                     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
                     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
                     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
                     at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:788)
                     ... 37 more
                Caused by: java.lang.ArrayIndexOutOfBoundsException: 20
                     at com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_EOImpl_1032_WLStub.ensureInitialized(Unknown Source)
                     at com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_EOImpl_1032_WLStub.<init>(Unknown Source)
                     ... 42 more
                11:39:23,546 DEBUG [QuartzJobListener] importusers: job was executed
                11:39:23,546 DEBUG [VaauSchedulerEventListenerImpl] Processing VaauSchedulerEvent
                11:39:23,562 INFO [VaauSchedulerEventListenerImpl] Job executed: importusers, IAM
                11:39:23,562 INFO [VaauSchedulerEventListenerImpl] Job run time: 3s
                11:39:23,562 INFO [VaauSchedulerEventListenerImpl] Next Run: null
                • 5. Re: OIM & OIA 11g integration
                  808915
                  Hi,

                  I never faced any such issue Kalyan.

                  P.S. Have you created a provisioning server with proper values? I'm not sure though, but reading through the line Failed to generate class for com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_EOImpl_1032_WLStub somewhat tells me that this issue is related to wrong creds which are being passed to connect to OIM.

                  Again, I'm not sure about this and this is more of a hunch.

                  Regards