0 Replies Latest reply on Jan 13, 2014 3:35 AM by Aakash Doshi

    javax.naming.NameNotFoundException: Service not bound in jboss 6.1.0 Final(Community version)???

    Aakash Doshi Newbie

      EntityBeans and SessionBeans are deploy properly.

      Sessionbeans are called successfully....but then entitybeans  are not called......

       

      My application flow are as below.

      Delegate -------->SessionFacade----------->SessionBean--------------->EntityBeans

                                (EJB 3.0)                      (EJB 3.0)                       (EJB 2.0)

       

      Remote Call from delegate to facade and local call from SessionFacade to SessionBean is successfully done.

      But SessionBean to EntityBean call not running successfully...and i have the NameNotFoundException: Service not bound.

       

      Sanpshot of my jboss.log

       

      installing bean: ejb/product-new-entities.jar#Service,uid186473112

      11:43:55,880 INFO  [EjbDeployer]   with dependencies:

      11:43:55,880 INFO  [EjbDeployer]   and supplies:

      11:43:55,880 INFO  [EjbDeployer] jndi:Service

      11:43:55,880 INFO  [EjbDeployer] jndi:ejb/billing.ServiceLocalHome

      17:41:54,536 INFO  [EjbDeployer] installing bean: ejb/abc-new-entities.jar#PMHolidayDetail,uid1410491631

      17:41:54,536 INFO  [EjbDeployer]   with dependencies:

      17:41:54,536 INFO  [EjbDeployer]   and supplies:

      17:41:54,536 INFO  [EjbDeployer] jndi:HolidayDetail

      17:41:54,536 INFO  [EjbDeployer] jndi:ejb/billing.HolidayDetailLocalHome

      17:41:54,536 INFO  [EjbDeployer] installing bean: ejb/abc-new-entities.jar#DepositType,uid60862984

      17:41:54,536 INFO  [EjbDeployer]   with dependencies:

      17:41:54,536 INFO  [EjbDeployer]   and supplies:

      17:41:54,536 INFO  [EjbDeployer] jndi:DepositType

      17:41:54,536 INFO  [EjbDeployer] jndi:ejb/billing.DepositTypeLocalHome

       

      My jboss.xml are as follwes:

       

      <entity>

      <ejb-name>Service</ejb-name>

      <local-jndi-name>ejb/billing.ServiceLocalHome</local-jndi-name>

      <configuration-name>Abc Standard CMP 2.x EntityBean with cache invalidation for Master Data with Short Cache Timeout</configuration-name>

      </entity>

       

      Thanks in advance....................