wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes Why my ejb module is missing? 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 » Products » JBoss/WildFly
Bookmark "Why my ejb module is missing?" Watch "Why my ejb module is missing?" New topic
Author

Why my ejb module is missing?

sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 208
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: 208
I just tried " @EJB CallerLocal myLocal;" , but the following line of code resulted null pointer exception.

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


Thanks
Sam
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why my ejb module is missing?
 
Similar Threads
Problem with EJB 3. Name not bound error
Problem deploying sample HelloWorld Bean in JBoss 4.2.1 GA
purpose of InitialContext?
ejb-ref lookup does not work with JBoss 4.2.0GA _CP07, pleas help.
EJB 3 and Jboss integration with struts 2