This content has been marked as final. Show 4 replies
This error indicates that: The user does not have access to the resource who is trying to access the resource. Please check your credentials. Or You need to use JMX Policy editor to give access to that particular user to access the required resources.
If you just want to access "JDBCResource" and "JDBCDataSourceParams" and their attributes then you can refer to the following link: http://middlewaremagic.com/weblogic/?p=606 Along with all the JDBC Configuration and Runtime Informations.
Please crrect your code line *"ctx=new InitialContext()"* like below
= = = = = = = = = =
Hashtable h = new Hashtable();
<font color=red>ctx=new InitialContext(h);</font> ----------------------------> Pass the Context Information Here
http://middlewaremagic.com/weblogic (Middleware Magic Is here)
My problem is how do I get the admin user name and password.
Is there any way that I can change my servlet's security so that it has admin privileges to access these properties?
or can the Servlet be deployed with Admin privileges to access these properties?
If you are just a developer and Not An Admin ....then Please contact your Administrator to give you privilages.
Without his permission if you will try to do this then it will be kind of HACKING.
Thank you very much, it is working for me!
I needed to get the SSOSigningCert of an Identity provider partner:
And I was executing this from a javax.servlet.ServletContextListener. When I deployed the application everything was ok, but when I restarted the managed server I was getting the exception.
encodedCertificate = idPPartner.getSSOSigningCert().getEncoded();
Thanks again and best regards,