0 Replies Latest reply on Sep 15, 2004 10:40 AM by Andy Rouse

    Using CORBA to access EJB

    Andy Rouse Newbie

      I developed a J2EE app using the Sun JDK app server and am now trying to get it to work with JBoss app server. So I installed and ran the JBoss app server and it seemed to load my app after I moved the EAR file to the deploy directory.

      However, when I try to connect to one of my EJBs with my test app, I get the following error:

      org.omg.CORBA.OBJECT_NOT_EXIST: minor code: 0 completed: No

      I use the following method in my client app, which is not using the application framework:

      initial = new InitialContext();
      initial.lookup( "corbaname:iiop:rose:3528#Router")

      I am using 'jboss -c all' and I see the ORB starting so I know that is not the problem but I must not have things set up properly. I tried including a jboss.xml file in my EAR to map a JNDI name to my EJB but it seems to have no effect.

      What do I have to do to deploy an EAR so a CORBA client can access one of my EJBs?