Skip to Content

J2EE server component - library DC has no server/provider.xml file

Hi developers,

In my library, a jar is included where my java plain classes access UME classes.

So, I need to runtime reference UME classes from my library.

From [this tutorial|http://help.sap.com/saphelp_nw70/helpdata/en/bf/93d84072378031e10000000a1550b0/frameset.htm] I can see that there should be a file called server/provider.xml where runtime dependencies should be configured.

However I am using a DC library, and such file cannot be found.

Should I create it manually?

I need to access typical UME classes such as IGroup, IUser, factories and so on.

Which DC should I runtime reference?

Thanks in advance

Vincenzo

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jul 07, 2009 at 04:59 PM

    It will be automatically generated when the project is built. It creates references from the Used dcs list.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member VINCENZO TURCO

      1. IF you provide your own provider.xml that takes priority. Build is NOT going to generate automatically.

      2. You need to put entries in this xml file manually. That means your DC dependecies does not get added to the xml automatically. You hav to manually do it. DTD for this xml is avaiabale in SAP help portal.