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 Interchange Server + Adapters » JDBC adapter can't insert into Oracle DB

Post new topic  Reply to topic
 JDBC adapter can't insert into Oracle DB « View previous topic :: View next topic » 
Author Message
ThomasL
PostPosted: Wed Nov 29, 2006 9:57 pm    Post subject: JDBC adapter can't insert into Oracle DB Reply with quote

Newbie

Joined: 29 Nov 2006
Posts: 1

Hi!

We have a WBI JDBC adapter running with an Oracle DB on AIX. Most of times the adapter works fine. But sometimes we have some strange behaviour:

1. The adapter aborts with a SQL exception "java.sql.SQLException: ORA-08103: object no longer exists". The only thing that has be done was a truncate on this table. Does this abort the adapter? Or asked in a different way: what could have happend?

2. Last night we have tried to insert some thousand records into a table. Everything went fine. But suddenly the adapter stopped inserting records without error for a few hours. Then it startet working again and inserted the rest of the records in the request queue without any error in the error log. The adapter was not stopped, the adapter process was available during all the time.

It would be great if someone has an idea about these two issues. Thanks a lot in advance.

Thomas
Back to top
View user's profile Send private message
vk
PostPosted: Thu Nov 30, 2006 6:30 am    Post subject: Reply with quote

Partisan

Joined: 20 Sep 2005
Posts: 302
Location: Houston

This can happen if the connection already established by the JDBC adapter to the database is closed by the server.

Check the following -

1. Connection timeout set in listener.ora on the AIX box where the database resides

2. Value for CloseDBConnection property in the Connector Configuration file. Default value is 'false'. With this setting the connector will keep database connections open even when there are no requests to process. This might result in connections becoming stale after timeout.

You can try setting CloseDBConnection to true. This will make the connector open and close a new database connection for every request.

Regards,
VK.
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 Interchange Server + Adapters » JDBC adapter can't insert into Oracle DB
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.