During the process of creating a connector, I generated a Flight server with the default name (flight-app) using the following command:
./gradlew generateFlightApp
After building the Docker container, I found the following warning in the logs:
[WARNING ] CWWKZ0014W: The application wdp-connect-sdk-gen-java-flight could not be started as it could not be found at location wdp-connect-sdk-gen-java-flight.war.
The generated WAR file has a name like wdp-connect-sdk-gen-java-flight-app.war instead of wdp-connect-sdk-gen-java-flight.war.
A simple workaround is to rename the WAR file inside the Docker container manually. However, here seems to be an issue with the rename instruction in the build.gradle file:
from(configurations.wars) {
into 'wlp/usr/servers/defaultServer/apps'
rename '(.*)-app-(.*).war', '$1.war'
}
During the process of creating a connector, I generated a Flight server with the default name (flight-app) using the following command:
./gradlew generateFlightAppAfter building the Docker container, I found the following warning in the logs:
[WARNING ] CWWKZ0014W: The application wdp-connect-sdk-gen-java-flight could not be started as it could not be found at location wdp-connect-sdk-gen-java-flight.war.The generated WAR file has a name like
wdp-connect-sdk-gen-java-flight-app.warinstead ofwdp-connect-sdk-gen-java-flight.war.A simple workaround is to rename the WAR file inside the Docker container manually. However, here seems to be an issue with the rename instruction in the
build.gradlefile: