Jboss-5.1 Configuration
1. JDK Post-installation configuration:
To add an environment variable:
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 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 done, unzip it into a directory without spaces (if the directory has spaces, for example: C: "Program Files, there may be 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 Java Development blog, so be sure to keep this source http://dslzc.blog.51cto.com/9816334/1639625
Installation Configuration Jboss-5.1