Problem running AD Organization Lookup Recon scheduled task

Hey all,
I'm getting errors thrown in JBoss when trying to run the AD org lookup recon scheduled task.
Running OIM 9.1.0.1 with the latest AD connector.
here is the error JBoss is throwing...
2009-10-21 16:00:01,399 DEBUG [OIMCP.ADCS] com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController : connectToAvailableAD:: FINISHED
2009-10-21 16:00:01,399 DEBUG [OIMCP.ADCS] com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController : disconnect:: STARTED
2009-10-21 16:00:01,414 DEBUG [OIMCP.ADCS] com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController : disconnect:: FINISHED
2009-10-21 16:00:01,430 ERROR [STDERR] Exception in thread "DefaultQuartzScheduler_Worker-7"
2009-10-21 16:00:01,461 ERROR [STDERR] java.lang.NoClassDefFoundError: com/sun/jndi/ldap/ctl/PagedResultsControl
2009-10-21 16:00:01,461 ERROR [STDERR]      at com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController.searchResultPageEnum(Unknown Source)
2009-10-21 16:00:01,461 ERROR [STDERR]      at com.thortech.xl.schedule.tasks.ADLookupReconTask.performReconciliation(Unknown Source)
2009-10-21 16:00:01,461 ERROR [STDERR]      at com.thortech.xl.schedule.tasks.ADLookupReconTask.execute(Unknown Source)
2009-10-21 16:00:01,461 ERROR [STDERR]      at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)
2009-10-21 16:00:01,477 ERROR [STDERR]      at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
2009-10-21 16:00:01,477 ERROR [STDERR]      at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
2009-10-21 16:00:01,477 ERROR [STDERR]      at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
2009-10-21 16:00:01,477 ERROR [STDERR]      at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
2009-10-21 16:00:01,493 ERROR [STDERR]      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
2009-10-21 16:00:01,493 ERROR [STDERR] Caused by: java.lang.ClassNotFoundException: ADP ClassLoader failed to load: com.sun.jndi.ldap.ctl.PagedResultsControl
2009-10-21 16:00:01,493 ERROR [STDERR]      at com.thortech.xl.dataobj.tcADPClassLoader.findClass(Unknown Source)
2009-10-21 16:00:01,493 ERROR [STDERR]      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
2009-10-21 16:00:01,508 ERROR [STDERR]      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
2009-10-21 16:00:01,508 ERROR [STDERR]      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
2009-10-21 16:00:01,508 ERROR [STDERR]      ... 9 more
I believe I have my AD connector configured properly.
My domain is dc=test-oim,dc=local
Any help would be greatly appreciated.
Thanks in Advance.
-Bryan

You might have to add ldapbp.jar in the class path. either place it in jdk lib or oim ext lib directory.
Hope this helps,
Saggu

