Scheduled Task - 403 Error
Hi,
We've had our site up for several years now, and haven't had
any problems with Scheduled Tasks.
On July 1st, our websire went PKI certificate only. Now
scheduled tasks don't run and I see several entries like this in my
scheduler log:
"Information","848","07/05/06","15:35:55",,"Scheduled task
'Run It' for URL request 'https://****.cfm' initiated."
"Error","3064","07/05/06","15:35:55",,"Status code for task:
'Run It' is '403 Forbidden'"
"Information","848","07/05/06","15:35:55",,"Scheduled task
'Run It' for URL request 'https://****.cfm' completed."
Is there any setting I can set in each Scheduled Task or
setting on the server I can run to get around this?
An update, in case someone got the same error.
I just changed the file resources.xml which is located in a folder under WAS_HOME.
Old value: name="ProviderEndpoints" type="java.lang.String" value="Default"
New value: name="ProviderEndpoints" type="java.lang.String" value="<your hostname>:7289:BootstrapSecureMessaging"
At least, the error is not being logged anymore.
Similar Messages
-
GTC Scheduled task recon error - Bootstrap connections
Hi,
Well, I am getting an error when running the scheduled task which is created automatically when we install GTC conn.
I am running recon of data stored on files and my App Server is IBM WAS.
I am trying to figure out where I should set up the correct bootstrap port number which in my case SIB_ENDPOINT_SECURE_ADDRESS = 7289, and not 7286.
It seems to happen only when I run this scheduled task. For example, built-in scheduled tasks and a full custom scheduled task work properly.
Does anybody know which file or OIM table I should change to redirect it to the right bootstrap port?
BTW, it is a replicated environment and WAS was installed on a different profile, that is why we have a different bootstrap port numbers, not the default ones.
Regards,
Hugo
+[3/12/10 16:56:20:400 BRT] 00000035 SystemOut O ERROR,12 Mar 2010 16:56:20,399,[XELLERATE.JMS],Class/Method: MessageQueue/connect encounter some problems: CWSIT0006E: It was not possible to contact any of the specified bootstrap servers. Please see the linked exception for further details. Bootstrap connections were attempted to: [Default:7286:BootstrapSecureMessaging]+
+com.ibm.websphere.sib.exception.SIResourceException: CWSIT0006E: It was not possible to contact any of the specified bootstrap servers. Please see the linked exception for further details. Bootstrap connections were attempted to: [Default:7286:BootstrapSecureMessaging]+An update, in case someone got the same error.
I just changed the file resources.xml which is located in a folder under WAS_HOME.
Old value: name="ProviderEndpoints" type="java.lang.String" value="Default"
New value: name="ProviderEndpoints" type="java.lang.String" value="<your hostname>:7289:BootstrapSecureMessaging"
At least, the error is not being logged anymore. -
Oracle BI Publisher Scheduler Task FTP Error
Hi everyone,
I've installed Oracle BI Publisher with Oracle WebLogic Server. When I try to use the scheduler job, the planning, generation are correct, but cannot transfert with FTP. I got error:
oracle.apps.xdo.servlet.scheduler.ProcessingException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at oracle.apps.xdo.servlet.scheduler.XDOJob.deliver(XDOJob.java:1621)
at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:478)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1937)
at oracle.apps.xdo.servlet.scheduler.XDOJob.deliver(XDOJob.java:1431)
... 3 more
No metter what type of reports, the result is the same.
Anyone has idea how can fix it?
Thanks!
DavidLooks like a security setup issue on the OBIEE side
OBIEE on Linux might help.
Worth digging thru metalink too
Tim -
KM Scheduler Task Error on SP16
Hi All,
I am trying to create a KM Scheduler Task. However while starting the task it gives me this error.
[code]Configuration Error: Failed to load task com.wyeth.clinicaltrials.jobs.PubstratFeed[/code]
This is the error that is shown on the component Monitor under System Administration->Monitring->Knowledege Management->Component Monitor.
If I click on the properties under this task it throws the following nullpointerexception
[code]java.lang.NullPointerException
at com.sapportals.wcm.service.scheduler.SchedulerEntry.getDescription(SchedulerEntry.java:357)
at com.sapportals.wcm.service.scheduler.crt.SchedulerEntryProxy.getDescription(SchedulerEntryProxy.java:102)
at com.sapportals.wcm.repository.manager.crt.CrtPropertyManager.getProperties(CrtPropertyManager.java:340)
at com.sapportals.wcm.repository.ResourceImpl.internalGetProperties(ResourceImpl.java:3620)
at com.sapportals.wcm.repository.ResourceImpl.getProperties(ResourceImpl.java:1209)
at com.sapportals.wcm.control.edit.PropertiesControl.initialize(PropertiesControl.java:1058)
at com.sapportals.wdf.stack.Control.initializeImpl(Control.java:449)
at com.sapportals.wdf.stack.Pane.initialize(Pane.java:510)
at com.sapportals.wdf.stack.PaneStack.initialize(PaneStack.java:509)
at com.sapportals.wdf.stack.Pane.initialize(Pane.java:504)
at com.sapportals.wdf.stack.PaneStack.initialize(PaneStack.java:509)
at com.sapportals.wdf.stack.Pane.initialize(Pane.java:504)
at com.sapportals.wdf.stack.PaneStack.initialize(PaneStack.java:509)
at com.sapportals.wdf.WdfCompositeController.doInitialization(WdfCompositeController.java:279)
at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:659)
at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:33)
at com.sapportals.htmlb.Container.preRender(Container.java:120)
at com.sapportals.htmlb.Container.preRender(Container.java:120)
at com.sapportals.htmlb.Container.preRender(Container.java:120)
at com.sapportals.portal.htmlb.PrtContext.render(PrtContext.java:414)
at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:237)
at com.sapportals.wcm.portal.component.base.KMControllerDynPage.doOutput(KMControllerDynPage.java:130)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:73)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:545)
at java.security.AccessController.doPrivileged(AccessController.java:204)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:180)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)[/code]
I am using the SP16 Developer studio to create the scheduler task. There is nothing in the scheduler task just a log message. Still this fails. Is this a bug or I am missing something here.
I would really appreciate any help in this regards.
Thanks
AnkurHi,
just a guess - do you have your Description field filled in your CM configuration for task? From the trace it seems it could not read the property DESCRIPTION from the Cm configuration.
Just check it...
Romano -
Error while import PAR with schedule task
Hi everybody
I've the following error while import a new PAR with schedule task in Portal NW04s
Inner Stack is:
Unable to lock the local configuration to run import "import_it.tsf.pld.cercapersone.updateadgruppofs.st.prjconfig_config_fwk_service_4692550,4692550_(ready)".
System error is "LockConfigException: Configuration framework system error: "configuration-lock-service overloaded: cannot acquire central-lock file for config://local"".
Inner Stack is:
LockConfigException: Configuration framework system error: "configuration-lock-service overloaded: cannot acquire central-lock file for config://local"
at com.sapportals.config.fwk.data.ConfigLockManager.lockWithDependent(ConfigLockManager.java:507)
thanks in advanceHi Ram,
I've encountered the problem only on productive instance with offline deployment (Scheduler Tasks reinitialize CRT). Before a restart I have to make sure it works.
thanks for your help!
Gennaro -
Error while running custom schedule task.
Hello,
I have created a schedule task, when I am running the task from sysadmin, it wont show any error message.
In diagnostic log, I got the below error
[2012-11-29T07:00:18.507-08:00] [oim_server1] [ERROR] [] [oracle.iam.transUI.impl] [tid: OIMQuartzScheduler_Worker-7] [userId: oiminternal] [ecid: 80eeb34d89d5ed80:-1384f0e3:13b4bd4b64a:-8000-0000000000000005,1:29060] [APP: oim#11.1.2.0.0] ADP ClassLoader failed to load: com.cgc.iam.customconnector.ac.ReconAC
Please help.
Thanks
sjitMake sure you have included the jar file containing the class - com.cgc.iam.customconnector.ac.ReconAC in OIM classpath.
-
Error while registering plugin for custom schedule task
Hello,
I am trying to register a plugin for creating a custom scheduled task. I have referred to the document
http://docs.oracle.com/cd/E23943_01/doc.1111/e14309/refsched.htm
Followed the below steps-
1. Updated the task.xml as below taken from MDS database
<task>
<name>AC Target Source Reconciliation</name>
<class>com.cgc.iam.customconnector.ac.ReconACTarget</class>
<description>This schedule task reconciles the active users from AC to OIM. This is a one time initial recon</description>
<retry>0</retry>
<parameters>
<string-param required="true" helpText="IT Resource">IT Resource</string-param>
<string-param required="true" encrypted="false" helpText="FileName">FileName</string-param>
<string-param required="true" helpText="Admin">Admin</string-param>
<string-param required="true" helpText="AdminPassword">AdminPassword</string-param>
<string-param required="true" helpText="ConfigurationLookup">ConfigurationLookup</string-param>
<string-param required="true" helpText="FilePath">FilePath</string-param>
<string-param required="true" helpText="ResourceObject">ResourceObject</string-param>
</parameters>
</task>
<task>
<name>ACRoleReconTask</name>
<class>com.cgc.iam.customconnector.ac.ReconACRoles</class>
<description>This scheduled task will reconcile the ACGroups and AC Roles from a csv file that is stored at a shared location</description>
<retry>0</retry>
<parameters>
<string-param required="true" helpText="Admin">Admin</string-param>
<string-param required="true" helpText="AdminPassword">AdminPassword</string-param>
<string-param required="true" helpText="FilePath">FilePath</string-param>
<string-param required="true" helpText="GroupLookup">GroupLookup</string-param>
<string-param required="true" helpText="RoleLookup">RoleLookup</string-param>
<string-param required="true" helpText="GroupTableName">GroupTableName</string-param>
<string-param required="true" helpText="RoleTableName">RoleTableName</string-param>
</parameters>
</task>
2. Imported the task.xml into MDS.
3. created the plugin.xml as below-
<?xml version="1.0" encoding="UTF-8"?>
<oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<plugins pluginpoint="oracle.iam.scheduler.vo.TaskSupport">
<plugin pluginclass= "com.cgc.iam.customconnector.ac.ReconACTarget" version="1.0.1" name="scheduler element"></plugin>
<plugin pluginclass= "com.cgc.iam.customconnector.ac.ReconACRoles" version="1.0.1" name="scheduler element">
</plugin>
</plugins>
</oimplugins>
3. created the plugin.zip with the folder structure as-
plugin.zip
plugin.xml
lib
jar files
4. set ant properties
5. run the command
java -jar ../../../modules/com.bea.core.jarbuilder_1.7.0.0.jar
4. registered plugin using ant utility.
Now, I am getting the below exception-
oracle.iam.platform.utils.NoSuchServiceException: java.lang.reflect.InvocationTargetException
Please help.
Thanks
sjit[echo] at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
[echo] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
[echo] at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
[echo] Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
[echo]
[echo] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
[echo] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
[echo] at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
[echo] at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
[echo] at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
[echo] at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
[echo] at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
[echo] at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
[echo] at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
[echo] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
[echo] at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
[echo] at oracle.jdbc.driver.UpdatableResultSet.executeInsertRow(UpdatableResultSet.java:8630)
[echo] at oracle.jdbc.driver.UpdatableResultSet.insertRow(UpdatableResultSet.java:6428)
[echo] at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_UpdatableResultSet.insertRow(Unknown Source)
[echo] at oracle.iam.platform.pluginframework.DBStore.updatePluginTable(DBStore.java:395)
[echo] at oracle.iam.platform.pluginframework.DBStore.storePlugins(DBStore.java:193)
[echo] at oracle.iam.platform.pluginframework.PluginManagerImpl.registerPluginAndReturnStatus(PluginManagerImpl.java:90)
[echo] at oracle.iam.platformservice.impl.PlatformServiceImpl.registerPluginAndReturnStatus(PlatformServiceImpl.java:106)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[echo] at java.lang.reflect.Method.invoke(Method.java:597)
[echo] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
[echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
[echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
[echo] at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
[echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
[echo] at $Proxy735.registerPluginAndReturnStatus(Unknown Source)
[echo] at oracle.iam.platformservice.api.PlatformServiceEJB.registerPluginAndReturnStatusx(Unknown Source)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[echo] at java.lang.reflect.Method.invoke(Method.java:597)
[echo] at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
[echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
[echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
[echo] at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
[echo] at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
[echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
[echo] at $Proxy734.registerPluginAndReturnStatusx(Unknown Source)
[echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.__WL_invoke(Unknown Source)
[echo] at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
[echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.registerPluginAndReturnStatusx(Unknown Source)
[echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_WLSkel.invoke(Unknown Source)
[echo] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
[echo] at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
[echo] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
[echo] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
[echo] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
[echo] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
[echo] ... 3 more
[echo] Exception in thread "Main Thread" oracle.iam.platform.pluginframework.PluginStoreException: An error occurred while storing the plugin in store ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
[echo]
[echo] at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
[echo] at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
[echo] at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
[echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_1036_WLStub.registerPluginAndReturnStatusx(Unknown Source)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[echo] at java.lang.reflect.Method.invoke(Method.java:597)
[echo] at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
[echo] at $Proxy2.registerPluginAndReturnStatusx(Unknown Source)
[echo] at oracle.iam.platformservice.api.PlatformServiceDelegate.registerPluginAndReturnStatus(Unknown Source)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[echo] at java.lang.reflect.Method.invoke(Method.java:597)
[echo] at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
[echo] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
[echo] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
[echo] at weblogic.security.Security.runAs(Security.java:41)
[echo] at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
[echo] at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
[echo] at $Proxy3.registerPluginAndReturnStatus(Unknown Source)
[echo] at oracle.iam.platformservice.utils.PluginUtility.registerPluginAndReturnStatus(PluginUtility.java:279)
[echo] at oracle.iam.platformservice.utils.PluginUtility.main(PluginUtility.java:219)
[echo] Caused by: oracle.iam.platform.pluginframework.PluginStoreException: An error occurred while storing the plugin in store ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
[echo]
[echo] at oracle.iam.platform.pluginframework.DBStore.storePlugins(DBStore.java:222)
[echo] at oracle.iam.platform.pluginframework.PluginManagerImpl.registerPluginAndReturnStatus(PluginManagerImpl.java:90)
[echo] at oracle.iam.platformservice.impl.PlatformServiceImpl.registerPluginAndReturnStatus(PlatformServiceImpl.java:106)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[echo] at java.lang.reflect.Method.invoke(Method.java:597)
[echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
[echo] at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
[echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
[echo] at $Proxy735.registerPluginAndReturnStatus(Unknown Source)
[echo] at oracle.iam.platformservice.api.PlatformServiceEJB.registerPluginAndReturnStatusx(Unknown Source)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[echo] at java.lang.reflect.Method.invoke(Method.java:597)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
[echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
[echo] at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
[echo] at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
[echo] at $Proxy734.registerPluginAndReturnStatusx(Unknown Source)
[echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.__WL_invoke(Unknown Source)
[echo] at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
[echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.registerPluginAndReturnStatusx(Unknown Source)
[echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_WLSkel.invoke(Unknown Source)
[echo] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:668)
[echo] at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
[echo] at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
[echo] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
[echo] at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
[echo] Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
[echo]
[echo] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
[echo] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
[echo] at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
[echo] at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
[echo] at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
[echo] at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
[echo] at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
[echo] at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
[echo] at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
[echo] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
[echo] at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
[echo] at oracle.jdbc.driver.UpdatableResultSet.executeInsertRow(UpdatableResultSet.java:8630)
[echo] at oracle.jdbc.driver.UpdatableResultSet.insertRow(UpdatableResultSet.java:6428)
[echo] at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_UpdatableResultSet.insertRow(Unknown Source)
[echo] at oracle.iam.platform.pluginframework.DBStore.updatePluginTable(DBStore.java:395)
[echo] at oracle.iam.platform.pluginframework.DBStore.storePlugins(DBStore.java:193)
[echo] at oracle.iam.platform.pluginframework.PluginManagerImpl.registerPluginAndReturnStatus(PluginManagerImpl.java:90)
[echo] at oracle.iam.platformservice.impl.PlatformServiceImpl.registerPluginAndReturnStatus(PlatformServiceImpl.java:106)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[echo] at java.lang.reflect.Method.invoke(Method.java:597)
[echo] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
[echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
[echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
[echo] at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
[echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
[echo] at $Proxy735.registerPluginAndReturnStatus(Unknown Source)
[echo] at oracle.iam.platformservice.api.PlatformServiceEJB.registerPluginAndReturnStatusx(Unknown Source)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[echo] at java.lang.reflect.Method.invoke(Method.java:597)
[echo] at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
[echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
[echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
[echo] at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
[echo] at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
[echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[echo] at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
[echo] at $Proxy734.registerPluginAndReturnStatusx(Unknown Source)
[echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.__WL_invoke(Unknown Source)
[echo] at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
[echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.registerPluginAndReturnStatusx(Unknown Source)
[echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_WLSkel.invoke(Unknown Source)
[echo] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
[echo] at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
[echo] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
[echo] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
[echo] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
[echo] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
[echo] ... 3 more
[echo] classpath=/users/oim/Oracle/Middleware/Oracle_IDM1/server/ext/spring.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/ext/jakarta-commons/commons-logging.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-context.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-utils.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-auth-client.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-pluginframework.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/client/oimclient.jar:/users/oim/Oracle/Middleware/wlserver_10.3/server/lib/wlfullclient.jar:/users/oim/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf-api.jar
[echo]
[echo]
[echo] was_home=null
[echo]
[echo]
[echo] client_home=null
[echo]
[echo]
[echo] xl_home=null
[echo]
[echo]
[echo] mw_home=null
[echo]
[echo]
[echo] newClasspath=/users/oim/Oracle/Middleware/Oracle_IDM1/server/ext/spring.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/ext/jakarta-commons/commons-logging.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-context.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-utils.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-auth-client.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-pluginframework.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/client/oimclient.jar:/users/oim/Oracle/Middleware/wlserver_10.3/server/lib/wlfullclient.jar:/users/oim/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf-api.jar.:/sample:null/ext/ojdbc14.jar:null/ext/ucp.jar:null/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar:null/lib/oimclient.jar:null/server/lib/wlfullclient.jar:null/ext/jakarta-commons/commons-logging.jar:null/ext/commons-logging.jar:null/ext/spring.jar:null/ext/spring.jar:null/server/lib/webserviceclient+ssl.jar:null/platform/iam-platform-utils.jar:null/server/lib/wlclient.jar:null/server/lib/weblogic.jar:null/platform/iam-platform-auth-client.jar:null/features/iam-features-system-configuration.zip:null/features/iam-features-identity.zip:null/features/iam-features-platformservice.zip:null/ext/log4j-1.2.8.jar:null/lib/XellerateClient.jar:null/lib/xlAPI.jar:null/lib/xlLogger.jar:null/lib/xlVO.jar:null/lib/xlUtils.jar:null/lib/xlCrypto.jar:null/lib/xlAuthentication.jar:null/lib/xlDataObjectBeans.jar:null/ext/oscache.jar:null/ext/javagroups-all.jar:null/lib/xlFvcUtil.jar:../../../iam/iam-lib/internal/jrf-api.jar:null/oracle_common/modules/oracle.jrf_11.1.1/jrf-api.jar:null/ext/jrf-api.jar:null/oracle_common/webservices/wsclient_extended.jar:null/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar:null/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar:null/oracle_common/modules/oracle.jmx_11.1.1/jmxframework.jar
[echo] Error in registering the plugin. An error occurred while storing the plugin in store ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
[echo]
[echo] Error occured during the use of plugin registering utility. An error occurred while storing the plugin in store ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
BUILD SUCCESSFUL
Edited by: sjit on Nov 23, 2012 5:20 AM -
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; -
Error while running scheduled task
Im getting this error when I am running a scheduled task for adding all users to a group if they are managers:
Error while running task: Thor.API.Exceptions.tcAPIException: [EJB:010160]Security Violation: User: '<anonymous>' has insufficient permission to access EJB: type=<ejb>, application=Xellerate, module=xlDataObjectBeans.jar, ejb=tcGroupOperations, method=addMemberUser, methodInterface=Remote, signature={long,long}.
any idea?no luck.
im getting following errors:
updatamanagergroup.java:3: package Thor.API.Operations does not exist
import Thor.API.Operations.*;
^
updatamanagergroup.java:4: package Thor.API does not exist
import Thor.API.tcResultSet;
^
updatamanagergroup.java:5: package Thor.API does not exist
import Thor.API.tcUtilityFactory;
^
updatamanagergroup.java:6: package com.thortech.xl.crypto does not exist
import com.thortech.xl.crypto.tcCryptoUtil;
^
updatamanagergroup.java:7: package com.thortech.xl.scheduler.tasks does not exist
import com.thortech.xl.scheduler.tasks.SchedulerBaseTask;
^
updatamanagergroup.java:8: package com.thortech.xl.util.config does not exist
import com.thortech.xl.util.config.ConfigurationClient;
^
updatamanagergroup.java:13: cannot find symbol
symbol: class SchedulerBaseTask
public class updatamanagergroup extends SchedulerBaseTask
^
and so on....
23 errors
Edited by: user11136275 on Dec 24, 2009 12:22 AM -
Coldfusion 11 Update 4 scheduled task error
My scheduled tasks stopped and on going into Administrator I got:
The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code.
Null Pointers are another name for undefined values.
The error occurred in scheduletasks.cfm: line 190
-1 : Unable to display error's location in a CFML template.
I found some posts referring to earlier versions of CF and the neo-cron.xml file. This file was blank. I replaced with the file from my development server as per the posts.
Can anyone advise why this problem occurred (and has occurred to others)? - I cannot afford to have scheduled tasks anything less than bullet-proof
Regards
RichardCould you please update the bug with your findings. This will definitely help everyone.
Regards,
Anit Kumar
Re: ColdFusion 11 update 5 -
Error in Scheduled Task in CF 10 Standard Edi.
Hi Team,
Currently we are facing an issue in Scheduled Tasks options in ColdFusion 10 while we attempting to schedule some tasks. We are using the same facility successfully in ColdFusion 7 Standard edition up to now and the Schedule Tasks works perfectly in that version.
Also the same Scheduled task option we have tested successfully in CF 10 Trial version (Developer Edition) before we purchased the license. Once we updated with the Standard License all schedules were deleted from the list which we scheduled in Trial Version and when we have tried several options to create new tasks, we continued to get the following message
An error occurred scheduling the task.
Advance Scheduling support is not available in this edition of ColdFusion server.
Also as we have checked under Server Updates in CF 10, there is no available updates are listing. Kindly let us know is there any workaround on this issue.
Best Regard's
MaduHi Priyank.
We are on Update 9 and still I am getting the same error as shown in Madu's post. I cannot even update the schedule through the CFSchedule tag.
This is our server information:
Server Product
ColdFusion
Version
ColdFusion 10,282462
Edition
Standard
Operating System
Windows Server 2008 R2
OS Version
6.1
Adobe Driver Version
4.1 (Build 0001)
What solution do you suggest?
Thanks! -
Schedule Task Logic:
SQL query to get list of user id's
For each user get resource objects
Update UPN for AD resource if Status 'provisioned' or 'enabled'
1) After Schedule task processes 500-600 users i get following error in log for each subsequent user.
09:42:27,608 ERROR [XELLERATE.DATABASE] Class/Method: tcDataBase/readPartialStatement encounter some problems: ORA-01000: maximum open cursors exceeded
java.sql.SQLException: ORA-01000: maximum open cursors exceeded
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
2) i do check for isStop() method and try to return from code but Schedule Task keeps running till all the users are processed.
NOTE: Number of users to be processed are 9-10K.
Thanks a lot.Here is the solution:
1) Login to the OIM database as sys and run the query:
SQL> select name,value from v$parameter where name like '%curs%';
NAME - VALUE
cursor_space_for_time - FALSE
session_cached_cursors - 20
cursor_sharing - EXACT
open_cursors - 300
change cursor_sharing parameter to *'FORCE'* in the init.ora or spfile, and bounce the database.
2) The method should be isStopped() for checking the Stop Execution checkbox in the shceduler.
Thanks
Sunny -
E-mailing Scheduled Task Errors
I'm running CF4.5 and we have a number of scheduled tasks
that run daily, weekly, etc. and I'm hoping there's a better way of
finding problems with them than someone in accounting getting upset
because we haven't billed clients in weeks or our daily imported
daily hasn't been updated in three weeks and someone just noticed
now.
Is there a way I can have the system e-mail me with
CFSchedule errors?
I see there's a place for a template to be called when
there's a server error, but I need something more specific.
Thanks!Not sure if it available in CF 4.5 but there is such a thing
as a Site Wide Error Template in CF MX 6.1.
I use this template to email if there are any problems. This
means it also captures problems from Scheduled Tasks.
Take a look in CFADMIN. -
AD User and Group Reconciliation Scheduled Task Error
I am able to perform recon against an oracle database table, however, when I try to perform recon against AD users or groups, I get the following error. Has anyone ever seen a "java.sql.SQLException: Exhausted Resultset" error when running a scheduled task? Thanks in advance for any help!
DEBUG,22 Oct 2007 17:19:53,937,[XELLERATE.SCHEDULER],triggerImpl : Trigger 'DEFAULT.ADGroupLookupReconTask': triggerClass: 'org.quartz.SimpleTrigger isVolatile: false calendar: 'null' misfireInstruction: 0
DEBUG,22 Oct 2007 17:19:53,937,[XELLERATE.SCHEDULER],trigger Misfire instruction : MISFIRE_INSTRUCTION_RESCHEDULE_NEXT_WITH_EXISTING_COUNT
DEBUG,22 Oct 2007 17:19:53,937,[XELLERATE.SCHEDULER],Class/Method: QuartzSchedulerImpl/getQuartzTrigger left.
DEBUG,22 Oct 2007 17:19:53,937,[XELLERATE.SCHEDULER],ADGroupLookupReconTask trigger is related to DEFAULT.ADGroupLookupReconTask and new job is DEFAULT.ADGroupLookupReconTask
DEBUG,22 Oct 2007 17:19:53,937,[XELLERATE.SCHEDULER],Scheduling task : ADGroupLookupReconTask with trigger : Trigger 'DEFAULT.ADGroupLookupReconTask': triggerClass: 'org.quartz.SimpleTrigger isVolatile: false calendar: 'null' misfireInstruction: 5
DEBUG,22 Oct 2007 17:19:53,953,[XELLERATE.SCHEDULER],Loading Scheduled task class com.thortech.xl.scheduler.core.quartz.QuartzWrapperusing ADP classloader
DEBUG,22 Oct 2007 17:19:53,953,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader entered.
DEBUG,22 Oct 2007 17:19:53,953,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader left.
DEBUG,22 Oct 2007 17:19:53,968,[XELLERATE.SCHEDULER],Class/Method: QuartzSchedulerImpl/updateXellerateForTrigger entered.
DEBUG,22 Oct 2007 17:19:53,968,[XELLERATE.SCHEDULER],Updating Trigger Details: lastStartTime : 2007-10-22lastStopTime : Mon Oct 22 17:19:53 CDT 2007nextStartTime : 2007-10-22
DEBUG,22 Oct 2007 17:19:53,968,[XELLERATE.SCHEDULER],LefMethodDebug
DEBUG,22 Oct 2007 17:19:53,968,[XELLERATE.SCHEDULER],Class/Method: QuartzSchedulerImpl/updateScheduledTask left.
DEBUG,22 Oct 2007 17:21:48,015,[XELLERATE.SCHEDULER],Loading Scheduled task class com.thortech.xl.scheduler.core.quartz.QuartzWrapperusing ADP classloader
DEBUG,22 Oct 2007 17:21:48,015,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader entered.
DEBUG,22 Oct 2007 17:21:48,015,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader left.
DEBUG,22 Oct 2007 17:21:48,015,[XELLERATE.SCHEDULER],Loading Scheduled task class com.thortech.xl.scheduler.core.quartz.QuartzWrapperusing ADP classloader
DEBUG,22 Oct 2007 17:21:48,015,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader entered.
DEBUG,22 Oct 2007 17:21:48,015,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader left.
DEBUG,22 Oct 2007 17:21:48,078,[XELLERATE.SCHEDULER],Class/Method: SchedulerUtil/eventPreInsert entered.
DEBUG,22 Oct 2007 17:21:48,078,[XELLERATE.SCHEDULER],Class/Method: SchedulerUtil/getSchedulerInstanc left.
ERROR,22 Oct 2007 17:21:48,250,[XELLERATE.SERVER],Class/Method: QuartzWrapper/run encounter some problems: Exhausted Resultset
java.sql.SQLException: Exhausted Resultset
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:240)
at oracle.jdbc.driver.OracleResultSetImpl.getInt(OracleResultSetImpl.java:493)
at oracle.jdbc.driver.OracleResultSet.getInt(OracleResultSet.java:1618)
at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.isTaskDisabled(Unknown Source)
at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.access$100(Unknown Source)
at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
at Thor.API.Security.LoginHandler.oracleLoginSession.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)Hi,
I am getting the same error, You posted this thread on 10/22/07. Did you resolve this issue? Please share your solution.
Thanks.
Subhan -
Hello,
we're doing trusted reconciliation from DB and it is implemented through a GTC connector (OIM 10g BP 15).
After we did a sync of OIM from prod to this environment, we're seeing issue using this related trusted recon scheduled job. Here is the error :
DEBUG,24 Jan 2012 15:09:12,321,[XELLERATE.SCHEDULER],Loading Scheduled task class com.thortech.xl.scheduler.core.quartz.QuartzWrapperusing ADP classloader
DEBUG,24 Jan 2012 15:09:12,321,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader entered.
DEBUG,24 Jan 2012 15:09:12,321,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader left.
DEBUG,24 Jan 2012 15:09:12,340,[XELLERATE.SCHEDULER],Class/Method: QuartzSchedulerImpl/getQuartzTrigger entered.
DEBUG,24 Jan 2012 15:09:12,340,[XELLERATE.SCHEDULER],Creating Custom Trigger with StartTime 2012-01-24 with repeat interval of 21600000 secs
DEBUG,24 Jan 2012 15:09:12,340,[XELLERATE.SCHEDULER],triggerFreq : CUSTOM
DEBUG,24 Jan 2012 15:09:12,340,[XELLERATE.SCHEDULER],triggerImpl : Trigger 'DEFAULT.MYMDB_GTC': triggerClass: 'org.quartz.SimpleTrigger isVolatile: false calendar: 'null' misfireInstruction: 0
DEBUG,24 Jan 2012 15:09:12,340,[XELLERATE.SCHEDULER],trigger Misfire instruction : MISFIRE_INSTRUCTION_RESCHEDULE_NEXT_WITH_EXISTING_COUNT
DEBUG,24 Jan 2012 15:09:12,340,[XELLERATE.SCHEDULER],Class/Method: QuartzSchedulerImpl/getQuartzTrigger left.
DEBUG,24 Jan 2012 15:09:12,340,[XELLERATE.SCHEDULER],MYMDB_GTC trigger is related to DEFAULT.MYMDB_GTC and new job is DEFAULT.MYMDB_GTC
DEBUG,24 Jan 2012 15:09:12,340,[XELLERATE.SCHEDULER],Scheduling task : MYMDB_GTC with trigger : Trigger 'DEFAULT.MYMDB_GTC': triggerClass: 'org.quartz.SimpleTrigger isVolatile: false calendar: 'null' misfireInstruction: 5
DEBUG,24 Jan 2012 15:09:12,392,[XELLERATE.SCHEDULER],Loading Scheduled task class com.thortech.xl.scheduler.core.quartz.QuartzWrapperusing ADP classloader
DEBUG,24 Jan 2012 15:09:12,392,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader entered.
DEBUG,24 Jan 2012 15:09:12,392,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader left.
DEBUG,24 Jan 2012 15:09:12,407,[XELLERATE.SCHEDULER],Class/Method: QuartzSchedulerImpl/updateXellerateForTrigger entered.
DEBUG,24 Jan 2012 15:09:12,407,[XELLERATE.SCHEDULER],Updating Trigger Details: lastStartTime : 2012-01-24 lastStopTime : Tue Jan 24 15:09:12 PST 2012 nextStartTime : 2012-01-24
DEBUG,24 Jan 2012 15:09:12,411,[XELLERATE.SCHEDULER],LefMethodDebug
DEBUG,24 Jan 2012 15:09:12,411,[XELLERATE.SCHEDULER],Class/Method: QuartzSchedulerImpl/updateScheduledTask left.
DEBUG,24 Jan 2012 15:09:14,035,[XELLERATE.SCHEDULER],Loading Scheduled task class com.thortech.xl.scheduler.core.quartz.QuartzWrapperusing ADP classloader
DEBUG,24 Jan 2012 15:09:14,035,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader entered.
DEBUG,24 Jan 2012 15:09:14,035,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader left.
DEBUG,24 Jan 2012 15:09:14,066,[XELLERATE.SCHEDULER],Loading Scheduled task class com.thortech.xl.scheduler.core.quartz.QuartzWrapperusing ADP classloader
DEBUG,24 Jan 2012 15:09:14,066,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader entered.
DEBUG,24 Jan 2012 15:09:14,066,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader left.
INFO,24 Jan 2012 15:09:14,093,[XELLERATE.SERVER],Quartz Executing Scheduled task : MYMDB_GTC
DEBUG,24 Jan 2012 15:09:14,099,[XELLERATE.SCHEDULER],Class/Method: SchedulerUtil/eventPreInsert entered.
DEBUG,24 Jan 2012 15:09:14,099,[XELLERATE.SCHEDULER],Class/Method: SchedulerUtil/getSchedulerInstanc left.
DEBUG,24 Jan 2012 15:09:14,175,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader entered.
DEBUG,24 Jan 2012 15:09:14,175,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader left.
Any idea what could be wrong here?
Thanks,Hello,
I tried "Edit" the GTC connector and "SAVE" the connector back without doing any editing. I hope that will not cause any difference in the deployed corresponding GTC schedule task which used to work earlier.
Anyways, i also checked the trusted source database and populated some new values in there and tried reconciling again (incremental reconciliation configured). Surprisingly i see some new error in the logs. Is this because of the unnecessary "Edit" operation i performed ?
==========================================================================================================
ERROR,31 Jan 2012 16:22:49,269,[XELLERATE.GC.FRAMEWORKRECONCILIATION],Reconciliation Encountered error:
java.lang.IllegalArgumentException: Cannot format given Object as a Date
at java.text.DateFormat.format(DateFormat.java:281)
at java.text.Format.format(Format.java:140)
at com.thortech.xl.gc.impl.common.DBFacade.getStringFromSQLObject(Unknown Source)
at com.thortech.xl.gc.impl.common.DBFacade.retrieveRecord(Unknown Source)
at com.thortech.xl.gc.impl.common.DBFacade.getRecord(Unknown Source)
at com.thortech.xl.gc.impl.common.DBFacade.getTargetRecord(Unknown Source)
at com.thortech.xl.gc.impl.recon.DBReconTransportProvider.getFirstPage(Unknown Source)
at com.thortech.xl.gc.runtime.GCScheduleTask.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(SecurityManager.java:120)
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)
DEBUG,31 Jan 2012 16:22:49,270,[XELLERATE.SCHEDULER.TASK],Class/Method: SchedulerBaseTask/setResult entered.
DEBUG,31 Jan 2012 16:22:49,270,[XELLERATE.SCHEDULER.TASK],Class/Method: SchedulerBaseTask/setResult left.
WARN,31 Jan 2012 16:22:49,270,[XELLERATE.GC.FRAMEWORKRECONCILIATION],Though Reconciliation Scheduled task has encountered an error, Reconciliation Transport providers have been "ended" smoothly. Any provider operation that occurs during that "end" or "clean-up" phase would have been executed e.g. Data archival. In case you want that data to be a part of next Reconciliation execution, restore it from Staging. Provider logs must be containing details about storage entities that would have been archived
DEBUG,31 Jan 2012 16:22:49,270,[XELLERATE.SCHEDULER.TASK],Class/Method: SchedulerBaseTask/run left.
========================================================================================
Maybe you are looking for
-
Hey guys, I have a MacMini which is a couple of years old now, it has ONLY a DVI connector on the back, no display port. I recently bought a Dell U271 monitor which is capable of going up to 2560x1440 using a Dual Link DVI cable under Linux. If I ta
-
Is the earpods of my ipod touch5 can excange with the new one? my ipod still under warranty
my ipod touch's warranty will expired on 11th may btw. anybody can answer my question?
-
The trackball on my new Tour is not very responsive. I've adjusted the horizontal and vertical sensitivity and am still having no luck. Is it just a faulty phone or is this one of the downfalls of this new phone? Message Edited by Twixter915 on 08-
-
How do i have copies of the forms sent to my email once they are filled out
how do i have copies of the filled out forms sent to my email once they submit?
-
Color Picker Stops Working in DW CS6
Every so often, when I use the color picker from within Dreamweaver CS6 to select a color from an image or background, etc., then try to change that color (slightly change the brightness up or down using the system color sliders), it will act as if i