[jboss-dev-forums] [Deployers on JBoss (Deployers/JBoss)] - Re: HOWTO deploy webapp dynamically

adrian@jboss.org do-not-reply at jboss.com
Tue Feb 26 06:46:30 EST 2008


If you're not using the VirtualFile then you need to tell it what the structure is.

See
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/microcontainer/trunk/deployers-impl/src/tests/org/jboss/test/deployers/AbstractDeployerTest.java?revision=70043&view=markup
and its subclasses for how to do things.

e.g.

  |    protected Deployment createSimpleDeployment(String name)
  |    {
  |       AbstractDeployment unit = createAbstractDeployment(name);
  |       // HERE There is one top level deployment
  |       factory.addContext(unit, "");
  |       return unit;
  |    }
  | 

If you don't want to do some research and are just going to post
exceptions into the forum, then please use the user forum not the dev forums.

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

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



More information about the jboss-dev-forums mailing list