Friday, 6 September 2013

why the injection fails but works

why the injection fails but works

I use weblogic and have local ejb. I inject variable using jndi lookup, it
gives naming exception but variable is not null and working as expected.
And also ejb annotation does not work for that variable.
sample log I have is : ####<Sep 6, 2013 2:05:41 PM EEST> <Info>
<com.xxxx.Controller> <pl-2> <traffic-2> <[ACTIVE] ExecuteThread: '39' for
queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>>
<BEA1-1F7B25180C5C8571DA7A> <> <1378465541889> <BEA-000000>
<[AutoCallNotificaiton]:naming exception:While trying to look up
comp/env/com.xxxx.common.traffic.api.CommonInterface in
/app/ejb/common-impl-acn-0.0.1-SNAPSHOT.jar#CommonImplAutoCallNotification.>

No comments:

Post a Comment