Window under JBOSS7 installation deployment

Source: Internet
Author: User
Tags jboss

0x01 Download Installation

1,: Http://www.jboss.org/jbossas/downloads

2, Decompression: Select an installation directory decompression Jboss-as-7.1.1.final.zip

3. Set the environment variables as follows:

variable Name: Java_home variable Value: C:\Program Files (x86) \java\jdk1. 8. 0_91        //  To configure the variable name according to its actual path : Classpath variable value:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;         // Remember, there's a "." in front. variable Name: PATH variable value:%java_home%\bin;%java_home%\jre\bin;

4. JBoss Startup

Older versions such as the run.bat,7.1 version of the 4.x boot Bin directory start Standalone.bat

Local access http://127.0.0.1:8080

0x02 Other Settings

A, set up extranet access:

For example: http://192.168.204.143:8080 is inaccessible. Because after deployment, the default is only local access (that is, only 127.0.0.1 can access), if you want other people to access your Web page, you need to modify the JBoss configuration file, that is, modify the standalone.xml, increase the content of the native web address.

1. Open%jboss_home%\standalone\configuration\standalone.xml

2. Find

<interface name= "Public" >
<inet-address value= "${jboss.bind.address:127.0.0.1}"/>
</interface>
Change 127.0.0.1 to 192.168.204.143 and restart JBoss for external access.

B. Add Users

Enter the control page as shown in:

The installation prompt requires a user name password to be generated, as shown in:

Reopen a cmd into the bin directory to execute Add-user.bat, as shown in the prompts:

The settings successfully entered successfully into the background control page as shown in:

C, installation error, unable to start

Sometimes when you start JBoss, you get stuck on this side and can't continue. This problem is actually caused by the current Java version of the system that is not adapted.

WORKAROUND: After replacing my Java version 1.8 with the Java version 1.7, the problem is resolved. (JBoss startup is back to normal)

0X03 Project Deployment

Put the war pack under directory%jboss_home%\standalone\deployments\ and deploy it automatically

Reference Links:

Http://www.cnblogs.com/xw-cnblogs/articles/2439969.html

Http://d-prototype.com/archives/79

Window under JBOSS7 installation deployment

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.