ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Database connection for SQL Server

Post new topic  Reply to topic
 Database connection for SQL Server « View previous topic :: View next topic » 
Author Message
akmar2k
PostPosted: Mon Jul 09, 2007 8:01 am    Post subject: Database connection for SQL Server Reply with quote

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!

Ajmel
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Mon Jul 09, 2007 8:37 am    Post subject: Re: Database connection for SQL Server Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Is SQL jar visible from broker ?

Where have you placed this jar file ?
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
akmar2k
PostPosted: Mon Jul 09, 2007 11:09 am    Post subject: Issue resolved Reply with quote

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.

The connection was successful!

Thanks for the help!!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Database connection for SQL Server
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.