4 Replies Latest reply on Sep 29, 2011 8:41 AM by mign

    How to make remote lookup work in AS 7?

    mign

      What do I have to configure to make remote JNDI lookup work in AS 7?

       

      In my standalone.xml remoting seems to be active:

          <subsystem xmlns="urn:jboss:domain:remoting:1.0"/>

      and also bound to a port:

          <socket-binding name="remoting" port="4447"/>

       

      There is also a JNDI port configured:

          <socket-binding name="jndi" port="1033"/>

       

       

      Is there mor to activate??

       

      With 'netstat -ln' nothing is listening at port 4447 nor at port 1033. The effect of my programmatic lookup is therefore a java.net.ConnectException.

       

      Any ideas welcome!

        • 1. Re: How to make remote lookup work in AS 7?
          jaikiran

          Accessing JNDI remotely isn't yet supported in AS7.

          • 2. Re: How to make remote lookup work in AS 7?
            mign

            So just to be sure there is no misunderstanding...

            In AS 7.0.1.Final I cannot have the following code executed on a remote client?

             

            Context ctx = new InitialContext();
            ctx.lookup("...");

            • 3. Re: How to make remote lookup work in AS 7?
              jaikiran

              mign wrote:

               

               

              In AS 7.0.1.Final I cannot have the following code executed on a remote client?

               

              Context ctx = new InitialContext();
              ctx.lookup("...");

              Yes, that's correct - you won't  be able to connect to the JNDI on AS 7.0.1, from a remote client using the JNDI API like above.

              1 of 1 people found this helpful
              • 4. Re: How to make remote lookup work in AS 7?
                mign

                So I am wondering

                 

                * where are the release notes, so that I would not have wasted several days of effort with the migration?

                 

                * why is there a jndi port configuration on the admin console which might lead to the impression remote connectivity could be working?

                 

                * why is it called 7.0.1.Final and not 7.0.0.prealpha?

                 

                * what are the plans regarding this feature? Or do you think it is not really required by the specification? Or maybe do people not need remote connectivity and prefer to have some decoupled system without much connectivity?