1 2 Previous Next 17 Replies Latest reply on Mar 31, 2013 8:51 AM by nadeeshaan Go to original post
      • 15. Re: JBAS010900: Could not connect to remote domain controller
        ralfbn

        Thanks tomaz, it worked!

        -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.KQueueSelectorProvider

        • 16. Re: JBAS010900: Could not connect to remote domain controller
          saltnlight5

          Thanks for this post! I can verified the same thing happens on my MacOSX 10.7.4 with JDK 1.7.0_05 and JBossAS 7.1.1.Final. 

           

          What this post didn't also mention is that both the server and CLI client must use the workaround system properties! So for those who encounter the same, this is how I get the "standalone" config set working. 

           

          Start the server: 

           

          $ bin/standalone.sh -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.KQueueSelectorProvider 
          ... 
          18:37:22,555 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 1686ms - Started 133 of 208 services (74 services are passive or on-demand)
          

           

          The on separate terminal, try the CLI:

           

          $JAVA_OPTS="-Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.KQueueSelectorProvider" bin/jboss-cli.sh --connect 
          [standalone@localhost:9999 /] 
          

           

          Enjoy,

          Zemian Deng

          • 17. Re: JBAS010900: Could not connect to remote domain controller
            nadeeshaan

            Thanks Zemian.
            Same problem occured to me....
            I could resolve it thanks to you....

            1 2 Previous Next