Similar Messages

  • Problem while running AD org lookup recon scheduled task

    Hi,
    I'm getting errors thrown when trying to run the AD org lookup recon scheduled task.
    using OIM 9.1.0.1 with the latest AD connector on JBoss.
    the error log -
    2009-10-21 16:00:01,399 DEBUG http://OIMCP.ADCS com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController : connectToAvailableAD:: FINISHED
    2009-10-21 16:00:01,399 DEBUG http://OIMCP.ADCS com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController : disconnect:: STARTED
    2009-10-21 16:00:01,414 DEBUG http://OIMCP.ADCS com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController : disconnect:: FINISHED
    2009-10-21 16:00:01,430 ERROR STDERR Exception in thread "DefaultQuartzScheduler_Worker-7"
    2009-10-21 16:00:01,461 ERROR STDERR java.lang.NoClassDefFoundError: com/sun/jndi/ldap/ctl/PagedResultsControl
    2009-10-21 16:00:01,461 ERROR STDERR at com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController.searchResultPageEnum(Unknown Source)
    2009-10-21 16:00:01,461 ERROR STDERR at com.thortech.xl.schedule.tasks.ADLookupReconTask.performReconciliation(Unknown Source)
    Can any one please help me ?
    Thanks

    Hi,
    Have placed ldapbp.jar in the Third Party Folde of OIM_Home Directory ?
    if not just add it and also add in the class path and the try.
    regards

  • Error running Organization Lookup Recon in OIM 11g R2 with Active Directory

    Hi all,
    I have an implementation of OIM 11g R2, with an Active Directory 11.1.1.5.0 connecting to an instance of Active Directory on Windows Server 2008. I am trying to run the "Active Directory Organization Lookup Reconciliation" scheduled task, but the job fails with this error:
    oracle.iam.connectors.icfcommon.exceptions.IntegrationException: Connector ConnectorKey( bundleName=ActiveDirectory.Connector bundleVersion=1.1.0.6380 connectorName=Org.IdentityConnectors.ActiveDirectory.ActiveDirectoryConnector ) not found
    This is the full stack trace from the oim_domain.log file:
    oracle.iam.connectors.icfcommon.exceptions.IntegrationException: Connector ConnectorKey( bundleName=ActiveDirectory.Connector bundleVersion=1.1.0.6380 connectorName=Org.IdentityConnectors.ActiveDirectory.ActiveDirectoryConnector ) not found
    at oracle.iam.connectors.icfcommon.ConnectorFactory.createConnectorFacade(ConnectorFactory.java:176)
    at oracle.iam.connectors.icfcommon.recon.AbstractReconTask.init(AbstractReconTask.java:115)
    at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.execute(SchedulerBaseTask.java:382)
    at oracle.iam.scheduler.vo.TaskSupport$1.processWithoutResult(TaskSupport.java:135)
    at oracle.iam.platform.tx.OIMTransactionCallbackWithoutResult.process(OIMTransactionCallbackWithoutResult.java:9)
    at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:13)
    at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:6)
    at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
    at oracle.iam.platform.tx.OIMTransactionManager.execute(OIMTransactionManager.java:22)
    at oracle.iam.scheduler.vo.TaskSupport.executeJob(TaskSupport.java:116)
    at sun.reflect.GeneratedMethodAccessor739.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$TaskExecutionAction.run(QuartzJob.java:266)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:75)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    The Connector Server is installed on the AD instance, and the key has been set, and used appropriately in the Active Directory Connector Server IT Resource in OIM.
    Any advice on how to resolve this error or on any possible causes would be much appreciated, thank you.

    From the installation media, copy and extract contents of the bundle/ActiveDirectory.Connector-1.1.0.6380.zip file to the CONNECTOR_SERVER_HOME directory
    Refer http://docs.oracle.com/cd/E22999_01/doc.111/e20347/deploy.htm#CHDDJGIG

  • "AD Organization Lookup Recon" Error

    Using the Active Directory Connector 9.1.1
    Running "AD Organization Lookup Recon"
    I am getting this error,
    Exception in thread "QuartzWorkerThread-0" java.lang.NoClassDefFoundError: com/sun/jndi/ldap/ctl/PagedResultsControl
    at com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController.searchResultPageEnum(Unknown Source)
    at com.thortech.xl.schedule.tasks.ADLookupReconTask.performReconciliation(Unknown Source)
    at com.thortech.xl.schedule.tasks.ADLookupReconTask.execute(Unknown Source)
    at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)
    at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
    at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)
    Caused by: java.lang.ClassNotFoundException: ADP ClassLoader failed to load: com.sun.jndi.ldap.ctl.PagedResultsControl
    at com.thortech.xl.dataobj.tcADPClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    ... 12 more
    Has anybody encountered this before, any help would be appreciated?

    I have found
    xliActiveDirectory.jar in the OIM_HOME\xellerate\JavaTasks
    xliADRecon.jar in the OIM_HOME\xellerate\ScheduleTask
    Are these the correct locations for these jars or should they be elsewhere?
    thanks.

  • Getting Error while running EBS ER Trusted Recon Scheduler

    Hi All,
    I have created EBS Connector and loaded it in oim. While i am trying to run the Scheduler EBS ER Trusted Recon Scheduler
    I got this Error : oracle.iam.connectors.common.ConnectorException:
    * I have checked in Log File It shows following Error :*(Can you please let me know What could be the reason for this error .....)
    ********************************************88<Feb 22, 2013 7:36:17 PM EST> <Error> <XELLERATE.SERVER> <BEA-000000> <Class/Method: UCPPool/borrowConnectionFromPool encounter some problems: Connection borrowing returned null
    oracle.ucp.UniversalConnectionPoolException: Connection borrowing returned null
    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(UCPErrorHandler.java:368)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:49)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:80)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:131)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithoutCountingRequests(UniversalConnectionPoolImpl.java:343)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection(UniversalConnectionPoolImpl.java:142)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.iam.scheduler.impl.quartz.QuartzJob$TaskExecutionAction.run(QuartzJob.java:266)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:75)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    >
    <Feb 22, 2013 7:36:17 PM EST> <Error> <XELLERATE.SERVER> <BEA-000000> <Class/Method: ConnectionService/getConnection encounter some problems: Failed to borrow connection
    com.oracle.oim.gcp.exceptions.ConnectionBorrowException: Failed to borrow connection
    at com.oracle.oim.gcp.ucp.UCPPool.borrowConnectionFromPool(UCPPool.java:62)
    at com.oracle.oim.gcp.pool.ConnectionService.getConnection(ConnectionService.java:49)
    at oracle.iam.connectors.ebs.common.dao.DBUtil.<init>(Unknown Source)
    at oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask.initializeDBUtil(Unknown Source)
    at oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask.init(Unknown Source)
    at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.execute(SchedulerBaseTask.java:382)
    at oracle.iam.scheduler.vo.TaskSupport$1.processWithoutResult(TaskSupport.java:135)
    at oracle.iam.platform.tx.OIMTransactionCallbackWithoutResult.process(OIMTransactionCallbackWithoutResult.java:9)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    Caused By: oracle.ucp.UniversalConnectionPoolException: Connection borrowing returned null
    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(UCPErrorHandler.java:368)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:49)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    >
    <Feb 22, 2013 7:36:17 PM EST> <Error> <OIMCP.EBSER> <BEA-000000> <================= Start Stack Trace =======================>
    <Feb 22, 2013 7:36:17 PM EST> <Error> <OIMCP.EBSER> <BEA-000000> <oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask : initializeDBUtil>
    <Feb 22, 2013 7:36:17 PM EST> <Error> <OIMCP.EBSER> <BEA-000000> <Unable to get a connection from connection pool>
    <Feb 22, 2013 7:36:17 PM EST> <Error> <OIMCP.EBSER> <BEA-000000> <Description : Unable to get a connection from connection pool>
    <Feb 22, 2013 7:36:17 PM EST> <Error> <OIMCP.EBSER> <BEA-000000> <oracle.iam.connectors.ebs.common.TargetOperationException: Unable to get a connection from connection pool
    at oracle.iam.connectors.ebs.common.dao.DBUtil.<init>(Unknown Source)
    at oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask.initializeDBUtil(Unknown Source)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:75)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    Caused by: com.oracle.oim.gcp.exceptions.ConnectionServiceException: Failed to get connection
    at com.oracle.oim.gcp.pool.ConnectionService.getConnection(ConnectionService.java:56)
    ... 22 more
    Caused by: com.oracle.oim.gcp.exceptions.ConnectionBorrowException: Failed to borrow connection
    at com.oracle.oim.gcp.ucp.UCPPool.borrowConnectionFromPool(UCPPool.java:62)
    at com.oracle.oim.gcp.pool.ConnectionService.getConnection(ConnectionService.java:49)
    ... 22 more
    Caused by: oracle.ucp.UniversalConnectionPoolException: Connection borrowing returned null
    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(UCPErrorHandler.java:368)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:49)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:80)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:131)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithoutCountingRequests(UniversalConnectionPoolImpl.java:343)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection(UniversalConnectionPoolImpl.java:142)
    at com.oracle.oim.gcp.ucp.UCPPool.borrowConnectionFromPool(UCPPool.java:45)
    ... 23 more
    >
    <Feb 22, 2013 7:36:17 PM EST> <Error> <OIMCP.EBSER> <BEA-000000> <================= End Stack Trace =======================>
    <Feb 22, 2013 7:36:17 PM EST> <Error> <OIMCP.EBSER> <BEA-000000> <================= Start Stack Trace =======================>
    <Feb 22, 2013 7:36:17 PM EST> <Error> <OIMCP.EBSER> <BEA-000000> <oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask : init>
    <Feb 22, 2013 7:36:17 PM EST> <Error> <OIMCP.EBSER> <BEA-000000> <>
    <Feb 22, 2013 7:36:17 PM EST> <Error> <OIMCP.EBSER> <BEA-000000> <Description : >
    <Feb 22, 2013 7:36:17 PM EST> <Error> <OIMCP.EBSER> <BEA-000000> <oracle.iam.connectors.common.ConnectorException:
    at oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask.initializeDBUtil(Unknown Source)
    at oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask.init(Unknown Source)
    at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.execute(SchedulerBaseTask.java:382)
    at oracle.iam.scheduler.vo.TaskSupport$1.processWithoutResult(TaskSupport.java:135)
    at oracle.iam.platform.tx.OIMTransactionCallbackWithoutResult.process(OIMTransactionCallbackWithoutResult.java:9)
    at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:13)
    at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:6)
    at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
    at oracle.iam.platform.tx.OIMTransactionManager.execute(OIMTransactionManager.java:22)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    Caused by: oracle.iam.connectors.ebs.common.TargetOperationException: Unable to get a connection from connection pool
    at oracle.iam.connectors.ebs.common.dao.DBUtil.<init>(Unknown Source)
    ... 21 more
    Caused by: com.oracle.oim.gcp.exceptions.ConnectionServiceException: Failed to get connection
    at com.oracle.oim.gcp.pool.ConnectionService.getConnection(ConnectionService.java:56)
    ... 22 more
    Caused by: com.oracle.oim.gcp.exceptions.ConnectionBorrowException: Failed to borrow connection
    at com.oracle.oim.gcp.ucp.UCPPool.borrowConnectionFromPool(UCPPool.java:62)
    at com.oracle.oim.gcp.pool.ConnectionService.getConnection(ConnectionService.java:49)
    ... 22 more
    Caused by: oracle.ucp.UniversalConnectionPoolException: Connection borrowing returned null
    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(UCPErrorHandler.java:368)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:49)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:80)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:131)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithoutCountingRequests(UniversalConnectionPoolImpl.java:343)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection(UniversalConnectionPoolImpl.java:142)
    at com.oracle.oim.gcp.ucp.UCPPool.borrowConnectionFromPool(UCPPool.java:45)
    ... 23 more
    >
    <Feb 22, 2013 7:36:17 PM EST> <Error> <OIMCP.EBSER> <BEA-000000> <================= End Stack Trace =======================>
    <Feb 22, 2013 7:36:17 PM EST> <Warning> <oracle.iam.scheduler.vo> <BEA-000000> <IAM-1020021 Unable to execute job : eBusiness HRMS Trusted Reconciliation with Job History Id:5259
    oracle.iam.connectors.common.ConnectorException:
    at oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask.init(Unknown Source)
    at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.execute(SchedulerBaseTask.java:382)
    at oracle.iam.scheduler.vo.TaskSupport$1.processWithoutResult(TaskSupport.java:135)
    at oracle.iam.platform.tx.OIMTransactionCallbackWithoutResult.process(OIMTransactionCallbackWithoutResult.java:9)
    at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:13)
    at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:6)
    at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
    at oracle.iam.platform.tx.OIMTransactionManager.execute(OIMTransactionManager.java:22)
    at oracle.iam.scheduler.vo.TaskSupport.executeJob(TaskSupport.java:116)
    at sun.reflect.GeneratedMethodAccessor1055.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$TaskExecutionAction.run(QuartzJob.java:266)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:75)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    Caused By: oracle.iam.connectors.common.ConnectorException:
    at oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask.initializeDBUtil(Unknown Source)
    at oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask.init(Unknown Source)
    at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.execute(SchedulerBaseTask.java:382)
    at oracle.iam.scheduler.vo.TaskSupport$1.processWithoutResult(TaskSupport.java:135)
    at oracle.iam.platform.tx.OIMTransactionCallbackWithoutResult.process(OIMTransactionCallbackWithoutResult.java:9)
    at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:13)
    at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:6)
    at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
    at oracle.iam.platform.tx.OIMTransactionManager.execute(OIMTransactionManager.java:22)
    at oracle.iam.scheduler.vo.TaskSupport.executeJob(TaskSupport.java:116)
    at sun.reflect.GeneratedMethodAccessor1055.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$TaskExecutionAction.run(QuartzJob.java:266)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:75)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    Caused By: oracle.iam.connectors.ebs.common.TargetOperationException: Unable to get a connection from connection pool
    at oracle.iam.connectors.ebs.common.dao.DBUtil.<init>(Unknown Source)
    at oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask.initializeDBUtil(Unknown Source)
    at oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask.init(Unknown Source)
    at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.execute(SchedulerBaseTask.java:382)
    at oracle.iam.scheduler.vo.TaskSupport$1.processWithoutResult(TaskSupport.java:135)
    at oracle.iam.platform.tx.OIMTransactionCallbackWithoutResult.process(OIMTransactionCallbackWithoutResult.java:9)
    at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:13)
    at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:6)
    at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
    at oracle.iam.platform.tx.OIMTransactionManager.execute(OIMTransactionManager.java:22)
    at oracle.iam.scheduler.vo.TaskSupport.executeJob(TaskSupport.java:116)
    at sun.reflect.GeneratedMethodAccessor1055.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$TaskExecutionAction.run(QuartzJob.java:266)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:75)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    Caused By: com.oracle.oim.gcp.exceptions.ConnectionServiceException: Failed to get connection
    at com.oracle.oim.gcp.pool.ConnectionService.getConnection(ConnectionService.java:56)
    at oracle.iam.connectors.ebs.common.dao.DBUtil.<init>(Unknown Source)
    at oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask.initializeDBUtil(Unknown Source)
    at oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask.init(Unknown Source)
    at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.execute(SchedulerBaseTask.java:382)
    at oracle.iam.scheduler.vo.TaskSupport$1.processWithoutResult(TaskSupport.java:135)
    at oracle.iam.platform.tx.OIMTransactionCallbackWithoutResult.process(OIMTransactionCallbackWithoutResult.java:9)
    at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:13)
    at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:6)
    at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
    at oracle.iam.platform.tx.OIMTransactionManager.execute(OIMTransactionManager.java:22)
    at oracle.iam.scheduler.vo.TaskSupport.executeJob(TaskSupport.java:116)
    at sun.reflect.GeneratedMethodAccessor1055.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$TaskExecutionAction.run(QuartzJob.java:266)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:75)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    Caused By: com.oracle.oim.gcp.exceptions.ConnectionBorrowException: Failed to borrow connection
    at com.oracle.oim.gcp.ucp.UCPPool.borrowConnectionFromPool(UCPPool.java:62)
    at com.oracle.oim.gcp.pool.ConnectionService.getConnection(ConnectionService.java:49)
    at oracle.iam.connectors.ebs.common.dao.DBUtil.<init>(Unknown Source)
    at oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask.initializeDBUtil(Unknown Source)
    at oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask.init(Unknown Source)
    at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.execute(SchedulerBaseTask.java:382)
    at oracle.iam.scheduler.vo.TaskSupport$1.processWithoutResult(TaskSupport.java:135)
    at oracle.iam.platform.tx.OIMTransactionCallbackWithoutResult.process(OIMTransactionCallbackWithoutResult.java:9)
    at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:13)
    at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:6)
    at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
    at oracle.iam.platform.tx.OIMTransactionManager.execute(OIMTransactionManager.java:22)
    at oracle.iam.scheduler.vo.TaskSupport.executeJob(TaskSupport.java:116)
    at sun.reflect.GeneratedMethodAccessor1055.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$TaskExecutionAction.run(QuartzJob.java:266)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:75)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    Caused By: oracle.ucp.UniversalConnectionPoolException: Connection borrowing returned null
    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(UCPErrorHandler.java:368)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:49)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:80)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:131)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithoutCountingRequests(UniversalConnectionPoolImpl.java:343)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection(UniversalConnectionPoolImpl.java:142)
    at com.oracle.oim.gcp.ucp.UCPPool.borrowConnectionFromPool(UCPPool.java:45)
    at com.oracle.oim.gcp.pool.ConnectionService.getConnection(ConnectionService.java:49)
    at oracle.iam.connectors.ebs.common.dao.DBUtil.<init>(Unknown Source)
    at oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask.initializeDBUtil(Unknown Source)
    at oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask.init(Unknown Source)
    at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.execute(SchedulerBaseTask.java:382)
    at oracle.iam.scheduler.vo.TaskSupport$1.processWithoutResult(TaskSupport.java:135)
    at oracle.iam.platform.tx.OIMTransactionCallbackWithoutResult.process(OIMTransactionCallbackWithoutResult.java:9)
    at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:13)
    at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:6)
    at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
    at oracle.iam.platform.tx.OIMTransactionManager.execute(OIMTransactionManager.java:22)
    at oracle.iam.scheduler.vo.TaskSupport.executeJob(TaskSupport.java:116)
    at sun.reflect.GeneratedMethodAccessor1055.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$TaskExecutionAction.run(QuartzJob.java:266)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:75)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    >
    <Feb 22, 2013 7:37:07 PM EST> <Warning> <oracle.adf.controller.internal.metadata.MetadataService> <BEA-000000> <ADFc: /META-INF/adfc-config.xml: >
    <Feb 22, 2013 7:37:07 PM EST> <Warning> <oracle.adf.controller.internal.metadata.MetadataService> <ADFC-52021> <ADFc: Duplicate activity 'Empty1_jspx' detected.>
    <Feb 22, 2013 7:37:07 PM EST> <Warning> <oracle.adf.controller.internal.metadata.MetadataService> <BEA-000000> <ADFc: /META-INF/adfc-config.xml: >
    <Feb 22, 2013 7:37:07 PM EST> <Warning> <oracle.adf.controller.internal.metadata.MetadataService> <ADFC-52021> <ADFc: Duplicate activity 'Empty1_jspx' detected.>
    <Feb 22, 2013 7:37:07 PM EST> <Warning> <oracle.adf.controller.internal.metadata.MetadataService> <BEA-000000> <ADFc: /META-INF/adfc-config.xml: >
    <Feb 22, 2013 7:37:07 PM EST> <Warning> <oracle.adf.controller.internal.metadata.MetadataService> <ADFC-52021> <ADFc: Duplicate activity 'Empty1_jspx' detected.>
    <Feb 22, 2013 7:37:25 PM EST> <Warning> <JNDI> <BEA-050006> <An attempt was made to look up versioned object "ejb.stateless.AuthenticatedSelfService#oracle.iam.selfservice.self.selfmgmt.api.AuthenticatedSelfServiceRemote" from an external client or another application. This can potentially cause in-flight work of the application version not being tracked properly and thus being retired prematurely.>
    Regards,
    idmr2

    Appears to be an issue with the connection params on the IT resource. Change the timeout values and disable the pooling feature as a test and try again.
    -Bikash

  • Last Run Result Email Alert from Scheduled Task

    Hi All,
    Ive a newly require need to move 3 files from a local server to a remote server via FTP each evening.
    Local server is a Server 2008 box.
    I have setup WinSCP to transfer the files over successfully via a Scheduled Task
    Now i need alerting!!
    Ive setup the email function in Task Scheduler and it does send me an email but a pretty pointless one at that as it doesn't tell you the Last Run Result status code.
    So all i know is the job has run but i don't know if with errors etc.
    Each morning ill have to FTP to the remote server and manually check the time and date stamps myself to make sure the copy was successful.
    Ive checked the event log and it writes an Event ID 201 to the Task Scheduler Event Log and that has all the info i need in the description, but i cant attach that event to my scheduled task as there are lots of 201's for all different scheduled tasks that
    run that by the OS.
    Anybody know how i can get the last Run Result in the body of the email or the subject line at least - so i know if it is a 0x0 the job has been successul and anything other than 0x0 that there has been a problem.
    Any suggestions?
    Thanks in advance.

    Here is what a failed task looks like.  Note the non-zero result code:  EventID
    203 / Level 'Error' / ResultCode=2147942667
    Log Name: Microsoft-Windows-TaskScheduler/Operational
    Source: Microsoft-Windows-TaskScheduler
    Date: 10/26/2013 7:50:22 PM
    Event ID: 203
    Task Category: Action failed to start
    Level: Error
    Keywords:
    User: SYSTEM
    Computer: WTest
    Description:
    Task Scheduler failed to launch action "C:\Program Files\Acer Incorporated\HID Monitor\HIDMonitor.exe" in instance "{ad897acd-b254-459c-b246-bee11d4b87f2}" of task "\HIDMonitor". Additional Data: Error Value: 2147942667.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Microsoft-Windows-TaskScheduler" Guid="{DE7B24EA-73C8-4A09-985D-5BDADCFA9017}" />
    <EventID>203</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>203</Task>
    <Opcode>101</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2013-10-26T23:50:22.438999200Z" />
    <EventRecordID>230110</EventRecordID>
    <Correlation ActivityID="{AD897ACD-B254-459C-B246-BEE11D4B87F2}" />
    <Execution ProcessID="768" ThreadID="2632" />
    <Channel>Microsoft-Windows-TaskScheduler/Operational</Channel>
    <Computer>W8Test</Computer>
    <Security UserID="S-1-5-18" />
    </System>
    <EventData Name="ActionLaunchFailure">
    <Data Name="TaskName">\HIDMonitor</Data>
    <Data Name="TaskInstanceId">{AD897ACD-B254-459C-B246-BEE11D4B87F2}</Data>
    <Data Name="ActionName">C:\Program Files\Acer Incorporated\HID Monitor\HIDMonitor.exe</Data>
    <Data Name="ResultCode">2147942667</Data>
    </EventData>
    </Event>
    ¯\_(ツ)_/¯

  • How to make Robocopy run in the foreground using Scheduled Tasks

    Hello everyone! 
    I am doing a daily backup using Robocopy and Scheduled Tasks running Windows 2012 Server. When it runs, robocopy runs in the background and does not write to log that I am pointing to. How can I make it run in the foreground? Also, is there anyway to write to log only those records that have been copied or purged? what are the best practices for robocopy use?
    Here is the script:
    date /t >> log.txt
    time /t >> log.txt
    ROBOCOPY \\CENTURY1\d$\ f:\  /MIR /R:0 
    time /t >> log.txt
    This topic first appeared in the Spiceworks Community

    Hello everyone! 
    I am doing a daily backup using Robocopy and Scheduled Tasks running Windows 2012 Server. When it runs, robocopy runs in the background and does not write to log that I am pointing to. How can I make it run in the foreground? Also, is there anyway to write to log only those records that have been copied or purged? what are the best practices for robocopy use?
    Here is the script:
    date /t >> log.txt
    time /t >> log.txt
    ROBOCOPY \\CENTURY1\d$\ f:\  /MIR /R:0 
    time /t >> log.txt
    This topic first appeared in the Spiceworks Community

  • Problem accessing EJB's in KM Scheduler Task

    Hi,
    I have created a new SchedulerTask which implements com.sapportals.wcm.service.scheduler.ISchedulerTask.
    In the run method of the SchedulerTask, I was trying to access the Session bean as below
         try {
              Context initial = new InitialContext();
              Object objref = initial.lookup("JNDI Name Of the Session Bean");
              Object obj = PortableRemoteObject.narrow(objref, BeanHome.class);
         } catch (NamingException ex) {
              ex.printStackTrace();          
         } catch (Exception ex) {
              ex.printStackTrace();          
    When the task is executed, initial lookup is returning 915(I have tried to log the objref above to console and it prints 915) which is resulting in classcast exception while narrowing.
    But, When I placed the same code in a Portal Component, it works fine.
    Portal component and SchedulerTask are in the same portal application project, which mean that all configurations are same.
    I have been struggling very hard to figure out this indifferent behavior.
    Any hints or help would be greatly appreciated.
    Thanks and Regards,
    Suresh.

    Hi,
    Try some thing like this:
    ClassLoader originalContextClassLoader = Thread.currentThread().getContextClassLoader();                                   
    try {
              Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader());
              Context initial = new InitialContext();
              Object objref = initial.lookup("JNDI Name Of the Session Bean");
              Object obj = PortableRemoteObject.narrow(objref, BeanHome.class);
         } catch (NamingException ex) {
              ex.printStackTrace();          
         } catch (Exception ex) {
              ex.printStackTrace();          
         finally {
         Thread.currentThread().setContextClassLoader(originalContextClassLoader);
    Regards,
    Praveen Gudapati

  • Windows Server Backup scheduled task run successfully but backup do not start (not running) on Windows Server 2012

    Hi,
    A backup job has been setup on Windows Server 2012 (Platform: Win32NT; ServicePack: ; Version: 6.2.9200.0; VersionString : Microsoft Windows NT 6.2.9200.0) via Windows Backup Software UI (Local Backup 1.0).
    It is appearing as a scheduled task "\Microsoft\Windows\Backup\Microsoft-Windows-WindowsBackup" belonging to user 'nt authority\system' in task scheduler.
    The problem is that the Backup job never start despite the scheduled task running and completing successfully (when run automatically or manually)!
    Would you be able to explain why and assist in resolving that issue?
    Here is what we know:
    When the backup is run manually via the Windows Backup Software UI, it works fine.
    When the backup is run via command line (as set in schedule task) in a cmd command prompt (as local/domain 'administrator' or as 'nt authority\system' which is possible by running command prompt via 'PsExec.exe -i -s cmd'), something like "%windir%\System32\wbadmin.exe
    start backup -templateId:{f11eb3aa-74e7-4ff4-a57b-d8d567ee3f77} -quiet", it works fine.
    If you manually run the preset scheduled task while logged in as administrator, the task run and complete successfully but the backup job does not start.
    Idem if you schedule task is run automatically at scheduled time.
    The schedule task run and complete successfully but the backup job does not start.
    It is confirmed by running the following in a command prompt as 'nt authority\system':
    schtasks /run /tn "\Microsoft\Windows\Backup\Microsoft-Windows-WindowsBackup"
    SUCCESS: Attempted to run the scheduled task "\Microsoft\Windows\Backup\Microsoft-Windows-WindowsBackup".
    Despite success result, the Backup job does not start running...
    No errors or warning appears anywhere in Event Logs (Microsoft > Windows > Backup or Task Scheduler) nor in the scheduled task History tab. The schedule task complete successfully but no Backup job is run...
    If scheduled task automatically set by Windows Backup software is duplicated (copied) and set manually it runs fine as 'administrator' and as 'nt authority\system' (subject that 'nt authority\system' is added to the 'Backup Operators' AD group).
    Here is an export of the current pre-set schedule task, is there any settings that need to be changed to make it works?
    <?xml version="1.0" encoding="UTF-16"?>
    <Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
      <RegistrationInfo>
        <Author>MYDOMAIN\SERVER1</Author>
        <SecurityDescriptor>D:AR(A;OICI;GA;;;BA)(A;OICI;GR;;;BO)</SecurityDescriptor>
      </RegistrationInfo>
      <Triggers>
        <CalendarTrigger id="Trigger 1">
          <StartBoundary>2014-07-14T21:00:00</StartBoundary>
          <Enabled>true</Enabled>
          <ScheduleByDay>
            <DaysInterval>1</DaysInterval>
          </ScheduleByDay>
        </CalendarTrigger>
      </Triggers>
      <Principals>
        <Principal id="Author">
          <UserId>S-1-5-18</UserId>
          <RunLevel>HighestAvailable</RunLevel>
        </Principal>
      </Principals>
      <Settings>
        <MultipleInstancesPolicy>Parallel</MultipleInstancesPolicy>
        <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
        <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
        <AllowHardTerminate>true</AllowHardTerminate>
        <StartWhenAvailable>true</StartWhenAvailable>
        <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
        <IdleSettings>
          <StopOnIdleEnd>false</StopOnIdleEnd>
          <RestartOnIdle>false</RestartOnIdle>
        </IdleSettings>
        <AllowStartOnDemand>true</AllowStartOnDemand>
        <Enabled>true</Enabled>
        <Hidden>false</Hidden>
        <RunOnlyIfIdle>false</RunOnlyIfIdle>
        <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
        <UseUnifiedSchedulingEngine>false</UseUnifiedSchedulingEngine>
        <WakeToRun>false</WakeToRun>
        <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
        <Priority>7</Priority>
      </Settings>
      <Actions Context="Author">
        <Exec>
          <Command>%windir%\System32\wbadmin.exe</Command>
          <Arguments>start backup -templateId:{f11eb3aa-74e7-4ff4-a57b-d8d567ee3f77} -quiet</Arguments>
        </Exec>
      </Actions>
    </Task>
    Thank you in advance for your feedback.

    Once again, the issue is not to run the backup manually from the command line but to have it run via the scheduled task setup by the Windows Backup software.
    By default, the schedule task is to be run as NT Authority\System, and when run under this account, the backup does not start (even though account is member of Backup Operators) and job can manually be run via elevated command prompt. This is not a normal
    behavior and constitute a major bug in Windows Server 2012.
    From my understanding the NT Authority\System account is a built-in account from Windows that should by default be part of the Administrators group (built-in) even though it does not explicitly appears like it in AD by default.
    This account shall have by default Administrators rights and Backup Operators rights (via the Administrators group) without being explicitly added to those groups (http://msdn.microsoft.com/en-gb/library/windows/desktop/ms684190%28v=vs.85%29.aspx). By design
    it is supposed to be the most powerful account which has unrestricted access to all local system resources. If that is not the case (as it seems) then this would constitute a major bug in Windows Server 2012 edition.
    As said previously and as you confirmed, currently by default NT Authority\System on Windows 2012 server cannot start backup manually via an elevated command prompt unless it is manually added to Backup Operators (or Administrators) group. But wouldn't that
    constitute a bug of Windows Server 2012?
    Our server has not yet been restarted since I added NT Authority\System account to the Administrators group explicitly manually so I cannot yet confirmed it would sort the issue. Indeed it is heavily in use so cannot easily be restarted. Will confirm when
    done.
    We also have an additional problem where after a while of last reboot, part of the Exchange ECP can no longer be properly loaded in the web browser due to compilation error (compilation is done via NT Authority\System account which seems to no longer have
    sufficient right to compile .NET code). What is strange is that it works at first and then stop working at some point... I am hopeful that adding NT Authority\System to the Administrators group would sort this issue as well but once again, that shall not be
    needed!!!
    Could a Windows Server 2012 update introduced some security policy changes or else that prevent NT Authority\System to have full power?

  • How to handle timestamp in custom scheduled task written for Target Recon

    Hi,
    I have wriiten a Custom scheduled task to reconciile users from target system..but whenever I run the Target Recon Scheduled task .. it generates the Recon. events for all users.
    How to handle this.. how to pass Timestamp value to custom Target Recon scheduled task.
    Thanks,
    Pallavi

    To add to Kevin's point -
    You will have to have a attribute either in the IT Resource or the Schedule Task. At the begining of the reconciliation searches, get the timestamp of the target system and store it in a variable. Fectch the timestamp attribute value from the IT Resource/Schedule Task and use that value as one of the search criteria of user profiles on the target.
    Once all the user profiles from the target are queried and reconciliation is completed then update either the IT Resource or Schedule Task attribute using OIM API.
    Hope this helps :)

  • Unable to Configure a PowerShell Script to Run as a Scheduled Task

    Hi ,
    I have a powershell script from Dieters blog http://scug.be/dieter/2011/07/06/scom-2007-how-to-backup-your-unsealed-management-packs/#comment-1058 which backups the unsealed management packs in SCOM. I am able to run the script successfully in the powershell
    prompt but when i schedule it as a task it fails with an error code 1.
    "Task Scheduler successfully completed task "\Backup Unsealed Management Pack" , instance "{xxxxxxxxxxxxxxxxxxxxxxxxxxxx}" , action "Powershell.exe" with return
    code 1."
    I am running the task using the highest privilages and have tried bypassing the script using and have configured the script as per http://www.metalogix.com/help/Content%20Matrix%20Console/SharePoint%20Edition/002_HowTo/004_SharePointActions/012_SchedulingPowerShell.htm
    -ExecutionPolicy Bypass c:\scripts\myscript.ps1
    Still i am unable to run the task without errors. Kindly assist.
    Jesty

    Hi Jesty,
    Please make sure you have followed these steps to schedule a powershell script task:
    1.  Save the powershell script as .ps1 in local computer.
    2.  Right click the .ps1 file and run with powershell and check if the script can run successfully.
    3.  schedule task->action:Start a program->Program/script:powershell.exe->Add argument:-ExecutionPolicy Bypass c:\scripts\myscript.ps1
    Best Regards,
    Anna

  • OIM Schedule task query

    Hi
    I have installed two separate weblogic servers (non-cluster) and installed OIM 9101 on them with same Oracle Database. This system does not include any other servers. I am planning to use a hardware load balancer on top of these two OIM Weblogic servers.
    I have deployed EBS trusted source recon connector. This connector has a recon schedule task which run at every 6 hrs. It was working fine on single node OIM weblogic pair. Now I have two weblogic servers with corresponding OIM servers. I wonder how the schedule task will work now. which OIM will have the priority ??
    any idea about this..

    Disable schedule task in one of the servers, so that it does not account for running schedule purposes. Go to xellerate/config/xlConfig.xml
    You can find the scheduler section and change the StartOnDeployment parameter to false. SO that this server never runs the scheduler.
    Suren- The database is same ! ! !
    Thanks
    Sunny

  • OIM - Scheduled Tasks - Validade/Enable

    Hi All,
    I am quite new to OIM, two days working with it, and I have some questions that seem to be easy to answer but I could not find it here, neither on the internet (or I am not using the correct keywords).
    In our OIM environment we have some custom recon scheduled tasks, developed by oracle, and, as our internal processes with the targets are not working properly still, sometimes the scheduled tasks fail and when they fail they got disabled too. Most of the times they fail is because its input file, a CSV file coming from a target, is not there.
    Based on it, my questions are:
    1. I know there is a way to list all scheduled tasks and their status using the API, check this link: http://www.rameshgk.com/blog/2010/09/23/oim-scheduled-task-for-monitoring-other-scheduled-tasks/, but is there a way to do it by command line in Unix?
    2. Is there a way, when the schedulted tasks got disabled due to a failure, to enable it automatically, via API or any other method, without the need to go to web client?
    I was forgetting to comment one thing, unfortunately, I don't have access to the OIM database!
    Thanks for your attention!
    Regards.

    You can execute the scheduled task from the command line and use the following API:
    void updateScheduleTask(long scheduledTaskKey,
    java.util.Map attributes)
    throws Thor.API.Exceptions.tcAPIException,
    Thor.API.Exceptions.tcScheduledTaskNotFoundException,
    Thor.API.Exceptions.tcInvalidAttributeException,
    Thor.API.Exceptions.tcAttributeMissingException,
    tcAPIExceptionUpdates schedule task information based on the attribute that are passed to this method
    Parameters:
    scheduledTaskKey - the scheduled task key
    attributes - a map of updated attributes valid attributes
    •Task Scheduler.ClassName
    •Task Scheduler.Disable
    •Task Scheduler.Frequency Type
    •Task Scheduler.Interval
    •Task Scheduler.Key
    •Task Scheduler.Last Start Time
    •Task Scheduler.Last Stop Time
    •Task Scheduler.Max Retries
    •Task Scheduler.Name
    •Task Scheduler.Next Start Time
    •Task Scheduler.Retry Count
    •Task Scheduler.Start Time
    •Task Scheduler.Status
    You can provide the Frequency Type and Next Start Time and then it should be picked up. Just like when you are in the design console and you have it set to run once and you clear the entries in the time and set it to the current one.
    -Kevin
    Please don't forget to give points where earned on helpful posts.

  • AD Organization Lookup Query

    I am trying to set up OIM to provision to two different AD domains. I am trying to avoid the process of cloning the entire connector. So for know I just created two IT Resources and duplicated the Lookup.ADReconciliation.GroupLookup and Lookup.ADReconciliation.Organization objects. The Group Lookup is part of the IT Resource and hence didn't cause any problems.
    The Organization Lookup is however defined at the form level. I need the list of Organizations to be specific to the AD Domain. I have done the following:
    1. Created two IT Resources of type AD Server:
    -- AD Server 1
    -- AD Server 2
    2. Created new lookup called Lookup.AD.OrganizationLookupITResourceMapping with the following values:
    -- AD Server 1 == Lookup.ADReconciliaiton.Organization
    -- AD Server 2 == Lookup.AD2Reconciliation.Organization
    3. I then changed the "Organization Name" column to the following:
    Lookup Query == select lkv_decoded, lkv_encoded from lku, lkv where lku.lku_key = lkv.lku_key and lku.lku_type_string_key = (select lkv.lkv_decoded from lku, lkv where lku. lku_type_string_key = 'Lookup.AD.OrganizationLookupITResourceMapping' and lku.lku_key = lkv.lku_key and lkv_encoded = '$Form data.UD_ADUSER_AD$');
    Column Names == lkv_decoded
    Lookup Column Names == lkv_decoded
    Column Captions == Organization Name
    Column Widths == 100
    When I run the Preview Form I get the error message "Query Failed. Error: Dataset is not open". In the server logs I get "invalid character" exception from SQL. If I use SQL Plus and run this query, substituting for '$Form data.UD_ADUSER_AD$', I get the correct response. My guess is that the form data is not being returned as expected. What should I use here in order to receive the name of the IT Resource?
    Thanks,
    Pete

    More information from the log files:
    [2011-02-23T16:30:45.441-05:00] [oim_server1] [ERROR] [] [XELLERATE.DATABASE] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 0000ItKRa^jC^qQSaauHOq1DPIEM0002nl,0] [APP: oim#11.1.1.3.0] [dcid: dc05021680aa4152:3b03b6fb:12e53163b22:-7ffd-0000000000002d5a] SELECT sdc.sdc_name, sdk.sdk_name from sdc, sdk where sdc.sdk_key=sdk.sdk_key and sdc.sdc_name = 'UD_ADUSER_AD' and sdk.sdk_active_version=sdc.sdc_version and sdk.sdk_key=(SELECT sdk_key FROM TOS WHERE pkg_key = )[[
    java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
    2011-02-23T16:30:54.309-05:00] [oim_server1] [ERROR] [] [XELLERATE.DATABASE] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 0000ItKRcjKC^qQSaauHOq1DPIEM0002nw,0] [APP: oim#11.1.1.3.0] [dcid: dc05021680aa4152:3b03b6fb:12e53163b22:-7ffd-0000000000002d65] select lkv_decoded, lkv_encoded from lku, lkv where lku.lku_key = lkv.lku_key and lku.lku_type_string_key = (select lkv.lkv_decoded from lku, lkv where lku. lku_type_string_key = 'Lookup.AD.OrganizationLookupITResourceMapping' and lku.lku_key = lkv.lku_key and lkv_encoded = 'BAD QUERY or BAD FORM DATA'); and 1=2[[
    java.sql.SQLSyntaxErrorException: ORA-00911: invalid character
    So obviously my query is bad. How do I fix it?
    Thanks,
    Pete

  • Weird data obtained when running Task: AD Group Lookup Recon

    Hi,
    Im running the scheduled task named: AD Group Lookup Recon
    It works. and populates the lookup named Lookup.ADReconciliation.GroupLookup
    but when lookin in the design console, the Code Key and the Decode values have weird data ie:
    code key: 2~CN=TelnetClients,CN=Users,DC=adtest,DC=com     
    Decode: ADITResource~CN=TelnetClients,CN=Users,DC=adtest,DC=com
    in the code key there is an extra *2~*
    in the Decode is an extra ADITResource~
    I may think that it is some kind of coding for connector commands used in provision tasks, when I'm trying to provision an OIM user to Active Directory (in the Organization Lookup field) i get this data
    this is just one line:
    Value: 2~CN={6AC1786C-016F-11D2-945F-00C04fB984F9},CN=Policies,CN=System,DC=adtest,DC=com      
    Description: ADITResource~CN={6AC1786C-016F-11D2-945F-00C04fB984F9},CN=Policies,CN=System,DC=adtest,DC=com
    Any Ideas?
    Thank You.

    yes you are right, code key and decode key is because of the coding in the connector to distinguish lookup values coming from multiple IT resources.
    If you want to get rid of this [IT Resource~] you will have to modify the connector.
    One more thing looks like the base dn you have specified for lookup reconciliation is DC=adtest,DC=com with generic filter thats why you are getting entries like 2~CN={6AC1786C-016F-11D2-945F-00C04fB984F9},CN=Policies,CN=System,DC=adtest,DC=com which may not be a group you want
    Hope this helps,
    Sagar

Maybe you are looking for

  • Mac book pro stuck on grey screen will not boot

    UUgh someone please help me. My lap top is a mac book pro 2006, and it is stating cannot get audit port I dunno how to fix. I'm on my iphone a we speak it has been down for weeks can someone help me please? I would be forever greatfull

  • No longer able to access data on external hard drive via smb or cifs

    Hi there, I connected my external hard drive (Maxtor One-TouchII-01) via USB to my router (It's a German Fritz!Box). Before the update to Mavericks I established the conncetion using the command "smb://...". The HD is formatted as FAT32, because I ne

  • Configure idvd to play movie with no intros

    Hello, How do I configure iDVD to create a DVD with no menu?  Thanks!

  • Next log sequence to archive is different

    Hi, I have doubt on standby (DR) concept. I can see that in my standby database next log sequence to archive shows 0. Is this ok or something is wrong? PRODUCTION SQL> archive log list; Database log mode Archive Mode Automatic archival Enabled Archiv

  • Program doesnt respont when i add canvas on enterFrame function

    Hello all! I have been making a simple aplication and i have a problem i cannot find the solution (neither why it is happening) The thing i want to do is to dynamically add a canvas containing a button to the application and then i want the canvas to