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!
David
Looks like a security setup issue on the OBIEE side
OBIEE on Linux might help.
Worth digging thru metalink too
Tim
Similar Messages
-
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. -
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 Deployment in OC4J Error
Please advise what is happening to my Server.
I have BIpublisher deployed in OC4J 10.1.3.1 on Linux Red Hat Environment. Publisher is integrated into our OBIEE sitting on the Same Server.
After redeploying the xmlpServer.ear onto OC4J, I am not able to connect to Publisher from Presentation Servers (10.1.3.4.0).
Below is the Error Message:
Exception java.lang.Exception: /app/OracleBI/server/Bin/libperfjni.so: /app/OracleBI/server/Bin/libperfjni.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
java.lang.Exception: /app/OracleBI/server/Bin/libperfjni.so: /app/OracleBI/server/Bin/libperfjni.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at oracle.bi.analytics.management.monitoring.PerfDllJNI.<init>(PerfDllJNI.java:117)
at oracle.bi.analytics.management.monitoring.AppPerfMon.<init>(AppPerfMon.java:87)
at oracle.bi.analytics.management.monitoring.PerfmonThr.initializePerfInterface(PerfmonThr.java:65)
at oracle.bi.analytics.management.monitoring.PerfmonThr.<init>(PerfmonThr.java:47)
at oracle.bi.analytics.management.Agent.registerPerformanceMBeans(Agent.java:87)
at oracle.bi.analytics.management.Agent.registerMBeans(Agent.java:55)
at oracle.bi.analytics.management.Oc4jAgent.registerMBeans(Oc4jAgent.java:48)
at oracle.bi.analytics.management.Oc4jAgent.main(Oc4jAgent.java:26)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ServerApplicationClientLauncherImpl.launch(ServerApplicationClientLauncherImpl.java:93)
at com.evermind.server.ServerApplicationClientLauncherImpl.run(ServerApplicationClientLauncherImpl.java:74)
at java.lang.Thread.run(Thread.java:595)
09/09/29 08:31:12 java.lang.Exception: Exception in constructing PerfDllJNI for PERF configuration file: /app/OracleBI/systemsmanagement/resources/performance/perf_OracleBIServer.xml
09/09/29 08:31:12 at oracle.bi.analytics.management.monitoring.AppPerfMon.<init>(AppPerfMon.java:97)
09/09/29 08:31:12 at oracle.bi.analytics.management.monitoring.PerfmonThr.initializePerfInterface(PerfmonThr.java:65)
09/09/29 08:31:12 at oracle.bi.analytics.management.monitoring.PerfmonThr.<init>(PerfmonThr.java:47)
09/09/29 08:31:12 at oracle.bi.analytics.management.Agent.registerPerformanceMBeans(Agent.java:87)
09/09/29 08:31:12 at oracle.bi.analytics.management.Agent.registerMBeans(Agent.java:55)
09/09/29 08:31:12 at oracle.bi.analytics.management.Oc4jAgent.registerMBeans(Oc4jAgent.java:48)
09/09/29 08:31:12 at oracle.bi.analytics.management.Oc4jAgent.main(Oc4jAgent.java:26)
09/09/29 08:31:12 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09/09/29 08:31:12 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
09/09/29 08:31:12 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
09/09/29 08:31:12 at java.lang.reflect.Method.invoke(Method.java:585)
09/09/29 08:31:12 at com.evermind.server.ServerApplicationClientLauncherImpl.launch(ServerApplicationClientLauncherImpl.java:93)
09/09/29 08:31:12 at com.evermind.server.ServerApplicationClientLauncherImpl.run(ServerApplicationClientLauncherImpl.java:74)
09/09/29 08:31:12 at java.lang.Thread.run(Thread.java:595)
2009-09-29 08:31:12.092 ERROR Could not load/parse file: /app/OracleBI/systemsmanagement/resources/performance/perf_OracleBIServer.xml
09/09/29 08:31:12 Could not initialize the Performance MBeans
09/09/29 08:31:14 xdo.server.config.dir = null
09/09/29 08:31:14 BI Beans Graph version [9.9.9.40.4350]
09/09/29 08:31:15 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
If I try to login to BI Publisher by typing in the xmlpserver URL directly, I get the following error:
500 Internal Server Error
Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
Any help to Solve this problem will do. This all happened after redeploying the .EAR file.
More Details below:
extract from application.log under application deployments:
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
09/10/05 11:31:00.403 xmlpserver: Error initializing servlet
java.lang.LinkageError: loader constraints violated when linking org/xml/sax/InputSource class
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:388)
at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179)
at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)
at org.apache.axis.server.AxisServer.<init>(AxisServer.java:88)
at org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxisServerFactory.java:109)
at org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerFactory.java:73)
at org.apache.axis.server.AxisServer.getServer(AxisServer.java:73)
at org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:185)
at org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletBase.java:396)
at org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.java:112)
at org.apache.axis.transport.http.AxisServlet.init(AxisServlet.java:156)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2361)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4810)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4734)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2957)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:736)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
09/10/05 11:31:00.404 xmlpserver: Servlet error
java.lang.LinkageError: loader constraints violated when linking org/xml/sax/InputSource class
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:388)
at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179)
at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)
at org.apache.axis.server.AxisServer.<init>(AxisServer.java:88)
at org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxisServerFactory.java:109)
at org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerFactory.java:73)
at org.apache.axis.server.AxisServer.getServer(AxisServer.java:73)
at org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:185)
at org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletBase.java:396)
at org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.java:112)
at org.apache.axis.transport.http.AxisServlet.init(AxisServlet.java:156)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2361)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4810)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4734)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2957)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:736)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
09/10/05 11:31:09.867 xmlpserver: Servlet error
java.lang.LinkageError: loader constraints violated when linking org/xml/sax/ErrorHandler class
at oracle.cabo.share.xml.TreeBuilder.parse(Unknown Source)
at oracle.cabo.share.config.ApplicationConfigurationParser.createInstance(Unknown Source)
at oracle.cabo.share.config.ApplicationConfiguration.getInstance(Unknown Source)
at oracle.cabo.share.config.Configuration.getConfiguration(Unknown Source)
at oracle.cabo.ui.ServletRenderingContext.__getConfiguration(Unknown Source)
at oracle.cabo.ui.RootRenderingContext.getConfiguration(Unknown Source)
at oracle.cabo.ui.RootRenderingContext._getLookAndFeelManager(Unknown Source)
at oracle.cabo.ui.RootRenderingContext.getLookAndFeel(Unknown Source)
at oracle.cabo.ui.ServletRenderingContext._getContentType(Unknown Source)
at oracle.cabo.ui.ServletRenderingContext.prepareResponse(Unknown Source)
at oracle.apps.xdo.servlet.ui.UIUtils.renderError(UIUtils.java:1142)
at login.jspService(_login.java:368)
at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.1.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)sorry, I think I'm mistaken. That error is what it says, but it's not going to stop publisher working (it's when systemsmanagement is initialising, so perfmon may not be available).
The error related to Publisher I'd look at is from application.log:
09/10/05 11:31:00.403 xmlpserver: Error initializing servlet
java.lang.LinkageError: loader constraints violated when linking org/xml/sax/InputSource classUnfortunately I have no idea what this means.
Maybe try redeploying xmlpublisher, or using the latest version (10.1.3.4.1)?
Does Presentation Services work, i.e. can you log in to Dashboards and Answers? -
Schedule task not working in OIM11gr2
Hi Experts,
I have coded a schedule task, using the plugin approach, the steps i have followed are:
1. Created the custom code jar
2. Created plugin.xml
the above 2 files are added in plugin and registerd in OIM
3. Created the task.xml and registered in MDSWhile creating the job i could see it shows up in the tasks but when i executed thejob it is giving me below error:
I tried putting it in using UploadJars.sh utility and placed thejar in schedule tasks folder but did not work.
An error occurred while loading the plugin class. Class null was not found.
Please provide help this is really urgent!!
thanksThis is how my Task.xml (MDS file) looks
<?xml version='1.0' encoding='UTF-8'?>
<scheduledTasks xmlns="http://xmlns.oracle.com/oim/scheduler">
<task>
<name>RIMReconTask</name>
<class>com.abc.iam.customtask.rim.RIMReconST</class>
<description>This scheduled task will reconcile the RIM profile to the OIM users</description>
<retry>0</retry>
<parameters>
<string-param required="true" helpText="User Login">User Login</string-param>
<string-param required="true" helpText="User Status">User Status</string-param>
<string-param required="true" helpText="Resource Object">Resource Object</string-param>
</parameters>
</task>
</scheduledTasks>
I have removed the plugin file completely. I have validated that class path and name it is the same as com.abc.iam.customtask.rim.RIMReconST
I have registered the jar in OIM database using UploadJars.sh utility.
I get the following error:
An error occurred while loading the plugin class. Class null was not found.
Dont know what is wrong here !! -
How to Deploy the Scheduler Task OIM 11g
Hi.
I have deployed the scheduler task in OIM 11g and also I have configured the Scheduler task in OIM Admin Console. The Java Scheduler class was not invoked when I run the Scheduler task.
I have done the following configuration to develop and deploy the scheduler task in OIM.
1) Developing the Java Class File.
package edu.sfsu.oim11g.scheduler;
import java.util.HashMap;
import oracle.iam.scheduler.vo.TaskSupport;
import edu.sfsu.oim11g.logger.SfsuLogger;
public class SfsuTrustedSourceReconciliation extends TaskSupport {
//private Logger logger= Logger.getLogger(SfsuTrustedSourceReconciliation.class);
private SfsuLogger logger= new SfsuLogger("SFSU-LOGGER");
private String className=this.getClass().getCanonicalName();
private String methodName="";
public SfsuTrustedSourceReconciliation() {
methodName="SfsuTrustedSourceReconciliation";
debug("SfsuTrustedSourceReconciliation() Called");
@Override
public void execute(HashMap arg0) throws Exception {
// TODO Auto-generated method stub
methodName="execute";
debug("SfsuTrustedSourceReconciliation Arguments "+arg0);
@Override
public HashMap getAttributes() {
// TODO Auto-generated method stub
return null;
@Override
public void setAttributes() {
// TODO Auto-generated method stub
private void debug(Object message)
logger.info(className+" : "+methodName+" : "+message);
2) Custom Scheduler XML File
This file is located in
/home/oracle/confg_files/schedulers/db/SfsuTrustedSourceReconciliation.xml
<scheduledTasks xmlns="http://xmlns.oracle.com/oim/scheduler">
<task>
<name>SfsuTrustedSourceReconciliation</name>
<class>edu.sfsu.oim11g.scheduler.SfsuTrustedSourceReconciliation</class>
<description>Reconciliation IDSync Data</description>
<retry>5</retry>
<parameters>
<string-param required="true" encrypted="false" helpText="Source Data Source">Source Resource Data Source Name</string-param>
<string-param required="true" encrypted="false" helpText="Config Data Source">Config Resource Data Source Name</string-param>
<string-param required="true" encrypted="false" helpText="Reconciliation Type is Full Or Cincremental. Default is Incremental">Reconciliation Type</string-param>
<number-param required="true" encrypted="false" helpText="Max Records" >Max Records</number-param>
</parameters>
</task>
</scheduledTasks>
3) Plugin File Configuration.
<?xml version="1.0" encoding="UTF-8"?>
<oimplugins>
<plugins pluginpoint="oracle.iam.platform.kernel.spi.EventHandler">
<plugin pluginclass="edu.sfsu.oim11g.eventhandlers.SfsuPostProcessEventHandler" version="1.0" name="SfsuPostprocessExtension"/>
</plugins>
<plugins pluginpoint="oracle.iam.scheduler.vo.TaskSupport">
<plugin pluginclass="edu.sfsu.oim11g.scheduler.SfsuTrustedSourceReconciliation" version="1.0" name="SfsuTrustedSourceReconciliation"/>
</plugins>
</oimplugins>
The event handler is successfully deployed and working fine without any issue.
4) making the scheduler jar file.
5) Making the scheduler zip with the following directory format.
plugin.xml
lib/scheduler.jar
6) Registering the Schedule task and event handler as a Plugin.
ant -f pluginregistration.xml register
7) Importing the SfsuTrustedSourceReconciliation.xml file into the MDS.
7.1) weblogic.properties
wls_servername=oim_server1
application_name=oim
metadata_from_loc=/home/oracle/configfiles/schedulers
7.2) Running the weblogicImportMetadata.sh file
It imported the SfsuTrustedSourceReconciliation.xml file into the MDS Schema and it is available in the MDS_PATH table in MDS schema
Path_Name : SfsuTrustedSourceReconciliation.xml
PATH_FULL : /db/SfsuTrustedSourceReconciliation.xml
8) Imported the EventHandlers.xml file into the MDS Schema.
9) Run the PurgeCache.sh file
10) Restarted the OIM Server.
11) Loggin into the OIM Admin Console and Created the Scheduler job based on the SfsuTrustedSourceReconciliation listed in the scheduler.
12) Run the Scheduler job and log file entries are not logged into the log file. My Log File Configuration
<log_handler name='sfsu-handler' level='FINEST' class='oracle.core.ojdl.logging.ODLHandlerFactory'>
<property name='logreader:' value='off'/>
<property name='path' value='/u01/app/wl-10.3.5.0/Oracle/Middleware/user_projects/domains/oim_domain/servers/oim_server1/logs/sfsu-connector.log'/>
<property name='format' value='ODL-Text'/>
<property name='useThreadName' value='true'/>
<property name='locale' value='en'/>
<property name='maxFileSize' value='5242880'/>
<property name='maxLogSize' value='52428800'/>
<property name='encoding' value='UTF-8'/>
</log_handler>
<logger name="SFSU-LOGGER" level="FINEST" useParentHandlers="false">
<handler name="sfsu-handler"/>
<handler name="console-handler"/>
</logger>
Is there any special configuration Do i need to do invoke my Scheduler Java Class File.
Help is Greatly Appreciated.Seems like you did it all right but just piece which if you can modify and test. The plugin.xml has two artifacts eventhandler and the schduler. Can you try creating separate plugin.xml with one for the scheduler zipped up with /lib/scheduleClass.jar and test it?
Just deregister everything before trying it and let us know how it goes.
Also the logger as I see is a custom logger, so it is extending the OOTB Logger? Just put some sysouts in the code and check for those in the server out file to be sure.
Edited by: bbagaria on Jul 22, 2011 5:15 PM -
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 -
Hi Experts,
i scheduled some of my BIP reports integrated with siebel. I Notice that if i schedule a report to genreate a 1.5k+ records i always received this kind of error :
oracle.apps.xdo.servlet.scheduler.ProcessingException: oracle.apps.xdo.servlet.data.DataException: Requested data type does not match with existing data type
at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:983)
at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:418)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Caused by: oracle.apps.xdo.servlet.data.DataException: Requested data type does not match with existing data type
at oracle.apps.xdo.servlet.data.server.DefaultDataSet.getString(DefaultDataSet.java:178)
at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:173)
at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:413)
at oracle.apps.xdo.servlet.CoreProcessor.processScheduledRequest(CoreProcessor.java:362)
at oracle.apps.xdo.servlet.CoreProcessor.generateScheduledDocument(CoreProcessor.java:114)
at oracle.apps.xdo.servlet.ReportImpl.renderScheduledJob(ReportImpl.java:357)
at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:977)
... 3 more
Do you have any idea what can be the solution to solve this issue?check this link BI Publisher Scheduling Problem
-
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; -
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 -
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 -
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 -
How to stop a Scheduler Job in Oracle BI Publisher 10g
Hello!
Can someone tell me how can I stop a scheduler job in Oracle BI Publisher 10g?
I scheduled a bursting job to run a report but is running during two days.
I would like to stop it.
Thanks.
Edited by: SFONS on 19-Jan-2012 07:16Unfortunately there is no way to stop a job once it is being executed. Yes as you read, it is not possible once job has started.
Same thing applies for running queries.
Once queries are sent to the DB BIP loses control over them. The message you see (if any) "Click Here to Cancel" does not stop any query
it is just a message.
I guess you will have to stop/kill the process in your DB
regards
Jorge
p.s If you consider your question answered then please mark my answer as *"Correct"* or *"Helpful"*
Maybe you are looking for
-
Is there a way to see an organized Window Menu that indicates if a window is minimized?
Using Firefox 3.6.12 on Mac OS X 10.6.5 I routinely research using tabbed browsing. Each window holds a collection of tabs related to a research resource or topic. Sometimes I minimize these on the Mac with a Command-M. When I look at the Window menu
-
Error msg:AA824 while posting and AUC in f-90 contact ure system admin
hi all iam facing an error when iam trying to post an asset from f-90 iam getting an error msg AA824. contact your system administrator. diagnosis: No accounts have been entered for depreciation area 01 for account allocation 40000 (chart of accounts
-
How to create a sales order for one-time customer
Hi all, I have a requirement where in creating a sales order, I have to add the tax code for one-time customer. This is not the tax jurisdiction but it is a text field that you can see in Further attributes and it will store in VBPA3 table. My plan w
-
Van you insert an electronic signature in pages?
I have just upgraded to Mavericks and the new iWorks apps. Can you insert a digital signature into a Pages document please
-
Business Graphic rendering problem.
Im running J2ee (NW2004) SP20. Ive been following this simple business graphics tutorial (http://help.sap.com/saphelp_nw04/helpdata/en/e5/08b6eb35637a44830b9e6df22987aa/content.htm) and get a generic image not found red x with I try and render my s