Home > general > Is it possible to configure deployment directory location

Is it possible to configure deployment directory location

It is possible, for example, to have an exploded .war directory at some place
other than the “default” directory? For example, have it on “C:\\my_web_app“?

If so, what are the configuration changes I need to make?

Yes, you can place the war in a folder of your choice. The
%JBOSS_HOME%\server\default\conf has a jboss-service.xml file. Look at the URLs
attribute at the end of that file. If you have a application placed inside the
C:\MyJBossApps folder, then the URLs attribute should look like:


<attribute name="URLs">
deploy/,file:///C:/MyJBossApps/
</attribute>

The server will then scan for all the applications under C:\MyJBossApps folder, for
deployment

View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165464#4165464

Advertisements
Categories: general Tags:
  1. No comments yet.
  1. No trackbacks yet.

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

%d bloggers like this: