[jboss-jira] [JBoss JIRA] (JBASMP-58) jboss-as-maven-plugin freezes on authentication

Julien Derveeuw (JIRA) jira-events at lists.jboss.org
Tue Oct 29 11:56:02 EDT 2013


     [ https://issues.jboss.org/browse/JBASMP-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Derveeuw updated JBASMP-58:
----------------------------------

    Description: 
I have jboss 7.1.1 in standalone mode running on machine A (linux).
I want to deploy remotely to it using client machine B @ mac os X 10.8.5 / JDK 1.7.0_45-b18.

If I connect from B to A using {{jboss-cli}}, everything works fine, I am able to login.

If I try to deploy from maven with this :
{code:xml}
                <groupId>org.jboss.as.plugins</groupId>
                <artifactId>jboss-as-maven-plugin</artifactId>
                <version>7.5.Final</version>
                <configuration>
                    <hostname>${deploy.jboss.host}</hostname>
                    <port>${deploy.jboss.port}</port>
                    <username>${deploy.jboss.user}</username>
                    <password>${deploy.jboss.password}</password>
                </configuration>

                <executions>
                    <execution>
                        <phase>install</phase>
                        <goals>
                            <goal>deploy</goal>
                        </goals>
                    </execution>
                </executions>
{code}
plugin freezes indefinitely on 
{{Authenticating against security realm: ManagementRealm}}
No more details are available with {{mvn -X}}

If I remove the password or username from pom, it fails correctly with :
{{The connection failed: Authentication failed: all available authentication mechanisms failed}}

After digging on google, I ended up adding {{-Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.KQueueSelectorProvider}} to mvn runner options because NIOs on jdk7 at macosx is said to be buggy but it didn't help.



  was:
I have jboss 7.1.1 in standalone mode running on machine A (linux).
I want to deploy remotely to it using client machine B @ mac os X 10.8.5 / JDK 1.7.0_45-b18.

If I connect from B to A using {{jboss-cli}}, everything works fine, I am able to login.

If I try to deploy from maven with this :
{code:xml}
            <plugin>
                <groupId>org.jboss.as.plugins</groupId>
                <artifactId>jboss-as-maven-plugin</artifactId>
                <version>7.5.Final</version>
                <configuration>
                    <hostname>${deploy.jboss.host}</hostname>
                    <port>${deploy.jboss.port}</port>
                    <username>${deploy.jboss.user}</username>
                    <password>${deploy.jboss.password}</password>
                </configuration>

                <executions>
                    <execution>
                        <phase>install</phase>
                        <goals>
                            <goal>deploy</goal>
                        </goals>
                    </execution>
                </executions>
{code}
plugin freezes indefinitely on 
{{Authenticating against security realm: ManagementRealm}}
No more details are available with {{mvn -X}}

If I remove the password or username from pom, it fails correctly with :
{{The connection failed: Authentication failed: all available authentication mechanisms failed}}

After digging on google, I ended up adding {{-Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.KQueueSelectorProvider}} to mvn runner options because NIOs on jdk7 at macosx is said to be buggy but it didn't help.




    
> jboss-as-maven-plugin freezes on authentication
> -----------------------------------------------
>
>                 Key: JBASMP-58
>                 URL: https://issues.jboss.org/browse/JBASMP-58
>             Project: JBoss AS Maven Plugins
>          Issue Type: Bug
>          Components: deploy
>    Affects Versions: 7.5.Final
>         Environment: mac os x 10.8.5
>            Reporter: Julien Derveeuw
>            Assignee: James Perkins
>            Priority: Critical
>
> I have jboss 7.1.1 in standalone mode running on machine A (linux).
> I want to deploy remotely to it using client machine B @ mac os X 10.8.5 / JDK 1.7.0_45-b18.
> If I connect from B to A using {{jboss-cli}}, everything works fine, I am able to login.
> If I try to deploy from maven with this :
> {code:xml}
>                 <groupId>org.jboss.as.plugins</groupId>
>                 <artifactId>jboss-as-maven-plugin</artifactId>
>                 <version>7.5.Final</version>
>                 <configuration>
>                     <hostname>${deploy.jboss.host}</hostname>
>                     <port>${deploy.jboss.port}</port>
>                     <username>${deploy.jboss.user}</username>
>                     <password>${deploy.jboss.password}</password>
>                 </configuration>
>                 <executions>
>                     <execution>
>                         <phase>install</phase>
>                         <goals>
>                             <goal>deploy</goal>
>                         </goals>
>                     </execution>
>                 </executions>
> {code}
> plugin freezes indefinitely on 
> {{Authenticating against security realm: ManagementRealm}}
> No more details are available with {{mvn -X}}
> If I remove the password or username from pom, it fails correctly with :
> {{The connection failed: Authentication failed: all available authentication mechanisms failed}}
> After digging on google, I ended up adding {{-Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.KQueueSelectorProvider}} to mvn runner options because NIOs on jdk7 at macosx is said to be buggy but it didn't help.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list