This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes error with running EJBContainer junit test Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "error with running EJBContainer junit test" Watch "error with running EJBContainer junit test" New topic
Author

error with running EJBContainer junit test

sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 208
Hello,

I got an error exception when running EJB3 junit test wtih EJBContainer.

Here is the error:;



code for CategoryManager.java:



I have followed the tutorial as shown below to setup my project, but I am still getting this error.

EJBContainer tutorial

Any suggestion is very appreciated.
Thanks
Sam
sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 208
I don't know why I got ".findAll(Unknown Source)" error.
Anyone ?

Thanks
Sam
sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 208
can anyone suggestion a way how to troubleshoot this error?

Thanks
Sam
sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 208
Further investigation, I found I omitted the following error when running the Test case:



Why I am getting this error in the first place?

Thanks
Sam
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error with running EJBContainer junit test
 
Similar Threads
Double insertion using entity lifecycle listener
org.springframework.transaction.TransactionSystemException: Could not commit JPA transaction
Calling a .net web service from java as a client
failed jndi datasource lookup for jdbc/__default on Glassfish
Trouble parsing a well-formed file with a defined entity reference