[jboss-dev-forums] [Deployers on JBoss (Deployers/JBoss)] - Re: Deployment dependencies via WebMetaData and ServiceMetaD

bstansberry@jboss.com do-not-reply at jboss.com
Fri Jan 25 20:48:55 EST 2008


I think I have this fixed, or at least it's doing something meaningful.

The problem was a missing List.add() call in AbstractWarDeployer.deployWebModule().

With that fixed if you deploy a war with a bogus depends element, you'll get the CONTEXTS MISSING DEPENDENCIES logging from HDScanner.  But you also get a logging saying it "deployed xyz.war".  The WebModule from the war will still appear in the jmx-console, and there's no attribute or anything to show that it's not running.  And if you invoke the create or start operation on the console mbean, you get no complaint.

I have a suspicion that what really should happen and isn't is that any dependencies from the JBossWebMetaData need to get pushed into the DeploymentUnit.

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

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



More information about the jboss-dev-forums mailing list