Using maven-xap plugin to deploy the pu on docker
I am unable to deploy the pu to docker instance - I followed the following example -
https://github.com/Gigaspaces/fraud-d...
The command is able to find LUS and connect to it but then says could not find an GSM within a group. I see the GSM process is started and exposed from the container to the host.
Same behavior with xap and xap-enterprise image for docker.
λ mvn xap:deploy -Dgroups=xap-14.5.0 -Dlocators=localhost:4174 [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] frauddetection
[pom] [INFO] common
[jar] [INFO] user
[jar] [INFO] feeder
[jar] [INFO] vendor
[jar] [INFO] [INFO] -------< com.gigaspaces.blueprint.frauddetection:frauddetection------- [INFO] Building frauddetection 1.0-SNAPSHOT
[1/5] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- xap-maven-plugin:14.2.0:deploy (default-cli) @ frauddetection --- [INFO] Deploying processing unit: frauddetection-user [INFO] Arguments list: [-groups, xap-14.5.0, -locators, localhost:4174, -timeout, 10000, user/target/frauddetection-user.jar] 2019-08-20 11:18:14,527 CONFIG [com.gigaspaces.logger] - Log file: .m2\repository\org\gigaspaces\logs\2019-08-20~11.18-gigaspaces-service-10.0.75.1-14156.logAug 20, 2019 11:18:14 AM org.openspaces.pu.container.servicegrid.deploy.Deploy info INFO: Deploying [frauddetection-user.jar] with name [frauddetection-user] under groups [xap-14.5.0] and locators [jini://localhost:4174/] Aug 20, 2019 11:18:14 AM org.openspaces.pu.container.servicegrid.deploy.Deploy info INFO: Searching for GSM in groups [xap-14.5.0] and locators [[jini://localhost:4174/]] Aug 20, 2019 11:18:16 AM net.jini.discovery.LookupLocatorDiscovery$LocatorReg tryGetProxy INFO: Connected to LUS using locator localhost:4174 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for frauddetection 1.0-SNAPSHOT: [INFO] [INFO] frauddetection ..................................... FAILURE [ 13.787 s] [INFO] common ............................................. SKIPPED [INFO] user ............................................... SKIPPED [INFO] feeder ............................................. SKIPPED [INFO] vendor ............................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.583 s [INFO] Finished at: 2019-08-20T11:18:26-07:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:xap-maven-plugin:14.2.0:deploy (default-cli) on project frauddetection: Failed to find GSM with groups [xap-14.5.0] and timeout [10000] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/di...