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/microcontaine...
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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...