• Post Reply Bookmark Topic Watch Topic
  • New Topic

Bean Managed Entity Bean problem  RSS feed

 
Sreeanth makam
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello...when iam doing jndi lookup from client to my bean..It is working good but when i call create..a big stck trace is comming as given bellow.
According to me the problem is with setting the jbdc in weblogic...Plese help me ...
The stake trace is
java.rmi.RemoteException: EJB Exception:; nested exception is:
javax.ejb.EJBException
- with nested exception:
[java.sql.SQLException: java.lang.SecurityException: User "guest" does not have
Permission "reserve" based on ACL "test".]
Start server side stack trace:
java.rmi.RemoteException: EJB Exception:; nested exception is:
javax.ejb.EJBException
- with nested exception:
[java.sql.SQLException: java.lang.SecurityException: User "guest" does not have
Permission "reserve" based on ACL "test".]
java.sql.SQLException: java.lang.SecurityException: User "guest" does not have P
ermission "reserve" based on ACL "test".
at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiData
Source.java:197)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSour
ce.java:219)
at EBMP.TaxEJB.ejbCreate(TaxEJB.java:39)
at EBMP.TaxEJB_tptnvy_Impl.ejbCreate(TaxEJB_tptnvy_Impl.java:177)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.manager.DBManager.create(DBManager.java:519)
at weblogic.ejb20.manager.DBManager.remoteCreate(DBManager.java:489)
at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:190)
at EBMP.TaxEJB_tptnvy_HomeImpl.create(TaxEJB_tptnvy_HomeImpl.java:75)
at EBMP.TaxEJB_tptnvy_HomeImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
ef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:274)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
--------------- nested within: ------------------
javax.ejb.EJBException
- with nested exception:
[java.sql.SQLException: java.lang.SecurityException: User "guest" does not have
Permission "reserve" based on ACL "test".]
at EBMP.TaxEJB.ejbCreate(TaxEJB.java:48)
at EBMP.TaxEJB_tptnvy_Impl.ejbCreate(TaxEJB_tptnvy_Impl.java:177)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.manager.DBManager.create(DBManager.java:519)
at weblogic.ejb20.manager.DBManager.remoteCreate(DBManager.java:489)
at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:190)
at EBMP.TaxEJB_tptnvy_HomeImpl.create(TaxEJB_tptnvy_HomeImpl.java:75)
at EBMP.TaxEJB_tptnvy_HomeImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
ef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:274)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace
; nested exception is:
javax.ejb.EJBException:
Start server side stack trace:
java.sql.SQLException: java.lang.SecurityException: User "guest" does not have P
ermission "reserve" based on ACL "test".
at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiData
Source.java:197)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSour
ce.java:219)
at EBMP.TaxEJB.ejbCreate(TaxEJB.java:39)

Still it is big...Just give me an idea...Plzzzzzzzzzzzzzz Friends
 
Sergiu Truta
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem is that the user has no rights for doing the operation requested. It's been a while since I've last used Weblogic so I could be wrong but as far as I can remember you have to edit the weblogic.policy and grant the user all access rights. I remember there was a post here about this problem so you should look for it. Or look at the weblogic forum for an answer about how to grant access rights.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!