If it is getting resolved by removing Schedule Task plugin then remove that. Plugin is not required for Schedule Task.
Thanks for your reply.
I used this doc http://docs.oracle.com/cd/E23943_01/doc.1111/e14309/refsched.htm#BEIEJABJ for developing the scheduleTask class, because I need a customized functionality that register the users on the OIM, and this is with a plugin.
And it's neccesary the plugin on the OIM.
because I need a customized functionality that register the users on the OIMWHat you did to achieve above requirement?
plugin is not required for Schedule Task.
I developed that plugin for achieving that requirement,
I needed query users from a remote table and then those users register on the OIM, in a request.
This task has to be executing periodically.
All of the above I made in a plugin that registered in OIM on a ScheduleJob.
But got those errors when using other functionality of OIM.
Edited by: 978729 on Dec 26, 2012 3:25 PM
I don't know what steps you have followed but for schedule task:
Create XML for Schedule Task
Create a Java File which will extends TaskSupport
Write your logic
Place JAR file Schedule Task folder or upload into OIM using uploadJar.sh/cmd
I followed those steps,
The problem is not with the schedule Task, because as I told you before, this schedule task is running very good, and it makes the registry fine!
The problems are the secondary effects that the OIM takes after executing that ScheduleTask, like when clicking on the create user link or when clicking on the manage access policy link.
those links dont work, but if I remove that schedule Task jar, those links work fine.
Make sure your jar doesn't hold any common Jar/library. I mean it should not have copy of any oim library. Just place your java code along with some custom utility if you have used in your code.
Thanks for this tip, I was thinking that Pllugin is the only was to implement Schedule tasks
One question i have on this tip, In the first step where you have said: Create XML for Schedule Task;
Do you mean plugin.xml by this?
If yes then where do we keep this. As per the developers guide, we need to keep this aside the lib folder containing the jar.
Please suggest if i should start a new thread on this since?
Yes, My jar just has the oimclient.jar library, but I dont understand why the other links dont work when I use this plugin.
hope you help me.
Your jar should not contain any OIM libraries as those are already present in class path.
- Create your custom jar without any OIM library (e,g oimclient.jar file).
- Copy into "ScheduledTask' folder under <OIM_HOME> or upload the jar in "ScheduledTask" using uploadJar.sh script.
Also, for scheduled task you no need to create plugins.
Excuses, My .jar file doesn't contain any other jar-libraries, it just has the built .class files.
And I tried to upload this jar in the way of using the uploadJar.sh script with the "ScheduledTask" option but the problem continue.
I already resolved the issue I had with my jar.
The problem was into a file called "customResources.properties", I uploaded this file after uploading my jar, and the problem was resolved.
I am facing the same issue. I read the above thread, wanting that I want to clarify is the customResources.properties. Is the property file part of your code in your jar file?
How this relates to your plugin ? Your inputs are really needed here thanks for your help in advance.