on 07-14-2004 9:11 AM
Hi,
I'm trying to lookup the jdo DefaultPMF in a WD App, but the lookup fails. Im using "java:comp/env/jdo/defaultPMF" when I work with a web project, but it doesnt work with WD. I looked for some alias in the JNDI service manager and found "mcf/jdo/defaultPMF" but it doesnt work too. Whats the propre lookup string?
TIA
Regards,
Werner
Thanks for your help. I finally managed to get to the DefaultPMF by using this String :
"deployedAdapters/jdo/DefaultPMF/nonGlobalTx/jdo/DefaultPMF"
Regards,
Werner
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Werner,
(WD) applications don't have access to the root context of the naming system as default, therefore the "java:comp.." lookup fails.
You can change this by adding the property "domain" with value = "true" when creating the InitialContext.
Hope that helps.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Werner,
maybe you have to add a Sharing reference in your WD Application:
WD -> Properties -> Web Dynpro References -> Sharing References
add here: sap.com/com.sap.jdo
regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.