0
我已经采取了一些Maven项目,并想从他们部署到虚拟机外壳JBoss和虚拟机外壳数据库移动,类似的泊坞窗设置到this如何使用jboss-as-maven-plugin部署到运行的Docker容器中的JBoss EAP?
然而,而不是横跨复制战争Dockerfile,我们需要将它作为Maven生命周期的一部分,使用jboss-as-maven-plugin移动到正在运行的容器中。
所有类似开放端口的都是排序的,因为我可以从主机访问数据库。
目前我在尝试部署战争时收到错误。
[ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final:deploy (pre-integration-test) on project chess: Could not execute goal deploy on /var/lib/jenkins/jobs/Chess_Docker/workspace/target/Chess.war. Reason: I/O Error could not execute operation '{
[ERROR] "operation" => "read-attribute",
[ERROR] "address" => [],
[ERROR] "name" => "launch-type"
[ERROR] }': java.net.ConnectException: JBAS012174: Could not connect to http-remoting://127.0.0.1:35800. The connection failed: XNIO000812: Connection closed unexpectedly
任何人都可以阐明问题是什么?
非常感谢, 斯图尔特