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 » Unable to connect to Informix - JDBC

Post new topic  Reply to topic
 Unable to connect to Informix - JDBC « View previous topic :: View next topic » 
Author Message
chinnureddy
PostPosted: Fri Oct 02, 2015 10:00 am    Post subject: Unable to connect to Informix - JDBC Reply with quote

Newbie

Joined: 15 Sep 2013
Posts: 6

Hello,

I have a flow which connects to Informix using JDBC getJDBCType4Connection("test", JDBC_TransactionType.MB_TRANSACTION_AUTO);

Configurable service properties:

mqsireportproperties test -c JDBCProviders -o test -r

JDBCProviders
test
connectionUrlFormat='jdbc:informix-sqli://[serverName]:[portNumber]/[databaseName]:informixserver=[connectionUrlFormatAttr1];user=[user];password=[password]'
connectionUrlFormatAttr1='hp10'
connectionUrlFormatAttr2=''
connectionUrlFormatAttr3=''
connectionUrlFormatAttr4=''
connectionUrlFormatAttr5=''
databaseName='Order'
databaseType='default_Database_Type'
databaseVersion='default_Database_Version'
description='Order'
environmentParms='default_none'
jarsURL='default_Path'
maxConnectionPoolSize='0'
portNumber='1548'
securityIdentity='testidentity'
serverName='hp10'
type4DatasourceClassName='com.informix.jdbcx.IfxXADataSource'
type4DriverClassName='com.informix.jdbc.IfxDriver'

When my flow tries to establish connection it fails with reason jdbc:informix-sqli://HP10:1548/Order:informixserver
=hp10;user=mqsiUser;password=xxxxxxxx
error message: Incorrect password or user com.informix.asf.IfxASFRemote
Exception: mqsiUser is not known on the database server., SQLState value: IX000, vendor's error code: -951.

However this is not the user I set initially with mqsisetdbparms. The userid & password that were set originally with mqsisetdbparms still exists in registry under the path /var/prod/mqsi/mqsi/registry/<broker>/CurrentVersion/DSN/jdbc::test

I can't figure out from where it's taking the default user to connect to the Informix.

Any help is much appreciated.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Oct 02, 2015 10:04 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

is testidentity the actual name you used in mqsisetdbparms?

did you ensure that it was marked as a JDBC identity?
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
chinnureddy
PostPosted: Fri Oct 02, 2015 10:07 am    Post subject: Reply with quote

Newbie

Joined: 15 Sep 2013
Posts: 6

Yes this was used for testing the connectivity.

Command used:

mqsisetdbparms <brokername> -n jdbc::testidentity -u <username> -p <password>
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Oct 02, 2015 10:56 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

May be the password change since it was first setup?
Reset the password using mqsisetdbparms bounce the broker and try again...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Fri Oct 02, 2015 10:59 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

fjb_saper wrote:
May be the password change since it was first setup?
Reset the password using mqsisetdbparms bounce the broker and try again...


It's using the wrong userid.

bouncing the EG's not a bad idea, though.
_________________
chmod -R ugo-wx /
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 » Unable to connect to Informix - JDBC
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.