4 Replies Latest reply on Dec 15, 2003 12:36 PM by stanimir

    Problem when deploying a Corba enabled EJB

    stanimir

      Hi,
      I have created an EJB that could be called from CORBA Clients.
      My jboss.xml file include the following tags
      <invoker-bindings>
      <!--default invoker for stateless session beans using JRMP-->

      <invoker-proxy-binding-name>stateless-rmi-invoker</invoker-proxy-binding-name>

      <!--iiop invoker-->

      <invoker-proxy-binding-name>iiop</invoker-proxy-binding-name>

      </invoker-bindings>
      However, when I try to deploy it on JBoss.
      I have the following error:

      12:36:35,040 ERROR [EjbModule] Initialization failed
      org.jboss.deployment.DeploymentException: Failed to create WebClassLoader of class org.jboss.iiop.WebCL: ; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.iiop.WebCL).....


      Can anybody give me some idea what this error mean and how it could be fixed??
      Thank you.
      Stan.

        • 1. Re: Problem when deploying a Corba enabled EJB
          reverbel

          Looks like you're using the "default" JBoss configuration, which does not include IIOP support. Try specifying the "all" configuration when you start the server:

          run.sh -c all

          Cheers,

          Francisco

          • 2. Re: Problem when deploying a Corba enabled EJB
            stanimir

            Hi Francisco,
            thank you very much.
            I started JBoss using run -c all.
            Then, when I try to deploy my EJB in server/default/deploy directory, no message is displayed on the command prompt which means that the EJB is not deployed.

            Is the same directory where IIOP enabled EJB have to be deployed??

            Am I missing something in my EJB config (jboss.xml) ?

            Is there something to be done in the container configuration??

            Thank you very much.

            Stan.

            • 3. Re: Problem when deploying a Corba enabled EJB
              reverbel

              >Then, when I try to deploy my EJB in server/default/deploy directory, ...

              The deployment directory for congiguration "all" is server/all/deploy.

              Cheers,

              Francisco

              • 4. Re: Problem when deploying a Corba enabled EJB
                stanimir

                Yes it is.
                Thank you very much Francisco.

                By the way is there an example of a CORBA client accessing an EJB??

                How am I supposed to initialize the InitialContext and what System properties am I supposed to use??

                Some code sample would help me a lot.

                Thank you.
                Stan.