On Mar 18, 2009, at 12:53 AM, jooocz wrote:

My problem now when I run the file :
INFO - .................
INFO - Jndi(name=UserAccountFacadeRemote) -->
Ejb(deployment-id=UserAccountFacade)
INFO - Jndi(name=DostGroupFacadeRemote) -->
Ejb(deployment-id=DostGroupFacade)
INFO - Jndi(name=PerformersLogFacadeRemote) -->
Ejb(deployment-id=PerformersLogFacade)
INFO - Jndi(name=BudgetMatrixBeanRemote) -->
Ejb(deployment-id=BudgetMatrixBean)
INFO - Jndi(name=MFOBeanImplLocal) --> Ejb(deployment-id=MFOBeanImpl)
ERROR - Jndi name could not be bound; it may be taken by another ejb.
Jndi(name=openejb/Deployment/BudgetMatrixBean/ ph.gov.dost.performers.session.BudgetMatrixRemote)
INFO - Undeploying app: classpath.ear
ERROR - Application could not be deployed:  classpath.ear

Seems you have two copies of the BudgetMatrixBean in your app. The "INFO - Found EjbModule in classpath:" log lines should give you an indication of where it might be coming from.

It is possible to configure OpenEJB to create more complex internal IDs for each EJB, but this also means you'll have to deal with more complex JNDI names for everything. IMO, it's far easier to rename one or both of the clashing beans.

-David




Reply via email to