on 05-26-2004 7:09 AM
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 (JSPs) and .jar (EJBs) 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
I have set the ume.cfg.path property on the server pointing to usr\sap...\j2ee\j2ee_00\ume. This has the sapnum.properties.bak 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
http://media.sdn.sap.com/html/submitted_docs/60_sp2_javadocs/ume/index.html
initialize(java.util.Properties prop, java.util.HashMap files, com.sap.security.api.util.IUMFileIO fileio)
However I could not get the jar file containing com.sap.security.api.util.IUMFileIO class. Where can I get this file?
All other jar files required (viz. com.sap.security.api , com.sap.security.api.perm, com.sap.security.core, com.sap.security.core.tpd) were obtained on installation of the portal. (at \j2ee\j2ee_00\cluster\server\additional-lib\com\sap\security\api)
Thanks
Bhanu
Message was edited by: Bhanu Erraguntla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.