java - Failed to create EJBContainer -
i trying create ejbcontainer in order integration testing. here code:
map properties = new hashmap(); properties.put(ejbcontainer.modules, new file[]{new file("target/classes"), new file("target/test-classes")}); ec = ejbcontainer.createejbcontainer(properties); ctx = ec.getcontext();
it throws exception: javax.ejb.ejbexception: can't find directory d:\jboss-4.2.3.ga\jboss-4.2.3.ga\common\lib
there no common/lib directory in jboss folder. when debug code inside of ejbcontainer see problem in jbossstandaloneejbcontainerprovider class seems default container provider class. there way change provider? or maybe doing incompatible?
Comments
Post a Comment