-
Bug
-
Resolution: Done
-
Critical
-
7.2.2.GA, 7.3.0.CD17, 7.3.0.Beta
-
None
-
Regression
-
-
-
-
-
-
-
Workaround Exists
-
Suppose a deployment built on eap72-openjdk11-openshift-rhel8 image with the following environment variables that assured that the server would point batch subsystem job repository towards java:jboss/datasources/postgres datasource previously (eap72-openshift images):
... - env: - name: TESTDB_POSTGRESQL_XA_CONNECTION_PROPERTY_URL value: 'jdbc:postgresql://testdb-postgresql:5432/testdb' - name: DB_SERVICE_PREFIX_MAPPING value: testdb-postgresql=TESTDB_POSTGRESQL - name: MQ_TOPICS value: test - name: MQ_QUEUES value: test - name: TESTDB_POSTGRESQL_PASSWORD value: testpwd - name: TESTDB_POSTGRESQL_DATABASE value: testdb - name: TESTDB_POSTGRESQL_DRIVER value: postgresql - name: TESTDB_POSTGRESQL_JNDI value: 'java:jboss/datasources/postgres' - name: DEFAULT_JOB_REPOSITORY value: testdb-postgresql - name: JAVA_OPTS_APPEND value: '-Ddatasource=java:jboss/datasources/postgres' - name: TESTDB_POSTGRESQL_USERNAME value: testuser ...
EAP does not have any jdbc-job-repository in /subsystem=batch-jberet configured. This is a change compared to eap72-openshift image, where the JDBC job repository gets properly configured.
[standalone@localhost:9990 /] /subsystem=batch-jberet:read-resource /subsystem=batch-jberet:read-resource { "outcome" => "success", "result" => { "default-job-repository" => "in-memory", "default-thread-pool" => "batch", "restart-jobs-on-resume" => true, "security-domain" => undefined, "in-memory-job-repository" => {"in-memory" => undefined}, "jdbc-job-repository" => undefined, "thread-factory" => undefined, "thread-pool" => {"batch" => undefined} } }
[standalone@localhost:9990 /] /subsystem=batch-jberet:read-resource { "outcome" => "success", "result" => { "default-job-repository" => "testdb_postgresql-TESTDB_POSTGRESQL", "default-thread-pool" => "batch", "restart-jobs-on-resume" => true, "security-domain" => undefined, "in-memory-job-repository" => {"in-memory" => undefined}, "jdbc-job-repository" => {"testdb_postgresql-TESTDB_POSTGRESQL" => undefined}, "thread-factory" => undefined, "thread-pool" => {"batch" => undefined} } }
- is cloned by
-
CLOUD-3367 [eap72-openjdk11-openshift-rhel8] Change in behaviour of DEFAULT_JOB_REPOSITORY environment variable
- New
-
CLOUD-3442 [eap72] Change in behaviour of DEFAULT_JOB_REPOSITORY environment variable
- New
-
JBEAP-18777 [eap72-openj9-11-openshift-rhel8] DEFAULT_JOB_REPOSITORY environment variable doesn't setup the batch-jberet
- Closed
- relates to
-
CLOUD-3415 [eapcd-openshift-rhel8, eap73-openjdk11-openshift-rhel8] Change in behaviour of DEFAULT_JOB_REPOSITORY environment variable
- New