Right. That worked. Thanks. 

Sent from my iPad

On Jun 27, 2013, at 3:10 AM, "Thomas Herzog" <[email protected]> wrote:

> Try to extract the common dependencies into a separate jar  and reference 
> this jar by the both web applications.
> 
> Mit freundlichen Grüßen
> 
> Thomas Herzog
> Softwareentwicklung
> 
> curecomp Software Services GmbH
> Hafenstrasse 47-51
> 4020 Linz
> 
> web: www.curecomp.com
> e-Mail: [email protected]
> tel: +43 (0)732 9015-5563
> mobile: +43 (0)664 8867 9829
> 
> 
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Romain Manni-Bucau [mailto:[email protected]] 
> Gesendet: Mittwoch, 26. Juni 2013 21:50
> An: [email protected]
> Betreff: Re: WARNING: Injection: No such property
> 
> Hi,
> 
> It sounds normal since classloaders isolate both apps Le 26 juin 2013 21:48, 
> "Patel, Sanjay" <[email protected]> a écrit :
> 
>> I have @Local EJB in one web application. If I inject EJB in JSF bean 
>> in same web application, it works fine.
>> 
>> When I try to inject it in JSF bean in another web application in same 
>> TomEE container, it fails and gives below WARNING.
>> 
>> WARNING: Injection: No such property
>> 'org.xyz.SearchController/personService' in class 
>> org.xyz.SearchController
>> 
>> This is how I inject.
>> 
>> @EJB
>> PersonServiceLocal personService;
>> 
>> TomEE log
>> 
>> INFO: Jndi(name=PersonServiceBeanLocal) -->
>> Ejb(deployment-id=PersonServiceBean)
>> Jun 26, 2013 2:15:50 PM 
>> org.apache.openejb.assembler.classic.JndiBuilder
>> bind
>> INFO:
>> Jndi(name=global/directory/PersonServiceBean!org.xyz.api.PersonService
>> Local)
>> --> Ejb(deployment-id=PersonServiceBean)
>> Jun 26, 2013 2:15:50 PM 
>> org.apache.openejb.assembler.classic.JndiBuilder
>> bind
>> INFO: Jndi(name=global/directory/PersonServiceBean) -->
>> Ejb(deployment-id=PersonServiceBean)
>> 
>> Sanjay
>> 

Reply via email to