Skip to main content

developerWorks >  Information Management  >  Forums  >  DB2 Web Query for IBM i  >  developerWorks

MS SQL Adapter - Some tips to get it working    Point your RSS reader here for a feed of the latest messages in this thread


Tags for this thread: 

     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 0 - Pages: 1
daveo

Posts: 29
Registered: Aug 28, 2009 09:53:05 PM
MS SQL Adapter - Some tips to get it working
Posted: Nov 06, 2009 09:48:33 PM
Click to report abuse...   Click to reply to this thread Reply
We recently purchased the 2 new MS integration products, SpreadSheet Client and SQL Adapter. Whilst installation and set up of the Spreadsheet Client was a simple plug and play exercise the SQL Adapter was not so pleasant. It has taken nearly two months to finally get it working so I thought I should pass on some tips to saves others some headaches.

To get the product installed refer to the IBM install document ...
http://www-03.ibm.com/systems/resources/DB2_Web_Query_Install.pdf

Ensure that you have the very latest PTFs installed.

For setup refer to the IBM Using SQL Adapter document ...
http://www-03.ibm.com/systems/resources/db2_webquery_sqlserver.pdf

There are two key pieces of information the above document does not provide. That is the jdbc driver name and the syntax to use when setting up the connections. For those I would refer to the document provided on this forum ...
http://www.ibm.com/developerworks/forums/thread.jspa?threadID=279290&tstart=0

Adding to the document above, if you have multiple (named) instances of MS SQL on the one server then you will need to change the port no. to something other than the standard 1433. There are various Microsoft documents on this subject.

If after all of the above it is still not working then perhaps you have the same problem that we had. I expect this will particularly apply if you are not using WebSphere.

There is a file that needs to exist in the IFS. It is called SystemDefault.properties
It needs to exist in either ...
/QIBM/USERDATA/JAVA400/
or
/home/QWEBQRYADM

That file must contain the following line and it must be all in lowercase ...
java.version=1.5

To create the QWEBQRYADM dir ...

QSH CMD('mkdir /home/QWEBQRYADM')
QSH CMD('chmod 755 /home/QWEBQRYADM')
QSH CMD('chown qwebqryadm /home/QWEBQRYADM')

To create the SystemDefault.properties file use

EDTF SystemDefault.properties

Note that the file name is case sensitive. It must be exactly as above.
Add the line with java.version=1.5 from pos 1 and restart Web Query.

Good luck !
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums