Skip to main content

Posts

Showing posts from February, 2019

Exploded and External Deployment in JBOSS

Recently moved my local environment and deploying Sterling Commerce 'Yantra' application on JBOSS server. I wanted to deploy application from external directory i.e. from my application ant builds directory i.e. 'c:/Sterling/Foundation/deploy' and not from /server/ /deploy.  There are some very basic/simple steps, which are tough to find on web regarding deploying exploded EAR and from external location in JBOSS.  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 fi...