2 Replies Latest reply on Jan 28, 2013 11:14 PM by Joel Ruisi

    Java Admin API

    Joel Ruisi Newbie



      I'm trying to connect to the admin server to programatically deploy a vdb.  I keep getting the following error:


      TEIID20020 Error establishing socket to host and port: localhost:9999. Reason: Unsupported version: 0


      Here's the code I'm using:


      Admin admin = AdminFactory.getInstance().createAdmin("admin",

                                              "joel".toCharArray(), "mm://localhost:9999");


      Pretty simple, but not working.


      Grateful for any help.