2 Replies Latest reply on Apr 19, 2006 2:44 AM by aear77

    Problems bindings EJBs on JNDI

    aear77

      Hello,

      We are new with JBoss 4.0.3SP1. We have tried to deploy our application from Jboss 3. We have some EJBs on a jar file. It seems that all is deployed but when we see the log we find this error for every EJB:

      2006-04-18 11:19:01,421 DEBUG [org.jboss.ejb.StatelessSessionContainer] Starting jboss.j2ee:jndiName=ChiselGateway,service=EJB
      2006-04-18 11:19:01,421 DEBUG [org.jboss.ejb.StatelessSessionContainer] Begin java:comp/env for EJB: ChiselGateway
      2006-04-18 11:19:01,421 DEBUG [org.jboss.ejb.StatelessSessionContainer] TCL: org.jboss.util.loading.DelegatingClassLoader@bbf7aa
      2006-04-18 11:19:01,421 DEBUG [org.jboss.ejb.StatelessSessionContainer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered.
      2006-04-18 11:19:01,437 DEBUG [org.jboss.ejb.StatelessSessionContainer] End java:comp/env for EJB: ChiselGateway
      2006-04-18 11:19:01,437 DEBUG [org.jboss.ejb.plugins.local.BaseLocalProxyFactory] ChiselGateway cannot be Bound, doesn't have local and local home interfaces
      2006-04-18 11:19:01,437 DEBUG [org.jboss.ejb.StatelessSessionContainer] Starting failed jboss.j2ee:jndiName=ChiselGateway,service=EJB
      java.lang.RuntimeException: invoker is null: jboss:service=invoker,type=jrmp
      at org.jboss.proxy.ejb.ProxyFactory.setupInvokers(ProxyFactory.java:244)
      at org.jboss.proxy.ejb.ProxyFactory.start(ProxyFactory.java:228)
      at org.jboss.ejb.SessionContainer.startInvokers(SessionContainer.java:421)
      at org.jboss.ejb.SessionContainer.startService(SessionContainer.java:383)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
      at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)


      Does someone know any idea? Could it be a problem with ejb-jar?
      This is the fragment of ejb-jar where we define this:


      <ejb-name>ChiselGateway</ejb-name> com.whitestone.chisel.framework.ejb.chiselgateway.ChiselGatewayHome
      com.whitestone.chisel.framework.ejb.chiselgateway.ChiselGateway
      <ejb-class>com.whitestone.chisel.framework.ejb.chiselgateway.ChiselGatewayEJB</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>


      This is the jboss.xml:

      <ejb-name>ChiselGateway</ejb-name>
      <jndi-name>ChiselGateway</jndi-name>



      Thank you very much.

      Regards,

      aear77

        • 1. Re: Problems bindings EJBs on JNDI
          jaikiran

           

          2006-04-18 11:19:01,437 DEBUG [org.jboss.ejb.StatelessSessionContainer] Starting failed jboss.j2ee:jndiName=ChiselGateway,service=EJB


          I dont think this should be an issue, since its just a DEBUG message.


          • 2. Re: Problems bindings EJBs on JNDI
            aear77

            Thank jaikiran,

            It could be only a DEBUG message but why do you think about the RuntimeException?

            The problem is that this EJB is not registered on JNDI so we can't call it after.

            Thank you very much.

            Regards,

            aear77