7 Replies Latest reply on Jul 15, 2011 9:11 AM by jaikiran pai

    Local/Remote interface annotation issue in session bean

    Prasad Deshpande Expert



      This seems to be related to https://issues.jboss.org/browse/AS7-1112.


      I have a bean which has both remote & local interface, & on the interface I specify @Remote/@Local annotation (not on the bean). While deploying, it first gives warning saying :


      10:06:23,171 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-3) No jndi bindings will be created for EJB: Security since no views are exposed


      And, then it fails due to dependency on the bean for which it hasn't generated any JNDI views. I've attached server.log


      However, if I put @Local/@Remote annotation on the bean, deployment works without any issue. For me, there are quite a few places in my application where I've specified @Local/@Remote annotations on the interface, rather than bean. Any chance that this issue might get fixed before/in 7.0 final release?