Open cblomqvist opened 6 years ago
More precise:
When running the Swarm example via
java -jar target/inventory-1.0-SNAPSHOT-swarm.jar
, executing curl http://localhost:9001/api/inventory/329299
results in an error curl: (7) Failed connect to localhost:9001; Connection refused
, because the default Undertow listens at 8080.
Could you perhaps either change the documentation accordingly (e.g. either changing the start command to make use of swarm.http.port or the curl command or just a note that one has to connect to 8080 when using the fat jar)?
In excersise Enterprise Microservices with WildFly Swarm step 5 you state that the application can be started using mvn or java -jar. It starts in bot cases but on different ports so the curl command fails when you use the java -jar option.