This content has been marked as final. Show 10 replies
Please dont use the plugin approach. use the following approach.
1. Place jar at <OIM_HOME>/server/ScheduledTask folder. No need to zip and register as plugin.Instead you can use UploadJars.bat utility to upload it for production But for testing just put at file system that’s enough. But, make sure you have this jar at only one place.
2. Place xml somewhere inside tmp/db/SetManagerScheduledTask.xml
3. Update weblogic.properties for below parameter
wls.servername=oim_server1 (name of your managed/oim server)
From_location= till tmp (ex: C:/tmp)
4. Make sure you have set the environment variable.
5. Go to <OIM_HOME>/server/bin and run below command
password: Admin/weblogic console password
url: t3://<Admin server Hostname or IP>:<Admin/weblogic port>
6. restart oim
Refer this link :
Re: Custom Schedule task in 11gR2
This is how my Task.xml (MDS file) looks
<?xml version='1.0' encoding='UTF-8'?>
<description>This scheduled task will reconcile the RIM profile to the OIM users</description>
<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>
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 !!
I hope you have created your own custom xml file for scheduled task and imported it into the MDS.
In 11gR2 developer's guide it is given as
You can modify the task.xml file located in the /db namespace of Oracle Identity Manager MDS schema, or you can create a custom scheduled task file. If you create a custom file, then the file name must be the same as the scheduled task name, with the .xml extension. You must import the custom scheduled task file to the /db namespace of Oracle Identity Manager MDS schema.
So please alter the name of your xml file as accordingly. In your case you can give the name as RIMReconST.xml and import it into MDS using the utility.
Please do all the steps again from scratch and restart the OIM server and try to create the scheduled task in the console. It worked perfectly for me this way.