Using Tamino API n threads

Hi,

Is the new Java API thread save? I’m looking for a problem accuring when I have one program running 10 threads. Each thread makes a connection to Tamino, executes a query and closes the connection. This three actions ara executed 100 times in the thread. After the third run the close of one of the threads hangs on a close connection and the other hangs on the retrieve of the XML accessor.

PS : When I run 10 programs running each one thread, no problem at all. Only when I startone program with multiple threads the problems are occuring.

What a good question! I have raised a request to get a definative answer.

Kind regards,

Simon

Hi,

The problem is caused by a error in the code. A close conenction was executed twice inside a thread. No Tamino exception was thrown on the second close, but it seems that this one corruopts the whole connection pool.

But the following question is till open : Is the new Tamino java API thread safe.

Hi there,

Glad you have the problem sorted.

Development have informed me that the Tamino API for Java IS THREAD SAFE.

Kind regards,

Simon

Thanks for the confirmation