Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

why am i getting this error??

843854Jul 31 2003 — edited Jul 31 2003
Hello everybody,
I am trying to connect to a SQLBase 7.5.1 which is the backend database to one of our legacy applications.
When i try to connect to it..using this code..
String strDbURL = "jdbc:sqlbase://192.168.xxx.xxx:2155/TEST";
		Class.forName("jdbc.gupta.sqlbase.SqlbaseDriver");
		Connection connection = DriverManager.getConnection(strDbURL,"SYSADM","SYSADM");
		System.out.println("Connected to the database");
		connection.close();
I get the following error:
java.sql.SQLException: SqlbaseSession(): failure in connection of host!

Can anyone tell me why am i getting this error message.
Thanks in advance.
Firasath.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 28 2003
Added on Jul 31 2003
2 comments
242 views