Run Java agent from console

Just posting this hoping to help anyone else who tries to run a Java agent from the console.

I had the agent target set to “None” which should have been OK per the FAQ “Troubleshooting agents in Notes/Domino 5 and 6”. However I was getting the familiar “Unsupported trigger and search in the background or embedded agent” error.

My agent does not run any other agent and does nothing with notes documents. In fact it does nothing with Notes at all. It was just a test agent that is an Apache Axis web service client using a static string with a Java class as the XML input (soap body).

I tried some other settings and did get it to work using a target of “All documents in database”.

Julie K – If you read this please consider verifying and updating your FAQ if your findings are the same as mine. Or maybe this is a bug???

If I’ve misread the FAQ then please correct me so this post does not confuse others.

Subject: Run Java agent from console

Thanks David,

This is actually great help. Great way of keeping the forum filled with useful information. Good community help!

Subject: Run Java agent from console

“none” is not a valid option for a background agent, it is a valid option for client agent. You can ignore the collection. Adding support for “none” for background agents is on the list of new features for the next release.

Can you tell me what in the Agent FAQ confused you? Perhaps it can be re-phrased more clearly.

Subject: RE: Run Java agent from console

I was not confused by what I read, but rather by what I didn’t read.

I just checked the FAQ again and I didn’t see where it is mentioned that “none” is invalid for background agents.

I’m glad that “none” will be supported in the future… It will maintain a more solid mental model that way.