Skip to Content
author's profile photo Former Member
Former Member

UMFactory initialization generating an error


1) I am calling an EJB(StateLessSessionBean) from a JSP page. This is a plain JSP page and not a JSP Dynpage.

2) The EJB contains a method which calls the UMFactory.getInstance().

3) A EAR file which contains .war (JSP’s) and .jar (EJB’s) are deployed on the SAP J2EE server successfully.

4) This is generating the specified exception. ( java.lang.IllegalStateException: Could not initialize UMFactory! Please set property 'ume.cfg.path' or call UMFactory.initialize() first )

The following is the code that is generating this error


UMFactory umf = UMFactory.getInstance();

IUserFactory _userFactory = UMFactory.getUserFactory();


The suggestions in "/thread/3107 [original link is broken] were tried with no success.

Should any property files be set ? Any changes ? Please suggest a alternative.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 28, 2004 at 05:27 AM

    I have set the ume.cfg.path property on the server pointing to usr\sap...\j2ee\j2ee_00\ume. This has the file in it. But the error still occurs. Should any more changes be done in this ?

    Also, after looking at the error, to initiaIize the UMFactory class, I see this function mentioned below at

    initialize(java.util.Properties prop, java.util.HashMap files, fileio)

    However I could not get the jar file containing “” class. Where can I get this file?

    All other jar files required (viz. ,,, were obtained on installation of the portal. (at …\j2ee\j2ee_00\cluster\server\additional-lib\com\sap\security\api)



    Message was edited by: Bhanu Erraguntla

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.