7 Replies Latest reply on Jan 21, 2016 8:53 AM by Ramesh Reddy

    Access Teiid runtime remotely through Admin API

    Prakash Jape Newbie

      I have scenario where jboss and teiid install on one machine and client application deploy on other machine. I am using Admin API to connect Teiid runtime in my client. I am fetching an admin object like

       

       

      CallbackHandler cbh = new AuthenticationCallbackHandler(userName, password.toCharArray());

      admin = AdminFactory.getInstance().createAdmin(ModelControllerClient.Factory.create(ip-address, 9990,cbh));

       

       

      It is throwing error as

      org.teiid.webui.share.exceptions.DataVirtUiException: TEIID70015 java.io.IOException: java.net.ConnectException: WFLYPRT0053: Could not connect to http-remoting://xx.xxx.xxx.xx:9990. The connection failed

       

       

      This works when both jboss with teiid and client application on same machine means when providing localhost or 127.0.0.1.

       

       

      But I need client on different machine, Please help me out.