This discussion is archived
10 Replies Latest reply: Aug 3, 2012 5:07 AM by vladodias RSS

RunAs Administrator

GJ Newbie
Currently Being Moderated
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

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points