diff --git a/clients/java/client/pom.xml b/clients/java/client/pom.xml index 2c005e88f24..985426736a9 100644 --- a/clients/java/client/pom.xml +++ b/clients/java/client/pom.xml @@ -18,11 +18,11 @@ ${engine.runtime}/server/apache-tomcat-${version.tomcat} ${tomcat.connector.http.port} - 50080 - 50443 - 50009 - 50443 - 50005 + 48080 + 48443 + 48009 + 48443 + 48005 240000 60000 diff --git a/clients/java/client/src/it/resources/integration-rules.properties b/clients/java/client/src/it/resources/integration-rules.properties index 648a27cfb50..6e77f3bedfc 100644 --- a/clients/java/client/src/it/resources/integration-rules.properties +++ b/clients/java/client/src/it/resources/integration-rules.properties @@ -1,3 +1,3 @@ #for tests internal usage only -camunda.engine.rest=http://localhost:50080/engine-rest +camunda.engine.rest=http://localhost:48080/engine-rest camunda.engine.name=/engine/default \ No newline at end of file diff --git a/distro/run/core/src/main/java/org/camunda/bpm/run/CamundaBpmRunDeploymentConfiguration.java b/distro/run/core/src/main/java/org/camunda/bpm/run/CamundaBpmRunDeploymentConfiguration.java index 23fd58492ce..8cac04fe3b8 100644 --- a/distro/run/core/src/main/java/org/camunda/bpm/run/CamundaBpmRunDeploymentConfiguration.java +++ b/distro/run/core/src/main/java/org/camunda/bpm/run/CamundaBpmRunDeploymentConfiguration.java @@ -56,6 +56,11 @@ public Set getDeploymentResources() { protected String getNormalizedDeploymentDir() { String result = deploymentDir; + // deploymentDir can be null if code is run by not using the start script (e.g. for tests) + if(result == null) { + return null; + } + if(File.separator.equals("\\")) { result = result.replace("\\", "/"); } diff --git a/distro/run/core/src/test/java/org/camunda/bpm/run/test/config/https/HttpsConfigurationEnabledTest.java b/distro/run/core/src/test/java/org/camunda/bpm/run/test/config/https/HttpsConfigurationEnabledTest.java index 25f71b49480..78bb02ca9b7 100644 --- a/distro/run/core/src/test/java/org/camunda/bpm/run/test/config/https/HttpsConfigurationEnabledTest.java +++ b/distro/run/core/src/test/java/org/camunda/bpm/run/test/config/https/HttpsConfigurationEnabledTest.java @@ -67,7 +67,7 @@ public void shouldNotRedirect() { // then exceptionRule.expect(ResourceAccessException.class); - exceptionRule.expectMessage("Connection refused"); + exceptionRule.expectMessage("I/O error on GET request for \"http://localhost:8080/engine-rest/task\":"); // then ResponseEntity response = testRestTemplate.exchange(url, HttpMethod.GET, new HttpEntity<>(null), String.class); diff --git a/distro/run/core/src/test/resources/application-test-https-enabled.yml b/distro/run/core/src/test/resources/application-test-https-enabled.yml index e63e9f9714c..77758d4d48b 100644 --- a/distro/run/core/src/test/resources/application-test-https-enabled.yml +++ b/distro/run/core/src/test/resources/application-test-https-enabled.yml @@ -5,4 +5,5 @@ server: key-store-type: pkcs12 key-alias: camunda key-password: camunda - port: 8443 \ No newline at end of file + port: 8443 +spring.http.client.factory: simple \ No newline at end of file diff --git a/parent/pom.xml b/parent/pom.xml index ff2c5c2fba2..16b623e702f 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -20,8 +20,8 @@ 3.15.0 5.3.39 - 6.1.15 - 3.3.6 + 6.2.0 + 3.4.0 3.15.6.Final 2.34 @@ -43,7 +43,7 @@ 4.0.5 4.0.2 4.5.14 - 5.3 + 5.4.1 1.7.26 1.2.11