Skip to Content
author's profile photo Former Member
Former Member

Where can I code resource reference information in the WD?

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?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 22, 2005 at 06:11 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.