Modifing mast head

We have a requirement where we need to change the images for the mast head. So I downloaded com.sap.portal.navigation.masthead.par and modified the HeaderiView.jsp. I didn't change much, I just appended "Hello" to firstName and deployed and keep get following error:
Exception ID:04:22_05/04/06_0002_5925350
[EXCEPTION]
com.sapportals.portal.prt.component.PortalComponentException: Error in init method
Component : com.sap.portal.navigation.masthead.default
     at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:251)
     at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:267)
     at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:312)
     at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:385)
     at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:435)
     at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
     at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
     at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.sapportals.portal.navigation.HeaderiView of Portal Component com.sap.portal.navigation.masthead.default because: Could not find implementation class
     at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:242)
     at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:160)
     at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:732)
     at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:103)
     at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:242)
     ... 26 more
Caused by: java.lang.ClassNotFoundException: com.sapportals.portal.navigation.HeaderiView
Found in negative cache
Loader Info -
ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@c5ecc]
Parent loader name: [sap.com/com.sap.portal.navigation.masthead]
References:
   not registered!
Resources:
   D:\usr\sap\SMX\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.navigation.masthead\private\classes
     at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:348)
     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:219)
     at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)
     ... 30 more
It looks like there is a dependent classes that I need to deploy along with this par file.
Which par file should I be modifying?
Any suggestions would be greatly appreciated.
Thanks,
Praveen

Guys:
Thanks for your quick response. Defiantly very helpful answers
I basically downloaded a corrupted par file and I was getting all these error message. I downloaded par file from a different server and it seems to work great.
I don't know how to reward points to all of you.
Once again guys, thanks for your answers.
Thanks,
Praveen.

