on 02-23-2005 3:10 PM
i'm currently trying to get into dictionaries, but really got stuck. i have a quite simple application structure
a proxy bean which connects to the alias specified in the application and a servlet which in return interacts with the proxy.
thats what i have at hand:
-an dictionary which has been deployed
-an alias defined in the application
-a bean-module which references the alias as a resource-ref
-a bean which looks-up the alias
-a web-module which references the ejb
-a web module which looks up the ejb
if i run the application, what i get is the following error:
ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.connector.exceptions.BaseResourceException:
Cannot get connection. Reason: the thread of component "ejbContexts/sap.com/PersistentApplication/DAOProxyBean" in application "sap.com/PersistentApplication" is currently associated with a restricted resource set and it is not allowed to get connection within it.
(i actually to get this error 3 times for 1 request)
any ideas? or hints ? i really think its a application-confiuration issue but i just can't figure it out!
(and thats driving me nuts after hours of remodelling,reconfiguring and crawling through forum-topics and the developer-help)
thanks,
patrick
Hi Patrick,
The error says that you're trying to get Connection in a bean method in which you don't have resource manager access. That could be e.g. setEntityContext, setSessionContext, ejbCreate of a stateless session bean, etc. Check chapters 7.6.1, 7.8.2, 10.5.5 of the EJB 2.0 spec.
Hope this helps,
Vladimir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.