Tuesday, 22 March 2016

How to set deploy explodable in Jboss server

If you come across the issue like creating a empty file called xxxx.war.dodeploy in jboss/standalone/deployments folder then its best to set some extra arguments to make it work.

Under standalone.xml which can found at jboss-eap-6.x\standalone\configuration just append the below one
auto-deploy-zipped="true" auto-deploy-exploded="true"
in the below tag 
<deployment-scanner path="deployments" relative-to="jboss.server.base.dir" 

So that it may look like as below
<subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1">
            <deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="5000" auto-deploy-zipped="true" auto-deploy-exploded="true"/>
        </subsystem>


This change is advisable to be used used in development or local environment and not in production or other environments.

No comments:

Post a Comment