-
Bug
-
Resolution: Unresolved
-
Critical
-
EAP72 7.2.3-OpenJDK 11.GA
-
-
-
-
-
-
-
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} } }
- clones
-
JBEAP-17497 [eap72-openjdk11-openshift-rhel8, eapcd-openshift-rhel8, eap73-openjdk11-openshift-rhel8] Change in behaviour of DEFAULT_JOB_REPOSITORY environment variable
- Closed
- is cloned by
-
CLOUD-3415 [eapcd-openshift-rhel8, eap73-openjdk11-openshift-rhel8] Change in behaviour of DEFAULT_JOB_REPOSITORY environment variable
- New