Hi all,
I'm using JBoss AS 4..0.4.GA and EJB3 RC9 and have serveral applications running
ok.
For one new application, my session bean must access a persistence unit that was
deployed in another jar file. This is not working.
The jar file with entities was deployed with no problems.
The session bean code is:
@Stateless
public class ServicoX90Bean implements ... {
@PersistenceConctext(unitName="sigrad-PU")
EntityManager em;
...
}
The log is:
14:42:55,149 INFO [EARDeployer] Started J2EE application:
file:/home/leandro/apps/jboss-4.0.4.GA/server/default/deploy/x90.ear
14:42:55,151 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- MBeans waiting for other MBeans ---
ObjectName:
jboss.j2ee:ear=x90.ear,jar=sigrad-entidades.jar,name=GerenciadorDeEntidadesBean,service=EJB3
State: NOTYETINSTALLED
I Depend On:
persistence.units:ear=x90.ear,jar=sigrad-entidades.jar,unitName=sigrad-PU
ObjectName: jboss.j2ee:ear=x90.ear,jar=x90-ejb.jar,name=ServicoX90Bean,service=EJB3
State: NOTYETINSTALLED
I Depend On:
persistence.units:unitName=sigrad-PU
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: persistence.units:ear=x90.ear,jar=sigrad-entidades.jar,unitName=sigrad-PU
State: NOTYETINSTALLED
Depends On Me:
jboss.j2ee:ear=x90.ear,jar=sigrad-entidades.jar,name=GerenciadorDeEntidadesBean,service=EJB3
ObjectName: persistence.units:unitName=sigrad-PU
State: NOTYETINSTALLED
Depends On Me:
jboss.j2ee:ear=x90.ear,jar=x90-ejb.jar,name=ServicoX90Bean,service=EJB3
Thanks for any help,
Leandro
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977950#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...