User development,
A new message was posted in the thread "EJB 3.0 - Injection via annotation into a
servlet":
http://community.jboss.org/message/522458#522458
Author : jaikiran pai
Profile :
http://community.jboss.org/people/jaikiran
Message:
--------------------------------------------------------------
Does the tutorial.jar that you created and placed at the root of the .ear contain any
EJBs? Looking at the exception stacktrace, it's being considered as an application
client instead of a EJB deployment. What does the contents of the MANIFEST.MF of that jar
look like? Also, you have placed the persistence.xml in the wrong location in the .war.
One of the valid locations to place the persistence.xml in the .war, is the
.war/WEB-INF/classes folder, you might want to move it there.
I would also recommend that you leave out the IDE from the picture, atleast till the issue
is solved. I usually use Ant to build the deployments. That way, i don't have to worry
about IDE messing up the way deployments are created.
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/522458#522458