This content has been marked as final.
Show 2 replies
-
1. Re: CAnnot deploy exploded war
mailinator Feb 19, 2007 11:37 AM (in response to dplass)I have a same problem. My exploded war resides outside jboss's deploy directory and is linked to be deployed in jboss-service.xml
<mbean code="org.jboss.deployment.scanner.URLDeploymentScanner" name="jboss.deployment:type=DeploymentScanner,flavor=URL"> ... <attribute name="URLs"> deploy/,file:/ws/default/SCB_US/Engineering/selenium-test.war </attribute>
I have tried also to put / character at the end (.../selenium-test.war/). Exception disappeared, but war was not deployed. -
2. Re: CAnnot deploy exploded war
peterj Feb 19, 2007 12:14 PM (in response to dplass)mailinator, you should have created a new post, not appended to an existing one.
But to answer your question, set URLs to:
deploy/,file:/ws/default/SCB_US/Engineering/
The key is that any URLs entry ending in '/' is trated as a direcotry and that directory is scanned for things to deploy (both files and exploded directories). Anything that does not end in a '/' must be a file, which means that the war would have to be packaged.