1. Download JBoss
Download 1 old versions of http://www.jboss.org/jbossas/downloads/7.1.0 here
2. Unzip to F Drive
F:\jboss-as-7.1.0.Final Note that there are no spaces in the catalogue
3. Configure Environment variables
4. Start the service
Older versions such as the run.bat,7.1 version of the 4.x boot Bin directory start Standalone.bat
JBoss default can only be accessed locally, you need to modify the configuration for other machine access: F:\jboss-as-7.1.0.Final\standalone\configuration\standalone.xml
Change the public IP from 127.0.0.1 to 0.0.0.0
Visit http://localhost:8080
----------------------------------------------------------Deployment------------------------------------------------------------- ------
5. Put the war package under the directory F:\jboss-as-7.1.0.Final\standalone\deployments
I tried to deploy the folder directly, and then I deployed the war package.
Start service, Access connection database error
Noclassdeffounderror for Com/sun/rowset/cachedrowsetimpl
The reason is that the JDK database connection jar package is not included, modify the configuration file F:\jboss-as-7.1.0.Final\modules\sun\jdk\main\module.xml
Add the following 3 lines:
<path name="com/sun/rowset"/><path name="com/sun/rowset/internal"/><path name="com/sun/rowset/providers"/>
Restart the service to
Windows under JBoss 7.1 installation Deployment