on 08-03-2006 2:30 PM
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
Hello. I faced with same problem.
IMHO only RA-defined properties are available at JCA.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.