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 » [TeraJDBC 13.10.00.10] [Error 8017] [SQLState 28000]

Post new topic  Reply to topic
 [TeraJDBC 13.10.00.10] [Error 8017] [SQLState 28000] « View previous topic :: View next topic » 
Author Message
akidase
PostPosted: Mon Nov 12, 2012 11:22 am    Post subject: [TeraJDBC 13.10.00.10] [Error 8017] [SQLState 28000] Reply with quote

Centurion

Joined: 10 Jan 2011
Posts: 124

Error faced:
Quote:
[Teradata Database] [TeraJDBC 13.10.00.10] [Error 8017] [SQLState 28000] The UserId, Password or Account is invalid.


Code:
C:\Program Files\IBM\MQSI\7.0>mqsireportproperties MB7BROKER -c JDBCProviders -o  Teradata -r


Code:

JDBCProviders
  Teradata
    connectionUrlFormat='jdbc:teradata://[serverName]/DATABASE=[databaseName],DBS_PORT=[portNumber],TMODE=ANSI,ACCOUNT=[user]'
    connectionUrlFormatAttr1=''
    connectionUrlFormatAttr2=''
    connectionUrlFormatAttr3=''
    connectionUrlFormatAttr4=''
    connectionUrlFormatAttr5=''
    databaseName='default_Database_Name'
    databaseType='Teradata'
    databaseVersion='default_Database_Version'
    description='default_Description'
    environmentParms='default_none'
    jarsURL='<JDBC DRIVER INSTALL DIRECTORY>\lib'
    maxConnectionPoolSize='0'
    portNumber='1025'
    securityIdentity='default_User@default_Server'
    serverName='default_Database_Server_Name'
    type4DatasourceClassName='com.teradata.jdbc.TeraDataSource'
    type4DriverClassName='com.teradata.jdbc.TeraDriver'

BIP8071I: Successful command completion.


Code:


mqsichangeproperties MB7BROKER -c JDBCProviders -o TERAJDBC -n " \"connectionUrlFormat\", \"connectionUrlFormatAttr1\", \"connectionUrlFormatAttr2\", \"connectionUrlFormatAttr3\", \"connectionUrlFormatAttr4\", \"connectionUrlFormatAttr5\", \"databaseName\", \"databaseType\", \"databaseVersion\", \"description\", \"environmentParms\", \"jarsURL\", \"maxConnectionPoolSize\", \"portNumber\", \"securityIdentity\", \"serverName\", \"type4DatasourceClassName\", \"type4DriverClassName\" " -v " \"jdbc:teradata://[serverName]/DATABASE=[databaseName],DBS_PORT=[portNumber],TMODE=ANSI,,ACCOUNT=[user]\", \"\", \"\", \"\", \"\", \"\", \"DDWV01\", \"Teradata\", \"12\", \"Teradata Database1\", \"default_none\", \"C:\apps\TeraData\", \"0\", \"1025\", \"jdbcTdSecIden\", \"system.host.com\", \"com.teradata.jdbc.TeraDataSource\", \"com.teradata.jdbc.TeraDriver\" "



There is no option to pass "user" value. How do we specify that ? Can someone help , with this Teradata connection setup?


[/code]


Last edited by akidase on Thu Nov 15, 2012 9:16 am; edited 1 time in total
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Nov 12, 2012 11:25 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

mqsisetdbparms
Back to top
View user's profile Send private message
akidase
PostPosted: Wed Nov 14, 2012 7:04 am    Post subject: Reply with quote

Centurion

Joined: 10 Jan 2011
Posts: 124

We have used mqsisetdbparms to set the UserId and Password.
I am not sure on how to specify the 'Account' user.

Code:

mqsisetdbparms MB7BROKER -n jdbc::jdbcTdSecIden -u UserId-p Password
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Nov 14, 2012 10:13 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.

Quote:


JDBCProviders
Teradata
connectionUrlFormat='jdbc:teradata://[serverName]/DATABASE=[databaseName],DBS_PORT=


Isn't this the old problem of modifying this when it must not be because this is a format pattern?
_________________
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
akidase
PostPosted: Thu Nov 15, 2012 9:06 am    Post subject: Reply with quote

Centurion

Joined: 10 Jan 2011
Posts: 124

I have tried to get type4jdbc database connection - with Broker runtime at 7.0.0.3 and failed. It seems to have been fixed in 7.0.0.3 as per the below , however it didn't work.

Quote:
http://www-01.ibm.com/support/docview.wss?uid=swg1IC72526


For the [user] in the connection url, I hardcoded the account name, as per Teradata requirement, while changing the configurable service.
-------------------------------------------------------------------------------------

I am able to get normal JDBC - java.sql.Connection - specifying the details as per the Connection URL
Code:
connectionUrlFormat='jdbc:teradata://[serverName]/DATABASE=[databaseName],DBS_PORT=[portNumber],TMODE=ANSI,ACCOUNT=[user]'
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Nov 15, 2012 10:07 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.

The
Quote:

connectionUrlFormat='jdbc:teradata://[serverName]/DATABASE=[databaseName],DBS_PORT=[portNumber],TMODE=ANSI,ACCOUNT=[user]'


Is wrong. Please restore it to its original value. This is a FORMAT PATTERN.
And MUST not be edited.

If you doubt me then simply do a search on this forum for 'connectionUrlFormat'. you will see many other posts like yours and where thet OP has modified this item.

I did suggest this yeaterday
_________________
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
akidase
PostPosted: Fri Nov 16, 2012 1:12 pm    Post subject: Reply with quote

Centurion

Joined: 10 Jan 2011
Posts: 124

Quote:
jdbc:teradata://server.com/DATABASE=Databasename,DBS_PORT=1025


fetching me a connection with Normal JDBC , however I am unable to obtain getJDBCType4Connection with the same URL.

results in Error
Quote:
Single Sign-On NOT supported for Mechanism TD2., SQLState value: HY000, vendor's error code: 1032


getJDBCType4Connection doesn't work with any of the URL pattern.

If account name is not specified, I get an error
Quote:
ERROR: Teradata connection: The UserId, Password or Account is invalid.


If account name is hardcoded in the mqsicreateconfigurable service, I get an error
Quote:
Single Sign-On NOT supported for Mechanism TD2., SQLState value: HY000, vendor's error code: 1032
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 » [TeraJDBC 13.10.00.10] [Error 8017] [SQLState 28000]
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.