3 Replies Latest reply on Oct 14, 2011 1:31 AM by yanzheng

    Problems with Corba naming servise on Jboss.

    danyshark

      I am trying to connect to session bean via CORBA using jacorb client.
      I am using jboss 4.0.4 GA and net beans IDE. I have added the following line:
      <invoker-proxy-binding-name>iiop</invoker-proxy-binding-name>
      to the jboss.xml file in the session bean project.

      Is the jboss CORBA naming service should start automatically on port 3528?
      Or should I some how make it to start, because I don't see it via the TCPView?
      What should be the connection string to the naming service if the jboss is on the same computer?

      Please help me or give me some code examples.

      thanks!

        • 1. Re: Problems with Corba naming servise on Jboss.
          rohithadg

          As I remember, CORBA naming service not automatically start in "default" server configurations. start "all" server configurations, it is automatically start the CORBA naming service.

          -Rohitha-

          • 2. Re: Problems with Corba naming servise on Jboss.
            danyshark

            Thanks!
            I am now connected to the Name Service.
            The problem now is that there is no entry in the Name servise of my bean.
            How do I tell jboss to insert my ejb3 bean to the corba naming service?
            As i read in the menual i should specify it in the jboss.xml file of the bean:

            <?xml version="1.0" encoding="UTF-8"?>

            <enterprise-beans>

            <ejb-name>CalculatorSessionBean</ejb-name>
            <jndi-name>app.calculator.CalculatorSessionBean</jndi-name>
            <configuration-name>Standard Stateless SessionBean</configuration-name>
            <invoker-bindings>

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


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

            </invoker-bindings>

            </enterprise-beans>


            Am i missing somthing?

            • 3. Re: Problems with Corba naming servise on Jboss.
              yanzheng

              how you can connect to corba naming service?  i meet exceptiong when i use naming service