Skip to Content
0
Former Member
Feb 23, 2005 at 03:10 PM

Problems with data-source-alias

27 Views

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