Solve the problem that applications released by JBoss 4.2.3ga cannot be accessed by other machines.

Source: Internet
Author: User

I did not find this problem before. Baidu only found out that jboss4.2 and later versions have the problem of local access only. The solution is also very simple. Just add a parameter at startup, if you start JBoss directly, you can create a new BAT file (startup. bat, huh, affected by Tomcat), file content:

Run. Bat-B server IP Address

If you are starting tomcat in eclipse, You need to specify the startup parameter:

In this way, other machines can access the JBoss service, including JNDI.

The reason is that JBoss is bound with the $ {JBoss. Bind. Address} parameter. The default value is 127.0.0.1, so the above problem occurs.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.