4 Replies Latest reply on Mar 22, 2013 1:31 PM by divadatabase

    Socket Server Connection

    divadatabase

      Hi,

       

      I have Teiid installed locally on my machine, and I have a VDB with a simple CSV file, thats it (declared as a resource adapter in standalone-teiid.xml).

       

      1. When I deploy it using Windows CLI (standalone.bat -c standalone-teiid.xml), it says that my VDB has been deployed. It is supposed to say 'Active' as well? If not, does it mean its not accessible?

       

      2. In Eclipse, Im using JDBC to make a connection and eventually query my VDB. I am getting tons of errors, but my first one is:

       

      Exception in thread "main" java.lang.reflect.UndeclaredThrowableException

                at com.sun.proxy.$Proxy0.logon(Unknown Source)

                at org.teiid.net.socket.SocketServerConnection.logon(SocketServerConnection.java:173)

       

      Here is my url:

       

      String url = "jdbc:teiid:Baseball@mm://localhost:31000";

       

      and here is my connection statement:

       

      connection = DriverManager.getConnection(url, "user", "user");

       

      What seems to be the problem?

       

      Thanks in advance!