This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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
Author

Enterprise Application in Eclipse 3.4.0 with JBoss

John Hawk
Greenhorn

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).
 
 
subject: Enterprise Application in Eclipse 3.4.0 with JBoss