Jboss-5.1 Configuration
1. JDK post-installation configuration:
add environment variables:
The java_home variable whose value is set to: the installation path of the JDK;
Path variable, which is added at the end of its value; %java_home%/bin;
2. Download and install JBoss
: Http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/jboss-5.1.0.GA.zip/download, after the download is complete, After extracting it into a directory without spaces (if the directory has spaces, for example: C: "Program Files, may have some inexplicable errors in the future),
Add Environment variables:
Jboss_home environment variable, the value is the installation path of JBoss,
Path variable , added at the end of its value:%jboss_home%\bin;
at this point, the installation of JBoss is finished, and you can test the success of the installation in the following ways. Run the JBoss installation directory: Bin/run.bat, if no exception appears in the window ,The started in 1m:6s:110ms appears, indicating that the installation was successful.
We can access: Http://localhost:8080/into the JBoss welcome interface and click on the JMX console under JBoss Management to access the JBoss console.
If the startup fails, it may be caused by the following reasons:
the port used by JBoss (8080,1099,1098,8083, etc.) is occupied. Typically, 8080 ports are occupied (for example, Oracle occupies 8080 ports) and JBoss ports need to be modified by entering the JBoss installation directory "jboss-5.1.0.ga/server/default/deploy/ Jbossweb.sar directory, modify the Server.xml directory under it, search for 8080 in this file, change it to the port you want (such as 8088);
This article is from the "DSLZC" blog, make sure to keep this source http://dslzc921029.blog.51cto.com/10187165/1641626
Installation Configuration Jboss-5.1