Hi Rolf,

> this is not a junit test but a testng.
> Transactions are handled in the testmethods themselves.
> The error messages are not describing the real error.
> The problem is that for some reason during the maven execution of the
> test.
> Testng and the embeddable ejb container  have some conflicts but  I don't
> see why
> I  know this only by looking at the first  error  and  having commented
> out
> a line in the second test (transaction.begin) than the second test fails
> by
> stating that a session bean was not bound/found.

Sorry, but I don't know TestNG, only JUnit... According to the exception I'd 
assume that there _is_ a problem with correctly opening and closing the 
transaction. If not, then at least with the initialization and/or shutdown of 
your test class / test method...

Without knowing your source I'm wondering whether your failing test class can 
run standalone or relies on others for doing its checks, for example via static 
initializers, during init/shutdown etc. Have you checked that?


Cheers

Thorsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to