This week's giveaway is in the Groovy forum.
We're giving away four copies of Groovy Fundamentals video training course and have Ken Kousen on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes How to create simple EJB project with JBoss server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to create simple EJB project with JBoss server?" Watch "How to create simple EJB project with JBoss server?" New topic
Author

How to create simple EJB project with JBoss server?

Thanh Long Trinh
Greenhorn

Joined: Aug 14, 2013
Posts: 1
Dear all,

I am being frustrated with EJB. I am Java web development but have not used EJB before.
Now, I want to create simple EJB project with JBoss 6.1.0.Final (download from http://www.jboss.org/jbossas/downloads.html). I used hibernate to connect db.
With other servers (GlassFish, Tomcat) It runs smoothly (please see image below)


But with JBoss server, It does not work(please see image below)


Code is totally the same.

Do I miss any config for JBoss server? With Web application and JBoss, It runs well.

Thanks and best regards!
francesco umani
Greenhorn

Joined: Aug 07, 2013
Posts: 27
The image is too small I can't read. What's the message?
Ranganathan Kaliyur Mannar
Bartender

Joined: Oct 16, 2003
Posts: 1097
    
  10

Hi Thanh,
Welcome to the Ranch!

You have indicated that the code does not work in JBoss 6.1. What happens when you deploy the ear? does it get deployed successfully? have you checked the JBoss server logs?


Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to create simple EJB project with JBoss server?