Re: Testing with EJB3

2005-11-19 Thread Richard Wallace
Sorry it took so long to get back, but I've been side-tracked this past week. The test I'm trying to run is: import java.util.Hashtable; import javax.naming.InitialContext; import javax.persistence.EntityManager; import javax.transaction.TransactionManager; import org.jboss.ejb3.embedded.EJB3

Re: Testing with EJB3

2005-11-14 Thread Tanju Erinmez
I haven't noticed the error you mention. What I usually get is a "JBossMXServerConfig" exception whenever I run surefire with mvn test. That's not nice but it isn't a problem either because the test cases are run anyway. How do you execute the container? - Tanju On 11/12/05, Richard Wallace <[E

Re: Testing with EJB3

2005-11-12 Thread Richard Wallace
Ya, the other problem I found is trying to track down the proper versions of all the 3rd party libs. I thought about making one big jar, but was hoping to find a way around that. Now that I've done it, I'm glad I did cause it works out pretty nicely. Only thing I'm running into now is that w

Re: Testing with EJB3

2005-11-12 Thread Tanju Erinmez
The problem deployment wise with the JBoss EJB3 alpha 3 release is that the 3rd party libs are not pruned (reduced to the necessary ones). So you might find yourself doing some unnecessary work. What I did for the time being and not waste too much time on infra was to simply jar everything up and i

Re: Testing with EJB3

2005-11-12 Thread Brett Porter
You can request them to be uploaded. You can also install them in a local repository yourself (much like working with Ant). http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html http://maven.apache.org/guides/mini/guide-ibiblio-upload.html - Brett On 11/12/05, Richard Wallac

Testing with EJB3

2005-11-11 Thread Richard Wallace
Hey everyone, I'm trying to build an application using Jboss and their EJB3 implementation. Their EJB3 implementation comes with an embeddable EJB3 container that can be used for, among other things, testing. I'm trying to get this working with m2, but there are no EJB3 jars from jboss in t