Forums Register Login

Bean Managed Entity Bean problem

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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.
I need a new interior decorator. This tiny ad just painted every room in my house purple.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1041 times.
Similar Threads
Bmp problem
BMP question,Help me!
Help on EJB QL-Weblogic6.1 example????
BMP ejbRemove() problem
Bean Managed Entity Bean problem
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 17:42:00.