cancel
Showing results for 
Search instead for 
Did you mean: 

Application Properties not available from custom resource adapter

Former Member
0 Kudos

Hi there,

a new problem has occured with my XI resource adapter development:

In former developments of XI adapter modules, I was used to store configurable properties in file 'sap.application.global.properties'. But within my new EAR containing a connector module, the application configuration is not accessible.

I'm trying to access the properties as follows


Context ctx;
ctx = new InitialContext();
ApplicationConfigHandlerFactory cfgHandler;
cfgHandler = (ApplicationConfigHandlerFactory) ctx.lookup("ApplicationConfiguration");

Properties appProps = cfgHandler.getApplicationProperties();

The context lookup works out, the handler class is also initialized, but getApplicationProperties() returns null.

Does anybody has an idea about this behavior? Mayby application props are not accessible from connector modules?

Help will be highly appreciated!

Cheers,

Matthias

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello. I faced with same problem.

IMHO only RA-defined properties are available at JCA.