Error while running schedule jobs in oim 11 gr2
Hello,
I have create the custom schedule job.for which i have create the java call and the plugin.xml file and i have successfully register it to oim
,then i have create the metadata scheduler xml and import it to mds using wlst.
then i have cretae the schedule job in oim advance tab.but when i run that task the console propmt the error
<Jun 13, 2013 5:47:19 PM IST> <Warning> <oracle.iam.scheduler.impl> <BEA-000000> <XSD Validation Exception: org.xml.sax.SAXParseException: cvc-elt.1: Cannot f
ind the declaration of element 'scheduledTasks'.>
<Jun 13, 2013 5:48:51 PM IST> <Error> <oracle.iam.transUI.impl> <BEA-000000> <ADP ClassLoader failed to load: com.oracle.demo.oim.scheduled.NotificationDemoSc
heduledTask>
please help how to resolve this error
regards,
Tushar
Check your scheduler xml. I hope XSD validation exception points to invalid scheduler xml file. It should look something like this sample
<scheduledTasks xmlns="http://xmlns.oracle.com/oim/scheduler">
<task>
<name>Lookup Recon Scheduled Task</name>
<class>oracle.iam.samples.schtasks.LookupReconScheduledTask</class>
<description>Lookup recon Scheduled Task</description>
<retry>5</retry>
<parameters>
<string-param required="true" helpText="Name of the Lookup code">Lookup Code Name</string-param>
</parameters>
</task>
</scheduledTasks>
Similar Messages
-
Security Violation Error while running schedule task from OIM.
Hi All,
I am getting this error while running a custom java schedule task from OIM:
*Thor.API.Exceptions.tcAPIException [EJB:010160] Security Violation: User '<anonymous>' has insufficient permission to access EJB:*
type=<ejb>,application=Xellerate,module=xlDataObjectBeans.jar,ejb=tcReconciliationoperations,method=createDeleteReconciliationEvent
at Thor.API.Operations.tcReconciliationOperationsClient.createDeleteReconciliationEvent(UnKnown Source).
I got this error as soon as my code start creating Delete Reconciliation Event.
Note: I have already protected the JNDI Namespace.
Please provide some pointers.
Regards,
SunnyHi Rajiv,
Check this:
package com.centrica.iam.scheduletask;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileFilter;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Set;
import oracle.iam.connectors.common.ConnectorLogger;
import com.thortech.xl.dataaccess.tcDataSet;
import com.thortech.xl.dataaccess.tcDataSetException;
import com.thortech.xl.dataobj.PreparedStatementUtil;
import com.thortech.xl.orb.dataaccess.tcDataAccessException;
import com.thortech.xl.scheduler.tasks.SchedulerBaseTask;
import Thor.API.tcResultSet;
import Thor.API.Exceptions.tcAPIException;
import Thor.API.Exceptions.tcInvalidValueException;
import Thor.API.Operations.tcLookupOperationsIntf;
import Thor.API.Operations.tcReconciliationOperationsIntf;
import Thor.API.Operations.tcSchedulerOperationsIntf;
public class CustomFlatFile extends SchedulerBaseTask {
private static tcSchedulerOperationsIntf schedulerIntf;
private static tcLookupOperationsIntf lookupIntf;
private static tcReconciliationOperationsIntf reconIntf;
String sObjectName;
String LookupName;
String LookupName2;
String FileDirectory;
String FileName;
String File;
String delimeter;
String isDeleteTrue;
HashMap<String, String> attrMap = new HashMap();
HashMap<String, String> delMap = new HashMap();
HashMap<String, String> finalMap = new HashMap();
ArrayList list = new ArrayList();
public boolean isReconStopped;
public CustomFlatFile()
isReconStopped = false;
public void init()
LookupName = getAttribute("Attribute Lookup Name");
FileDirectory = getAttribute("Directory Path");
FileName = getAttribute("File Name");
delimeter = getAttribute("Delimeter");
sObjectName = getAttribute("Resource Object Name");
isDeleteTrue = getAttribute("Is Delete Allowed");
public void execute(){
try {
System.out.println("Start Exceute");
//Initiate lookupIntf
lookupIntf = (tcLookupOperationsIntf)getUtility("Thor.API.Operations.tcLookupOperationsIntf");
reconIntf=(tcReconciliationOperationsIntf)getUtility("Thor.API.Operations.tcReconciliationOperationsIntf");
catch (tcAPIException tcapiexception){
tcapiexception.printStackTrace();
//logger.error(classname, s, tcapiexception.toString());
//logger.setStackTrace(tcapiexception, classname, s, tcapiexception.getMessage());
catch (Exception excep){
excep.printStackTrace();
//logger.error(classname, s, excep.toString());
//logger.setStackTrace(excep, classname, s, excep.getMessage());
attrMap = readLookup(LookupName);
System.out.println(attrMap.toString());
readFile();
if (isDeleteTrue.equalsIgnoreCase("true"))
performDelete();
System.out.println("Finish Execute");
public void performDelete()
System.out.println("Start Perform delete");
int k = list.size();
System.out.println("list size " + list.size());
try
Thread.sleep(15000);
/* Hashtable ahashtable[] = new Hashtable[k];
Hashtable hashtable = new Hashtable();
for (int i=0;i<k;i++)
hashtable.put("User Id", list.get(i));
ahashtable[i] = hashtable;
System.out.println(list.get(i));
Set set = reconIntf.provideDeletionDetectionData(sObjectName, ahashtable);
System.out.println("Set--" + set.toString());
tcResultSet tcresultset = reconIntf.getMissingAccounts(sObjectName, set);
System.out.println("tcresultset - " + tcresultset.getRowCount());
if (!(tcresultset.isEmpty()))
long l[] = reconIntf.deleteDetectedAccounts(tcresultset);
for (int i1=0;i1<l.length;i1++)
System.out.println("delete recon key " + l[i1]);
//Get the existing list of Managed users
tcDataSet tcdataset = new tcDataSet();
tcDataSet tcdataset1 = new tcDataSet();
String query = "select orf.orf_fieldname,prf.prf_columnname, sdk.sdk_name from orf, sdk, pkg, tos, prf, obj " +
"where pkg.obj_key = obj.obj_key and pkg.pkg_key = tos.pkg_key and tos.sdk_key is not null " +
"and tos.sdk_key=sdk.sdk_key and tos.tos_key=prf.tos_key and prf.prf_iskey='1' and prf.orf_key=orf.orf_key " +
"and orf.orf_parent_orf_key is null and obj.obj_name='" + sObjectName + "'";
tcdataset.setQuery(getDataBase(), query);
tcdataset.executeQuery();
String FFName = tcdataset.getString("prf_columnname");
String FName = tcdataset.getString("sdk_name");
String ROFName = tcdataset.getString("orf_fieldname");
System.out.println("form- " + FName + " Field- " + FFName);
query = "select " + FFName + " from " + FName + " udtable, oiu a, ost b " +
"where udtable.orc_key=a.orc_key and a.ost_key=b.ost_key and b.ost_status!='Revoked'";
System.out.println(query);
tcdataset1.setQuery(getDataBase(), query);
tcdataset1.executeQuery();
int i = tcdataset1.getRowCount();
ArrayList list1 = new ArrayList();
String s1 = null;
System.out.println("N. of rows--" + i);
for (int j=0;j<i;j++)
tcdataset1.goToRow(j);
s1 = tcdataset1.getString(0);
System.out.println("s1---" + s1);
if (!(list.contains(s1)))
list1.add(s1);
System.out.println("under if--" + s1);
//Getting the existing list of unmanaged users
query = "select distinct (b.rcd_value) from rce a, rcd b, orf c, obj d where a.rce_key=b.rce_key and " +
"b.orf_key=c.orf_key and c.orf_fieldname='" + ROFName + "' and a.rce_status!='Event Linked' " +
"and a.obj_key = d.obj_key and d.obj_name='" + sObjectName + "'";
tcdataset1.setQuery(getDataBase(), query);
tcdataset1.executeQuery();
i = tcdataset1.getRowCount();
System.out.println("No. Of Unmanaged Users " + i);
for (int j=0;j<i;j++)
tcdataset1.goToRow(j);
s1 = tcdataset1.getString(0);
System.out.println("s1---" + s1);
if (!(list.contains(s1)))
list1.add(s1);
System.out.println("under if--" + s1);
int k1 = list1.size();
System.out.println("list1 size--" + k1);
for (int j1=0;j1<k1;j1++)
delMap.clear();
delMap.put(ROFName, (String)list1.get(j1));
System.out.println(delMap.toString());
long l = reconIntf.createDeleteReconciliationEvent(sObjectName, delMap);
System.out.println("delete recon key--- " + l);
catch (Exception exception)
exception.printStackTrace();
public void readFile(){
String s = "readFile()";
//logger.setMethodStartLog(classname, s);
HashMap map = new HashMap();
try {
File = getFile();
BufferedReader reader = new BufferedReader(new FileReader(new
File(File)));
String line = "";
int k = attrMap.size();
String value[] = new String[k];
String Header[]= new String[k];
if (delimeter.equalsIgnoreCase("|"))
delimeter = "\\" + delimeter;
line = reader.readLine();
Header = line.split(delimeter);
while((line = reader.readLine()) != null)
value = line.split(delimeter);
k = value.length;
for (int i = 0;i<k;i++){
finalMap.put(attrMap.get(Header), value[i]);
System.out.println(finalMap.toString());
System.out.println("Start Ignoring Event");
if (!(reconIntf.ignoreEvent(sObjectName, finalMap)))
System.out.println("Not Ignored");
long l1 = reconIntf.createReconciliationEvent(sObjectName, finalMap, true);
System.out.println("Recon Key--" + l1);
else
System.out.println("ignore event ---" + finalMap.toString());
list.add(finalMap.get("User Id"));
System.out.println(list.size() + "add--" +finalMap.get("User Id") );
finalMap.clear();
catch (Exception exception)
exception.printStackTrace();
public boolean stop(){
String s = "stop()";
//logger.setMethodStartLog(classname, s);
//logger.info(classname, s, "Stopping Reconciliation........");
isReconStopped = true;
//logger.setMethodFinishLog(classname, s);
return true;
FileFilter fileFilter = new FileFilter()
public boolean accept(File file)
String sFilePath = file.getName();
if( sFilePath.startsWith(FileName) )
return true;
else
return false;
public String getFile() throws FileNotFoundException, Exception{
String s = "getFile()";
//logger.setMethodStartLog(classname, s);
String s1;
File dir = new File(FileDirectory);
File[] files = dir.listFiles(fileFilter);
if (files.length ==0)
throw new FileNotFoundException();
if (files.length>1)
throw new Exception("Multiple Matches found for this file name");
s1 = files[0].toString();
//logger.setMethodFinishLog(classname, s);
return s1;
public HashMap readLookup(String s1){
String s = "readLookup()";
//logger.setMethodStartLog(classname, s);
HashMap map = new HashMap();
try {
tcResultSet tc1= lookupIntf.getLookupValues(s1);
int i = tc1.getRowCount();
for (int j = 0;j<i;j++){
tc1.goToRow(j);
map.put(tc1.getStringValue("Lookup Definition.Lookup Code Information.Code Key"), tc1.getStringValue("Lookup Definition.Lookup Code Information.Decode"));
catch (tcAPIException tcapiexception){
tcapiexception.printStackTrace();
//logger.error(classname, s, tcapiexception.toString());
//logger.setStackTrace(tcapiexception, classname, s, tcapiexception.getMessage());
catch (Exception excep){
excep.printStackTrace();
//logger.error(classname, s, excep.toString());
//logger.setStackTrace(excep, classname, s, excep.getMessage());
return map; -
OIM 11 - Error while running scheduled job "Evaluate User Policies"
Hello,
We are trying to run the OOTB scheduled job " EValuate User Policies" with the default parameters. Job history shows the execution status success but diagnostic logs throw the following error. And the users donot get provisioned to their resources based on the access policies.
We are on OIM 11 BP05.
[2013-01-30T10:11:47.072-05:00] [oim_server1] [NOTIFICATION] [IAM-0080006] [oracle.iam.platform.kernel.impl] [tid: Thread-1033] [userId: oiminternal] [ecid: 3f3dc64898fb7625:-13c8cd5d:13c88a6943c:-8000-0000000000000002,1:26684] [APP: oim#11.1.1.3.0] Orchestration process moved to failed stage, and the corresponding error is - {0}[[
oracle.iam.platform.kernel.EventFailedException: Operation - EVALUATE_POLICIES that is submitted as part of the orchestration is not supported.
at oracle.iam.platform.kernel.impl.EntityDefaultActionHandler.execute(EntityDefaultActionHandler.java:53)
at oracle.iam.platform.kernel.impl.DefaultActionHandler.execute(DefaultActionHandler.java:41)
at sun.reflect.GeneratedMethodAccessor5717.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.iam.platform.kernel.impl.EventHandlerDynamicProxy.invoke(EventHandlerDynamicProxy.java:30)
at $Proxy254.execute(Unknown Source)
at oracle.iam.platform.kernel.impl.OrchProcessData.runActionEvents(OrchProcessData.java:1036)
at oracle.iam.platform.kernel.impl.OrchProcessData.runEvents(OrchProcessData.java:644)
at oracle.iam.platform.kernel.impl.OrchProcessData.executeEvents(OrchProcessData.java:227)
at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeProcess(OrchestrationEngineImpl.java:764)
at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.process(OrchestrationEngineImpl.java:519)
at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.orchestrate(OrchestrationEngineImpl.java:459)
at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.orchestrate(OrchestrationEngineImpl.java:378)
at oracle.iam.accesspolicy.impl.AccessPolicyServiceInternalImpl.evaluatePoliciesForUser(AccessPolicyServiceInternalImpl.java:78)
at oracle.iam.accesspolicy.api.AccessPolicyServiceInternalEJB.evaluatePoliciesForUserx(Unknown Source)
at sun.reflect.GeneratedMethodAccessor5730.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy574.evaluatePoliciesForUserx(Unknown Source)
at oracle.iam.accesspolicy.api.AccessPolicyServiceInternalEJB_bgsblp_AccessPolicyServiceInternalRemoteImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at oracle.iam.accesspolicy.api.AccessPolicyServiceInternalEJB_bgsblp_AccessPolicyServiceInternalRemoteImpl.evaluatePoliciesForUserx(Unknown Source)
at sun.reflect.GeneratedMethodAccessor5727.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
at $Proxy164.evaluatePoliciesForUserx(Unknown Source)
at sun.reflect.GeneratedMethodAccessor5726.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
at $Proxy421.evaluatePoliciesForUserx(Unknown Source)
at oracle.iam.accesspolicy.api.AccessPolicyServiceInternalDelegate.evaluatePoliciesForUser(Unknown Source)
at com.thortech.xl.schedule.tasks.tcTskUsrEvaluatePolicies$PolicyEvalWorker.run(tcTskUsrEvaluatePolicies.java:319)
at java.lang.Thread.run(Thread.java:662)
at com.thortech.xl.scheduler.tasks.SchedulerBaseTask$XLSchedulerThread.run(SchedulerBaseTask.java:157)
[2013-01-30T10:11:47.081-05:00] [oim_server1] [NOTIFICATION] [IAM-0080046] [oracle.iam.platform.kernel.impl] [tid: Thread-1030] [userId: oiminternal] [ecid: 3f3dc64898fb7625:-13c8cd5d:13c88a6943c:-8al.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at oracle.iam.accesspolicy.api.AccessPolicyServiceInternalEJB_bgsblp_AccessPolicyServiceInternalRemoteImpl.evaluatePoliciesForUserx(Unknown Source)
at sun.reflect.GeneratedMethodAccessor5727.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
at $Proxy164.evaluatePoliciesForUserx(Unknown Source)
at sun.reflect.GeneratedMethodAccessor5726.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
at $Proxy421.evaluatePoliciesForUserx(Unknown Source)
at oracle.iam.accesspolicy.api.AccessPolicyServiceInternalDelegate.evaluatePoliciesForUser(Unknown Source)
at com.thortech.xl.schedule.tasks.tcTskUsrEvaluatePolicies$PolicyEvalWorker.run(tcTskUsrEvaluatePolicies.java:319)
at java.lang.Thread.run(Thread.java:662)
at com.thortech.xl.scheduler.tasks.SchedulerBaseTask$XLSchedulerThread.run(SchedulerBaseTask.java:157)
Any answer is highly appreciated.
Thanks,
MBiswalOk, did you reimported the /metadata/iam-features-accesspolicy/event-definition/EventHandlers.xml from the BundlePatch folder?
Have you followed Addendum to OIM 11.1.1.5.6 Bundle Patch 06 Readme (Doc ID 1543504.1)? -
Error while running scheduled job fromEnterprise Manager--Please help ASAP
BEGIN
Hi,
I have created a scheduled job using the below code.
BEGIN
sys.dbms_scheduler.create_job(
job_name => '"M2RT6"."INCR_REFRESH_M2RT6"',
job_type => 'PLSQL_BLOCK',
job_action => 'begin
REFRESH_REPORTS_POETIC(''M2PT6'',''INCR'');
end;',
start_date => systimestamp at time zone 'US/Eastern',
job_class => 'DEFAULT_JOB_CLASS',
auto_drop => FALSE,
enabled => TRUE);
END;
And I tried to execute this job from Enterprise Manager.
I got the below error:
java.sql.SQLException:
ORA-02800: Requests timed out
ORA-06512: at "SYS.DBMS_ISCHED", line 150
ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
ORA-06512: at line 2
Help needed urgently. Thanks for the resolution inadvance.
Thanks,
Sudheer.VempaliHi,
This is the bug in Oracle. Most of the times, restarting Oracle database may fix the issue.
Basically, an existing bug needs the oracle database restarts in a regular basis.
Restarting oracle database will flushes the database buffer cache.
Thanks,
Sudheer.Vempali -
Error while running a job in background
Hi,
I got the following error message while running the job in background.
"Step 001 started .
Control Framework: Fatal error - GUI cannot be reached.
ABAP/4 processor: RAISE_EXCEPTION
Job cancelled"
What is the reason for this error and how to correct it?ALV Grid control is based on the custom controls on the screen. When the program is scheduled in background, it tries to create GUI related front-end objects and hence the error u201CFatal Error u2013 GUI cannot be reachedu201D. This type of problem is common with all the programs that use the ALV grid control to display the output.
Solution:
Whenever we execute this type of programs in background, we should be passing a blank docking container instead of the custom container as parent to our grid control.
The docking container doesnu2019t need any of the custom controls on the screen; instead it attaches an area to any or all of the four edges of the screen (top, left, right or bottom). The behavior of the areas in the container is determined by the sequence in which they are initialized. Docking Containers are attached to the screen from the inside out. This means that when you create a second container, it is attached to the edge of the screen, and the container that was already there is pushed outwards.
Let us modify the standard program (by taking a copy of it) to enable it to execute it in background.
Following modifications have to be made:
· Define a docking container in the program
data: or_doc type ref to cl_gui_docking_container .
· At the time of creating a custom container, check if the program is being executed in background or foreground. If the program is scheduled in background, then create a docking container instead of custom container.
if cl_gui_alv_grid=>offline( ) is initial.
create object or_custom_container
exporting container_name = c_container.
create object or_grid
exporting i_parent = or_custom_container.
else .
create object or_grid
exporting i_parent = or_doc .
endif .
Now test executing the program in background. The report would be generated. -
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 -
OIM 11.1.1.5: Error while importing scheduled jobs
Hi All
I exported my custom scheduled task+job from OIM 11g environment and am trying to import the same in another 11g environment (both 11.1.1.5) using deployment manager. While importing the xml, I get the following error:
MDS-00044: Metadata for MetadataObject with name /db/task.xml already exists in the configured store
any idea how can I export/import all the custom jobs from one OIM 11g env to another.
Please help.While taking export using deployment manager select scheduled task and then select all dependent jobs. don't export jobs directly now Import same in other environment.
Make sure you upload the scheduled task jar using uploadjars.sh utility or put at Scheduled Task folder before importing above.
this is what I applied for migration and it is working fine.
If still error persist. try to remove it using WeblogicDeleteMetadata.sh utility
finally if nothing works. put custom MDS (scheduledtask.xml) at your machine /Temp/db/scheduledtask.xml. upd.ate the from location in weblogic.profile and import using WeblogicImportMetaData.sh utility.
But, always put your jar before importing it. -
ORA-27369 Error when running Scheduler jobs
We have an Oracle 11g Standard Edition (11.1.0.7) instance running on virtualized Oracle Enterprise Linux, hosted on VMWare. Every external job submitted via the Scheduler ends with the above error, although the jobs all run to completion - all steps are completed.
All of the external jobs are executed by a specific shell script that dynamically queries a table in the database with all the steps/programs that need to be executed. This varies from job to job. The script receives several parameters that are used to extract the task information.
If we run the same script from the OS, with the same parameters, the script runs to completion and no error is raised. We have tested this exhaustively and have never had the script raise any OS level errors.
Even a simple external script (e.g. a one-line shell script with something like "sleep 10") returns the same error code. The alert log always shows the same error text for every job:
ORA-12012: error on auto execute of job 73527
ORA-27369: job of type EXECUTABLE failed with exit code: No child processes
In our company we have at least 3 other similar 11g SE/Enterprise Linux/VMWare installations, and ours is the only one with this issue. I have had an open SR with Oracle support since January 2010 on this problem, but that has been an endless cycle of questons, replys, information requests, and requests for more info. No progress whatsoever. Since the jobs run to completion, it is not preventing us from workign with the scheduler, but the end users have become a little complacent with the "Error" status attached to their jobs so if one really fails, it may get missed.
The only difference we know of between our installation and the other similar installs is that we use Arcserve Agent for Linux to do (cold) backups to a remote Arcserve host. The other 3 sites use other backup software.
What we have observed is the following:
1. If we simply bounce the database, the problem persists.
2. If we shut down and restart the virtual server OS, the problem persists.
3. If we shut down the VMWare host server (and all the other VM's on that host!) and restart it, the problem persists.
4. If we shut down the virtual server OS and make a significant change to the server (e.g. add a new virtual disk) and restart it, the scheduler runs fine and no error is reported. But only until the next backup cycle. Then the problem returns and is persistent until the next time we make a similar significant change in the host virtual machine.
With no clear suggestions from Oracle Support, we are at our wit's end as to what we might be able to do to resolve this issue. There does appear to be a cause and effect link to Arcserve, but implementing a different backup solution is not an option at this time.
I wanted to post this issue in the hope that someone may have a tip or suggestion that could lead to a solution.....I think it should be a better solution to create a package,
and put your own TYPES and procedure into it.
CREATE OR REPLACE PACKAGE PKG_XXX IS
TYPE TYP_TAB_CHAR IS TABLE OF .... ;
PROCEDURE P_XX ( Var1 IN VARCHAR2, var2 IN OUT TYP_TAB_CHAR );
END ;
Then in your Form :
Declare
var PKG_XXX.TYP_TAB_CHAR ;
Begin
PKG_XXX.P_XX( 'user_name', var ) ;
End ; -
RFC error while running sync job in AC 10
I have done all the configuration to add new SAP system via SPRO in GRC 10. Now I am trying to run the sync job for the first time, I am getting the below mssage. I checked the RFC desitinations, it looks fine.
Error in RFC; 'Function module "/GRCPI/GRIA_ROLE_GET_RANGES" not'
Error in RFC; 'Function module "/GRCPI/GRIA_ROLE_GET_RANGES" not'
Role sync failed with errors
Program for Repository User Synchronization
Error in RFC; 'Function module "/GRCPI/GRIA_USR_GET_RANGES" not f'
User sync failed with errors
Repository Object sync job failed with errors
Please check SLG1 for further details
I checked in SLG1 also, its displaying the same errors as listed above. I have some systems added earlier which are correctly configured and working fine. I tried to match the configuration with the new systems, and everything looks fine. Not sure why this error is coming.
Please someone can help.Hello,
It seems to be a problem with the add-on in the back-en system, and a function module couldn't be found. Check the RFC connection (refer here for example GRC AC10 sync job error ) and make sure the add-on is properly installed.A simple check could be go to the back-end system, tx SE37 and check if the function modules exist.
Cheers,
Diego. -
Errors while running Sync Jobs in GRC 10
Dear Experts,
I am trying to configure RAR in GRC 10. I have all required config steps and now I am trying to run Sync Jobs and I am getting below errors.
Authorization Synch
Program for Authorization data Synchronization
Starting authorization sync for connector RC1 and language EN
Error in RC1; Reason Error in RFC; 'Function module "/GRCPI/GRIA_AUTH_G
PFCG authorization sync failed with errors
Repository Object Synch
Program for Repository Profile Syncronization
Processing for connector RC1
Error in RFC; 'Function module "/GRCPI/GRIA_PROF_GET_RANGES" not'
Profile sync failed with errors
Program for Repository Role Synchronization
Processing for connector RC1
Error in RFC; 'Function module "/GRCPI/GRIA_ROLE_GET_RANGES" not'
Role sync failed with errors
Program for Repository User Synchronization
Processing for connector RC1
Error in RFC; 'Function module "/GRCPI/GRIA_USR_GET_RANGES" not f'
User sync failed with errors
Repository Object sync job failed with errors
Please check SLG1 for further details
I appreciate your help.
Thanks,
RajHi Raj,
I have a similar error for which I have put up a separate post, your input would be highly valuable.
My RFC connection works via the test in SM59 but when executing GRAC_AUTH_SYNC I get a simiar error to your above.
Please let me know what steps you took.
Best regards,
Paul -
Error while running scheduled batch book
I'm receiving this error while trying to produce a large book through a scheduled batch within Workspace. The version is EPM 11.1.1.3
Status for various save options for "Cable and Communications/... BUDGET SUBMISSION .../.. SUBMISSION PACKAGES ../00 Budr - Detailed Budget Book"
Saved successfully in repository as //00 Budr - Detailed Budget Book
Error while saving as PDF
; nested exception is:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
com.hyperion.reporting.util.HyperionReportException: Could not find information about PDF generation for instance number:
Batch "Cable and Communications/... BUDGET SUBMISSION .../.. SUBMISSION PACKAGES ../Budget Detailed Book" finished at Friday, December 18, 2009 12:18:33 AM EST
I am able to produce smaller books and view them fine. This one book is approx. 300 pages and the successful book is approx. 100 pages
thxno 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 -
Hi,
I have scheduled my SSIS job via Autosys and I get the following error:
Error: 2014-04-07 10:57:49.39
Code: 0xC0202009
Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80004005 Description: "Unspecified error".
End Error
Command for Autosys used is:
D\:\Script\EXEC_SSIS.bat DTSXFile MachineName DTSConfig.dtsConfig DTSXFile machine:MachineName
I have tested the same directly on the server using the same id and commands in my Autosys job and it works successfully. But the Autosys job errors out. I have verified that my id has complete access to the files and machine.
Is there some other access that I need to check or might be missing? I am stumped as it works when run directly on the machine with the same id.
Appreciate any help and thanks in advance.The following part appears a bug:
D\:\
Arthur My Blog -
Error while running a job in Data services
We are using Data services BO XI R3 tool.
We have created datastore for Oracle database 8i using Microsoft ODBC DSN. This is the source datastore.
When job is to pull the data from source to 10g target, we get the below error in log file:
25219 1 CON-120902 6/26/2009 Data services ODBC Driver Manager unable to find
data source <...> in $LINK_DIR/bin/odbc.ini file.
Is this a UNIX/Windows error?
Please let us know how this can be resolved.
Thanks in advance!I restart the jobserver and it work, for a moment :P, but now says more...
1. SQL submitted to ODBC data source <Prova7> resulted in error <[MySQL][ODBC 3.51 Driver][mysqld-5.0.77]No database
selected>.
2. The SQL submitted is <select VERSION, SECURITYKEY, GUID from AL_VERSION where NAME = 'Repository Version' >.
Cannot retrieve <Version> from the repository. Additional database information: <SQL submitted to ODBC data source
<Prova7>
3. resulted in error <[MySQL][ODBC 3.51 Driver][mysqld-5.0.77]No database selected>. The SQL submitted is <select
VERSION, SECURITYKEY, GUID from AL_VERSION where NAME = 'Repository Version' >.>.
SQL submitted to ODBC data source <Prova7> resulted in error <[MySQL][ODBC 3.51 Driver][mysqld-5.0.77]No database
selected>.
4. The SQL submitted is <select VERSION from AL_VERSION>.
Cannot retrieve <Version> from the repository. Additional database information: <SQL submitted to ODBC data source
<Prova7> resulted in error <[MySQL][ODBC 3.51 Driver][mysqld-5.0.77]No database selected>. The SQL submitted is <select
VERSION from AL_VERSION>.>.
5. Cannot retrieve <Version> from the repository. Additional database information: <SQL submitted to ODBC data source
<Prova7> resulted in error <[MySQL][ODBC 3.51 Driver][mysqld-5.0.77]No database selected>. The SQL submitted is <select
VERSION from AL_VERSION>.>.
I check if mysql DB has thas tables (they were created when I setup DS), but i don't know why this erros says No database selected the odbc file looks correct...
Thank you,
Edited by: ToloPalmer on Jun 1, 2010 9:51 AM
Edited by: ToloPalmer on Jun 1, 2010 9:58 AM -
OIM 11g error while running the scheduler
Hi All,
we have created on few custom schedulers to carry out trustetd recon and doing the create , modify and delete operations on OIM entities. all were running fine earlier. Now we started facing the below error while running any scheduler. Please find the OIM diagonostic logs below.
scheduler status is not changing to running and scheduler logs and events r also not getting generated. please find the logs below.
2012-09-04T11:03:38.355+05:30] [oim_server1] [NOTIFICATION] [IAM-0080006] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] Orchestration process moved to failed stage, and the corresponding error is - {0}[[
oracle.iam.platform.kernel.EventFailedException: Operation - UNSCHEDULE that is submitted as part of the orchestration is not supported.
Completed orchestration with action result - oracle.iam.platform.kernel.EventFailedException: Operation - UNSCHEDULE that is submitted as part of the orchestration is not supported.
[2012-09-04T11:03:38.430+05:30] [oim_server1] [NOTIFICATION] [IAM-1010010] [oracle.iam.platform.authz.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] ********** Entering the Authorization Segment with parameters:: LoggedInUserId = 1, target resourceID = null, Feature = SCHEDULER, Action = JOB_MODIFY **********
[2012-09-04T11:03:38.430+05:30] [oim_server1] [NOTIFICATION] [IAM-1010029] [oracle.iam.platform.authz.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] OES Results found in cache with Key F: SCHEDULERS: 1P: JOB_MODIFYOESDefinition
[2012-09-04T11:03:38.431+05:30] [oim_server1] [NOTIFICATION] [IAM-1010021] [oracle.iam.platform.authz.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] Validating the Internal Obligations: [InternalObligation: name: noop, values: [true], convertToObligation: false, InternalObligation: name: noop, values: [true], convertToObligation: false]
[2012-09-04T11:03:38.431+05:30] [oim_server1] [NOTIFICATION] [IAM-1010022] [oracle.iam.platform.authz.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] ---------- The list of Internal Obligation is satisfied, returning TRUE ----------
[2012-09-04T11:03:38.431+05:30] [oim_server1] [NOTIFICATION] [IAM-1010026] [oracle.iam.platform.authz.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] ********** Exiting the Authorization Segment with result Decision :PERMIT[[
Obligations from policy: **********
[2012-09-04T11:03:38.598+05:30] [oim_server1] [NOTIFICATION] [IAM-0080013] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] Kernel executing default validation with process id, event id, entity and operation 709,251.0.JobDetails.UPDATE
[2012-09-04T11:03:38.875+05:30] [oim_server1] [NOTIFICATION] [IAM-0080014] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] Kernel executing default action handler with process id, event id, entity and operation 709,251.2,295,568.JobDetails.UPDATE.entityId=null
[2012-09-04T11:03:38.875+05:30] [oim_server1] [NOTIFICATION] [IAM-0080001] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] An error occurred while executing the kernel event handler.[[
oracle.iam.platform.kernel.EventFailedException: Operation - UPDATE that is submitted as part of the orchestration is not supported.
at oracle.iam.platform.kernel.impl.EntityDefaultActionHandler.execute(EntityDefaultActionHandler.java:53)
thanks.I got one similar issue before. In my case was with event handler. It was a sintax issue.
Example:
I wrote this: <action-handler Class="...
instead of this: <action-handler class="...
So, in your case III suggest you to check if have any plugin invalid syntax and re-import your schedule task plugin.
<oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<plugins pluginpoint=.....
<plugin pluginclass= .....
</plugin>
Let me know if you have any doubt.
I hope this helps,
Thiago Leoncio. -
Error while adding a job to scheduler
Hello,
I have a batch job that is running fine in both DEV and QA environment. In DEV, I am able to schedule and run it daily. I created a similar schedule in QA environment using BODS Mgmt Console/Administrator. However, upon Activating the schedule, I am getting the following error message. Would someone know why would this error be thrown and steps to troubleshoot this error?
Thanks.
[Repository:AECON_DW_REPOSITORY Schedule:Daily_Run_QA Error:Error while adding a job to scheduler]
When contacting the server above exception was encountered, so it will be assumed the schedule is not active anymore.Hi Rizwan Tahir ,
Delete the job server associated with the current batch job and recreate it.
Then try creating a new schedule using the new job server.
And take care that job server is created in QA environment.
Hope this should work.
Regards,
Maybe you are looking for
-
IPhone 6 (iOS 8.1) hot and is draining battery, even on standby.
Greetings Everyone, I'm having a really bad time here with my iPhone 6 4.7" iOS 8.1 device. It all started a few days ago, i was noticing that only at 100% the battery seemed to be just fine, but once it dropped just 1% of the 100% it would drain to
-
OAS 4.0.8 Error (FRM-99999,Registry.dat is missing
Hi I installed OAS 4.0.8 on NT 4 SP5 and then configured. I ran all the services manually using command prompt and no error was detected, but when I tried to access my Developer 6 Forms files through browser, I got this Error after the Splash Screen
-
When I'm deleting files, I would be told that the file is occupied by some process.
Can Windows provide a function that tell us which process is using the file?
-
Connection method to relational database
Does anyone know if Hyperion uses ODBC connection or native connection to the relational database? Technology question being asked by IT department
-
WHAT'S THAT TERRIBLE NOISE?????
I've just bought a 60GB video IPOD and I'm already terrified with its problems... specially because I didn't buy it in my country and don't believe I could just change it..... Well, while I start listening to it, after just a few minutes (like 2 or 3