on 02-22-2005 1:10 PM
J2EE Web Moudle Project
web.xml
....
<resource-ref>
<res-ref-name>
jdo/defaultPMF
</res-ref-name>
<res-type>
javax.resource.cci.ConnectionFactory
</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>
Shareable
</res-sharing-scope>
</resource-ref>
....
If a WD program should use the resource-ref,
How and Where can I write the resource-ref information?
Hi,
it does not work. You have to use the global JNDI Tree of the server. resource mapping is not supported.
You have to look in the jndi tree to find the jdo/defaultPMF. You can do this via telnet or in the visual administrator in the JNDI Registry service. Try a lookup there, the same lookup string should also work from WebDynpro application. But I have not recently tried to lookup the jdo PersistenceManager. It might have changed. Good luck.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.