This content has been marked as final. Show 10 replies
Please dont use the plugin approach. use the following approach.1 person found this helpful
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
Thanks for your reply, I have tested by removing the plugin.zip and Uploading the jar in OIM.
But no luck!!. Do i need to give SOA restart also, or also weblogic bounce??
No need to restart SOA server. what is the error you are getting now?
remove plugin. and run PurgeCache.sh all. No need of SOA restart.
make sure the class name given along with package name in ScheduledTask xml. and put jar at one place only. If you have uploaded using UploadJars utility. better remove from the Filesystem(Scheduled Task folder)
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.1 person found this helpful
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.
Thanks, This seems to be helpful, I try this before marking to correct. !! thanks
Hello, Can anybody share with me some example coding for Schedule task 11gR2. Actually I was using 10g API's perhaps that might also help.
Please share! thanks
Detailed steps are given in my blog to develop a custom schedule task in R2.1 person found this helpful
Have a look.
Yes it worked finally!!
I changed the task.xml to the name of the class file and changed my code to latest API of 11g. Thanks guys for this great help!!