Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7782

EJB3 over IIOP on JBOSS5.1.0 GA

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • JBossAS-5.1.0.GA
    • EJB
    • None

      I encourter a problem at EJB3 over IIOP.
      I deploy the EJB module on JBoss 5.1.0 GA,and run the JBoss server by "run.bat -c all". It is succeed to deploy and boot the JBoss server. But I found it is no any relate naming service under JBoss CorbaNaming.It seems that the deployer no bind the EJB3 Bussiness Remote Interface to the Corbanaming service.
      My java code is under:
      EJB3 Bussiness Remote:

      package com.olm.ejb3;

      public interface HW {
      public String helloworld();
      }

      EJB3 Bean Implement:

      package com.olm.ejb3;

      @javax.ejb.Remote(HW.class)
      @javax.ejb.Stateless(name="HWBean")
      public class HWBean implements HW{

      public String helloworld()

      { return "hello,world"; }

      }

      Deployment Descriptor(jboss.xml):

      <jboss>
      <enterprise-beans>
      <session>
      <ejb-name>HWBean</ejb-name>
      <configuration-name>Standard Stateless SessionBean</configuration-name>
      <invoker-bindings>
      <invoker>
      <invoker-proxy-binding-name>iiop</invoker-proxy-binding-name>
      </invoker>
      </invoker-bindings>
      </session>
      </enterprise-beans>
      </jboss>

      what can I do for the next?

        1. jboss.xml
          0.5 kB
        2. HWEJB3.jar
          2 kB
        3. HWBean.java
          0.2 kB
        4. HW.java
          0.1 kB

              rhn-engineering-cdewolf Carlo de Wolf
              error_t_jira e t (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: