Dear Java Gurus!
I have a Java agent. It is web triggered and it runs fine on my ‘local’ server.
If I make changes, for example, add a new System.out.printlin() message, it immediately runs again with the new code.
However, when I replicate the newly changed agent back to the database on ANOTHER server, THAT server continues to run the OLD code. ie, the code WITHOUT the new trace statement.
The agent does use classes in a classpath but the code I am changing is in the Java AGENT. Not in those classes.
So far I have:
-
restarted the domino server
-
COMPLETELY REPLACED the database with a NEW replica of the database
…but still, the old code is being run on the other server. Amazing given that I have completely replace the database that had that code in it!
I even made a change directly in the agent on the other server to see if that would make a difference but nope…the server continues to run the very first version of the agent only, even though it no longer exists.
Is it being cached somewhere? What on earth can I do to force it to pick up the new code, other than a cold boot of the server. Why would this be happening on one server but not on the other?
What could possibly be preventing a successfully compiled new agent from having it’s changes take effect immediately.
Your tips would be appreciated.