I’m relatevely new to Java, and I created a Java agent that performs calculations (reading from and writing to a back-end table).
My problem is that the agent will run fine for some and slow for others, then it will turn around and run well for the users who were slowing down and slow for the user who were fast. I never get any error messages, if the users wait long enough the data will be returned.
I think I may have pinpointed the spot where the agent slows down. It appears that it has trouble (sometimes) when I run a Notes agent from within this (Java) agent. This is a part of the program that loops through each period to return the calculations.
If I CNTRL+BREAK out of the process, I will be returned the message “error cleaning up agent threads”, but I think that may be because the way I terminated the program. Again, if the user waits long enough, it will eventually return the data.
Thanks,
Jeff