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 > Connection Excption

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-11-08, 01:38
thangavel_14 thangavel_14 is offline
Registered User
 
Join Date: Mar 2008
Posts: 4
Connection Excption

Dear Techies,

For our project we are using 4 Database which includes oracle,SQLserver, MySQL and DB2. For getting connection we are using XML in which just has to be mention the url and class of any database, and for authorization purpose we are using JOSSO.

while conection the DB2 im getting the following exception

com.ibm.db2.jcc.c.sqlException
sql code : -204 , sql state : 42704 , sql errmc B2 Admin.user_auth.

Error : Error while closing connection [ibm][db2][jcc][10251][10308] java.sql.connection.Close() , requested while a transaction is in the progress on the connection , The transaction remains active , and the connection cannot be closed.


Plz reply ....

Thanks in advance

Regards,

Thangavel.L
Reply With Quote
  #2 (permalink)  
Old 03-11-08, 02:54
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
SQLCODE -204 equates to message SQL0204, which says that a database object could not be found. In your case, the object "DB2 Admin.user_auth" could not be found. The object name is rather suspicious - do you know where this comes from?

Also, I it would be a good idea to collect a JDBC trace to figure out what exactly is going on under the covers between DB2 and your application. That should help you to track down the problem - or at least narrow it down.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
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