quote:
Originally posted by Terry Dye:
[QUOTE]
Originally posted by Martin Hirschbichler:
Hi adam,we had the same problem; it's a bug in the communication of tamino and the apache web-server, but there is a workaround. you have to switch the keepalive tag in the httpd.conf of your apache to off.
I have the taminoclient.jar from the 3.2.1.1 for Windows distribution. I still have this problem with or without the keepalive tag in the httpd.conf. The strange thing is the consistency. One time the deletion may happen quickly, and the next takes 2 minutes. The deletion will happen...I just need patience, but I don't think a user would.
Someone asked for code snippets. It looks like the examples from the distribution, but I'll cut and paste:
code:
TaminoClient tamino = new TaminoClient( TAMINO_URL );
tamino.setPageSize(1);
tamino.startSession();
TaminoResult tr=tamino.query( "CATEGORY[id='" + objectid + "']" );
while( tr.hasMoreElements() )
{
Element el = tr.getNextElement();
tamino.delete( el );
}
tamino.commit( false );
tamino.endSession();
Perhaps the technicians from Software AG have a newer taminoclient.jar available [hint].
Terry
[/QUOTE]
#webMethods#webMethods-Tamino-XML-Server-APIs#API-Management