Once you have created a new server for application (in my case, I am deploying an Sterling Commerce SMCFS application i.e. 'smcfs'). Use ANT tool to generate, EAR contents at external deployment location. Let's call it EXTERNAL_DIR If deploying in exploded mode, rename the exploded EAR application folder to add '.ear' with folder name i.e. in my case, folder name is EXTERNAL_DIR/ smcfs.ear. If you are deploying a single archive EAR file, place .ear file inside EXTERNAL_DIR . Modify /server/smcfs/conf/jboss-service.xml file, to point deployment directory to an external location containing .ear - For example,
attribute name="URLs"
deploy/,file:///c:/Sterling/Foundation/deploy/
/attribute
Restart the application and JBOSS should deploy application from external location. touch the top level descriptor. Updating the file works as well as it changes the timestamp. Here are the descriptors for the most common archive types:If you are using an ANT tool to compile your changes into exploded dir, you have to - .JAR - META-INF/ejb-jar.xml
- .WAR - WEB-INF/web.xml
- .EAR - META-INF/application.xml
- .SAR - META-INF/jboss-service.xml
- attribute name="URLs"
deploy/,file:///EXTERNAL_DIR/
/attribute
Comments
Fred | O'Malley Hansen Communications