[jboss-user] [Microcontainer] - Re: problem with microcontainer-alpha9 while testing ejb3s.

MmarcoM do-not-reply at jboss.com
Sun Sep 24 13:56:17 EDT 2006


hello,
 looklike i m ok now..... i forgot few VERY important lines of code
while starting ejb3 container

deployer =  EJB3StandaloneBootstrap.createDeployer();
	    deployer.getArchivesByResource().add("META-INF/persistence.xml");
	    deployer.create();
	    deployer.start();

in fact, it turned out that getArchivesByResources made the difference...

thanks and regards 
marco

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

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



More information about the jboss-user mailing list