Hi, Peter --

The failure in your connection attempt probably stems from the URL --

   jdbc:virtuoso://otherhostname:8890/DATABASE=sparql/UID=user/PWD=pass

Most likely, you are working with the default port settings for this
database, which puts the HTTP listener at port 8890.  You can see
this in the [HTTPServer] stanza of the active .ini file --

   [HTTPServer]
   ServerPort                  = 8890


The default listener for data access connections (whether ODBC, JDBC,
OLE DB, or ADO.NET) is port 1112 -- and if you change your URL to use
this port, you should find the connection succeeds --

   jdbc:virtuoso://otherhostname:1112/DATABASE=sparql/UID=user/PWD=pass

You can find this port specified in the [Parameters] stanza of the
active .ini file --

   [Parameters]
   ServerPort               = 1112

This, with the sample applications Hugh provided, should get you past
this hiccup.

Be seeing you,

Ted



-- 
A: Yes.                      http://www.guckes.net/faq/attribution.html
| Q: Are you sure?
| | A: Because it reverses the logical flow of conversation.
| | | Q: Why is top posting frowned upon?

Ted Thibodeau, Jr.           //               voice +1-781-273-0900 x32
Evangelism & Support         //        mailto:tthibod...@openlinksw.com
OpenLink Software, Inc.      //              http://www.openlinksw.com/
                                 http://www.openlinksw.com/weblogs/uda/
OpenLink Blogs              http://www.openlinksw.com/weblogs/virtuoso/
                               http://www.openlinksw.com/blog/~kidehen/
    Universal Data Access and Virtual Database Technology Providers

Reply via email to