Skip to Content
avatar image
Former Member

UMFactory initialization 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 "UME 4.0 Initializing the UMFactory were tried with no success.

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



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 28, 2004 at 05:25 AM

    I have set a system property where the file exists on the server viz : usr\sap.....\j2ee\j2ee_00\ume. However this is not helping the situation. Any other settings that need to be done ?

    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)



    Add comment
    10|10000 characters needed characters exceeded