-
1. Re: want to Deploy a ear in any folder other than default
jonlee Jun 2, 2003 6:18 AM (in response to sysuser1)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.
e.g.
deploy/
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". -
2. Re: want to Deploy a ear in any folder other than default
sysuser1 Jun 2, 2003 7:36 AM (in response to sysuser1)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
Thanks -
3. Re: want to Deploy a ear in any folder other than default
jonlee Jun 2, 2003 9:17 AM (in response to sysuser1)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:\
deploy/,file:/myFolder
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. -
4. Re: want to Deploy a ear in any folder other than default
sysuser1 Jul 3, 2003 4:52 AM (in response to sysuser1)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