The user does not have permission to perform the operation

This topic has 3 replies, 3 voices, and was last updated 3 years, 3 months ago by Peter Major.

  • Author
    Posts
  • #10984
     soma
    Participant

    Hi,

    I am playing with OpenAM 13.0.0 + J2EE Policy Agents 3.5.0

    Environment:
    * ubuntu, java 1.8
    * OpenAM runs on apache-tomcat-8.0.35, 8080
    * J2EE Policy Agent runs on apache-tomcat-8.0.35, 8090

    I have followed carefully the documentation (https://backstage.forgerock.com/#!/docs/openam-jee-policy-agents/3.5/jee-users-guide#chap-apache-tomcat) but when I start the tomcat server with the installed policy agent i get an error message:

    amAuthContext:06/04/2016 06:47:45:895 PM CEST: Thread[main,5,main]
    **********************************************
    amAuthContext:06/04/2016 06:47:45:889 PM CEST: Thread[main,5,main]
    ERROR: Failed to obtain auth service url from server: null://null:null
    amSMS:06/04/2016 06:47:46:479 PM CEST: Thread[main,5,main]
    **********************************************
    amSMS:06/04/2016 06:47:46:479 PM CEST: Thread[main,5,main]
    ERROR: ServiceManager::unable to check if Realm is enabled:
    Message:The user does not have permission to perform the operation.

    What i did:
    (1) Install OpenAM on tomcat, host: ‘openam.example.com:8080’, cookie domain: ‘.example.com’
    (2) Add a new realm: name: ‘demo.example.com’, dns: ‘demo.example.com’
    (3) Add new J2EE policy agent, name: ‘Tomcat Agent’
    (4) Shut down the tomcat server on 8090 port
    (5) Install policy agent
    (6) Edit OpenSSOAgentBootstrap.properties file: com.sun.identity.agents.config.organization.name = /demo.example.com
    (7) Start tomcat on 8090

    I got an error. I tried to use ‘/’ realm but the result is same.

    I have checked staff which is suggested here: https://forgerock.org/topic/j2ee-agent-installation-issue.

    After that I created a user with the same name as the J2EE Agent name, added that in a group with full right. That was suggested here: https://bugster.forgerock.org/jira/browse/OPENAM-8551.
    It solved one issue but I still get ‘ERROR: Failed to obtain auth service url from server: null://null:null’ error.

    What is wrong here?

    • This topic was modified 4 years, 2 months ago by soma.
    • This topic was modified 4 years, 2 months ago by soma.
    • This topic was modified 4 years, 2 months ago by soma.
    • This topic was modified 4 years, 2 months ago by soma.
    #11068
     soma
    Participant

    This morning I got a chance to install everything on a window$ machine. Surprisingly it works on window$ :(

    Any idea what I need to check on my ubuntu?

    #17295
     ak.tokas
    Participant

    Hi soma,
    Did you figure out the problem??
    As i am facing the exact same issue. J2EE agents are working fine in windows machine. But in CentOS it Linux it is behaving exactly like you mentioned above.

    #17298
     Peter Major
    Moderator
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

©2020 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?