Placed At :


Hello,
     I need to reset the connection pools of a  Weblogic 5.1.
The application uses RdbmsRealm for authentication.I am using certain API's of
weblogic to reset
the connection pools.
But I am getting an exception as follows

     java.lang.SecurityException: User "X" does not have Permission "admin"
based o
     n ACL "weblogic.jdbc.connectionPoolcreate".
             at java.lang.Throwable.fillInStackTrace(Native Method)
             at java.lang.Throwable.fillInStackTrace(Compiled Code)
             at java.lang.Throwable.<init>(Compiled Code)
             at java.lang.Exception.<init>(Compiled Code)
             at java.lang.RuntimeException.<init>(Compiled Code)
             at java.lang.SecurityException.<init>(SecurityException.java:39)
             at weblogic.security.acl.Security.logAndThrow(Security.java:372)
             at weblogic.security.acl.Security.checkPermission(Compiled Code)
             at weblogic.jdbc.common.internal.ConnectionPool.poolExists(Compiled
Code)
             at
weblogic.jdbc.common.internal.ConnectionPool.poolExists(ConnectionPoo.java:393)
             at
jsp_servlet._jsp._WebLogicConnection._jspService(_WebLogicConnection.java:147)
             at weblogic.servlet.jsp.JspBase.service(Compiled Code)
             at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled
Code)
             at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Com

Does anybody know how to set Admin permissions for RdbmsRealm user.
Please look into the matter.

Regards
Arun

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to