cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the portal Masthead

Former Member
0 Kudos

I am getting the following exception when attempting to run a modified copy of com.sap.portal.navigation.Masthead:

Caused by: java.lang.ClassNotFoundException: com.sapportals.portal.navigation.HeaderiView

Found in negative cache

-


Loader Info -


ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@a14dc9]

Parent loader name: [sap.com/com.pioneer.util.Masthead]

References:

not registered!

No resources !

-


Here are the steps that I did to modify the delivered SAP Masthead.

1. I downloaded the portal masthead and imported it as a .par in to a new project in NetWeaver Dev. Studio.

2. I made a couple of changes to the .jsp and deployed the .par to my development server.

3. I created a new iView from .PAR in the PCD.

4. I go to the Preview tab of the iView or go to page that has my new iView on it and I get the exception that is above.

I think that it has something to do with my portalapp.xml SharingReference section (listed below), but I don't know what. I have kept it the exact same as what was downloaded from the original Masthead export. Anyone have any ideas?

<property name="SharingReference" value="com.sap.portal.htmlb,com.sap.portal.themes.lafservice,com.sap.portal.navigation.service,com.sap.portal.navigation.helperservice,com.sap.portal.license.runtime,com.sap.portal.common.commonservices,SAPJ2EE::library:com.sap.portal.common"/>

Thanks,

Steve

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks. That worked. Do you know if there is the potential for class version conflicts when you upgrade portal versions? I would suspect there is if I don't update the referenced .jar and re-deploy my project after an upgrade has been done.

Also, I tried to find where I can reward you point, but could not find it. Do you know how?

Thanks again,

Steve

Former Member
0 Kudos

Hi Steve,

Login to sdn with the userid that you used to post the query. Then you will find option to reward points. Always try to use the same userid.

Ranjith

Former Member
0 Kudos

Hi Steve,

Please include the the following library com.sap.portal.navigation.masthead_core.jar in the Custom_masthead/PORTAL-INF/private/lib in your project.

It should work.

I am assuming you have changed the name of your modified

masthead.

Hope this helps.

Regards

-Venkat Malempati