1 2 Previous Next 17 Replies Latest reply: May 21, 2013 1:07 AM by LeylaDah RSS

    OIM11g - Custom Scheduled job not executed after creation

    LeylaDah
      Hello Experts,

      I created a custom Scheduled Task with OIM11gR1:

      I created a the directory called TestST.

      Inside this directory I created a file plugin.xml like this:
      <oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <plugins pluginpoint="oracle.iam.scheduler.vo.TaskSupport">
                <plugin pluginclass= "com.test.TestST" version="1.0" name="TestST">
                </plugin>
           </plugins>
      </oimplugins>
      I created a /db directory where I created the TestST.xml:
      <scheduledTasks xmlns="http://xmlns.oracle.com/oim/scheduler">
      <task>
      <name>TestST</name>
      <class>com.test.TestST</class>
      <description>TestST</description>
      <retry>5</retry>
      </task>
      </scheduledTasks>
      I created the TestST class that extends the TaskSupport class.

      In the execute code there is only a println.
       public void execute(HashMap pFalseParameter) {
          System.out.println("Hello World");
      }
      I copied the result of the deployment in the /lib directory of the TestST directory.

      I zipped everything and I copied it to the OIM server.

      I modified the weblogic.properties changing the wls_servename, application_name, metadata_from_loc and to, metadata_file

      I modified the ant.properties putting the wls.home, oim.home and login.config.

      I run the ant registration and everything works fine.




      I go to the Advanced console of OIM, I create a new Job and I choose the new Schuduled Task created.

      I save everthing, I refresh the Schudule task list and I correctly find it.

      I open the new created job, I press on "Run Now", but nothing happen, no error in the logs, no entries in the Job History list.

      I also enter into http://locahost:14000/SchedulerService-web/ , I login, I stop, I re-start, I pushed again on "Run Now", but still nothing.


      What am I doing wrong?

      Thank you
        1 2 Previous Next