Hi, I have written a Java agent to store files in a databse. The agents works finde, except, when the files get big. Then for no reason, the agents just wont get over the Codeline:
body.embedObject(EmbeddedObject.EMBED_ATTACHMENT, null, pathname, null);
where body is my RT field and pathname, the name of the file.
The problem is,the agent just seems to “pause” or so. It throws no exception or anything.
It does not even seem to stop. There is nothing in the logs.
I got some System.out.println(“Flag”) before the action and after it. Only the fist one shows up in the log.
Is their any maximum size, you can add?
Why is the agent not throwing any exception?
Is it throwing a event I could catch?
Any help would be really appreciated.
Thx Martin