JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report JPPF-299  -  DriverJobManagementMBean.getAllJobIds() reports an incorrect number of jobs
Posted Jul 30, 2014 - updated Aug 15, 2018
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Bug report
  • Status
     
    Closed
  • Assigned to
     lolo4j
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     lolo4j
  • Owned by
    Not owned by anyone
  • Category
    Server
  • Resolution
    RESOLVED
  • Priority
    Normal
  • Reproducability
    Always
  • Severity
    Normal
  • Targetted for
    icon_milestones.png JPPF 4.2.x
Issue description
In it s current implementation, the method DriverJobManagementMBean.getAllJobIds() only reports a job after it has been dispatched at least once to a job. This before this dispatch occurs, the mbean will not report the job, even though it is actually present in the queue.
Steps to reproduce this issue
submit multiple jobs concurrently (with tasks sufficient long, e.g. at least 1 second) and register a notification listener for job events occurring in the server. From a JOB_QUEUED event, call getAllJobIds() ==> the newly queued job will not be there.

#4
Comment posted by
 lolo4j
Aug 04, 07:25
fixed in: