on 10-29-2015 7:11 AM
Hello All,
I have a requirement to create a property in EJB DC which is configurable through NWA.
For this, I have created an EJB DC & EAR DC.
In the META-INF folder of EAR DC, I have created “sap.application.global.properties” file.
In file, I have created the required property and deployed the application.
In NWA, these properties are getting displayed/modifiable.
In session bean of EJB DC I am wrote below code to read the required property: -
But, surprisingly, the variable “appProps” (marked in yellow) is getting returned as null, due to which null pointer exception occurs & I’m not able to fetch the required property.
I have also tried the approach of reading props like below, but still no luck.
Any ideas on what is missing here?
Thanks & Regards,
Amey
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.