Announcement Announcement Module
Collapse
No announcement yet.
Problems with job repository Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    I've checked that short context has the correct value, so, problem is that it is not finding the job?

    Comment

    Working...
    X