Results 1 to 2 of 2

Thread: Problems with job repository

  1. #1

    Default Problems with job repository

    Hi all!

    I've configured a data based job repository and I've defined a simple job with one tasklet step.

    I execute it and all seems to run ok, but the job repository "serialized_context" field (from job_execution_context table) is not filled, so is null.

    When I try to restart the job, a nullpointer is produced beacuse of:
    Code:
    String serializedContext = rs.getString("SERIALIZED_CONTEXT");
    if (serializedContext == null) {
    	serializedContext = rs.getString("SHORT_CONTEXT");
    }
    Map<String, Object> map = serializer.deserialize(serializedContext);
    This code is from JdbcExecutionContextDAO class.

    Have i configured anything wrong? Any help?

    Thanks!

  2. #2

    Default

    I've checked that short context has the correct value, so, problem is that it is not finding the job?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •