Windows under JBoss 7.1 installation Deployment

Source: Internet
Author: User
Tags jboss

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

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.