The moose likes JBoss/WildFly and the fly likes Enterprise Application in Eclipse 3.4.0 with JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Enterprise Application in Eclipse 3.4.0 with JBoss" Watch "Enterprise Application in Eclipse 3.4.0 with JBoss" New topic

Enterprise Application in Eclipse 3.4.0 with JBoss

John Hawk

Joined: Aug 20, 2008
Posts: 2
I implemented a simple Enterprise Application in Eclipse 3.4.0 where a servlet calls an ejb3 session bean. The JBoss version is jboss-4.0.4.GA.
The application doesn't work because the bean is not recognized by the servlet. I've got the message:
"15:09:41,802 WARN [JmxKernelAbstraction] jboss.j2ee:ear=Proj04.ear,jar=Proj04EJB.jar,name=FiboBean,service=EJB3 is not registered"
Followed, of course, by the message: "tutorial.ejb.FiboBeanRemote not bound".
If I export the application ear to Glassfish it works fine but not in Eclipse.
How can I register it? By means a jboss.xml or something?
Thanks for any help.
Jair Rillo Junior
Ranch Hand

Joined: Aug 27, 2008
Posts: 114
Hi There,

As far as I know, JBoss 4.0.X doesn't have support for EJB 3 (except if you install a patch, I guess). Found it here

If you aren't in a Production environment and can change the JBoss version easly, I advice you to upgrade to version 4.2.x.

If you wanna a simple example of how to create/deploy an EJB3 component on JBoss 4.2.x, You can check this post out

Regards, Jair Rillo Junior
http://www.jairrillo.com/blog, SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 5.0, IBM SOA Associate (Test 664).
I agree. Here's the link: http://aspose.com/file-tools
subject: Enterprise Application in Eclipse 3.4.0 with JBoss
Similar Threads
JBoss and user threads and sockets
How to Call EJB3 bean from remote servlet
JBoss hangs at Hibernate initialisation
EJB web project in Eclipse
migration of Enterprise Application EJB3+toplink+mysql glassfish to jboss 5.1.0