Similar Messages

  • How to enable the logo using master head par?

    I want to change the logo on the portal page in Master Head
    I have downloaded the par file of masterhead and changed required things like added .jar file, image required to show
    Then i created the new par file and uploaded the same.
    (with another name given for the uploaded par file)
    how can i make this par file enabled to show the new logo? in PCD?

    You can also use other tools(non-eclipse) to change it.
    Modifying Portal Initial logon pageThis procedure applies for EP 6.0 SP3 and higher.
    The logon user interface (UI) of SAP Enterprise Portal is delivered in a liportal archive (PAR file) named com.sap.portal.runtime.logon.par which
    contains all the logon UI's code and resources. In a deployed portal, the PAR file is located at
    <J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\i
    rj\root\WEBINF\deployment\pcd.
    During initial portal deployment, it is renamed to
    com.sap.portal.runtime.logon.par.bak.
    To customize the logon UI, we recommend the following procedure:
    Modify the PAR file containing the logon UIs
    1. Make a copy of com.sap.portal.runtime.logon.par.bak and rename it. In
    this example, it is renamed to my.new.logon.par.
    2. Move my.new.logon.par to a location outside of the
    <SAPJ2EEngine-deployment-dir>.
    3. Extract the files from my.new.logon.par preserving the directory
    structure.
    4. Modify files in the extracted PAR file.
    5. Put the modified files back into my.new.logon.par.
    6. Copy my.new.logon.par back to
    <J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\i
    rj\root\WEBINF\deployment\pcd.

  • Portal Mast head customization

    Hi All,
    I have created and deployed a customized portal mast head.
    There are no issues with the portal at all.
    But I am finding a lot of log traces in the default log trace file .
    Can anyone suggest/guide me what can be the issue .
    I am getting the following  error :
    Exception ID:09:50_03/08/07_0166_9940351
    [EXCEPTION]
    com.sapportals.portal.prt.runtime.PortalRuntimeException: iView not found: pcd:portal_content/com.adidas-group.comadidasgroup/com.adidas-group.Masthead/com.adidas-group.AdidasPortalDesktop/frameworkPages/frameworkpage/com.sap.portal.innerpag
    at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1937)
    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:234)
    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:316)
    at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:387)
    at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:488)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
    at java.security.AccessController.doPrivileged(Native Method)
    Best Regards
    Sid

    Hai Kuthbudeen
    The jar files are not included in the modified par file. You can unzip the default par file and then copy  the "com.sap.portal.navigation.masthead_core.jar" jar file from this. Paste the jar file in to your project folder "PORTAL-INF\private\lib" . Then deploy the par file
    Regards
    Geogi

  • Personalize link not visible in mast head

    Hi ,
    The personalize link is not visible in mast head.
    Can anyone guide me on this .
    Best Regards
    Sid

    Hi
    Go to Content administration -> Portal content-> Content provided by sap -> End user content->Standard portal users -> Worksets-> Portal personalization to the role of the user
    You can also assign eu_role role to that user to enable the personalize link in masthead but this brings iviews too in the content area.
    Regards,
    Ganesh N

  • Include link to a workset/page on mast header similar to Personalize Link

    Hello,
    is it possible to include a link in the mast header like the personalization link to open a workset/page in a pop-up. I looked at the HeaderiView.jsp and for Personlization an Event is raised, but I couldn't find how the Personalize Workset recognizes/subcribes this event.
    Cheers,
    Erik

    It is true... NavigationTarget opens an entirely new portal framework.  I am trying to dynamically change the portal top level nav, 2nd level nav, and detailed nav based on a link I click from the content area.
    For example, this link would be in content area:
    http://prh459.pr.us.pri.wyeth.com:50200/irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.default?navigationtarget=roles://portal_content/roles/page/iview..
    however...this link opens an entirely new portal framework within the content area...
    how do I use this: EPCM.doNavigate "ROLES://portal_content/...
    as you state earlier in the post?  I would like to not open an entirely new framework within the content pane, but rather open a new iview within the content pane.  I would like to also change the 2nd level nav and detailed nav based on the actual iview that is now displayed in the content pane.  Since I can physically navigate to the iview, can I dynamically change the portal nav to represent this and place the correct iview in the content pane? ... is this possible?  I can do it with NavigationTarget=ROLES://portal_content/ but again, it opens an entirely new portal framwork within the content pane...

  • Customisation of mast head

    Hi
    I required to include top level navigation into mast head file.
    If I include toplevelnavigation.jsp file in masthead.jsp  it gives exception ---
    <b>Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/com.gems.gemscontent/com.gems.Devaram/com.newmast.newmast
    Component Name : newedsmasthead.default
    Error occurs during the rendering of jsp component.
    Exception id: 02:13_17/08/06_0032_13329050
    See the details for the exception ID in the log file</b>
    Any one help me how to solve this problem.

    Hi,
    If you are inserting the toplevelnavigation.jsp file in the masthead then the jar file present in the toplevelnavigation par file must be added in the customised masthead. The component of toplevel navigation must be added in the portalapps.xml file also.
    There must be some syntax error in the code of jsp so the error occurs during the rendering of jsp is shown.

  • After Merging the search tool Area and Mast head ivew its giving error

    Hi Porat Gurus,
                      I have merged the Mast head Ivew with the top level tool area and  added all  the components that is required for tool area search in mast head Ivew in the lightheader page and deploying its giving error
    Portal Runtime Error
    An exception occurred while processing your request
    Exception id: 11:50_14/10/08_0008_7205750
    See the details for the exception ID in the log file.
    plz tell where do i search for this exception
    i could nt find anything in default trace
    thanks in advance
    johny

    Hi,
    Steps need to for Merging the search tool Area and Mast head iview,
    1. copy the search area properties from the tool area and paste the properties in masthead property file.
    2. copy the tool area jar in the lib folder of the tool area par and paste that in to lib folder of masthead par.
    3. copy the search area variables and methods from the tool area jsp and paste variables and methods in masthead HeaderiView.jsp file.
    4. copy the search area properties from the tool area portalapp xml and paste the properties in masthead portalapp xml file.
    Check these steps are done.i hope this will help u.
    Regards,
    Kathiresan R

  • Personalize link in Mast head

    Hi ,
    Can anyone guide me how to hide the User mapping tab from the user profile page of personalize link available in the mast head.
    When the user cliscks on the link personalize in the mast head , he can see the user profile page . I want to hide the user mapping tab from this page .
    Best Regards
    Sid

    Hi Siddhart,
    The Personalize option is a workset and linked to the Standard User Role.
    So just open the standard user role and select the User Profile page which is linked to the Personalize workset.
    The "User Profile" object is a Web Dynpro Application. So to customize it you can just press the preview button and in the preview page hold the "Control" key and right click on top of the "User Mapping" tab. You will find the option to hide the tab.
    To do this you need to have administrative access.
    Since you are changing SAP delivered role, I would recommend copying the role and making the changes to the copied (as delta link) role. You can then assign this role to the end users.
    This method is applicable to EP 7.0 and NW 2004s.
    Regards,
    Abhishek

  • Chnaging the Logo in the Master head?

    Hi Friends,
    How to add the Custom logo in the Master head instead of SAP Logo.
    I copied the standard theme  Saved as customtheme.
    In the customtheme
    In the Portal Master head in the "URL to Logo "  property uploaded custom logo and saved.
    Added the Custom theme to the own desktop and set the custom theme as defult.
    But still it is showing the SAP Logo only.
    Guide me how to solve this problem.
    How to solve the problem using Masthead.par file.
    Thanks
    Srikanth.

    Hi,
    I did not see any other chance of error in this process.
    the problem might occure if
    1) the new desktop in not saved properly when you modify the existing theme. did you change the standard name and then saved it with your custom desktop name? if yes go back again and check the preview of it, save it again.
    2) mistake in adding the desktop to the user / role /group in main_rule (master rule collection). try creating a new user and assign this new desktop to that user.
    3) very less chance with browser cache clearance. i think you already did it.
    check the above 1 and 2 points once again.\
    PradeeP

  • How to create iView for customized master head war ?

    Hi,
    I deployed customized masterhead war file. But i cant see deployed war in portal application location.
    Anyone help me for customizing and masterhead page and how to create iView for customized master head...

    Hi,
    1. You can see the deployed application under the "Portal Applications"
    2. If you want to create an iView out of it. right click on the application -> copy. than press right click in the folder you want the iView will be created and paste ad pcd object.
    Hope I helped you.
    Ronny.

  • REG : Login Link in mast head

    Hi Experts ,
    We have customised standard logon par file (headeriview .jsp)
    Now we have login link in mast head.teh link login is coming as follows
    LOGIN_
    Could you pelase let me know why this underscore is coming.
    Regards,
    Anu

    Hi Anu,
    every link, text or button has a key, which is used in the language property files.
    It seems that the key was added or changed to LOGIN_ and so the correct text cannot be retrieved from the property files.
    See more about this feature in my blog Portal Customizations Intro - Login Part 1
    in the paragraph Changing Text
    Regards,
    Kai Unewisse

  • Vendor master Head office Concept tax value problem

    Hi,
    I have created two Vendor master and assigned one vendor as Head office in other,I have tax code for the plant vendor material combinatio for which one vendor 5% VAT is maintained and other vendor I have maintained 2% cst now while creating A MIRO for the PO raised for the vendor of other vendor system is bringing the other party as invoicing party but the tax becomes 5% vat and 2% cst what may be wrong
    Regards
    vijikantha

    Dear friends
    I am facing a unique problem. Problem is related to Head Office &
    Branch relationship. When i post a document through FB70 (FI manual
    Sales Booking) system is updating Head office and post the document
    which is correct. We can view the particular transaction though FBL5N
    report for Head office customer.
    Now if i book sales through Sales Order ie SD Module, System is not
    Updating Head office customer in the Accounting Document.We can view
    Accounting Document in Branch Customer only using FBL5N report. when we
    run FBL5N for Head Office Customer, it is not showing billing document.
    We have maintained Head Office field in Branch Customer master data.
    We have maitained Branch as SP / BP / PY / SH under partner function
    under Sales Area Tab of Branch Customer Master data.
    Waiting for your reply
    Thanks & Regards
    Brijendra H Shakdwipee

  • Anchors, Scrolling & Master Header in Foreground

    When using the new feature for having content scroll under a header in foreground - when I use anchors to scroll from a position on the page, my anchors do not scroll properly to the intended position on the page. Not sure why - I've followed the new tutorial on this.

    Perhaps I'm missing something. I'm not aware of any way in which this works differently on a master versus a normal page.
    The header is an area on the page. When you scroll down that area is no longer in view in the browser. The header is not a collection of objects that might be pinned or might not. I don't see a way for Muse to infer the intent of your design without being wrong in more cases than it would be right.
    Imagine a design with a triangular "SALE" graphic pinned in the top right corner. Should all anchors now be scrolled to the bottom of that graphic? Or should the be scrolled to the top of the browser. If you answer the former, then how does the individual with a design that calls for content to be scrolled to the top of the browser (to the left of the "SALE" graphic) achieve that? Note that they have a header on the web page, it's just not pinned. Their design calls for it to scroll out of view. To achieve the design they're looking for, they'd have to offset the anchor position by the height of the triangle graphic or the height of the header, depending on which you think Muse should use to infer an incorrect anchor scroll position.
    Many sites follow a pattern of having icons with links to social media pinned to the right or left edge of the browser window. If one or more of these happens to intersect the header area for the page, should that alter the scroll behavior of all anchors?
    I think whether or not you consider this a compensation you're making or not is a matter of perspective. From your perspective Muse should recognize you've pinned what is logically a complete header for your page and assume anchors should thus scroll to an offset equal to the header height (even though the header portion of the page will have scrolled out of view and its height need not have any logical relationship to the objects that were pinned). From my perspective the anchor always scrolls to the top of the browser window (a very predictable and constant location) and enables you to create whatever design you want (perhaps with a full pinned header, perhaps with only a "Top" button or home logo pinned at the top or with nothing pinned at all).

  • Modification of header in an exit.

    N-tracker will have to be able to handle changes in the serial number assignment to a delivery line item.  N-tracker will have to mark the necessary serial numbers as shipped and unshipped.
    If a change is made to the serial number dialog for a delivery line item, nTracker will reset the status of serial numbers for that line item to not shipped and will then set the status of serial numbers in the dialog to shipped.
    Enhancement IQSM0005 user exit  EXIT_SAPLIE01_005 to be activated and also code to be written inside the exit to block the delivery for shipment.
    If the data sent to nTracker returns a pass message then delivery will be saved without updating any value in ShpmtBlRsn (LIKP-TRSPG).
    After repeated attempts (i.e. all check fail) if the user wants to go ahead with the delivery then the delivery can be saved but with shipment blocking reason Z4 i.e. (LIKP-TRSPG = 'Z4').
    1. Is there any EXIT or BADI where we can change the LIKP-TRSPG value since it is not present in user exit  EXIT_SAPLIE01_005 ? I need the serial number and the LIKP-TRSPG in the same EXIT or BADI.
    If a delivery is canceled then serial number will be blank during the call. Logic is that if it is delete/cancel function then do not sent associated serial number to nTracker. Send serial number blank along with other parameter. use exit MV50AFZ1 for this.
    2. It is not possible to do the changes in the exit MV50AFZ1. Where we can do the changes ?

    Hi,
    I doubt that this is possble without modification. A planning function changes data or creates new data. This part can be done in an exit planning function as well. The next steps which are not done be the planning function but by the planning framework are e.g. checking the data for consistency, running the characteristic derivations and as well checking the data against the data slices. So your SAVE should be done after all this has happend. You should not do this in your planning function, for the reasons I have mentioned. Please check if your requirement is really necessary.
    Regards Matthias

  • Error After deploying Portal Mast Head

    Hai,
    I copied PAR file com.sap.portal.navigation.masthead.par.bak to my local machine from the server and renamed that to mymast.par. Then i imported this PAR file into Netweaver developer studio and i modified headeriview_nls_de.properties file which is under the folder Portal-INF\private\classes.
    From this file only the description(label) are taken and shown in the portal screen when different logon language is used, hence i just changed the German words into other, so that when the user login to  Portal using German language they can see my words.
    Then i exported this project as a PAR file and deployed this par file into portal using portalanywhere.Then i created a iview based on this PAR file and tried to see a preview that time it gave a error.
    My requirement is to change the German word "Willkommen"(Welcome in English) to "Will" like this i have to change many words. So i used the above approach.
    I am not sure where i did a mistake. Please let me know in which step i did the mistake and whether the approach is used is correct.
    The error i am getting is the below one,
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com.sapportals.portal.navigation.HeaderiView.
    Exception id: 12:08_29/08/06_0003_22927750
    See the details for the exception ID in the log file
    Regards,
    H.K.Hayath Basha.

    Hai Kuthbudeen
    The jar files are not included in the modified par file. You can unzip the default par file and then copy  the "com.sap.portal.navigation.masthead_core.jar" jar file from this. Paste the jar file in to your project folder "PORTAL-INF\private\lib" . Then deploy the par file
    Regards
    Geogi

Maybe you are looking for