3 Replies Latest reply on Aug 19, 2016 10:50 AM by Monique Martins

    The controller is not available at localhost:

    Monique Martins Newbie

      Por favor alguém poderia me ajudar?

       

      Quando executo com jboss-cli.sh no server local ele conecta normalmente. utilizo o JBAS6

       

      became not supported: Received value [org.jboss.as.cli.CliInitializationException: Failed to connect to the controller at org.jboss.as.cli.impl.CliLauncher.initCommandContext(CliLauncher.java:299)   at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:265)at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:45)       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.lang.reflect.Method.invoke(Method.java:606)    at org.jboss.modules.Module.run(Module.java:312)        at org.jboss.modules.Main.main(Main.java:473)Caused by: org.jboss.as.cli.CommandLineException: The controller is not available at localhost:10099      at org.jboss.as.cli.impl.CommandContextImpl.tryConnection(CommandContextImpl.java:1057)at org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:887)      at org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:863)     at org.jboss.as.cli.impl.CliLauncher.initCommandContext(CliLauncher.java:297)   ... 8 moreCaused by: java.io.IOException: java.net.ConnectException: JBAS012144: Could not connect to remote://localhost:10099. The connection timed out       at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:149)

       

       

      tcp        0      0 0.0.0.0:4547                0.0.0.0:*                   LISTEN      48741/java

      tcp        0      0 0.0.0.0:10090               0.0.0.0:*                   LISTEN      48741/java

      tcp        0      0 0.0.0.0:10099               0.0.0.0:*                   LISTEN      48741/java

      tcp        0      0 0.0.0.0:8180                0.0.0.0:*                   LISTEN      48741/java

       

      XML

      <interfaces>

              <interface name="management">

                  <inet-address value="${jboss.bind.address.management:0.0.0.0}"/>

              </interface>

              <interface name="public">

                  <inet-address value="${jboss.bind.address:0.0.0.0}"/>

              </interface>

              <interface name="unsecure">

                  <inet-address value="${jboss.bind.address.unsecure:0.0.0.0}"/>

              </interface>

          </interfaces>

       

       

          <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:300}">

              <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/>

              <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>

              <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9443}"/>

              <socket-binding name="ajp" port="8009"/>

              <socket-binding name="http" port="8080"/>

              <socket-binding name="https" port="8443"/>

              <socket-binding name="remoting" port="4447"/>

              <socket-binding name="txn-recovery-environment" port="4712"/>

              <socket-binding name="txn-status-manager" port="4713"/>

              <outbound-socket-binding name="mail-smtp">

                  <remote-destination host="localhost" port="25"/>