5 Replies Latest reply on Oct 29, 2010 1:36 AM by vplanat

    Accessing Teiid Server from a remote Designer

    vplanat

      Hi,

       

      I'm facing a connection pb when I try to access my Teiid Server from a remote Designer.

      I create my connection with mm://IP@:31443 admin/admin and use the "Test" button.

      I get the error message "Unable to connect to the specific Teiid Server ....."

      I checked on the server side

      - could get traffic arriving on port 31443 (tshark -R "tcp.port=31443" -i any). But just a TCP request/response (when I do it on localhost I get a bunch of socket messages both ways)

      - No log in server.log

      The error message says that my server is perhaps offline, but could not find any doc in the Teiid-admin guide about "offline" mode. ....

       

      A bit lost ..

      Could somebody help me ?

       

      Regards

       

      vplanat

        • 1. Re: Accessing Teiid Server from a remote Designer
          rareddy

          Vincent,

           

          Which version of the Teiid Server are you using? If you are using one the latest 7.2-xxx releases, the "admin" connection is by default secure and uses anonymous SSL. So, try using "mms://ip:31443" as the URL. This is make sure that none of the passwords for datassources are sent clear channel.

           

          Thanks.


          Ramesh..

          • 2. Re: Accessing Teiid Server from a remote Designer
            vplanat

            Thanks very much for your answer

             

            I've installed a 7.1 version.

            I've tried nevertheless the mms: option without success. Still same answer.

            I still get this small TCP socket traffic but nothing in the server.log.

            Do you have a thread of investigation I could follow ?

             

            Thanks again for your support

             

            vplanat

            • 3. Re: Accessing Teiid Server from a remote Designer
              rareddy

              Vincent,

               

              hmm, did it just stopped working or it never worked for you?

               

              You can check the admin connection by installing the AdminShell tool, and issueing a "connectAsAdmin()" call. This is exactly same call that Designer does. Otherwise, use "org.teiid.adminapi.AdminFactory" class in the client jar and write a simple test using "createAdmin" method on it. These will rule out any connection issues to the Teiid Server.

               

              Ramesh..

              • 4. Re: Accessing Teiid Server from a remote Designer
                rareddy

                Also, I just saw the "remote" part. Did you start the JBoss AS using "-b IP" option? Do you have any firewalls preventing the access to the Server?

                • 5. Re: Accessing Teiid Server from a remote Designer
                  vplanat

                  Thanks very much for your answer,

                  Yes -b 0.0.0.0 with firewall & selinux down resolved the issue ..!

                  Thanks a lot

                  Regards

                  vplanat