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

Portal Runtime Error??????

Hi Experts,

I have a portal component which extends AbstractPortalComponent, it is as follows:

public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
 {			   response.write("<HTML>----------"+WPUMFactory.getServiceUserFactory()+"----------</HTML>");
}

Due to the stmt WPUMFactory.getServiceUserFactory(), i m getting following error:

-


Portal Runtime Error

An exception occurred while processing a request for :

iView : myProject.myProjectComp

Component Name : myProject.myProjectComp

com/sapportals/wcm/util/usermanagement/WPUMFactory.

Exception id: 05:20_04/12/07_0020_14261850

See the details for the exception ID in the log file

-


Can anyone suggest me why i m getting this error???

Eagerly waiting for the reply and help.....

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Dec 04, 2007 at 12:25 PM

    Hi,

    Did you add a sharing reference to <i>knowledgemanagement</i> in the portalapp.xml?

    If not, please do so.

    Best regards,

    Avishai Zamir

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 12:17 PM

    because WPUM..... returns an object of type com.sapportals.portal.security.usermanagement.IUser

    If you want to print the username or so do:

    com.sapportals.portal.security.usermanagement.IUser iuser = WPUM....

    iuser.getDisplayName();

    The second statement returns a string

    Im sure this will help you.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 12:23 PM

    Declare service reference for the usermanagement service in portalapp.xml

    <application-config>

    <property name="ServicesReference" value="com.sap.portal.usermanagement,...../>

    </application-config>

    Regards,

    Prasanna Krishnamurthy

    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.