Posted: Mon Jul 09, 2007 8:01 am Post subject: Database connection for SQL Server
Novice
Joined: 01 Jun 2006 Posts: 22
Hi,
I am trying to create a new Database connection for SQL Server database on Windows. The ultimate aim for me is to create a message map between xml and a table in the database.
But I am now stuck at the database connection. I am unable to connect to the database when I use the JDBC drivers. I had used the microsoft mssqlserver.jar which contains com.microsoft.jdbc.sqlserver.SQLServerDriver class. It gave me "No suitable driver" error.
I had used the sqlserver.jar from SQLLIB IBM\folder that contains the SQLServerDriver class from ibm. It gives out an error for not finding the BaseDriver class.
Am I doing something wrong here? Do I need any additional adapters here to connect to the SQL Server 2000 database from MB?
Any help is highly appreciated. I am kind of stuck!
Posted: Mon Jul 09, 2007 11:09 am Post subject: Issue resolved
Novice
Joined: 01 Jun 2006 Posts: 22
Yes. the jar was visible from the broker.
The issue got resolved.
There were three seperate jar files sqlserver.jar;base.jar;util.jar;
For some reason, broker toolkit was reading from only the first jar file.
I created a new jar file by extracting the contents of all the three jar files mentioned above and gave the new jar file in the driver path.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum