I have created an agent in Java, and the agent works against my local database. Now I want to run the agent against the real database on the server but do not have access rights. How do I either change the access rights of the database or code it so that I can access the database on the server.
Subject: running local agent on server
Take a look at the Agent FAQ <-----
There is in-depth article which explains everything with screen shots
Subject: RE: running local agent on server
I did look at the FAQ however it falls short on describing how do you set the permissions to run the agent.
It gives pictures on setting the agent to run on any server. But when those settings are set I get an error saying you don’t have access.
So what do I do to get the privalege to run the agent. The server is own my machine.
Subject: It comes from the Server document in the NAB
Specifically
Programmability Restrictions
Who can -
Run unrestricted methods and operations:
Sign agents to run on behalf of someone else:
Sign agents to run on behalf of the invoker of the agent:
Run restricted LotusScript/Java agents:
Run Simple and Formula agents:
Sign script libraries to run on behalf of someone else:
Note: The following settings are obsolete in Notes 6.
They are used for compatibility with prior versions.
Run restricted Java/Javascript/COM:
Run unrestricted Java/Javascript/COM:
Subject: RE: It comes from the Server document in the NAB
I changed all of these to LocalDomainServers, OtherDomainServers and still no luck.
Subject: Again . . .
I don’t see how this answers my question?
I’ll try to rephrase it for better understanding. Coded agent in Java, want to run it against a database on the server. If I run the agent from the client to access the database on the server I get access error.
So what do I need to do, step by step, to get the agent which is on my local machine to run against the database on the domino server which is also running on my machine?
Subject: RE: It comes from the Server document in the NAB
Made changes by adding LocalDomainServers, OtherDomainServers still no go
Subject: RE: It comes from the Server document in the NAB
you need to save the agent with an id that has rights to run java agents on the server. If you’re saving the agent with the your ID the you probably don’t have rights, as you’re pro bably not in the groups you mentioned.
Before you ask me how to do it I suggest you look in the help that comes with the program, specifically a doc with the title:
Setting up agent security
Subject: RE: It comes from the Server document in the NAB
… and the reference I provided in my previous reply!
Subject: RE: running local agent on server
??? Where did you look? There are pages of explanation dedicated to this exact topic. You don’t expect anyone to retype this explanation in a post?