Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why my ejb module is missing?

 
sam White
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a looked into the jboss jmx-console/ page and found that my *.ejb module is missing from the tree.
Here is the current "tree" of the project deployment:

+- global (class: org.jnp.interfaces.NamingContext)
| +- jmx-console (class: org.jnp.interfaces.NamingContext)
| +- CategoryClient2-ear (class: org.jnp.interfaces.NamingContext)
| | +- CategoryClient2-web (class: org.jnp.interfaces.NamingContext)

As it shown that CategoryClient2-ear only cosists of CategoryClient2-web module.
The ejb module (CategoryClient2-ejb) is missing.

Can anyone tell me what is wrong wtih my project setup?

Thanks
Sam
 
sam White
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just tried " @EJB CallerLocal myLocal;" , but the following line of code resulted null pointer exception.

result = (List<CategorySubcategories>) myLocal.findAll();


Thanks
Sam
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic