Topic: deploy package outside of jboss |
Print this page |
1.deploy package outside of jboss | Copy to clipboard |
Posted by: stevenzhang Posted on: 2003-01-20 17:35 hello i can deploy my application into jboss by hot-deployment(copy the "jar,war or ear" file to deploy directory),but i wonder if the jboss can deploy the package that is outside the jboss istallation directory(i mean i don't copy them to jboss box),just like that weblogic can. thank you! |
2.<<< Re:deploy package outside of jboss >>> [Re: stevenzhang] | Copy to clipboard |
Posted by: 256456 Posted on: 2003-01-21 17:46 modify the file "jboss-service.xml" in the path "jboss304\server\default\conf" if you are using the default server! find the mark: <mbean code="org.jboss.deployment.scanner.URLDeploymentScanner" name="jboss.deployment:type=DeploymentScanner,flavor=URL"> ...... ...... <attribute name="URLs"> ./deploy </attribute> </mbean> change to: <mbean code="org.jboss.deployment.scanner.URLDeploymentScanner" name="jboss.deployment:type=DeploymentScanner,flavor=URL"> ...... ...... <attribute name="URLs"> <!-- real path that you want --> c:/deploy </attribute> </mbean> OK!!! |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |