Re: Maven and OpenEJB unit testing

2008-12-08 Thread Mohammad Nour El-Din
Thanks Sanga, I didn't notice the mail you sent later. On Tue, Dec 9, 2008 at 12:11 AM, Mohammad Nour El-Din <[EMAIL PROTECTED]> wrote: > Hi Sanga... > > Can you please send this maessage in a separate thread/new mail on > the same list, becuase the original problem of this thread is not > relate

Re: Maven and OpenEJB unit testing

2008-12-08 Thread Mohammad Nour El-Din
Hi Sanga... Can you please send this maessage in a separate thread/new mail on the same list, becuase the original problem of this thread is not related to your problem. On Mon, Dec 8, 2008 at 9:16 PM, sanga lawalata <[EMAIL PROTECTED]> wrote: > I have this error code while try to persist this

Re: Maven and OpenEJB unit testing

2008-12-08 Thread sanga lawalata
I have this error code while try to persist this entity bean. it seems that It can get the sequence number from oracle dual sequence. Below I put also the ddl. Any advice ? WARN - Unexpected exception from beforeCompletion; transaction will roll back org.apache.openjpa.persistence.PersistenceE

RE: Maven and OpenEJB unit testing

2008-12-08 Thread Marcin Kwapisz
> Did you define this jar file as a dependency in any other module in > its POM.XML file ? [Marcin Kwapisz] PersonAccountModule directly depends on EJBFacades. There are not any transitive dependencies between these two modules. I have made some investigations. EJBFacades-1.0-SNAPSHOT.jar come

Re: Maven and OpenEJB unit testing

2008-12-08 Thread Mohammad Nour El-Din
Hi Marcin... Did you define this jar file as a dependency in any other module in its POM.XML file ? On Mon, Dec 8, 2008 at 10:02 AM, Marcin Kwapisz <[EMAIL PROTECTED]> wrote: > Hi. > > My ejb module (PersonAccountModule) depends on ejb facade components in > different project (EJBFacades). So

Maven and OpenEJB unit testing

2008-12-08 Thread Marcin Kwapisz
Hi. My ejb module (PersonAccountModule) depends on ejb facade components in different project (EJBFacades). So I had to configure classpath as follows: p.put("openejb.deployments.classpath.include", ".*/(PersonAccountModule|EJBFacades)/target/classes.*"); ejb-jar.xml in PersonAccountModule is