10 Replies Latest reply: Aug 3, 2012 7:07 AM by vladodias RSS

    RunAs Administrator

    GJ
      Hi All,

      I have a Java class which tries to Invoke a Weblogic Mbean to reset the UserPassword, using this class I created a Webservice via Jdeveloper. When I test the Webservice using Integrated Weblogic server, I am getting the below error.

      weblogic.management.NoAccessRuntimeException: [Management:141102]Subject: principals=[] does not have access to perform Admin actions.

      upon researching I found that Invoking Mbean is a Admin action, so only admin users can perform this. My code is running as Anonymous.

      Can someone suggest how to run my webservice as a Admin user.

      Thanks,
      GJ