Posted: Wed Nov 29, 2006 9:57 pm Post subject: JDBC adapter can't insert into Oracle DB
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.
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.
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