title: Cannot stop/drop job in DBMS_SCHEDULER
body: <p>I managed to run a job from DBMS_SCHEDULER. But is running since yesterday and I cannot stop it.
  The code for the job is:  </p>
  
  <pre><code> begin
    sys.dbms_scheduler.create_job(job_name            =&gt; 'FTREC.EXE_1',
                              job_type            =&gt; 'EXECUTABLE',
                              job_action          =&gt; 'C:\Users\WWLSERVER\Desktop\test.bat',
                              start_date          =&gt; to_date(null),
                              repeat_interval     =&gt; '',
                              end_date            =&gt; to_date(null),
                              job_class           =&gt; 'MY_JOB_CLASS',
                              enabled             =&gt; false,
                              auto_drop           =&gt; false,
                              comments            =&gt; '');
   end;
  </code></pre>
  
  <p>I tried to stop the job/drop it but with no luck.<br>
  When I run:</p>
  
  <pre><code>begin
     dbms_scheduler.stop_job('FTREC.EXE_1',true);
  end;
  </code></pre>
  
  <p>I get no error, but  </p>
  
  <pre><code>SELECT * FROM USER_SCHEDULER_RUNNING_JOBS;
  </code></pre>
  
  <p>returns EXE_1 and if I try to drop the job  </p>
  
  <pre><code>begin
     dbms_scheduler.drop_job('FTREC.EXE_1',true);
  end;
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>ORA-27478: job "FTREC.EXE_1" is running
  ORA-06512: at "SYS.DBMS_ISCHED", line 213
  ORA-06512: at "SYS.DBMS_SCHEDULER", line 657
  ORA-06512: at line 2
  </code></pre>
  
  <p>I have restarted the server but I had no luck.
  Any ideas how I can stop/drop this job?</p>