| Author |
Why my ejb module is missing?
|
sam White
Ranch Hand
Joined: Feb 18, 2011
Posts: 204
|
|
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
Joined: Feb 18, 2011
Posts: 204
|
|
I just tried " @EJB CallerLocal myLocal;" , but the following line of code resulted null pointer exception.
result = (List<CategorySubcategories>) myLocal.findAll();
Thanks
Sam
|
 |
 |
|
|
subject: Why my ejb module is missing?
|
|
|