mxgong
asked on
Jboss failed start jboss-cli.sh: java.lang.RuntimeException: broken pipe
Hi,
I am trying startup jboss-cli.sh, however, i keep getting the following errors.
the domain controller service is up without issues, I can login http://<dc_ip>:9990
JBOSS: EAP 6.4 update 21
========================== ========== ==
[jboss@domainController bin]$ ./jboss-cli.sh
Exception in thread "Thread-2" java.lang.RuntimeException : broken pipe
at org.jboss.aesh.console.rea der.Consol eInputSess ion$2.run( ConsoleInp utSession. java:95)
You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
[disconnected /]
[jboss@domainController bin]$
========================== ==========
anyone can help? much appreciated
I am trying startup jboss-cli.sh, however, i keep getting the following errors.
the domain controller service is up without issues, I can login http://<dc_ip>:9990
JBOSS: EAP 6.4 update 21
==========================
[jboss@domainController bin]$ ./jboss-cli.sh
Exception in thread "Thread-2" java.lang.RuntimeException
at org.jboss.aesh.console.rea
You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
[disconnected /]
[jboss@domainController bin]$
==========================
anyone can help? much appreciated
Open your jboss-cli.xml and see where the <host> element points to (also have a look at the <port> element and make sure it is the right port). If the domain controller is in another host from where you're running cli from, you will need to point to that controller in your jboss-cli.xml file.
ASKER
HI Girionis and CEHJ
The server which is running that jboss-cli.sh is domain controller.
i run the following command, same error
[jboss@domainController bin]$ ./jboss-cli.sh --connect <IP of domainController >
Exception in thread "Thread-2" java.lang.RuntimeException : broken pipe
at org.jboss.aesh.console.rea der.Consol eInputSess ion$2.run( ConsoleInp utSession. java:95)
You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
[disconnected /]
[jboss@domainController bin]$
The server which is running that jboss-cli.sh is domain controller.
i run the following command, same error
[jboss@domainController bin]$ ./jboss-cli.sh --connect <IP of domainController >
Exception in thread "Thread-2" java.lang.RuntimeException
at org.jboss.aesh.console.rea
You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
[disconnected /]
[jboss@domainController bin]$
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
[jboss@domainController bin]$
Suggests that you are running the command line client ON the machine to which you want to connect, in which case it will be your machine's IP address or 'localhost' [127.0.0.1] (depending on which address it's bound to)
btw is that running on an IP that's publicly visible or is it visible only to your LAN?
ASKER
Thanks Girionis, i give 512mb for domain controller, it works now.
Thanks CEHJ for your help and suggestion.
Thanks CEHJ for your help and suggestion.
ASKER
Thanks Girionis, i give 512mb for domain controller, it works now.
Thanks CEHJ for your help and suggestion.
Thanks CEHJ for your help and suggestion.
Thanks for accepting, glad I was of help.
Open in new window
Shouldn't you be doing something more like:Open in new window
?( https://docs.jboss.org/author/display/AS71/CLI+Recipes )