How to create a custom Deploy/Content and temp Directory in domain/standalone Mode of EAP?

Solution Verified - Updated -


  • How to create a custom deployment directory for the EAP servers which are running as part of an EAPdomain mode.
  • How to Define An External Deploy Directory in EAP?
  • How does one define a second deployments directory in EAP?
  • Is it possible to use system properties to configure a deployment location?
  • How to use properties to define the location for deployments?
  • What is the path of the deploy folder where EAR gets deployed/extracted.
  • Without complete EAR deployment, can a hot fix in the JSPs be reflected in domain mode.
  • How to create a custom temp Directory in EAP.
  • After configuring a new deployment scanner it gives an error during JBoss startup:
09:26:02,914 ERROR [] (ServerService Thread Pool -- 6) JBAS014612: Operation ("add") failed - address: ([
    ("subsystem" => "deployment-scanner"),
    ("scanner" => "my-scanner")
]): java.lang.IllegalArgumentException: JBAS014847: Could not find a path called 'sample'
    at [jboss-as-controller-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
    at [jboss-as-controller-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
    at [jboss-as-controller-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
    at [jboss-as-controller-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
    at [jboss-as-controller-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
    at$ [jboss-as-controller-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
    at java.util.concurrent.ThreadPoolExecutor.runWorker( [rt.jar:1.7.0_25]
    at java.util.concurrent.ThreadPoolExecutor$ [rt.jar:1.7.0_25]
    at [rt.jar:1.7.0_25]
    at [jboss-threads-2.1.1.Final-redhat-1.jar:2.1.1.Final-redhat-1]

09:26:02,932 ERROR [] (Controller Boot Thread) "JBAS014784: Failed executing subsystem deployment-scanner boot operations"
  • How to pass the deployment directory in startup scripts?


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In