Debugging the portal application

Hi all,
It is possible to debug the portal application.
If yes how.
Regards,
Aravindhan.R

Hi Aravindhan,
Check out this link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/lw/developercontent/sap%20portal%20development%20kit%20for%20.net%20developer's%20Guide/Previewing%20and%20Debugging%20Portal%20Applications_Debugging%20Portal%20Applications.html
Also do not forgot to set iViewProcessorService property, ProductionMode to false.
Regards,
Ashutosh

Similar Messages

  • How can debugge the portal application

    hi sdn,
    how can we debugge the portal application.what are steps are needed for this
    any documents please forward me.

    Hi Kiran,
        Following is the steps for debugging the portal application.
    <b>Steps for Debugging</b>
    <i><b>1.     Stop the Portal Server if Running.</b></i>
    <i>
    <b>2.     Launch the Config tool of J2EE Engine & Set Up the debugging of the     current instance.</b></i>
    &#61607;     The Config tool is located in the directory ,
    <J2EE-Install-Dir>\JC00\j2ee\configtool\configtool.bat
    &#61607;     Switch to the current instance & go to the debug tab.
    &#61607;     Set “Enable Debug Mode” checked, start the VM of J2EE in debug mode.
    &#61607;     Set a valid debug port, default port is 50021.
    &#61607;     Save the settings and restart the J2EE Engine.
    <i><b>3.     Restart the Portal Server.</b></i>
    <i><b>4.     Open SAP Netweaver Developer Studio.</b></i>&#61607;     Go to Window --- > Open Perspective --- > Enterprise Portal & also open the Debug perspective.
    &#61607;     This enables you to develop & deploy EP Components to your development Portal.
    <i><b>5.     Configure Development Environment for Debugging.</b></i>
    &#61607;     Create new Remote Java Application debug settings.
    &#61607;     Pressing the debug button attaches the SAP Netweaver Developer Studio to the Specified portal installation.
    &#61607;     Go to Debug --- > Remote Java Application & create a new setting for your current Portal Application Project.
    &#61607;     Insert the portals DNS or IP Address and the debug port specified in the Config tool, default port is 50021.
    &#61607;     If the portal runs on the local machine you can enter localhost instead of IP address or DNS name.
    &#61607;     Make sure that your Portal Application is already deployed in the portal.
    <i><b>6.     If the connection is attached to the J2EE engines VM session, the SAP Netweaver Studio is ready to debug.</b></i>
    <u><b>BREAKPOINTS</b></u>
    <i>A Breakpoint causes the execution of a program thread to suspend at the location here the breakpoint is set.</i>
    <i><b>7.     Set a breakpoint in your custom coding. The debugger will stop if the VM reaches this marked code line.</b></i>
    To enable the breakpoint,
    &#61607;     Locate the breakpoint in the marker bar of an editor.
    &#61607;     Open the breakpoint’s context menu & select  ‘Enable Breakpoint’.
    &#61607;     The breakpoint image will change back to a blue circle.
    <b>VARIABLE VIEW</b>
    <i>The “variables view” contains information about the variables in the currently-selected stack frame.</i>
    <i><b>8.     To Launch the Variables View :,</b></i>
    Choose Window -- > Show View -- > Other -- > Select Debug -- > Variables View.
    <i><b>9.     Force the Portal to execute your deployed coding.</b></i> The VM stops at the specified break point.
    10.     The current values of the member variables can be tracked in the “Variables” window of SAP Netweaver Developer Studio.
    <i><b>** Reward points if you find this Post Useful & Helpful.</b></i>
    <i>Regards,
    Eben.</i>

  • Remote enabled FM for the Portal application

    Dear all,
    I need to develop a Remote enabled FM for the Portal application. The requirement is to pass the output( few fileds) of MC.1 Transaction to the portal.The issue is whether to write our own logic in the function module or is there any alternative way.
    The input is same as for the std tarnsaction MC.1
    Thanks
    Kumar

    Yes you will have to create a Z function module.
    Instead of declaring the function module as normal function module in the attributes tab, mention it as remote function module.
    Also when giving import and export parameters select the pass value check box.
    This might solve your query.
    Thanks & Regards,
    Lalit Mohan Gupta.

  • Debugging the Portal

    Hi can any one help me out with the various ways of Debugging the portal screen.

    Nivash,
    If you are talking about WDJ check these
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/849170e3-0601-0010-d59e-ddfce735fac5
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/57a09d90-0201-0010-9dab-a716ed1f7808
    Thanks
    Bala Duvvuri

  • Set a language on the portal application

    Dear All, 
    How I can write code to set a language on the portal application?  
    thanks in advance,
    Marcelo Osako

    Hi Marcelo,
    I assume you mean how to change language for a single iView only. For changing overall language, the user can just go to the portal personalize page.
    For an iView, you can do a lookup of the iView and change the language, like so:
    InitialContext iCtx = null;
    String personalHello = "portal_content/DanielContent/DanRole/danWS/hello";
    try {
       iCtx = new InitialContext(env);
       IiView myIView = (IiView)iCtx.lookup(personalHello);
       myIView.putAttribute("ForcedRequestLanguage","de");
       myIView.save();
    You would have to do a personalized JNDI lookup, so the language is only changed for the user. However, this would permanently change the page for this user.
    Hope this helps.
    Daniel

  • How to debug the webdynpro application

    Hi ,
    i am facing a problem for debugging web dynpro application from offshore (my server is located in onsite) and i connected using VPN and also i changed my SDM Debug Mode to ON  and also enable debugging of  process also but it is giving error message like this
    <b>Failed to Connect to remote VM.Connection Refused</b>

    Hi Nageswara
    The link provided shows you hoe to debug WebDynpro application.
    Its a eLearning course available on sdn,  which shows step by step process.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/3178ae74-0701-0010-ba8d-e3ca9f1edc1e
    Hope ur problem is solved.
    Pls award points for answers.

  • Error while running the portal application

    Hi All,
    I have made one sample portal application in Sun Java Studio Enterprise 8.When I build this application it is successfully build.Now when I start the server of Sun Java Studio Enterprise 8 and try to run the project ,the browser opens and gives the following error::
    HTTP Status 404 - /portlet/
    type Status report
    message /portlet/
    description The requested resource (/portlet/) is not available.
    Sun-Java-System/Application-Server
    If anyone having idea about this problem then please let me know.All suggestions are welcome.
    Thanx and Regards,
    Chirag.

    OK, so they are not in the mood for posting on the forum today :-)
    They suggest three things.
    1) Restart the server. Deploying a portlet requires some configuration changes, which will take effect only after the server is restarted. Thus if it failed to restart due to some reason...
    2) Try deleting the JSE userdir and trying again.
    3) If the above two items do not help. Start the studio with the following command:runide.exe -J-Dcom.sun.tools.ide.portletbuilder.log=log,info try the deployment and either post here or email the output which will be output to the console.
    HTH,
    Kirill

  • Debug the swing application from eclipse

    Hi
    I had a swing application, to create a exe file i build the application using using build.xml. To run the application we need to open the exe file.
    I want to debug this swing application from eclipse. Can anybody please tell me how to debug this application.
    Note: I can able to debug simple swing application. But i can't able to debug this application.
    Thanks
    mindus

    If it's an actual .exe--that is, if you've compiled it to a native Windows executable--then you can't debug it using a Java debugger (such as the one in Eclipse).
    If, on the other hand, you just have a .jar file or a bunch of .class files, then you can debug this app the same way you debugged the other one.
    If you don't provide more details about what you actually did and what exact problems you're having ("I can't do it" contains no useful information whatsoever), then it's impossible to provide any more detailed advice than this.

  • Popup when closing the portal application by close browser button

    We are using the portal with BSP's and in some cases we have more browser windows open. The user get confused and want to close all windows except for the main one. Put in many occasions he closes the main browser window to and then he has to logon to the postal again and go again to the page he want to be returned.
    What we like is to have the functionality available that if the user closes the main-window he soul get a pop-up window if he really wants to close the application.
    (you can not solve this problem by building an 'onunload' in the body-tag of the index.htm, this will lead to a pop-up any time the page changes)

    Why dont you put the onUnload() function in the header of the portal?
    Would that work?

  • Debugging the webdynpro application

    hi
        iam  trying to debug  my  webdynpro  application
          its showing  as 
          selected  server node  doesnot  run in a restricted  load
         balancing  mode 
             any suggestions ?

    hi
    thanks for the reply 
    i have gone through this  document 
      in selecting  the  j2ee  engine  where  we select
      server  node  its showing up the error  as  in the  cluster
      we have  two  nodes  server 0  and  server 1
             any suggestions  ?

  • Debugging the mobile application

    Hi experts,
    I want to debug the PDA data on my desktop.
    SAP asks for client image( MI folder of PDA ) to be sent and then debug the cause.
    I want to do same but what all folders are needed for the same and how to do the same is confusing me.
    I am using eclipse( with MDSD plugin ) and MDSD2.1 application..
    Someone help me please..
    Regards,
    Akhil

    Dear Abhishek,
    Full MI folder is not needed for MDSD application.
    Only specfic folders will solve the purpose.
    Regards,
    Akhil

  • Debugging the FLEX Application

    Hi,
    How to debug the flexapplication like .NET application
    Thanks

    Use the debugging Flash Player and Flex Builder's debug mode.
    Tracy

  • Monitor performance/load of the portal application.

    Hi,
    is there any best tool to monitor performance/load of portal application.please help me out...?
    Thanks
    ramesh jillella
    Edited by: Ramesh jillella on Mar 19, 2009 12:35 PM

    I used YourKit on a project about a year ago. I've used a few other profilers and this one was the simplest to install, configure, and use in my opinion. I was doing basic CPU profiling of a WebLogic Portal application on my machine using YourKit within about a few hours of learning of the existence of YourKit. I used it to find performance bottlenecks and it did the job.
    http://www.yourkit.com/home/index.jsp

  • Debug the Flex Application with tomcat Server

    Hi,
    I have the adobe flex builder plugin with my eclipse and I created a Flex project which is running on my Tomcat Server. Now, I would like to run my application in debug mode and I could not see the debug perspective. But, if my application is not configured with tomcat server, I can the debug perspective in my eclipse.
    Do we need to do any additional settings for viewing the debug perspective for Flex Applications which is configured in tomcat Server?

    You can't debug an app on the server, at least not using the debug perspective. Troubleshooting deployed apps if far more difficult.
    If this post answers your question or helps, please mark it as such.

  • Error while starting the Portal application server

    Hi ,
    We are running EP 7 on SP12 on HP-UX1 1.31 with Oracle.
    this a strange problem that we are facing.When we try to restart the Application sever it never starts up until we take a restart of the CI as well.
    The default trace writes
    m.sap.engine.core.Framework#######Thread[Thread-1,5,main]
    ##0#0#Fatal#1#/System/Server#Plain###Critic
    al shutdown was invoked. Reason is: Error getting confirmation reply
    during attach to cluster.#
    #1.#0019BBEBBF0E00000000001E00002348000442F5B31BE7CE#1199522946212#com.sap.engine.core.Framework##co
    m.sap.engine.core.Framework#######Thread[Thread-1,5,main]
    ##0#0#Fatal#1#/System/Server#Plain###Critic
    al shutdown was invoked. Reason is: Error getting confirmation reply
    during attach to cluster.#
    #1.#0019BBEBBF0E00000000001700002885000442F61C903BE6#1199524715444#com.sap.engine.core.service630.co
    ntainer.LoadContainer##com.sap.engine.core.service630.container.LoadContainer#######Thread[Thread-1,
    5,main]##0#0#Error#1#/System/Server#Plain###interface
    tclmctcculinterface_sda - null jars, incor
    Has anyone come across same error??
    If we restart the CI then everything starts up well.
    Regards,
    rohit

    Hi,
    We are facing the same problem.
    Can you help me out with this??
    Thanks & Regards,
    Arpita Saini

Maybe you are looking for

  • Change Default iCal email invite handler

    Right now in iCal, when I want to invite someone to a meeting, it wants to open Mail and send it out through that. Problem is I don't use Mail. I use Gmail via the Chrome browser. Is there any way to change the default email handler to Gmail? Or at t

  • Flash menu screen and related .swf "blank"?

    Unable to always obtain Flash menu screen (and related .swf file). This is really odd! On some rare occassions it is possible to successfully create flash output but most times not. As the number of successes are rare, I can't analyse & determine wha

  • Opening up iPhoto

    This is very annoying: Every time I open up iPhoto, I get the message: "2 photos have been found in the iPhoto Library that were not imported. Would you like to import them?" If I hit "yes", the message appears again. If I hit "yes" again, iPhoto ope

  • WRT54GS Wont support Two XBOX 360s online at the same time

    Just bought new Linksys WRT54GS to support two XBOX 360s live simultaneously.  Can't log both on at same time. It kicks first 360 off when second one tries to log on.  How can I fix this and have both NAT types open?

  • IPad orientation stuck -  any ideas?

    My iPad has got stuck in portrait mode even though I haven't locked the orientation.  How do I get it to go back to landscape?