cancel
Showing results for 
Search instead for 
Did you mean: 

Application Properties file

Former Member
0 Kudos

Hi,

I have a java DC which should be able to read some application properties like

mdm.servername

mdm.repositoryname

mdm.username

I have tried using the ApplicationConfigHandler class in which I created a EAR and Web Module DC and when I run this web module dc as standalone, the properties file "sap.application.global.properties" gets loaded successfully.

But when I call this webmodule Dc's method to load properties from a Java DC , all the properties are null.

Is there any other way that I can load properties in java DC which can be modified without having to redeploy the java dc.

Thanks

MLS

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

How do you do this? Could you post some sample coding, please? I don't find a way of instantiating the Handler. Is there any documentation on this? I'm having the same problem right now, maybe I find a solution.

Regards,

Jörg

Former Member
0 Kudos

Hi

Make use of java.util.property calss

regards

Noel

Former Member
0 Kudos

Hi

Use [configuration services |https://help.sap.com/saphelp_nw04/helpdata/en/b8/aa343e32ff1033e10000000a114084/frameset.htm] in order to created application-specific properties that can be modified at run-time.

Good luck,

Ola