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)
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,