1 Reply Latest reply on Mar 11, 2008 4:04 AM by jaikiran pai

    EJB cannot be Bound

    Allan Oliveira Newbie

      Hi everyone

      I deployed application and i got below log on my server, my doubt is the ejb SitesSB (a session bean) i can look up or not ?
      I didnt understand this message:

      SitesSB cannot be Bound, doesn't have local and local home interfaces

      2008-03-10 14:25:10,860 DEBUG [org.jboss.ejb.EjbModule] startService, starting container: SitesSB
      2008-03-10 14:25:10,860 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:jndiName=ejb/br/com/gcm/ejb/sb/SitesSB,service=EJB
      2008-03-10 14:25:10,860 DEBUG [org.jboss.ejb.StatelessSessionContainer] Starting jboss.j2ee:jndiName=ejb/br/com/gcm/ejb/sb/SitesSB,service=EJB
      2008-03-10 14:25:10,860 DEBUG [org.jboss.ejb.StatelessSessionContainer] Begin java:comp/env for EJB: SitesSB
      2008-03-10 14:25:10,860 DEBUG [org.jboss.ejb.StatelessSessionContainer] TCL: org.jboss.util.loading.DelegatingClassLoader@26c7da
      2008-03-10 14:25:10,860 DEBUG [org.jboss.ejb.StatelessSessionContainer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered.
      2008-03-10 14:25:10,860 DEBUG [org.jboss.ejb.StatelessSessionContainer] Binding resource manager: jdbc/MARLIN to JDNI ENC as: jdbc/MARLIN
      2008-03-10 14:25:10,860 DEBUG [org.jboss.ejb.StatelessSessionContainer] Binding resource manager: jdbc/APAESP to JDNI ENC as: jdbc/APAESP
      2008-03-10 14:25:10,860 DEBUG [org.jboss.ejb.StatelessSessionContainer] Binding resource manager: jdbc/GCM2 to JDNI ENC as: jdbc/GCM2
      2008-03-10 14:25:10,860 DEBUG [org.jboss.ejb.StatelessSessionContainer] End java:comp/env for EJB: SitesSB
      2008-03-10 14:25:10,860 DEBUG [org.jboss.ejb.plugins.local.BaseLocalProxyFactory] SitesSB cannot be Bound, doesn't have local and local home interfaces
      2008-03-10 14:25:10,876 DEBUG [org.jboss.proxy.ejb.ProxyFactory] (re-)Binding Home ejb/br/com/gcm/ejb/sb/SitesSB
      2008-03-10 14:25:10,876 INFO [org.jboss.proxy.ejb.ProxyFactory] Bound EJB Home 'SitesSB' to jndi 'ejb/br/com/gcm/ejb/sb/SitesSB'
      2008-03-10 14:25:10,876 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:service=EJB,plugin=pool,jndiName=ejb/br/com/gcm/ejb/sb/SitesSB
      2008-03-10 14:25:10,876 DEBUG [org.jboss.ejb.plugins.StatelessSessionInstancePool] Starting jboss.j2ee:service=EJB,plugin=pool,jndiName=ejb/br/com/gcm/ejb/sb/SitesSB
      2008-03-10 14:25:10,876 DEBUG [org.jboss.ejb.plugins.StatelessSessionInstancePool] Started jboss.j2ee:service=EJB,plugin=pool,jndiName=ejb/br/com/gcm/ejb/sb/SitesSB
      2008-03-10 14:25:10,876 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:service=EJB,plugin=pool,jndiName=ejb/br/com/gcm/ejb/sb/SitesSB dependent components: []
      2008-03-10 14:25:10,876 DEBUG [org.jboss.resource.connectionmanager.CachedConnectionInterceptor] start called in CachedConnectionInterceptor
      2008-03-10 14:25:10,876 DEBUG [org.jboss.ejb.StatelessSessionContainer] Started jboss.j2ee:jndiName=ejb/br/com/gcm/ejb/sb/SitesSB,service=EJB
      2008-03-10 14:25:10,876 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:jndiName=ejb/br/com/gcm/ejb/sb/SitesSB,service=EJB dependent components: []


        • 1. Re: EJB cannot be Bound
          jaikiran pai Master

          It's a DEBUG log so you can ignore it, i guess. The more important (INFO) log is this:


          2008-03-10 14:25:10,876 INFO [org.jboss.proxy.ejb.ProxyFactory] Bound EJB Home 'SitesSB' to jndi 'ejb/br/com/gcm/ejb/sb/SitesSB'


          So you can lookup the bean using the jndi-name ejb/br/com/gcm/ejb/sb/SitesSB.