Hello,
When I am trying to deploy my sample application in EJB3 the I am getting following error
17:38:46,013 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- MBeans waiting for other MBeans ---
ObjectName: jboss.j2ee:jar=test.jar,name=Bank,service=EJB3
State: NOTYETINSTALLED
I Depend On:
persistence.units:unitName=test
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: persistence.units:unitName=test
State: NOTYETINSTALLED
Depends On Me:
jboss.j2ee:jar=test.jar,name=Bank,service=EJB3
My persistence.xml file is:-
<?xml version="1.0" encoding="UTF-8"?>
| <persistence
xmlns="http://java.sun.com/xml/ns/persistence"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
| version="1.0">
| <persistence-unit name="test">
| <jta-data-source>java:/eCMDataSource</jta-data-source>
| </properties-->
| </persistence-unit>
| </persistence>
I am doing injection like this
@PersistenceContext(unitName="test")
private EntityManager manager=null;
When I was running my client then it was throwing NameNotFoundException.
Please help me..
Thanks,
Ravi
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106346#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...