If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Test Connection Fails-DB2/WAS-Null userid error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-04-08, 11:13
ak835 ak835 is offline
Registered User
 
Join Date: Apr 2008
Posts: 29
Arrow Test Connection Fails-DB2/WAS-Null userid error

Guys
JDBC resource gets configured from command line where all DS connection attributes are given correctly.I get a message saying " JDBC Resource Configuration Completed " .I open admin console of WAS(7.0beta) & try to test the connection for the newly created datasource.

I get following error:

The test connection operation failed for data source TradeDataSource on server nodeagent at node was7node1 with the following exception: java.sql.SQLException: [jcc][t4][10205][11234][3.50.152] Null userid is not supported. ERRORCODE=-4461, SQLSTATE=42815DSRA0010E: SQL State = 42815, Error Code = -4,461.

Here's what i get to configure on command line while creating this datasource
------------------------------------------------
Collecting Database/Datasource Information
------------------------------------------------

Select the backend database type (db2|oracle|db2zos) [db2]:
db2

NOTE: wsadmin requires ";" for delimiting the database
driver path regardless of platform!

Please enter the database driver path [c:/sqllib/java/db2jcc.jar;c:/sqllib/java/db2jcc_license_cu.jar;c:/sqllib/java/db2jcc_license_cisuz.jar]:
<db2inst_home_path>/sqllib/java/db2jcc.jar:<db2inst_home_path>/sqllib/java/db2jcc_license_cu.jar

Please enter the database name (location) [tradedb]:
trade6db

Please enter the DB2 database hostname [localhost]:
<unix_host_name>

Please enter the DB2 database port number [50000]:
60000

Please enter the database username [db2admin]:
db2inst9

Please enter the database password [password]:
******


Any idea what this error? Is it some driver issue?
Kindly advice.

Regards
Abhi
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On