If you want to add deployment directories, you need to change the URLs attribute in the MBean for org.jboss.deployment.scanner.URLDeploymentScanner found in server/instance/conf/jboss-service.xml of your JBoss distribution where instance is the JBoss instance you are running. It is normally default. The attribute setting is currently set for scanning just the deploy directory of the instance.
Read the information in the xml on acceptable formats.
The command you have given (in your posting) specifies the JBoss instance. Therefore your instance "c:\myfolder" is not a valid instance.
Normally valid instances are:
run -c default
run -c all
run -c minimal
"run" is the equivalent to "run -c default".
can u please give some example as to how to
write url in jboss-service.xml.
As i'm new to this.
this wud be of gr8 help to me
As per the description, the URLs are comma-delimited and an ending slash specifies a scan of the entire specified URL space, so for your original requirement for c:\myFolder, assuming JBoss is also installed on c:\
You probably don't want to stop scanning the original deploy directory that holds much of the JBoss services - such as the servlet container (Jetty or Tomcat), the message queue services and so on.
i did the same but cannot deploy the ejb from c:\check.
my task is to deploy a ejb from a folder other than /server/default/deploy directory which can c:\myfolder\myejb.ear