jboss 7 manual deployment using maven

Posted: October 22, 2012 in web

1.  Run maven build with option ‘clean package -DskipTests’

2. go to target folder, usually under (c:\workspace\sampleApp\target\

3. copy the newly generated war file (“sampleApp-SNAPSHOT.war”)

4. go to your jboss 7 test/production server

5. stop jboss service (on windows control panel -> services)

6.  under c:\jboss-7\standalone\deployments\ pasted the copied war file

7. rename the copied war file if needed to match the proxy name under virtual host of your Apache webserver.

8. start the service back.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s