This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB module unit test initialization error  RSS feed

Brandon Davis
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to unit test a simple EJBModule project (Using Glassfish 3.1.1) under NetBeans 7.1, but I am receiving one warning and an initialization error. I'm hoping someone is familiar with this type of issue.

In project one we have a remote interface like this:

Then in a second project we are implementing the interface like this:

And finally in the unit test I am doing this:

When I run the unit test I receive the warning and the error.

The warning is:

Followed by this error on the test case:

Any suggestions on how to resolve this? Thanks.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!