[wildfly-dev] about using wildfly-maven-plugin with port-offset
Martin Mucha
mmucha at redhat.com
Mon Apr 11 04:08:12 EDT 2016
Hi,
I'm having problems when using wildfly-maven-plugin with port-offset. If I specify pom.xml like below, server does start up, but shutsdown after a minute, because it was allegedly not started up (which is not true). When server-args are omitted, everything works. If it's like below, everything works as well, but only for a minute. Can you advice how correct port-offset usage looks like? Thanks.
M.
———
<plugins>
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<version>${version.wildfly.maven.plugin}</version>
<configuration>
<jbossHome>${jbossHome}</jbossHome>
<serverConfig>standalone.xml</serverConfig>
<server-args>
<server-arg>-Djboss.socket.binding.port-offset=200</server-arg>
</server-args>
<filename>${project.build.finalName}.war</filename>
</configuration>
</plugin>
</plugins>
More information about the wildfly-dev
mailing list