Employee

Solve issue: can't JBoss with run.sh, works with bin/run.sh

The run.sh script we deliver as part of our MDM server zip file goes into the root of the JBoss distrib. When starting JBoss with this script, it fails. This has been reported by several people on this forum. The workaround is to use the original bin/run.sh file instead.
I found out our file has an extra ^M character at the end. Run a dos2unix on it and it will fix the problem. Sorry for the inconvenience.
Note : our run.sh simply runs "bin/run.sh -b 0.0.0.0" to allow the app server to bind incoming IP traffic. When you run JBoss through bin/run.sh directly, it will only accept local connections.

2 REPLIES
Four Stars

Re: Solve issue: can't JBoss with run.sh, works with bin/run.sh

For Ubuntu users, the dos2unix command is avalaible in the tofrodos package:
$>sudo apt-get install tofrodos
$>cd {jboss_dir}
$>dos2unix run.sh
One Star

Re: Solve issue: can't JBoss with run.sh, works with bin/run.sh

thank you very much that works !!!!