Skip to Content
0
Former Member
May 26, 2004 at 06:09 AM

UMFactory initialization generating an error

27 Views

Hello

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.

Thanks

Bhanu