Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create simple EJB project with JBoss server?

 
Thanh Long Trinh
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The image is too small I can't read. What's the message?
 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1101
10
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic