cancel
Showing results for 
Search instead for 
Did you mean: 

Where can I code resource reference information in the WD?

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.