on 07-22-2007 10:32 AM
Hi guys
I would like to retrieve some information from the UME and get the following exception: com.sap.security.api.UMRuntimeException: UME factory 'com.sap.security.api.IUserFactory' cannot be accessed because UME initialization has not started yet. Please check UMFactory.isInitialized() before using UME functionality.
How do I initialize the UME?
Are there any code nippets?
Regards,
Go:khan
Hi,
please check <a href="https://help.sap.com/javadocs/NW04/current/um/com/sap/security/api/UMFactory.html">THIS</a> to know more about UMFactory and different ways how it can initialised.
But - UMFactory initialization is required explicitly only when you are using it standalone. Normally portal runtime should initialize it automatically. If you are using the UMFactory inside portal I guess you should check whether the UMFatory related services are getting started properly or not instead of coding something to initialize it.
Regards,
Shubhadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guys
Thanks for your replies.
I was testing it standalone. Now, I have tested it into the Portal as GP-Background Callable Object and it works. There is not initialization error any more.
Regards,
Goekhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Goekhan,
There can be two ways of doing this , either you explicitly write the method which initializes the UME FACTORY or
justc heck whether the services releated to the UME is running or not,you can do that through VA ( Server-->deploy -->application )
Thanks
Pankaj
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 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.