Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

430
Visualizações
The controller is not available at localhost JBOSS.7.1.1.FINAL

When i run the jboss-cli.sh, I get this message.

[root bin]# sh jboss-cli.sh 
You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
[disconnected /] connect localhost
The controller is not available at localhost:9999
[disconnected /] connect
The controller is not available at localhost:9999
[disconnected /] connect localhost:9999  
The controller is not available at localhost:9999
[disconnected /] 

Also i have another installation of jboss5 GA. I hope that is not interfering. Although that is totally shut down for now.

Native management interface is :9999 in standalone.sh

Please throw light on this issue.

#
                                     EDITED 
#

When i stop my service with "service jboss stop" i get this message

[root@ bin]# *** JBossAS process (7302) received KILL signal ***
grep: /var/run/jboss-as/jboss-as-standalone.pid: No such file or directory

I Dont know how to check whether server is listening on the port 9999 or not.

Few more details

[root bin]# netstat -anp |grep 9999
tcp        0      0 127.0.0.1:9999              0.0.0.0:*                   LISTEN      7931/java

[root bin]# netstat -anp |grep 8080
tcp        0      0 0.0.0.0:8080                0.0.0.0:*                   LISTEN      7931/java 

JBoss processs id and the server id acquiring these ports is same.

over 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

This question has two issues ,

First, i have provided debuging parameter in the startup script. If you see 8787 that means you have somewhere provided debuging argument.

Second and the most important one controller not available @localhost or @IPADDRESS .

  1. Please check if you have used port offset, as it increments all the ports by the number with with you have set port offset. Suppose port offset is 2 Then try to access connect localhost:10001 Port i.e 9999+2

  2. On my production server sometimes it does not works with localhost , but works with IP address. Then try to access connect IPADDRESS:9999 OR Then try to access connect 127.0.0.1:9999

  3. Please check in the firewall weather the port 9999 or what ever with port offset, if the port is not open in the firewall it gives error,

I asked this question 6 months back and the above checks has solved the problem always.

over 4 years ago · Santiago Trujillo Relatório

0

This is probaby because you have changed your binding configuration and jboss does not bind to 127.0.0.1.

In case your jboss instance is not binding to 127.0.0.1, you may use --controller option as follows:

./jboss-cli.sh --controller=YOUR_IP:9999
over 4 years ago · Santiago Trujillo Relatório

0

Use netstat -anp |grep 9999 to find out if port 9999 is in use and by which process id. You could also check the host.xml used by the controller to configure the proper native port.

In the host xml, you should find the default port:

    <native-interface security-realm="ManagementRealm">
        <socket interface="management" port="${jboss.management.native.port:9999}"/>

./jboss-cli.sh --controller=localhost:9999 --connect
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda