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

Popular posts from this blog

mysql - How to unscape text from database in android studio -

php - Admin SDK -- get information about the group -

Making CSS Drop Down Menu 2 Columns -