Skip to Content
avatar image
Former Member

Application Properties not available from custom resource adapter

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Sep 12, 2014 at 08:18 AM

    Hello. I faced with same problem.

    IMHO only RA-defined properties are available at JCA.

    Add comment
    10|10000 characters needed characters exceeded