Please post your request on the weblogic newsgroups which can be found at
www.bea.com or www.weblogic.com. Could I just ask one question? Have you
just joined this mailing list or have just ignored all calls from people
regarding the unwanted posting of weblogic specific support questions?  I
think you will find many more people in similar situations on the weblogic
specific than here. This would be more efficient.

William Louth
Inprise
www.inprise.com/appserver


-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Purushotham Das K
Sent: Friday, September 15, 2000 4:48 AM
To: [EMAIL PROTECTED]
Subject: FW: java.lang.SecurityException
Importance: High


> hi folks,
>
> I am getting following exceptions when the client access the session bean
> for creation of records in Oracle DB.
>
I am Working on WebLogic 5.1.0 on Solaris server

> This is code for creation of userID
>
> private long generateUserID() throws SQLException, ClassNotFoundException,
> InstantiationException, IllegalAccessException, NamingException
>       {
>
>               long userID = 0;
>
>               jdbcConn = ds.getConnection();
>               try
>               {
>                       stmt = jdbcConn.createStatement();        //Error at
> this line
>               }
>               catch (SQLException sql_ex)
>               {
>                       log("UserInfoSessionBean->Error while creating
> statement in generateUserID.." + sql_ex);
>                       throw sql_ex;
>               }
>
> Itz giving  following exception while creating Statement
>
>
> UserInfoSessionBean->Error while creating statement in
> generateUserID..java.sql.SQLException: Exception raised by connection pool
> :java.lang.SecurityException: User "guest" does not have Permission
> "reserve" based on ACL "weblogic.jdbc.connectionPool.PS".
>         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>(Compiled Code)
>         at weblogic.security.acl.Security.logAndThrow(Compiled Code)
>         at weblogic.security.acl.Security.checkPermission(Compiled Code)
>         at weblogic.common.internal.ResourceAllocator.reserve(Compiled
> Code)
>         at weblogic.common.internal.ResourceAllocator.reserve(Compiled
> Code)
>         at
> weblogic.common.internal.ResourceAllocator.reserveWaitSecs(Compiled Code)
>         at weblogic.jdbc.common.internal.ConnectionPool.reserve(Compiled
> Code)
>         at
> weblogic.jdbc.common.internal.ConnectionPool.reserveWaitSecs(Compiled
> Code)
>         at
> weblogic.jdbcbase.jts.Connection.openConnectionIfNecessary(Compiled Code)
>         at weblogic.jdbcbase.jts.Connection.createStatement(Compiled Code)
>         at
> weblogic.jdbc.rmi.internal.ConnectionImpl.createStatement(Compiled Code)
>         at weblogic.jdbc.rmi.SerialConnection.createStatement(Compiled
> Code)
>         at ps.session.userinfo.UserInfoSessionBean.generateUserID(Compiled
> Code)
>         at ps.session.userinfo.UserInfoSessionBean.addUserDetails(Compiled
> Code)
>         at
> ps.session.userinfo.UserInfoSessionBeanEOImpl.addUserDetails(Compiled
> Code)
>         at
> ps.session.userinfo.UserInfoSessionBeanEOImpl_WLSkel.invoke(Compiled Code)
>         at
> weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(Compiled Code)
>         at
> weblogic.rmi.extensions.BasicRequestHandler.handleRequest(Compiled Code)
>         at weblogic.rmi.internal.BasicExecuteRequest.execute(Compiled
> Code)I have installed WebLogic5.1.0 on solaris m/c
>
>
> PLZ reply ASAP
>
> Thanx
>
> Purushotham Das
>
>
>
>
>
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to