Skip to content

Commit 4ba95fc

Browse files
vanajamukkararjeberhard
authored andcommitted
Fix for ItCrossDomainTransaction and ItIstioCrossDomainTransaction failures in 1412
1 parent c6391a3 commit 4ba95fc

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

integration-tests/src/test/java/oracle/weblogic/kubernetes/ItCrossDomainTransaction.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,6 @@ private boolean checkLocalQueue() {
491491
hostAndPort);
492492

493493
logger.info("curl command {0}", curlString);
494-
495494
testUntil(
496495
() -> exec(new String(curlString), true).stdout().contains("Messages are distributed"),
497496
logger,
@@ -577,7 +576,8 @@ private static void createDomainResource(String domainUid, String domNamespace,
577576
.name("JAVA_OPTIONS")
578577
.value("-Dweblogic.transaction.EnableInstrumentedTM=true -Dweblogic.StdoutDebugEnabled=false"
579578
+ "-Dweblogic.debug.DebugJTAXA=true "
580-
+ "-Dweblogic.debug.DebugJTA2PC=true"))
579+
+ "-Dweblogic.debug.DebugJTA2PC=true "
580+
+ "-Dweblogic.security.remoteAnonymousRMIT3Enabled=true"))
581581
.addEnvItem(new V1EnvVar()
582582
.name("USER_MEM_ARGS")
583583
.value("-Djava.security.egd=file:/dev/./urandom ")))

integration-tests/src/test/java/oracle/weblogic/kubernetes/ItIstioCrossDomainTransaction.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,12 +635,13 @@ private static void createDomainResource(String domainUid, String domNamespace,
635635
.name("JAVA_OPTIONS")
636636
.value("-Dweblogic.transaction.EnableInstrumentedTM=true -Dweblogic.StdoutDebugEnabled=false "
637637
+ "-Dweblogic.debug.DebugJTAXA=true "
638-
+ "-Dweblogic.debug.DebugJTA2PC=true"
638+
+ "-Dweblogic.debug.DebugJTA2PC=true "
639639
+ "-Dweblogic.debug.DebugConnection=true "
640640
+ "-Dweblogic.debug.DebugRouting=true -Dweblogic.debug.DebugMessaging=true "
641641
+ "-Dweblogic.kernel.debug=true -Dweblogic.log.LoggerSeverity=Debug "
642642
+ "-Dweblogic.log.LogSeverity=Debug -Dweblogic.StdoutDebugEnabled=true "
643-
+ "-Dweblogic.log.StdoutSeverity=Debug"))
643+
+ "-Dweblogic.log.StdoutSeverity=Debug "
644+
+ "-Dweblogic.security.remoteAnonymousRMIT3Enabled=true"))
644645
.addEnvItem(new V1EnvVar()
645646
.name("USER_MEM_ARGS")
646647
.value("-Djava.security.egd=file:/dev/./urandom ")))

integration-tests/src/test/java/oracle/weblogic/kubernetes/ItIstioMonitoringExporter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ private void setupIstioModelInImageDomain(String miiImage, String domainNamespac
395395
String hostAndPort = getServiceExtIPAddrtOke(istioIngressServiceName, istioNamespace) != null
396396
? getServiceExtIPAddrtOke(istioIngressServiceName, istioNamespace) : host + ":" + istioIngressPort;
397397

398-
String readyAppUrl = "http://" + host + ":" + istioIngressPort + "/weblogic/ready";
398+
String readyAppUrl = "http://" + hostAndPort + "/weblogic/ready";
399399
boolean checlReadyApp =
400400
checkAppUsingHostHeader(readyAppUrl, domainNamespace + ".org");
401401
assertTrue(checlReadyApp, "Failed to access ready app");

integration-tests/src/test/resources/wdt-models/model-cdt-jdbc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ resources:
99
InitialCapacity: 0
1010
MinCapacity: 0
1111
MaxCapacity: 15
12-
TestTableName: SQL SELECT 1
12+
TestTableName: SQL SELECT 1 FROM DUAL
1313
JDBCDataSourceParams:
1414
GlobalTransactionsProtocol: TwoPhaseCommit
1515
#GlobalTransactionsProtocol: LoggingLastResource

0 commit comments

Comments
 (0)