Debugging portal based application

Hi,
Can anybody tell me how to debug an application based on Portal?
regards
Juhi Kulshreshtha

You can simply use the sap logging API and dump debug statements to default.trc throughout your code.  This is especially useful if its you dont want to/cant use the eclipse debugger:
http://help.sap.com/saphelp_nw04s/helpdata/en/4a/c3953ff1353c17e10000000a114084/frameset.htm
Reward points if this helps

Similar Messages

  • Calling a portal based application from another WD java application.

    Dear All,
    I have a requirement to Access a Portal based customised application from a WD Java appln.
    Please help me .
    Thanks and Regards,
    Soumyadeep.

    Hello Soumyadeep,
    The procedure that you are using for calling the portal application is correct.
    But if nothing is happening on click of the button then i think you are not running the application in the portal. You are running it as an independent web dynpro application.
    If you run your application as an iview in the portal only then you can use this navigateabsolute method.
    So run your application as an iview and try to navigate from there only then it will be able to fetch the url from the PCD.
    otherwise get the url of that application and create a nonmodal exteranl window and give it the url of the
    application.
    So to use the code that you have written here you have to upload this application to the portal and then you can call that particular iview when it is called from the portal.
    Hope it is clear.
    Please let me know if you still have an issue.
    Thanks
    Sarbjeet Singh

  • Debugging CFNetwork based application

    Hello.
    I am developing an application with CFNetwork and I face quite strange issue: FIN packet is sent to the remote server immediately after packet with http request is sent, or FIN packet is sent later during transmission of the response body (before whole body is received). I tried to investigate my code for misplaced closes of CFReadStream or other issues, but so far with no success. Are there any recommendations for debugging of CFNetwork based applications? Can I for example force CFNetwork to write some logging messages?
    Thanks,
    __faramir

    __faramir wrote:
    Are there any recommendations for debugging of CFNetwork based applications?
    Don't do it? Seriously, unless you are writing code where you have to pay attention to such things, you are coding at far too low a level. Since you mentioned things like "http" and "the remote server", that certainly sounds like it is the case. Look for some higher-level interfaces.

  • Workflow Issue - Enterprise Portal based application not updating Notif.

    Hi,
    We have designed some workflows based on Adobe Interactive Forms.
    We have mapped the APPROVAL STEP to an Enterprise Portal Application(IsrFormApproval) through the SWFVISU txn.
    We had a requirement that the Supervisor can change the contents of the Adobe Form during Approval. But when we make these changes to the Adobe form before approval, these changes are not persistent. I mean, when I make changes to the Form, these changes are not getting reflected in further approvals.
    Can anyone help me out in these regards.
    The notification changes are not getting updated by this IsrFormApproval application.
    Regards,
    Raja Sekhar

    Hi Jocelyn,
    Thanks for the reply again.
    Yes, I checked my PC has the following ActiveX Controls in place.
    1)AcroIEHelper.dll
    2)AcroPDF.dll
    3)GbDetect.dll
    4)Pdfshell.dll
    I hope these are the only DLL's that should be there by default.
    Is there any specific Configuration to be done to ADOBE DOCUMENT SERVER for this feature to work alone.
    Can you let us know where should we mention the TEST OPTION in QISRSCENARIO txn.
    Yah,I maintained all the needed parameters as you said.
    I cant find any error message in workflow log and flow goes smoothly to the next level supervisor without persisting the changes done by first level supervisor.
    So,can you let us know clearly if <b>IsrFormApprove</b> application can really update the NOTIFICATION details at Supervisor Level.
    I will check the full cycle if WS50000041 today.
    Regards,
    Raja Sekhar

  • Web Based Application Single Sign on With Enterprise Portal

    Good day Developers,
    My question is really a two part question so forgive me in advance for asking in one post as I think they are relative to each other. My project is currently exlporing the creation of functionality that will allow the following:
    1. We want to allow a secure Web Based application possessing the abilitiy to auithenticate the user into Enterprise Portal and by passing the login screen to get to a landing page/iview in our Enterprise Portal instannce.
    2. We want the abilitity to perform a check of the user and create the user in the enterprise portal on the fly if they do not already exist.
    So far in my research I've come across tools and white papers mentioning the use rof oAuth and OpenID. Is that the right way to tackle these two items. Thanks for your help in advance.
    JD

    Hi
    1. You can do SSO between you application and portal using Verisign or third party authentication tool. I am not pretty sure how landing page and all will work as you mentioned.
    As portal is web based, you can deply your application in portal server. So that you will not need any other authentication tool.Also you can save effort , cost.
    2. By deploying application in portal also you do not have to concentrate on User management, which is itself a huge effort you have to put. Else you can go for third party tools like Identity management or ADS.
    -Yogesh

  • Embedding java based application in  portal

    hi ,
    I want to embedd a java based application..Iam giving the pageURL in provider file..will it work r any problem..
    i want to display that application as portlet.is mentioning page url is enough..that is tomcat..
    Second way:if i copy all jsps and source files to htdocs and create a war file and ear file..will it works..
    how to mention in provider.xml file to show this application in portal.
    is there any specific way..
    plz mail me
    regards,

    Our expirience with these types of applications is that you will need to integrate your jsp files (to some degree) into Oracle's jpdk framework, which essentially means some of the functionality of your jsp files may not work properly unless you switch to use many of JSP files with the JPDK api (i.e. custom tags and custom api calls so that the portal can render your application as a java portlet provider).
    I think there is also a way that you can deploy your web application in oc4j and possibly use the web clipping portlet to show this java based application, however, I am not familiar with this, and you should probably ask Oracle Support for more information
    Regards,
    Jack
    Check out Compoze Portlets for Oracle9iAS Portal v2.0 featuring portlets for discussion, chat, whiteboard and seamless integration with Domino / Exchange at http://www.compoze.com. Download them for a free trial!

  • How can I debug portal application?

    What is the best IDE for developing portal application? So this IDE allows to debug
    portal programs. Because a portal application is enterprise application, EJB will
    possibly be used as business components. What IDE allows to not only degug components
    that are reside in web container such as JSP and InputProcessor components but
    also debug pipeline components that are reside in Enterprise Java Bean (EJB) container.
    Many thanks!
    Penny

    My suggestion is to learn and use a logging framework in your enterprise
    applications instead of relying on a debugger. (we use log4j and the
    jakarta log tag library). This will also make maintenance and support of
    your application much easier. It also is very usefull after deployment,
    allowing you to configure it on the fly.
    We like intellij very much (I think they have a sale on their personal
    licenses going $200/each). Not for debugging, which it can do, but for ant
    integration and its huge EJB and web application support. It can do things
    like code completion and refactoring even in JSP pages. It is the only IDE
    I've found that is very powerful but also gets out of your way and doesn't
    impose its standards on your project.
    Of course, when you ask for the best IDE you'll get many opinions.
    "Penny" <[email protected]> wrote in message
    news:[email protected]..
    >
    What is the best IDE for developing portal application? So this IDE allowsto debug
    portal programs. Because a portal application is enterprise application,EJB will
    possibly be used as business components. What IDE allows to not only degugcomponents
    that are reside in web container such as JSP and InputProcessor componentsbut
    also debug pipeline components that are reside in Enterprise Java Bean(EJB) container.
    >
    Many thanks!
    Penny

  • Bobj is undefined error while debugging a web application

    Hello, I am developing an asp.net web application in which I display a report, and testing it by using a sample (dummy) report that's saved on the computer's hard drive.  In design mode, the report displays properly, when when I try to debug the site on my machine (the server in this case, but it should work on any computer, since debugging is done on localhost), the site crashes and returns a Microsoft JScript error 'bobj is undefined'.  I have already tried moving the CrystalReportsViewer folder to be a sub-directory of the application (physical and virtual), as well as adding a script tag to refer to the location of the .js files in that directory, but nothing seems to fix the error.
    I recently tried installing the fix-packs and service packs for crystal reports, but the problem persists.
    I"m running Windows 7, VS 2008, Crystal Reports 2008, and IIS 7.  Thank you in advance.

    Hi;
    Compiling as 32 bit is only available for a Windows based application, not a Web one. You need to configure IIS to run either 32 or 64 bit.
    As for the bobj undefined error, try these kbases:
    [Bobj|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233373338333933353332%7D.do]
    [Undefined|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133383333333033363335%7D.do]
    Regards,
    Jonathan

  • Flex 4.5 mxml based application not running after iOS packaging on i pad

    I have created one mxml based application on flex 4.5 and make the .ipa file by iOS packaging of adt command.The command  goes as followes
    adt -package -target ipa-debug -storetype pkcs12 -keystore  development_key.p12 -provisioning-profile flex_air.mobileprovision  testIphone.ipa testIphone-app.xml testIphone.swf
    The .ipa files are generated in the root folder of the C:\Program Files\Adobe\Adobe Flash Builder 4.5\sdks\4.5.0\bin folder.
    But when I am running that file in Ipad it is not working.Cant install that application on Ipad.
    Can anybody have any solution for this??

    Hi Debarghya:
    As you mention "Cant install that application on Ipad." I am assuming that you can't get it on your iPad if that is the case. There are two things you should check.
    1. Does your mobileprovision has your device added to it, on iTunes portal?
    2. Make sure the id tag in testIphone-app.xml matches with your application identifier for which you created this provision and certificate on iTunes portal.
    If the problem is that application is installed on your iPad. But when you launch you see black screen forever or application closes automatically to take you to home screen.
    1. try with  -target ipa-debug-interpreter instead of -target ipa-debug and see if application starts and post your findings back.

  • Authentication between Single Sign-On and Web based applications

    Hi everyone,
    I need to create a way in Portal 10g (10.1.2.0.2) that allow me to do the following:
    Once the user is logged on Portal (against Single Sign-On - SSO) he doesn't need to retype his username/password when he access a web based application throught the portal, in my case, an ASP application (not .NET, just ASP).
    I made a test creating a External Application in SSO and after publishing this portlet (external application) inside portal.
    It worked, BUT I was prompted to inform username/password to log on the aplication.
    So, the user end up entering his password twice.
    Does anybody know a way to acomplish this task?
    The documentation I'm researching is:
    Oracle Application Server Single Sign-On
    Administrator's Guide
    10g Release 2 (10.1.2)
    B14078-02
    Oracle Application Server Single Sign-On
    Security Guide
    10g Release 2 (10.1.2)
    B13999-03
    Thank you very much,
    Diogo Santos.

    have figured out how to secure any HTML, ASP, PHP, CFM, etc. web page again Portal / OID using the PDK toolkit.
    Using AJAX (Asynchronous JavaScript and XML) and one Oracle Stored Procedure just adding a simple Javascript call to any HTML, ASP, PHP, etc. web page can secure it via Oracle SSO (OID). Access to any secured web page will require that it to be linked from an authenticated Portal session or a page opened in an authenticated Portal session.
    This process can be easily modified to add in group security etc. This is just my starting point.
    1) Create a stored procedure
    # Make sure it has access to portal.wwctx_api.is_logged_on
    CREATE OR REPLACE PROCEDURE login_ajax_check (
    display_error IN number default NULL) AS
    BEGIN NULL;
    If portal.wwctx_api.is_logged_on = false then
    htp.prn('DENY');
    ELSE
    htp.prn('ALLOW');
    END IF;
    Exception when others then htp.p('DENY');
    END;
    2) Use this Javascript in any page you wish to secure.
    <-- Begin Paste Here -->
    <script>
    var allowgo=2
    function ajaxCallRemotePage(url)
    if (window.XMLHttpRequest)
    // Non-IE browsers
    req = new XMLHttpRequest();
    req.onreadystatechange = processStateChange;
    req.open("GET", url, false);
    req.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
    req.send(null);
    else if (window.ActiveXObject)
    // IE
    req = new ActiveXObject("Msxml2.XMLHTTP");
    req.onreadystatechange = processStateChange;
    req.open("GET", url, false);
    req.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
    req.send();
    else
    return; // Navigateur non compatible
    // process the return of the "ajaxCallRemotePage"
    function CheckPortal()
    ajaxCallRemotePage('[Your page calling the procedure from above]');
    function processStateChange()
    if (req.readyState == 4)
    if (req.status == 200)
    if (req.responseText.substring(0,4) == 'ALLO')
    allowgo = 0;
    else
    allowgo = 1;
    function doPage()
    if (allowgo==1)
    window.location='[Your login or error page]';
    CheckPortal();
    doPage();
    </script>
    <-- End Paste Here -->
    That's it!!! Super easy. It works great too.
    Larry Schenavar
    [email protected]

  • Registering the Web based application as a Partner Application

    Good day
    I went through the suggested documentation of registering a
    web based application as a partner application of the SSO Login Server.
    I installed the SSOSDK.JAR and went through the demo application (JSP Demo)
    which consists of the following programs :
    papp.jsp
    ssoinclude.jsp
    ssoEnablerJspBean
    SSOEnablerBean
    SSOSignon
    As per the technical documentation,I register this demo application as a
    partner application.
    1 - The source code of the papp.jsp checks for the existence of the user
    through method of ssoEnablerJspBean [getSSOUserInfo(request, response)] which
    calls method of SSOEnablerBean [getSSOUserInfo (request, response) and this
    method calls getUserInfo(p_request) of SSOEnablerBean (the same program) to
    check the existence of the application cookie.
    2 - If it doesn't exit , it redirect it to the SSO Login page for user
    authentication.Once the user is authenticated, a SSO login cookie is created on
    the client's browser and redirects back to the SSOSignOn.
    3 - The SSOSignOn program creates the application cookie and redirects back to
    the entry point of the demo application which is papp.jsp.
    My Questions are as follows :
    1 - Instead of creating a session object within my web based application to hold some
    information used between the different pages, can I define them in the
    application cookie? kindly advise? Is there any limitation for the length of
    the application cookie? If yes, what will be the risk?
    2 - The SSOSignOn program is calling a method in the SSOEnablerBean
    [setPartnerAppCookie(response, request). Within this method , it is retrieving
    the parameters values of the request object as :
    request.getParameterValues("urlc")[0];
    What is the role of this [urlc]? Is it hard coded? Can I change it?
    3 - In order to ensure that I am still dealing with the same user, shall I put
    the above security check procedure on each page of my weeb based application? Kindly advise?
    Thanks in advance for your prompt feedback
    regards

    Dear Paul
    I think there is a misunderstanding regarding the last correspondence.
    I am talking about the customized home page of the PORTAL and not the home page of my web based application (JSP) .So in this case, Am I able to use the customized home page which contains a login portlet instead of the default Login page of the SSO Login Server.Kindly advise!!!
    On the other hand, I am facing a problem during the surfing of the web based application.
    The web based application consists mainly of two packages :
    Package I : Bank.counter which contains a set of jsp pages.
    JSP_HOME_COUNTER (MAIN PAGE WHICH CONTAINS 2 FRAMES)
    JSP_LEFT_FRAME_COUNTER
    JSP_MAIN_FRAME_COUNTER
    JSP_MAIN_FRAME_COUNTER_DETAIL
    Package II : Bank.portfolio which contains a set of jsp pages.
    JSP_HOME_PORTFOLIO (MAIN PAGE WHICH CONTAINS 2 FRAMES)
    JSP_LEFT_FRAME_PORTFOLIO
    JSP_MAIN_FRAME_PORTFOLIO
    Please note that the SSO classes are residing under the first package.
    As agreed on in the third question, I am including in each page of my web based application, a security check procedure as follows :
    <%@ include file="ssoinclude.jsp" %>
    <%
    if(usrInfo == null)
    response.getWriter().println("<center>User information not found</center>");
    else
    my jsp code.......
    %>
    Please note that all the jsp page of the portfolio package are pointing to the SSO classes as follows :
    <%@ include file="../counter/ssoinclude.jsp" %>
    <%
    if(usrInfo == null)
    response.getWriter().println("<center>User information not found</center>");
    else
    my jsp code.......
    %>
    Once I invoke the JSP_HOME_COUNTER , it will render the JSP_LEFT_FRAME_COUNTER page and
    JSP_MAIN_FRAME_COUNTER page which invokes the SSO Login page. Once the user has been authenticate, the result of the JSP_MAIN_FRAME_COUNTER is rendered successfully. The result contains an hyperlink to the
    JSP_MAIN_FRAME_COUNTER_DETAIL page. As the user has been authenticated , this page is rendering automatically the result without displaying the SSO Login page. (Perfect as of now!!).
    Once I invoke the JSP_HOME_PORTFOLIO from the JSP_HOME_COUNTER, it runs the security procedure without any rendering of the SSO Login page (fine!!) but redirects me back to JSP_HOME_COUNTER instead of rendering the result of the JSP_HOME_PORTFOLIO.
    please note that the m_requestUrl variable in the SSOEnablerJSPBean class has been assigned the folowing value : JSP_HOME_COUNTER
    Kindly advise .

  • Error while configuring Debugging for WebDynpro Application

    Hi Experts,
    I am trying to configure Portal server for debugging a WebDynpro application.
    In NWDS , in Debug configuration
    When i tried to add my Webdynpro Project and application under Debug tab , No problem.
    But when i checked J2EE Engine tab : it showed the following error.
    <b>[J2EE Engine]: the selected server node does not run  in restricted load balancing mode, please configure it correctly so that the URL extention can be used</b>
    And ignoring it when i started debugging the application , the URL was formed like this :
    http://<host>:50000/@@@DEBUG@@@7672950/webdynpro/dispatcher
    /local/WDtest/WDtest?SAPtestId=1
    with the error :   The requested resource does not exist.
    Details: Go to main page of this application!
    Can anybody help me to fix the configuration.
    Regards,
    Ashish Shah

    Hi,
    To configure to the debugging mode... follow the steps:
    1. Select "SDM" from J2EE engine (To get this view navigate thru Window--> Show View --> J2EE Engine)
    2. Make a right click on "SDM" and choose "Enabling Debugging of Process"
    3. Now, Navigate to Run --> Debug --> Select your Project as "Webdynpro Application" and click "new" button
    4. Now give some name and Click BROWSE to select ur project and then click APPLY and DEBUG
    Or if u use 2004s, then u can do the settings in Portal itself...which gives u more clear information...  follow the link
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56">WebDynpro Java Debug Configurator</a>
    Hope it helps...
    Regards / Guru

  • Front End for BW 3.5 and Java based application

    We are trying to connect two systems; SAP based (through BW) and Non-SAP based (Sybase, Java based) applications. We are exploring BI Java SDK with UDDI or XI services to bring Non-SAP data to NetWeaver. We don't want to store all data from sybase to BW. We could use Front end of BW or any other GUI from SAP Portal. I have heard options like UI, GUI machine, net weaver developer studio, visual composer. Ideally, we would like to combine non-sap and sap data in Business explorer/BW web browser but any other front end suggestion within Net weaver frame work will help us keep our cost down. Please advise.
    Thanks.
    Vinay Karna

    We're in the middle of upgrading from 3.1 SP 22 BW w/6.20 SAPGUI. We've only upgraded a sandbox BW server at this point, but we have upgraded all BW team members with SAPGUI 6.40 FEP 5 and can successfully connect to our 3.5 and 3.1 BWs.

  • Debugging abap webdynpro application

    hi gurus,
    an abap webdynpro application is runninf fine in developmernt server but not in production system. i transported the application again to refresh the application in production. but still the error persists. now i want to debug the abap editor in production system. so i wrote code 'BREAK POINT' in abap editor. but program is not stopping at this code. in dev as well as in prod system. please suggest.
    Moderator Message: There is a separate forum for Webdypro for ABAP. Please post your question there.
    Edited by: kishan P on Nov 29, 2010 1:25 PM

    Hi
    Few links to check:
    External debugging is not working
    Re: Debugging Abap webdynpro appln
    Re: Unable to Debug WD ABAP application
    Dedug is not working in Production Server.
    a) Check on number of R/3 sessions opened at a time.
    b) Check that user ID configured in portal using System Mapping Under 'Delegate User Administration' is the same user for which you are setting external breakpoint in backend system.

  • How can I debug webdynpro java application?

    hi,
    How can I debug webdynpro java application?
    Thanks

    Check this document
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56
    Also check this sdn thread Re: DeBugginng The WebDynPro Application particularly shailesh kumar posting
    /padmanaban
    Edited by: Padmanaban on Sep 26, 2008 1:55 AM

Maybe you are looking for

  • File to File transfer with a Mail Confirmation using BPM

    Hi everyone, I'm trying to configure a scenario where I will pick a file, send it to the appropriate receiver and send an acknowledgement mail to a mail account. I have created necessary business process, interfaces, mappings, data types in IR. Also,

  • Anyone solved the "won't shutdown" problem?

    one of the OS updates tried to fix it a while back, but like many my computer still won't shutdown. this has happened ever since i upgraded to leopard and installed my time capsule (not sure if time capsule is part of the problem). even when my compu

  • Modem DSL Light flashes

    Hello I posted a few days ago about my PPPOE connection dropping on my Apple router around once or twice per day. I have since noticed that when this happens, the DSL light on the white modem also goes out and flashes. In fact, it happened last night

  • Black and white adjustment as shown in tutorial won't allow me to select.

    I am using the free creative cloud trial. Does anyone else have problems with this?

  • I can not remember then name anwers to my security questions.

    I can not remember then name anwers to my security questions. The questions are: Who was your favorite teacher and Who was your first teacher. I can't remember the answers that I gave when setting up the apple id last year. When I go to appleid.apple