0
votes

I'm trying to create an IBM Notes agent (written in java) that gets the session token associated with the agent. (The intent is to then pass it as a cookie to an HttpURLConnection xpage request.) When I call session.getSessionToken() in the agent, however, I get an exception and see this in the server console:

Notes error: Creating administration request to create mail file for %A...

Does anyone have any insight as to why it's not working? The server this is running on does use single sign on. TIA.

1
What type of agent is this? How is it triggered?Richard Schwartz
It's a scheduled agent, so it runs periodically.Reid Rivenburgh

1 Answers

1
votes

I don't believe Session.getSessionToken() is defined for scheduled or triggered agents that run in the Agent Manager, because agents like that aren't associated with an authenticated web user session.