Error While recon
I am getting the below error while doing the Recon with AD resource.
Error while examining Identity Manager user 1234567:
com.waveset.util.WavesetException: Missing user attribute 'userDN' used in identity template for resource 'AM Active Directory'
userDN is a dynamic variable in the identity template which we are using while provisioning the account.
Can some one emplain how recon works:
Is there any role of identity template during the recon process.
Error while examining Identity Manager user 1234567:
com.waveset.util.WavesetException: Missing user
attribute 'userDN' used in identity template for
resource 'AM Active Directory'
userDN is a dynamic variable in the identity template
which we are using while provisioning the account.
Can some one emplain how recon works:
Is there any role of identity template during the
recon process.We've had similar problem two days ago. We're using dynamic Identity Template variable when creating user just like you.
After some searching, the problem was completely different and - simple. The user was not created correctly, thus account was ASSIGNED but not created. And IDM bounced this error when opening a view for this user.
So try to check, if the user is created in idm correctly. Simply try to Edit the user in the Admin interface to see if some exception/warning appears.
Are you creating the user via role or in the forms?
Ivan
Similar Messages
-
Hi All,
I am using DBUM Connector to recon with JDE i getting following error
[APP: oim#11.1.1.3.0] Generic Information: {0}[[oracle.iam.reconciliation.exception.InvalidDataFormatException: Invalid data - 2013-01-01 00:00:00 against Date format yyyy/MM/dd for key Start Date
Caused by: java.text.ParseException: Unparseable date: "2013-01-01 00:00:00"
at java.text.DateFormat.parse(DateFormat.java:337)
at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.convertReconFieldsToOIMFields(ReconOperationsServiceImpl.java:1433)
I have tried to change the default date format as yyyy/MM/dd HH:mm:ss but no luck
Any help?[SRC_METHOD: debug] oracle.iam.connectors.dbum.common.db.util.DBHelper : setQueryParameters : Parameters to be set in the query :- {}
[2012-08-13T19:25:31.888+05:30] [server_oim_POC02] [ERROR] [] [OIMCP.DBUM] [tid: OIMQuartzScheduler_Worker-4] [userId: oiminternal] [ecid: 0000J^GcbrUAXN9_ndl3iZ1G9GR8000000,1:22684] [APP: oim#11.1.1.3.0] ====================================================
[2012-08-13T19:25:31.888+05:30] [server_oim_POC02] [ERROR] [] [OIMCP.DBUM] [tid: OIMQuartzScheduler_Worker-4] [userId: oiminternal] [ecid: 0000J^GcbrUAXN9_ndl3iZ1G9GR8000000,1:22684] [APP: oim#11.1.1.3.0] oracle.iam.connectors.dbum.common.db.util.DBHelper : setQueryParameters : parameter map is null or empty
[2012-08-13T19:25:31.889+05:30] [server_oim_POC02] [ERROR] [] [OIMCP.DBUM] [tid: OIMQuartzScheduler_Worker-4] [userId: oiminternal] [ecid: 0000J^GcbrUAXN9_ndl3iZ1G9GR8000000,1:22684] [APP: oim#11.1.1.3.0] ====================================================[[
[2012-08-13T19:25:31.889+05:30] [server_oim_POC02] [ERROR] [] [OIMCP.DBUM] [tid: OIMQuartzScheduler_Worker-4] [userId: oiminternal] [ecid: 0000J^GcbrUAXN9_ndl3iZ1G9GR8000000,1:22684] [APP: oim#11.1.1.3.0] ================= Start Stack Trace =======================
[2012-08-13T19:25:31.889+05:30] [server_oim_POC02] [ERROR] [] [OIMCP.DBUM] [tid: OIMQuartzScheduler_Worker-4] [userId: oiminternal] [ecid: 0000J^GcbrUAXN9_ndl3iZ1G9GR8000000,1:22684] [APP: oim#11.1.1.3.0] oracle.iam.connectors.dbum.tasks.impl.DBUMQueryReconciliationImpl : getTargetRecords
[2012-08-13T19:25:31.889+05:30] [server_oim_POC02] [ERROR] [] [OIMCP.DBUM] [tid: OIMQuartzScheduler_Worker-4] [userId: oiminternal] [ecid: 0000J^GcbrUAXN9_ndl3iZ1G9GR8000000,1:22684] [APP: oim#11.1.1.3.0] Failed to get target records
[2012-08-13T19:25:31.889+05:30] [server_oim_POC02] [ERROR] [] [OIMCP.DBUM] [tid: OIMQuartzScheduler_Worker-4] [userId: oiminternal] [ecid: 0000J^GcbrUAXN9_ndl3iZ1G9GR8000000,1:22684] [APP: oim#11.1.1.3.0] Description :
[2012-08-13T19:25:31.889+05:30] [server_oim_POC02] [ERROR] [] [OIMCP.DBUM] [tid: OIMQuartzScheduler_Worker-4] [userId: oiminternal] [ecid: 0000J^GcbrUAXN9_ndl3iZ1G9GR8000000,1:22684] [APP: oim#11.1.1.3.0] oracle.iam.connectors.common.ConnectorException: [[
at oracle.iam.connectors.dbum.common.db.util.DBHelper.setReconQueryParameters(Unknown Source)
at oracle.iam.connectors.dbum.tasks.impl.DBUMQueryReconciliationImpl.getTargetRecords(Unknown Source)
at oracle.iam.connectors.dbum.tasks.DBUMReconTask.execute(Unknown Source)
at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.execute(SchedulerBaseTask.java:385)
at oracle.iam.scheduler.vo.TaskSupport.executeJob(TaskSupport.java:145)
at sun.reflect.GeneratedMethodAccessor12164.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:198)
at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
[2012-08-13T19:25:31.889+05:30] [server_oim_POC02] [ERROR] [] [OIMCP.DBUM] [tid: OIMQuartzScheduler_Worker-4] [userId: oiminternal] [ecid: 0000J^GcbrUAXN9_ndl3iZ1G9GR8000000,1:22684] [APP: oim#11.1.1.3.0] ================= End Stack Trace =======================
[2012-08-13T19:25:31.890+05:30] [server_oim_POC02] [ERROR] [] [OIMCP.DBUM] [tid: OIMQuartzScheduler_Worker-4] [userId: oiminternal] [ecid: 0000J^GcbrUAXN9_ndl3iZ1G9GR8000000,1:22684] [APP: oim#11.1.1.3.0] ================= Start Stack Trace =======================
[2012-08-13T19:25:31.890+05:30] [server_oim_POC02] [ERROR] [] [OIMCP.DBUM] [tid: OIMQuartzScheduler_Worker-4] [userId: oiminternal] [ecid: 0000J^GcbrUAXN9_ndl3iZ1G9GR8000000,1:22684] [APP: oim#11.1.1.3.0] oracle.iam.connectors.dbum.tasks.DBUMReconTask : execute
[2012-08-13T19:25:31.890+05:30] [server_oim_POC02] [ERROR] [] [OIMCP.DBUM] [tid: OIMQuartzScheduler_Worker-4] [userId: oiminternal] [ecid: 0000J^GcbrUAXN9_ndl3iZ1G9GR8000000,1:22684] [APP: oim#11.1.1.3.0] Reconciliation operation failed
[2012-08-13T19:25:31.890+05:30] [server_oim_POC02] [ERROR] [] [OIMCP.DBUM] [tid: OIMQuartzScheduler_Worker-4] [userId: oiminternal] [ecid: 0000J^GcbrUAXN9_ndl3iZ1G9GR8000000,1:22684] [APP: oim#11.1.1.3.0] Description :
[2012-08-13T19:25:31.890+05:30] [server_oim_POC02] [ERROR] [] [OIMCP.DBUM] [tid: OIMQuartzScheduler_Worker-4] [userId: oiminternal] [ecid: 0000J^GcbrUAXN9_ndl3iZ1G9GR8000000,1:22684] [APP: oim#11.1.1.3.0] oracle.iam.connectors.common.ConnectorException: [[
at oracle.iam.connectors.dbum.tasks.impl.DBUMQueryReconciliationImpl.getTargetRecords(Unknown Source)
at oracle.iam.connectors.dbum.tasks.DBUMReconTask.execute(Unknown Source)
at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.execute(SchedulerBaseTask.java:385)
at oracle.iam.scheduler.vo.TaskSupport.executeJob(TaskSupport.java:145)
at sun.reflect.GeneratedMethodAccessor12164.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:198)
at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: oracle.iam.connectors.common.ConnectorException:
at oracle.iam.connectors.dbum.common.db.util.DBHelper.setReconQueryParameters(Unknown Source) -
Error while running Trusted DB recon
Hi,
I am facing problem while running trusted recon for Database. It was working earlier.
Recently I was trying to enable the option to reuse the same user Id in OIM. I have done the steps mentioned in the metalink for the same.
Following are the steps :
1. setting XL.UserIDReuse=TRUE
2. DROP INDEX UDX_USR_LOGIN;
3. create unique index UDX_USR_LOGIN_UNQ ON USR (USR_LOGIN, ACT_KEY, DECODE(USR_STATUS,'Active',USR_STATUS,TO_CHAR(USR_KEY)));
After these steps when I tried reusing the id but it gave me contraintVoilaition message.
After this today when I ran the trusted recon I am getting the following error and recon is not working :
<Error occurred while executing unmanaged async task. Task Name:oracle.iam.reconciliation.impl.ActionTask>
<Oct 17, 2012 6:24:54 PM IST> <Warning> <oracle.iam.platform.async> <BEA-000000>
<Exception for above message i.e IAM-0050000
oracle.iam.platform.utils.SuperRuntimeException: oracle.iam.platform.utils.Super
RuntimeException: java.sql.SQLIntegrityConstraintViolationException: ORA-00001:
unique constraint (DEV_OIM.UDX_USR_LOGIN_UNQ) violated
ORA-06512: at "DEV_OIM.OIM_SP_RECONBLKUSERCRUD", line 1383
ORA-06512: at "DEV_OIM.OIM_SP_RECONBLKUSRMLSWRAPPER", line 71
ORA-06512: at line 1
at oracle.iam.reconciliation.impl.ActionEngine.processBatch(ActionEngine
.java:146)
at oracle.iam.reconciliation.impl.ActionEngine.execute(ActionEngine.java
:92)
at oracle.iam.reconciliation.impl.ActionTask.execute(ActionTask.java:72)
at oracle.iam.platform.async.impl.TaskExecutor.executeUnmanagedTask(Task
Executor.java:100)
at oracle.iam.platform.async.impl.TaskExecutor.execute(TaskExecutor.java
:70)
at oracle.iam.platform.async.messaging.MessageReceiver.onMessage(Message
Receiver.java:68)
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 com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJo
inpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho
dInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho
dInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocat
ionInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho
dInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntrodu
ctionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntrodu
ctionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho
dInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopPr
oxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy493.onMessage(Unknown Source)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:57
4)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDL
istener.java:477)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:
379)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:517
0)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
gWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: oracle.iam.platform.utils.SuperRuntimeException: java.sql.SQLIntegrit
yConstraintViolationException: ORA-00001: unique constraint (DEV_OIM.UDX_USR_LOG
IN_UNQ) violated
ORA-06512: at "DEV_OIM.OIM_SP_RECONBLKUSERCRUD", line 1383
ORA-06512: at "DEV_OIM.OIM_SP_RECONBLKUSRMLSWRAPPER", line 71
ORA-06512: at line 1
at oracle.iam.reconciliation.dao.DBCall.execute(DBCall.java:24)
at oracle.iam.reconciliation.dao.ReconActionDao.processSPCall(ReconActio
nDao.java:1330)
at oracle.iam.reconciliation.dao.ReconActionDao.executeBulkUserMatchCRUD
(ReconActionDao.java:696)
at oracle.iam.reconciliation.impl.UserHandler.executeBulkCUD(UserHandler
.java:518)
at oracle.iam.reconciliation.impl.BaseEntityTypeHandler.process(BaseEnti
tyTypeHandler.java:42)
at oracle.iam.reconciliation.impl.ActionEngine.processBatch(ActionEngine
.java:131)
at oracle.iam.reconciliation.impl.ActionEngine.execute(ActionEngine.java
:92)
at oracle.iam.reconciliation.impl.ActionTask.execute(ActionTask.java:72)
at oracle.iam.platform.async.impl.TaskExecutor.executeUnmanagedTask(Task
Executor.java:100)
at oracle.iam.platform.async.impl.TaskExecutor.execute(TaskExecutor.java
:70)
at oracle.iam.platform.async.messaging.MessageReceiver.onMessage(Message
Receiver.java:68)
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 com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJo
inpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho
dInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho
dInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocat
ionInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho
dInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntrodu
ctionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntrodu
ctionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho
dInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopPr
oxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy493.onMessage(Unknown Source)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:57
4)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDL
istener.java:477)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:
379)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:517
0)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
gWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique
constraint (DEV_OIM.UDX_USR_LOGIN_UNQ) violated
ORA-06512: at "DEV_OIM.OIM_SP_RECONBLKUSERCRUD", line 1383
ORA-06512: at "DEV_OIM.OIM_SP_RECONBLKUSRMLSWRAPPER", line 71
ORA-06512: at line 1
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.
java:213)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableSta
tement.java:1075)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
nt.java:1466)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrep
aredStatement.java:3752)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStat
ement.java:3937)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStat
ement.java:9259)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePrepa
redStatementWrapper.java:1535)
at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.jav
a:99)
at oracle.iam.reconciliation.dao.ReconActionDao$1ReconDBCall.command(Rec
onActionDao.java:1302)
at oracle.iam.reconciliation.dao.ReconActionDao$1ReconDBCall.command(Rec
onActionDao.java:1285)
at oracle.iam.reconciliation.dao.DBCall.execute(DBCall.java:17)
at oracle.iam.reconciliation.dao.ReconActionDao.processSPCall(ReconActio
nDao.java:1330)
at oracle.iam.reconciliation.dao.ReconActionDao.executeBulkUserMatchCRUD
(ReconActionDao.java:696)
at oracle.iam.reconciliation.impl.UserHandler.executeBulkCUD(UserHandler
.java:518)
at oracle.iam.reconciliation.impl.BaseEntityTypeHandler.process(BaseEnti
tyTypeHandler.java:42)
at oracle.iam.reconciliation.impl.ActionEngine.processBatch(ActionEngine
.java:131)
at oracle.iam.reconciliation.impl.ActionEngine.execute(ActionEngine.java
:92)
at oracle.iam.reconciliation.impl.ActionTask.execute(ActionTask.java:72)
at oracle.iam.platform.async.impl.TaskExecutor.executeUnmanagedTask(Task
Executor.java:100)
at oracle.iam.platform.async.impl.TaskExecutor.execute(TaskExecutor.java
:70)
at oracle.iam.platform.async.messaging.MessageReceiver.onMessage(Message
Receiver.java:68)
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 com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJo
inpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho
dInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho
dInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocat
ionInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho
dInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntrodu
ctionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntrodu
ctionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho
dInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopPr
oxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy493.onMessage(Unknown Source)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:57
4)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDL
istener.java:477)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:
379)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:517
0)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
gWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Could you please help me in knowing what could be the possible issue for this error and how to solve this.
Thanks.Caused By: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique
constraint (DEV_OIM.UDX_USR_LOGIN_UNQ) violated
I would suggest you not to try to reuse the User IDs... In fact DELETING any user login in OIM is NOT Recommended. At max one should DISABLE it... Because once it is DELETED, it is DELETED for ever. It is irreversible process... So, go for Disable Trusted Recon but never do deletion...
The point is uniqueness of User Login is utilized throughout the product OIM... This constraint DEV_OIM.UDX_USR_LOGIN_UNQ might be used at many other places.
Even if somehow you may be able to work-around this particular issue, other issues having root in this constraint will again arise... -
Error while running AD User Target Recon
Hi,
We are getting the below error while running AD User Target Recon:
[2012-09-04T10:07:32.262-04:00] [oim_server2] [NOTIFICATION] [] [oracle.iam.features.scheduler.agentry.operations] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 98fe4d9aa175090d:7101298f:13991840195:-8000-0000000000000235,0] [APP: oim#11.1.2.0.0] ADP ClassLoader failed to load: Script1[[
java.lang.ClassNotFoundException: ADP ClassLoader failed to load: Script1
at com.thortech.xl.dataobj.tcADPClassLoader.findClass(tcADPClassLoader.java:229)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at oracle.iam.scheduler.vo.ClassLoaderObjectInputStream.resolveClass(ClassLoaderObjectInputStream.java:72)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1574)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)
at java.io.ObjectInputStream.readClass(ObjectInputStream.java:1461)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1311)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
at oracle.iam.scheduler.vo.JobHistory.getExceptionObject(JobHistory.java:78)
at oracle.iam.features.scheduler.agentry.operations.LookupActor.prepare(LookupActor.java:1282)
at oracle.iam.features.scheduler.agentry.operations.LookupActor.refresh(LookupActor.java:3074)
at oracle.iam.features.scheduler.agentry.operations.LookupActor.perform(LookupActor.java:2495)
at oracle.iam.consoles.faces.mvc.canonic.Model.perform(Model.java:579)
at oracle.iam.consoles.faces.mvc.admin.Model.perform(Model.java:326)
at oracle.iam.consoles.faces.mvc.canonic.Controller.doPerform(Controller.java:257)
at oracle.iam.consoles.faces.mvc.canonic.Controller.doSelectAction(Controller.java:179)
at oracle.iam.consoles.faces.event.NavigationListener.processAction(NavigationListener.java:99)
at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:675)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:889)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:379)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
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:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthContextFilter.java:107)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
[2012-09-04T10:07:32.314-04:00] [oim_server2] [NOTIFICATION] [] [oracle.iam.features.scheduler.agentry.operations] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 98fe4d9aa175090d:7101298f:13991840195:-8000-0000000000000235,0] [APP: oim#11.1.2.0.0] [[
java.lang.NullPointerException
at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)
at oracle.iam.scheduler.vo.JobHistory.getExceptionObject(JobHistory.java:76)
at oracle.iam.features.scheduler.agentry.operations.LookupActor.prepare(LookupActor.java:1282)
at oracle.iam.features.scheduler.agentry.operations.LookupActor.refresh(LookupActor.java:3074)
at oracle.iam.features.scheduler.agentry.operations.LookupActor.perform(LookupActor.java:2495)
at oracle.iam.consoles.faces.mvc.canonic.Model.perform(Model.java:579)
at oracle.iam.consoles.faces.mvc.admin.Model.perform(Model.java:326)
at oracle.iam.consoles.faces.mvc.canonic.Controller.doPerform(Controller.java:257)
at oracle.iam.consoles.faces.mvc.canonic.Controller.doSelectAction(Controller.java:179)
at oracle.iam.consoles.faces.event.NavigationListener.processAction(NavigationListener.java:99)
at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:675)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:889)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:379)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
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:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthContextFilter.java:107)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Have anyone faced this issue ?? Any idea how to resolve this ??
Thanks,
Hrushi920194 wrote:
Hi Bikash,
Thank you that helped a bit!! I see the same behaviour i.e., recon events are created when using displayName or givenName attribute and it does not work using "samAccountName". Were you able to find the solution for this ??The solution would have to be provided by Oracle as this looks like a bug, since the connector doc gives example of filter as samAccountName.
Also, when we reconcile using displayName/givenName attribute, even though the recon event is created, the status if the scheduler is Failed with "oracle.iam.connectors.icfcommon.exceptions.OIMException: Thor.API.Exceptions.tcAPIException: Row index out of bounds" Any idea on this ??Full stacktrace??
Thanks,
Hrushi -
Error while releasing Billing doc to Accounting
Hi all
I am gettin the following error while releasing a Billing doc to FI-
Reconciliation account 240001 or short key 00 is not permitted
The Billing doc pertains to Export sales and the billing Doc type is Export Invoice. However the Customer Recon A/c is defined as 240000 which is for Domestic Sales. A/c 240001 stands for Export Sales. I am wondering why it is asking for the Export Sales Recon a/c. Does this has something to do with Alternative Recon A/c? Should I set an Alternative Recon A/c and check this? If yes, then should it be defined in SD or FI?
If any1 has come across this prob, plzz help me.
RegardsIt is all Fi related, and should be defined by the Fi Consultant.
But by changing the sort key I think your error can be solved. But I don't exactly know your config settings to recommend any solution.
Regards
AK
Please reward if helpful -
Error while Importing ResourceObject xml file in Deployment Manager
Hi Everyone,
I am getting this error while doing Import of HRPeopleSoftResourceObjects.xml ( A Resource Object xml file) in Deployment Manager. I am doing this step for Authoritative(Trusted Source) Reconciliation.
Error Says:- Attribute not present in EntityDefination of User :: ExpectedReturnDate.
ExpectedReturnDate is a UDF (Customize) field. I did Metadata and Sandbox import for this field to create this attribute in OIM. I can see this attribute on User Details screen as well as in User Table in OIM. So, ideally this error should not popup. I have to do this import for Reconciliation.
I pulled and checked all the xml files like(UserEO.xml.xml, userEO.xml.xml, userVO.xml, UserVO.xml.xml) from oracle.iam.console.identity.self-service.ear_V2.0_metadata1 and found ExpectedReturnDate field is available.
I am using: OIM Version - Oracle 11g Release 2
Database version - 11.2.0
Weblogic version - 10.3
Please let me know how to resolve this error.
Appreciate your response and support!
Warm Regards
Vijay KumarAppreciate your response Kevin!
I saw your response today. What you have suggested in your post make perfect sense to me.
Yesterday, I was able to create Reconciliation profile successfully. No idea how it worked so, didn't updated my post.
I tried to re-import the UDF, noticed ExpectedReturnDate attribute has little icon in fornt of it on deployment manager screen which says on mouse over "new field". No idea why as I didn't delete it from anywhere, perhaps it didn't get imported properly previously. I stepped ahead and clicked the import button on deployment manager but failed as it was throwing an exception which says udf_usr_expectedReturnDate is available in usr table. That makes sense to me as this column got created in usr table in OIM because of previous import and I didn't delete it either. This raised couple of doubts more as, along with this attribute there were other attributes in the same metadata xml file which were part of previous import and their respective columns were already created in usr table. Then why message poped-up for this field in particular? Anyway I went ahead with the import process.
Now I stopped all the server (Admin, SOA and OIM) and restarted them again and performed the same steps as mentioned above and this time it worked as expected. UDF file got imported successfully.
After this I went to Design Console verified all the fields and created the Reconciliation Profile. I checked OIM database and found RA_ProfileName recon tables got created.
As per your comment, Today I checked the RECON_USER_OLDSTATE table but this table is empty.
Still I have couple of doubts, if Reconciliation Profile got created it should create the xml file under metadata direcectory(in my case path should be: /apps/Oracle/Middleware/Oracle_IDM1/server/metadata/db). Please correct me if I am wrong? I hope it should be physical file not a logical file.
Once again thanks for your response!
Warm Regards
Vijay Kumar -
Security Violation Error while running schedule task from OIM.
Hi All,
I am getting this error while running a custom java schedule task from OIM:
*Thor.API.Exceptions.tcAPIException [EJB:010160] Security Violation: User '<anonymous>' has insufficient permission to access EJB:*
type=<ejb>,application=Xellerate,module=xlDataObjectBeans.jar,ejb=tcReconciliationoperations,method=createDeleteReconciliationEvent
at Thor.API.Operations.tcReconciliationOperationsClient.createDeleteReconciliationEvent(UnKnown Source).
I got this error as soon as my code start creating Delete Reconciliation Event.
Note: I have already protected the JNDI Namespace.
Please provide some pointers.
Regards,
SunnyHi Rajiv,
Check this:
package com.centrica.iam.scheduletask;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileFilter;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Set;
import oracle.iam.connectors.common.ConnectorLogger;
import com.thortech.xl.dataaccess.tcDataSet;
import com.thortech.xl.dataaccess.tcDataSetException;
import com.thortech.xl.dataobj.PreparedStatementUtil;
import com.thortech.xl.orb.dataaccess.tcDataAccessException;
import com.thortech.xl.scheduler.tasks.SchedulerBaseTask;
import Thor.API.tcResultSet;
import Thor.API.Exceptions.tcAPIException;
import Thor.API.Exceptions.tcInvalidValueException;
import Thor.API.Operations.tcLookupOperationsIntf;
import Thor.API.Operations.tcReconciliationOperationsIntf;
import Thor.API.Operations.tcSchedulerOperationsIntf;
public class CustomFlatFile extends SchedulerBaseTask {
private static tcSchedulerOperationsIntf schedulerIntf;
private static tcLookupOperationsIntf lookupIntf;
private static tcReconciliationOperationsIntf reconIntf;
String sObjectName;
String LookupName;
String LookupName2;
String FileDirectory;
String FileName;
String File;
String delimeter;
String isDeleteTrue;
HashMap<String, String> attrMap = new HashMap();
HashMap<String, String> delMap = new HashMap();
HashMap<String, String> finalMap = new HashMap();
ArrayList list = new ArrayList();
public boolean isReconStopped;
public CustomFlatFile()
isReconStopped = false;
public void init()
LookupName = getAttribute("Attribute Lookup Name");
FileDirectory = getAttribute("Directory Path");
FileName = getAttribute("File Name");
delimeter = getAttribute("Delimeter");
sObjectName = getAttribute("Resource Object Name");
isDeleteTrue = getAttribute("Is Delete Allowed");
public void execute(){
try {
System.out.println("Start Exceute");
//Initiate lookupIntf
lookupIntf = (tcLookupOperationsIntf)getUtility("Thor.API.Operations.tcLookupOperationsIntf");
reconIntf=(tcReconciliationOperationsIntf)getUtility("Thor.API.Operations.tcReconciliationOperationsIntf");
catch (tcAPIException tcapiexception){
tcapiexception.printStackTrace();
//logger.error(classname, s, tcapiexception.toString());
//logger.setStackTrace(tcapiexception, classname, s, tcapiexception.getMessage());
catch (Exception excep){
excep.printStackTrace();
//logger.error(classname, s, excep.toString());
//logger.setStackTrace(excep, classname, s, excep.getMessage());
attrMap = readLookup(LookupName);
System.out.println(attrMap.toString());
readFile();
if (isDeleteTrue.equalsIgnoreCase("true"))
performDelete();
System.out.println("Finish Execute");
public void performDelete()
System.out.println("Start Perform delete");
int k = list.size();
System.out.println("list size " + list.size());
try
Thread.sleep(15000);
/* Hashtable ahashtable[] = new Hashtable[k];
Hashtable hashtable = new Hashtable();
for (int i=0;i<k;i++)
hashtable.put("User Id", list.get(i));
ahashtable[i] = hashtable;
System.out.println(list.get(i));
Set set = reconIntf.provideDeletionDetectionData(sObjectName, ahashtable);
System.out.println("Set--" + set.toString());
tcResultSet tcresultset = reconIntf.getMissingAccounts(sObjectName, set);
System.out.println("tcresultset - " + tcresultset.getRowCount());
if (!(tcresultset.isEmpty()))
long l[] = reconIntf.deleteDetectedAccounts(tcresultset);
for (int i1=0;i1<l.length;i1++)
System.out.println("delete recon key " + l[i1]);
//Get the existing list of Managed users
tcDataSet tcdataset = new tcDataSet();
tcDataSet tcdataset1 = new tcDataSet();
String query = "select orf.orf_fieldname,prf.prf_columnname, sdk.sdk_name from orf, sdk, pkg, tos, prf, obj " +
"where pkg.obj_key = obj.obj_key and pkg.pkg_key = tos.pkg_key and tos.sdk_key is not null " +
"and tos.sdk_key=sdk.sdk_key and tos.tos_key=prf.tos_key and prf.prf_iskey='1' and prf.orf_key=orf.orf_key " +
"and orf.orf_parent_orf_key is null and obj.obj_name='" + sObjectName + "'";
tcdataset.setQuery(getDataBase(), query);
tcdataset.executeQuery();
String FFName = tcdataset.getString("prf_columnname");
String FName = tcdataset.getString("sdk_name");
String ROFName = tcdataset.getString("orf_fieldname");
System.out.println("form- " + FName + " Field- " + FFName);
query = "select " + FFName + " from " + FName + " udtable, oiu a, ost b " +
"where udtable.orc_key=a.orc_key and a.ost_key=b.ost_key and b.ost_status!='Revoked'";
System.out.println(query);
tcdataset1.setQuery(getDataBase(), query);
tcdataset1.executeQuery();
int i = tcdataset1.getRowCount();
ArrayList list1 = new ArrayList();
String s1 = null;
System.out.println("N. of rows--" + i);
for (int j=0;j<i;j++)
tcdataset1.goToRow(j);
s1 = tcdataset1.getString(0);
System.out.println("s1---" + s1);
if (!(list.contains(s1)))
list1.add(s1);
System.out.println("under if--" + s1);
//Getting the existing list of unmanaged users
query = "select distinct (b.rcd_value) from rce a, rcd b, orf c, obj d where a.rce_key=b.rce_key and " +
"b.orf_key=c.orf_key and c.orf_fieldname='" + ROFName + "' and a.rce_status!='Event Linked' " +
"and a.obj_key = d.obj_key and d.obj_name='" + sObjectName + "'";
tcdataset1.setQuery(getDataBase(), query);
tcdataset1.executeQuery();
i = tcdataset1.getRowCount();
System.out.println("No. Of Unmanaged Users " + i);
for (int j=0;j<i;j++)
tcdataset1.goToRow(j);
s1 = tcdataset1.getString(0);
System.out.println("s1---" + s1);
if (!(list.contains(s1)))
list1.add(s1);
System.out.println("under if--" + s1);
int k1 = list1.size();
System.out.println("list1 size--" + k1);
for (int j1=0;j1<k1;j1++)
delMap.clear();
delMap.put(ROFName, (String)list1.get(j1));
System.out.println(delMap.toString());
long l = reconIntf.createDeleteReconciliationEvent(sObjectName, delMap);
System.out.println("delete recon key--- " + l);
catch (Exception exception)
exception.printStackTrace();
public void readFile(){
String s = "readFile()";
//logger.setMethodStartLog(classname, s);
HashMap map = new HashMap();
try {
File = getFile();
BufferedReader reader = new BufferedReader(new FileReader(new
File(File)));
String line = "";
int k = attrMap.size();
String value[] = new String[k];
String Header[]= new String[k];
if (delimeter.equalsIgnoreCase("|"))
delimeter = "\\" + delimeter;
line = reader.readLine();
Header = line.split(delimeter);
while((line = reader.readLine()) != null)
value = line.split(delimeter);
k = value.length;
for (int i = 0;i<k;i++){
finalMap.put(attrMap.get(Header), value[i]);
System.out.println(finalMap.toString());
System.out.println("Start Ignoring Event");
if (!(reconIntf.ignoreEvent(sObjectName, finalMap)))
System.out.println("Not Ignored");
long l1 = reconIntf.createReconciliationEvent(sObjectName, finalMap, true);
System.out.println("Recon Key--" + l1);
else
System.out.println("ignore event ---" + finalMap.toString());
list.add(finalMap.get("User Id"));
System.out.println(list.size() + "add--" +finalMap.get("User Id") );
finalMap.clear();
catch (Exception exception)
exception.printStackTrace();
public boolean stop(){
String s = "stop()";
//logger.setMethodStartLog(classname, s);
//logger.info(classname, s, "Stopping Reconciliation........");
isReconStopped = true;
//logger.setMethodFinishLog(classname, s);
return true;
FileFilter fileFilter = new FileFilter()
public boolean accept(File file)
String sFilePath = file.getName();
if( sFilePath.startsWith(FileName) )
return true;
else
return false;
public String getFile() throws FileNotFoundException, Exception{
String s = "getFile()";
//logger.setMethodStartLog(classname, s);
String s1;
File dir = new File(FileDirectory);
File[] files = dir.listFiles(fileFilter);
if (files.length ==0)
throw new FileNotFoundException();
if (files.length>1)
throw new Exception("Multiple Matches found for this file name");
s1 = files[0].toString();
//logger.setMethodFinishLog(classname, s);
return s1;
public HashMap readLookup(String s1){
String s = "readLookup()";
//logger.setMethodStartLog(classname, s);
HashMap map = new HashMap();
try {
tcResultSet tc1= lookupIntf.getLookupValues(s1);
int i = tc1.getRowCount();
for (int j = 0;j<i;j++){
tc1.goToRow(j);
map.put(tc1.getStringValue("Lookup Definition.Lookup Code Information.Code Key"), tc1.getStringValue("Lookup Definition.Lookup Code Information.Decode"));
catch (tcAPIException tcapiexception){
tcapiexception.printStackTrace();
//logger.error(classname, s, tcapiexception.toString());
//logger.setStackTrace(tcapiexception, classname, s, tcapiexception.getMessage());
catch (Exception excep){
excep.printStackTrace();
//logger.error(classname, s, excep.toString());
//logger.setStackTrace(excep, classname, s, excep.getMessage());
return map; -
OIM 11g error while running the scheduler
Hi All,
we have created on few custom schedulers to carry out trustetd recon and doing the create , modify and delete operations on OIM entities. all were running fine earlier. Now we started facing the below error while running any scheduler. Please find the OIM diagonostic logs below.
scheduler status is not changing to running and scheduler logs and events r also not getting generated. please find the logs below.
2012-09-04T11:03:38.355+05:30] [oim_server1] [NOTIFICATION] [IAM-0080006] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] Orchestration process moved to failed stage, and the corresponding error is - {0}[[
oracle.iam.platform.kernel.EventFailedException: Operation - UNSCHEDULE that is submitted as part of the orchestration is not supported.
Completed orchestration with action result - oracle.iam.platform.kernel.EventFailedException: Operation - UNSCHEDULE that is submitted as part of the orchestration is not supported.
[2012-09-04T11:03:38.430+05:30] [oim_server1] [NOTIFICATION] [IAM-1010010] [oracle.iam.platform.authz.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] ********** Entering the Authorization Segment with parameters:: LoggedInUserId = 1, target resourceID = null, Feature = SCHEDULER, Action = JOB_MODIFY **********
[2012-09-04T11:03:38.430+05:30] [oim_server1] [NOTIFICATION] [IAM-1010029] [oracle.iam.platform.authz.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] OES Results found in cache with Key F: SCHEDULERS: 1P: JOB_MODIFYOESDefinition
[2012-09-04T11:03:38.431+05:30] [oim_server1] [NOTIFICATION] [IAM-1010021] [oracle.iam.platform.authz.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] Validating the Internal Obligations: [InternalObligation: name: noop, values: [true], convertToObligation: false, InternalObligation: name: noop, values: [true], convertToObligation: false]
[2012-09-04T11:03:38.431+05:30] [oim_server1] [NOTIFICATION] [IAM-1010022] [oracle.iam.platform.authz.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] ---------- The list of Internal Obligation is satisfied, returning TRUE ----------
[2012-09-04T11:03:38.431+05:30] [oim_server1] [NOTIFICATION] [IAM-1010026] [oracle.iam.platform.authz.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] ********** Exiting the Authorization Segment with result Decision :PERMIT[[
Obligations from policy: **********
[2012-09-04T11:03:38.598+05:30] [oim_server1] [NOTIFICATION] [IAM-0080013] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] Kernel executing default validation with process id, event id, entity and operation 709,251.0.JobDetails.UPDATE
[2012-09-04T11:03:38.875+05:30] [oim_server1] [NOTIFICATION] [IAM-0080014] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] Kernel executing default action handler with process id, event id, entity and operation 709,251.2,295,568.JobDetails.UPDATE.entityId=null
[2012-09-04T11:03:38.875+05:30] [oim_server1] [NOTIFICATION] [IAM-0080001] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] An error occurred while executing the kernel event handler.[[
oracle.iam.platform.kernel.EventFailedException: Operation - UPDATE that is submitted as part of the orchestration is not supported.
at oracle.iam.platform.kernel.impl.EntityDefaultActionHandler.execute(EntityDefaultActionHandler.java:53)
thanks.I got one similar issue before. In my case was with event handler. It was a sintax issue.
Example:
I wrote this: <action-handler Class="...
instead of this: <action-handler class="...
So, in your case III suggest you to check if have any plugin invalid syntax and re-import your schedule task plugin.
<oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<plugins pluginpoint=.....
<plugin pluginclass= .....
</plugin>
Let me know if you have any doubt.
I hope this helps,
Thiago Leoncio. -
Error while posting Down Payment
Hi,
I got error while posting down payment in F-48. the error was "Special G/L Indicator P is not defined for down payment".
Thanks,Hello,
"Special G/L Indicator P is not defined for down payment" because you have not maintained this indicator in your system. For maintain this you go to TC: OBYR, dbl down payment indicator P, , give your chart of accounts and press enter. Here you have to give normal Recon A/c and Alternative Recon A/c and save it. Now, go to TC: F-48 and you will able to post it now.
Thanks
Para -
OIM 11g - Error while calling ignoreEvent() API
Hi,
I am getting the following error,while calling ignoreEvent API in my recon code:
"Thor.API.Exceptions.tcAPIException: Problem with the matching rule"
Any ide what could be causing the issue?.ThanksHi
This means, the reconciliation matching rules are not defined correctly. Please verify the following:
1. The key fields defined in the process definition for process match
2. The reconciliation rule defined for this resource object for entity match. This rule should the valid and active check boxes checked.
After verifying the above, click on the "Create Reconciliation Profile" button present in the Resource object's tabs.
Regards
user12841694 -
Unexpected error while discovering accounts on AD
This error occurs when running incremental recons against Active Directory. Does anyone have any ideas on what may be causing it?
Component Reconciler
Error Code EXMN01
Message Unexpected error while discovering accounts on AD.
Reported cause com.waveset.util.WavesetException: Error getting accounts, unable to match session handle
com.waveset.util.WavesetException: Error getting accounts, unable to match session handle
at com.waveset.adapter.AgentResourceAdapter.loadUsersFromResponse(AgentResourceAdapter.java:562)
at com.waveset.adapter.AgentResourceAdapter$AgentAccountSupplier.call(AgentResourceAdapter.java:2899)
at com.waveset.util.BufferedSupplier.getNextBlock(BufferedSupplier.java:77)
at com.waveset.util.BufferedSupplier.run(BufferedSupplier.java:95)
at java.lang.Thread.run(Thread.java:595)Anybody on this?
-
Error while calling a select esb service
javax.resource.ResourceException: RollbackException: Transaction has been marked for rollback:
I encounter the above error while executing a synchronous bpel process, that invokes an esb db select service to fetch a value from the db.
the details available for the error are:
An unhandled exception has been thrown in the ESB system. The exception reported is: "java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0 at java.util.Vector.get(Vector.java:710) at oracle.tip.esb.server.common.wsif.WSIFInvoker.readResponseHeader(Unknown Source) at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(Unknown Source) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(Unknown Source) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source) at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source) at oracle.tip.esb.wsif.WSIFOperation_ESB.executeRequestResponseOperation(Unknown Source) at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:431) at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:353) at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:192) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:733) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:368) at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:197) at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3266) at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1696) at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184) at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:269) at com.collaxa.cube.engine.CubeE
Please suggest
thanx
AJDone That,
Thanx a ton Dave, it worked.
So I am finally moving on :-)
Just one question Dave, I happened to work on the Beta release of this version too, the problem was not there. How come we have been able to get it in dev preview. -
Error while running a Java Program
Can anyone help me,
I am getting the following error while running a Java program, Below is the exception thrown, please help.
java.nio.BufferOverflowException
at java.nio.Buffer.nextPutIndex(Buffer.java:425)
at java.nio.DirectByteBuffer.putChar(DirectByteBuffer.java:463)
at org.jetel.data.StringDataField.serialize(StringDataField.java:295)
at org.jetel.data.DataRecord.serialize(DataRecord.java:283)
at org.jetel.graph.DirectEdge.writeRecord(DirectEdge.java:216)
at org.jetel.graph.Edge.writeRecord(Edge.java:288)
at com.tcs.re.component.RESummer1.run(RESummer1.java:505)
java.nio.BufferOverflowException
at java.nio.Buffer.nextPutIndex(Buffer.java:425)
at java.nio.DirectByteBuffer.putChar(DirectByteBuffer.java:463)
at org.jetel.data.StringDataField.serialize(StringDataField.java:295)
at org.jetel.data.DataRecord.serialize(DataRecord.java:283)
at org.jetel.graph.DirectEdge.writeRecord(DirectEdge.java:216)
at org.jetel.graph.Edge.writeRecord(Edge.java:288)
at com.tcs.re.component.RECollectCont.run(RECollectCont.java:304)Ok, let's see. Write the following class:
public class Grunt {
public static void main(String[] args) {
System.out.println("Hello Mars");
}Save it as "C:\Grunt.java", compile by typing:
javac c:\Grunt.javaRun by typing:
java -classpath "C:\" GruntDoes it say "Hello Mars"? If yes, go back to your program and compare for differences (maybe you used the "package" statement?).
Regards -
Hi SAP Techies,
I am getting the following error while generating a role,
"18 field value(s) for object K_CCA were not entered in the profile"
Can you please provide me a solution to fix this problem.
Thanks.
Regards,
AgustussHow many cost centres are you putting in the role? Do you have cost centre set as an org level?
From your User Name I assume that you are at the BBC...Do you still use a program to populate the cost centres in the role based on the cost centre group names? If so it is possible that you are trying to put too many cost centres in the field and the the profile will not generate because of this (we had it back in 2001 when I was working there).
Do you have the technical error message details? -
Hi all,
I am getting this particular error while running a report. The error is:
<b>SQL Error: 604
System error in program SAPLRRK0 and form RSRDR;SRRK0F30-01-
Diagnosis
This internal error is a targeted termination since the program has an
incorrect status.
Procedure
Analyse the situation and inform SAP.
Notification Number BRAIN 299 </b>
Could anyone tell me what that means?
Thanks In advance,
RajHi Raj,
There are a few OSS Notes for your issue.
If your Query has hierarchy in it then check 734184
If your query is based on Infoset then check Note 784502 and 701941.
Also check 668921.
Bye
Dinesh
Maybe you are looking for
-
Help Needed with Data-modeling to build an application on
Hi would anyone be able to help me in creating a data model cause im really stuck with this one .Basically if been asked to create a survey application in oracle apex that use to excel based . So the info i was given was in a form of excel sheet wh
-
Install on SDCard/USB stick, toggle read-only filesystem - possible?
This is something I thought about while installing Arch on an SD card earlier. You know these small switches on some SD cards that make them read-only, right? Would it be possible to have a setup where Archlinux is installed on a rewritable storage d
-
How can i make a voice memo a text tone on iphone 3gs?
I have the iphone 3gs and i love the android sound called ta da. So i recorded it off my friends phone, but now i want to make it my text tone, how can i do this? thanks
-
Pre requisits for Internation HR and Payroll Setups
Hi All, Can any one help me in Pre requisits for Internation HR and Payroll Setups. Thanks in advance.
-
Any possible dual presentation screen solution (Impress!ve+Writer)?
Hello. I've made a presentation in LaTeX-Beamer and want to use Impress!ve to project it to the projector or the Smart Board (some kind of projector) via an VGA cable, how can I have a dual screen so I can view some notes from OpenOffice Writer on my