[jboss-user] [Installation, Configuration & DEPLOYMENT] - URIList for 5.0 question

PeterJ do-not-reply at jboss.com
Wed Jan 30 17:43:27 EST 2008


In 4.2.x (and earlier), the URIList property of the DeploymentScanner MBean is well documented. Playing with the URIList property of the VFSDeploymentScanner bean in 5.0 beta3, I have noticed several differences in behavior.  Are these differences expected or unintentional?

1) Adding an archive name (a URI that does not end in a slash), causes various exceptions ("org.jboss.deployers.spi.DeploymentException: Error deploying MANIFEST.MF: The virtual file is closed" if the URI points to a file, and "java.lang.IllegalStateException: File cannot contain children: FileHandler at 2286508[path=WEB-INF/web.xml context=file:/F:/opt/jbia/deploy/hello.war/ real=file:/F:
/opt/jbia/deploy/hello.war/WEB-INF/web.xml]" if the URI points to an exploded directory).

2) If there are multiple directory entries (URIs that end with a slash), all of them get scanned during startup for applications to deploy (as expected), but only the first entry gets scanned by the hot deployer while the app server is running, which makes for interesting behavior if "${jboss.server.home.url}deploy/" is not the first entry!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124951#4124951

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124951



More information about the jboss-user mailing list