Skip to main content

OpenAM (OpenSSO) agent doesn't work with Realms

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
feel
Offline
Joined: 2011-07-26

I have a running OpenAM (OpenSSO) server with agents configured both for top level Realm as well as for custom Realm.

I have no problems installing and running agent on webapp side as long as I use the agent defined for top level Realm.

After I install an agent defined for Custom Realm and then try to launch Tomcat I'm getting the following Exception:

(...)
Caused by: com.sun.identity.security.AMSecurityPropertiesException: AdminTokenAction:

FATAL ERROR:
Cannot obtain Application SSO token.
Check AMConfig.properties for the following properties
com.sun.identity.agents.app.username
com.iplanet.am.service.password
at com.sun.identity.security.AdminTokenAction.run(AdminTokenAction.java:274)
(...)

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
aldaris
Offline
Joined: 2009-07-22

Hi,

this has nothing to do with GlassFish, please use the OpenAM mailing
list to get help.

Regards,
Peter

On 2011-07-26 14:55, forums@java.net wrote:
> I have a running OpenAM (OpenSSO) server with agents configured both for
> top
> level Realm as well as for custom Realm.
>
> I have no problems installing and running agent on webapp side as long as I
> use the agent defined for top level Realm.
>
> After I install an agent defined for Custom Realm and then try to launch
> Tomcat I'm getting the following Exception:
>
> (...)
> Caused by: com.sun.identity.security.AMSecurityPropertiesException:
> AdminTokenAction:
> FATAL ERROR:
> Cannot obtain Application SSO token.
> Check AMConfig.properties for the following properties
> com.sun.identity.agents.app.username
> com.iplanet.am.service.password
> at
> com.sun.identity.security.AdminTokenAction.run(AdminTokenAction.java:274)
> (...)