cancel
Showing results for 
Search instead for 
Did you mean: 

UMFactory initialization error with login module

Former Member
0 Kudos

I've written a custom login module that has the following code:

IUserFactory userFactory = UMFactory.getUserFactory();

which causes an IllegalStateException with the following detailMessage: Could not initialize UMFactory! Please set property 'ume.cfg.path' or call UMFactory.initialize() first.

I've found a bunch of other postings relating to this problem but none seem to have discovered the answer. Does anyone know how to resolve this? I was under the impression the method getUserFactory() could be called without any initialization?

Cheers,

Steve

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Steve,

Please look at this.

/thread/3107 [original link is broken]

Regards,

Siva

P.S: Award points if you fidn this useful.

Former Member
0 Kudos

Siva,

Thanks for the reply but it doesnt really help. Ive read it and it doesnt take into account that Im calling the UMI API from a custom login module, so I cant make a 'hard' reference to com.sap.security.api.sda etc. or use the irj context as neither are relevant for login modules deployed as .SDAs.

Any other ideas?

Cheers,

Steve

Answers (0)