title: Maven Wildfly remote deploy
body: <p>Maven deploy error:</p>
  
  <p>ERROR: JBREM000200: Remote connection failed: javax.security.sasl.SaslException: Authentication failed: the server presented no authentication mechanisms</p>
  
  <blockquote>
    <p>--- wildfly-maven-plugin:1.0.1.Final:deploy (default-cli) @ API ---</p>
    
    <p>Apr 09, 2014 10:31:42 PM org.xnio.Xnio </p>
    
    <p>INFO: XNIO version 3.2.0.Final</p>
    
    <p>Apr 09, 2014 10:31:42 PM org.xnio.nio.NioXnio </p>
    
    <p>INFO: XNIO NIO Implementation Version 3.2.0.Final</p>
    
    <p>Apr 09, 2014 10:31:42 PM org.jboss.remoting3.EndpointImpl </p>
    
    <p><strong>INFO: JBoss Remoting version 4.0.0.Final</strong> (I'm use <em>Wildfly 8.0.0.Final</em>)</p>
    
    <p>Authenticating against security realm: ManagementRealm</p>
  </blockquote>
  
  <p>Maven config:</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;org.wildfly.plugins&lt;/groupId&gt;
      &lt;artifactId&gt;wildfly-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;${version.wildfly.maven.plugin}&lt;/version&gt;
      &lt;configuration&gt;
          &lt;hostname&gt;192.168.57.114&lt;/hostname&gt;
          &lt;port&gt;9990&lt;/port&gt;
          &lt;name&gt;user&lt;/name&gt;
          &lt;password&gt;passwd&lt;/password&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>lsof -i results (from server 192.168.57.114):</p>
  
  <pre><code>java      5123       jboss  294u  IPv4  12006      0t0  TCP localhost:http-alt (LISTEN)
  java      5123       jboss  322u  IPv4  12011      0t0  TCP 192.168.57.114:9990 (LISTEN)
  </code></pre>
  
  <p>How to fix this?</p>