hi folks,
I am getting following exceptions when the client access the session bean
for creation of records in Oracle DB.
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".