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 » WMB 7.0.0.5 wiht SolidDb

Post new topic  Reply to topic
 WMB 7.0.0.5 wiht SolidDb « View previous topic :: View next topic » 
Author Message
grsharma
PostPosted: Thu Jun 27, 2013 9:55 am    Post subject: WMB 7.0.0.5 wiht SolidDb Reply with quote

Newbie

Joined: 27 Jun 2013
Posts: 3

Hi All ..

I am trying to configure WMB 7.0 with SolidDB database on a linux 32 bit machine but the two just refuse to talk to each other. I have installed ODBC Database extender and followed all the instructions as found over the internet.

When I run 'solsql' with the DSN name, it works but when I try mqsicvp command with the same DSN name, it fails and I get this error:

BIP2322E: Database error: SQL State ''HY000''; Native Error Code '0'; Error Text ''[DataDirect][ODBC lib] Unicode converter truncated character''.
The error has the following diagnostic information: SQL State ''HY000'' SQL Native Error Code '0' SQL Error Text ''[DataDirect][ODBC lib] Unicode converter truncated character''



Now, both are 32 bit, and I looked and tried everywhere for this information but not able to configure ... appreciated any help / pointers regarding the same.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Jun 27, 2013 11:01 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

What is the full path of your solidDB Client library?

Does your soliddb odbcini stanza look like this?

Code:
;# SolidDB Stanza
[SOLID_DB]
Driver=/opt/solidDB/bin/soca5x6465.so
Description=IBM Solid DB ODBC database
Database=SOLIDDB_DB


What is the value of the environment variable SOLIDDIR ? Is this value visible from the standpoint of the MQBRKRS service Id? ie. sudo to MQBRKRS and query the value.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
grsharma
PostPosted: Thu Jun 27, 2013 5:37 pm    Post subject: Reply with quote

Newbie

Joined: 27 Jun 2013
Posts: 3

Here is how my solidDB looks like

Quote:
[ESBDB]
Driver=/opt/solidDB/soliddb-6.5/bin/socl2x65.so
Description=IBM Solid DB ODBC database
Database=ESBDB



@lancelotline : the 'so' (soca5x6465.so) you have mentioned does not exist in /bin. The IBM documentation also tells to set socl2x65.so in driver path ( linux 32 on x86 ).

$SOLIDDIR = /var/mqsi/odbc ( where the solid.ini file is placed ) and I am running from 'root'.

could it be something with driver type ? I am able to find much documentation on how this works.
Quote:
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Jun 27, 2013 9:00 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

grsharma wrote:

$SOLIDDIR = /var/mqsi/odbc ( where the solid.ini file is placed ) and I am running from 'root'.

[/quote]

Don't run broker under the root id. There are many posts here explaining why this is really NOT a good idea.
Did you do as my esteemed colleague has suggested?

Is the SOLIDIR environment set and visible to the user under which broker is running?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Jun 28, 2013 3:23 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Agree with smdavies. Looks like you have not followed the installation instructions step-by-step for either product.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
grsharma
PostPosted: Thu Jul 11, 2013 12:27 am    Post subject: Reply with quote

Newbie

Joined: 27 Jun 2013
Posts: 3

Hi .. thanks for your support. I did follow the manual exactly how it said ( and that was the mistake ). It seems that soliddb Unicode driver does not work when connecting from WMB. Therefore updated the driver ( to ASCII) for soliddb and it worked. Correct driver is : sacl2x65.so.

I am pasting my configuration for everyone's benefit:

odbc.ini
---------

[ODBC Data Sources]
ESBDB=IBM SolidDB Datasource

[SOLIDDB]
Driver=/opt/solidDB/soliddb-6.5/bin/sacl2x65.so
Description=IBM Solid DB ODBC database
Database=SOLIDDB

[ODBC]
InstallDir=/opt/ibm/mqsi/7.0/ODBC/V6.0
UseCursorLib=0
IANAAppCodePage=4


odbcinst.ini
-----------------
[ODBC]
Trace=no
TraceFile = /tmp/sql.log
Threading=2

solid.ini
---------
[Data Sources]
SOLIDDB=tcp 127.0.0.1 2315
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 » WMB 7.0.0.5 wiht SolidDb
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.