Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Former Member replied

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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question