[jboss-user] [Beginner's Corner] New message: "How to specify custom deployment location?"

David Hoffer do-not-reply at jboss.com
Thu Feb 11 10:27:07 EST 2010


User development,

A new message was posted in the thread "How to specify custom deployment location?":

http://community.jboss.org/message/525795#525795

Author  : David Hoffer
Profile : http://community.jboss.org/people/dhoffer

Message:
--------------------------------------------------------------
I understand that I can specify a new deployment directory in which JBoss will look for deployments by editing profile.xml file such as:
 
<bean name="BootstrapProfileFactory" class="org.jboss.system.server.profileservice.repository.StaticProfileFactory">
      <property name="bindingsURI">${jboss.server.home.url}conf/bindingservice.beans</property>
      <property name="bootstrapURI">${jboss.server.home.url}conf/jboss-service.xml</property>
        <property name="deployersURI">${jboss.server.home.url}deployers</property>
        <property name="applicationURIs">
            <list elementClass="java.net.URI">
                <value>${jboss.server.home.url}deploy</value>
                <!--Add my custom directory here-->
                <value>file:/C:/svn/app/target</value>
            </list>
        </property>
        <property name="attachmentStoreRoot">${jboss.server.data.dir}/attachments</property>
        <property name="profileFactory"><inject bean="ProfileFactory" /></property>
</bean>
 
However I don't want to specify a new folder for JBoss to scan, I just want to specify one specific deployment for JBoss to load.  I.e. in the example above I just want to load the war at <value>file:/C:/svn/app/target/app-war</value>
 
How can I do this?  Is there a place to just specify a war to load?  Or if I have to specify a folder can I exclude all but the one I want it to load?

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/525795#525795




More information about the jboss-user mailing list