Discussion on JBOSS7 installation on KVM Virtual Machine

Source: Internet
Author: User
Tags jboss application server

Currently, the virtual machines virtualized by the company in KVM are dual ip addresses, that is, a floating ip address and a fixed ip address used by a virtual machine. When installing the jboss application server, the host. xml configuration file must specify the management ip address for managing the application server. In this case, there is a problem with the Configuration:

The specific analysis is as follows:

1. If the Configuration Management ip address of the host. xml configuration file is floating ip, you can access the Management Server from outside, but an error is reported when JBoss AS7 is started.

JBoss AS7 reports the following error: management ip configure error in host. xml. This indicates that the KVM fixed ip address must be specified by default when jbossAS7 configures management ip addresses in the KVM virtual machine.

2. When JBoss AS7 host. when the ip address of the xml configuration file is specified as the internal ip address of the KVM virtual machine, it is started at this time and everything is normal and can be started normally. After adduser, at this time, I am very happy to enter Http: // ip: 9990 in the browser of the External Machine to log on to the JBoss AS7 console and find

Cannot connect to the console. In this case, it turns out that the KVM fixed ip address cannot be accessed externally.

3. How can I solve this problem? After asking the KVM administrator, I found that the original KVM fixed ip address is mapped to an external ip address through a network. When the KVM manages virtual machines, you only need to map the fixed ip address and floating ip address of the virtual machine directly, you can configure the KVM fixed ip address through JBoss AS7, and

Access through KVM floating ip address and JBoss7 Management port 9990.

4. After setting KVM ing and JBoss AS7 configuration, you still cannot access it through the KVM external machine. In this case, you need to check whether your firewall intercepts ports 9990, 8080, and 9999, in this case, you only need to disable the firewall of the virtual machine to solve the problem.

Note: If the jboss port offset exists, the ports 9990, 8080, and 9999 of JBoss are 9990 + port-offset, 8080 + port-offset, and 9999 + port-offset. These ports must be enabled on the firewall.

There are two solutions: Disable the firewall or add the corresponding port in the firewall rules.

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.