Show TOC Start of Content Area

Procedure documentation Managing Resource References  Locate the document in its SAP Library structure

Use

This procedure enables you to set references to external resources. You can add, modify, or remove resource references in your web application.

The displayed tabs and fields correspond to the following elements:

In web.xml:

<!ELEMENT resource-ref (description?, res-ref-name, res-type, res-auth)>

<!ELEMENT res-ref-name (#PCDATA)>

<!ELEMENT res-type (#PCDATA)>

<!ELEMENT res-auth (#PCDATA)>

<!ELEMENT description (#PCDATA)>

In web-j2ee-engine.xml:

<!ELEMENT resource-ref (res-ref-name, res-link, , non-transactional?)>

<!ELEMENT res-ref-name (#PCDATA)>

<!ELEMENT res-link (#PCDATA)>

<!ELEMENT non-transactional (EMPTY)>

Procedure

To set external resource references choose Environment ® Resource References.

If You Want To

Then

Add a new reference

...

       1.      Enter the name of the reference in Resource Name.

       2.      Enter the name the resource is bound to the Naming System with in JNDI Name.

       3.      Enter resource reference description (optional).

       4.      Choose Add.
The references are added and displayed in the Resource References list.

Modify a resource reference

...

       1.      Select a reference from the list of available ones.

       2.      Modify the entered information.
You can change all settings except the Resource Name.

       3.      Choose Modify.

Remove a resource reference

Select the reference you want to remove from the list and choose Remove.

 

End of Content Area