Hello there,
I’ve slightly modified the java example Java_Trigger/SXSJTrigger.java so that the writeLog()-Method - that does the work in that exam - looks like this:
private void writeLog(String type, String collection, String doctype, String ino_id, String objOld, String objNew) {
// write given document into Backup-Collection of given collection
StringBuffer Response = new StringBuffer();
StringBuffer XMLMessage = new StringBuffer();
int ret = SxsXMLProcess(collection + "-Backup", objNew, Response);
if (ret != 0) {
SxsXMLGetMessage(XMLMessage);
SxsException(ret, XMLMessage.toString());
}
}
After insertion/updating of about 25 documents, I’ve got:
Tamino access failure (7126, INOSXE7126, Server extension failed, INOSXE7125: Java error during server extension function parameter handling: ‘java.lang.OutOfMemoryError’)
What can be the reason?
And how to get the Tamino server/collection into a working state, again?
Tnx in advance,
Franco.
#API-Management#webMethods#Tamino