[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openejb-user
Subject:    Re: javax.naming.NameNotFoundException
From:       David Blevins <david.blevins () visi ! com>
Date:       2009-03-18 23:22:48
Message-ID: BE30D33A-D757-44F1-A500-FA3E177A0B17 () visi ! com
[Download RAW message or body]


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




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic