JSPDynPage unable to debugging in NWDS?

Hi, I'm using EP 6 SP9 sneak preview edition to develop and test portal components.  I'm running SAP J2EE engine in debug mode and I have successfully debugged AbstractPortalComponent. 
I recently created a JSPDynPage component but unable to debug, I don't know why.  When I copied the code from JSPDynPage and created a new AbstractPortalComponent, set some breakpoints debug seems to work but not working for JSPDynPage, any reason?  Am I missing anything here?
Another question here is can we debug JSP as well?
FYI: I was able to debug JSPDynPage component when I exported EP5 JSPDynPage component into NWDS, it then created EP6 portal component structure and deployed into EP6.
Appreciate your help.
Thanks
Siva
Message was edited by: SV

Thanks Ganesh,
One of the link you provided had resolved my issue with debugging.  All I did is remove the below two entries from portalapp.xml file
<property name="ComponentType" value="jspnative"/>
<property name="JSP" value="pagelet/InitialPage.jsp"/>
These 2 entries are created by default for JSPDynPage components by the wizard in NWDS SP9.  I don't know if this is same in later releases.
I can debug now.
Thanks
Siva

Similar Messages

  • Unable to debug indesign cs5 plugin in windows

    Hi, again. Originaly posted here: http://forums.adobe.com/thread/766469?tstart=0
    We are having some problems with an indesign sc5 plugin, it works perfectly in macosx but in windows it causes indesign to crash. Anyway after some trouble shooting we tried running it in debug indesign. Problem is that the debug version of indesign wont even start, it fezzes in the splash screen on "Registering xxx plug-ins". It hangs before we can write anything in log files and thatching a debugger gives nothing. Closer inspections
    revealed that all the indesign treads is in "waiting" state. Waiting for what? Don't know. Killing one of the threads allows indesign to start but it will not have loaded the plugin and we are back on square one unable to debug.
    Anyway I installed the osx version of debug indesign and starting it gives an assert like: 
    No translation of key 'com.adobe.rc.operationalmessages' to British string. 
    BreakStrToDebugger
    ASSERT_FUNC
    Examining the stack of the indesign main thread in windows gives pretty much the same thing:
    0, ntkrnlpa.exe!KiDeliverApc+0xb3
    1, ntkrnlpa.exe!ZwYieldExecution+0x19ae
    2, ntkrnlpa.exe!NtWaitForSingleObject+0x9a
    3, ntkrnlpa.exe!KeReleaseInStackQueuedSpinLockFromDpcLevel+0xb14
    4, ntdll.dll!KiFastSystemCallRet
    5, kernel32.dll!WaitForSingleObject+0x12
    6, PMRuntime.dll!ClientShowAssert+0x8d
    7, PMRuntime.dll!BreakStrToDebugger+0x15
    8, PMRuntime.dll!ASSERT_FUNC+0x117
    9, NETAPI32.dll+0xbe86972
    (as reported by the ProcessHacker process viewer)
    So the win version is trying to show an assert window but fails, locking indesign in the splash screen? Stoping indesign before any plugin execution?
    As we cant get any debug information out we don really know what the problem is, making it rather hard to debug. We have triple checked the build and linking options. Studied the plugin exports. Inserted an ridiculous amount of trace statements in the code, doesn't work in the debug version but anyway.
    Have anyone had a problem like this or know what might cause it?
    What happens in the indesign startup process, what does the “Registering plug-ins” actually do? It's not executing any plugin functions and the the initialization of the plugins doesn't happen until later.

    You are correct in that none pf the plug-in code is executed during the "Registering ### plug-ins" phase. What is done here is simply loading the plugins by reading from their resource definitions. For example, if you try to load a CS4 plug-in in InDesign CS5 or if you try to load a release plug-in in debug version you will get errors and popups here and your plugin will not load and be available (these are just example errors and may not be relevant to your case). As far as I know InDesign should not crash just because there is a problem with your plugin, but there could be bugs.
    I would recommend:
    1. Remove your plugins and verify that InDesign debug starts properly without any 3rd party extensions.
    2. Compile one of the SDK sample plugins (debug target) and make sure that InDesign still starts properly.
    3. Create a new project using DollyXs, compile it and make sure it loads in InDesign.
    4. Remove the template files and add your own source files except the basic .fr file and make sure it still loads in InDesign.
    5. Keep changing things one at a time in your .fr file and verify it still loads until it looks exactly like your original .fr file.
    Good luck.
    Note: "No translation of key 'XXX' to British string." errors is in general quite harmless. It's only a problem with the string translation and should only affect string output in menus/dialogs etc. They should of course be fixed, but can generally be ignored for a while unless an infinite ASSERT loop prevents you from debugging.

  • Unable to debug an exit in CALL CUSTOMER FUNCTION 003

    Hi Guys,
    I have an exit EXIT_SAPMV45A_003 that is called by CALL CUSTOMER FUNCTION 003. I had placed a break point at
    CALL CUSTOMER FUNCTION 003 and the debugger stops here but i am unable to debug inside this to reach into
    the code in EXIT_SAPMV45A_003 even after setting the system debugging on & Update debugging
    ON.
    Can someone help me with this?
    thanks
    Dan

    You have to include that Enhancement of that exit in the Project and Activate that project in the CMOD.
    The Enhancement for the exit EXIT_SAPMV45A_003 is V45A0003.
    Create a project in CMOD
    And inclue V45A0003 in the project.
    Activate the Project.
    Now, it will stop at break point.
    Regards,
    Naimesh Patel

  • Error while debugging in NWDS

    Hi,
    I am getting a "source not found" error while debugging in NWDS.
    I put a break point in a particular class, but it never gets hit, instead I get an error saying "source is not found".
    I have tried rebuilding, deploying and even starting the IDE but nothing works.
    Can anybody help me here.
    Regards
    Arvind

    Hi Arvind,
    1) Have you set debug on in the server?
         If not you need to on debug on SAP-J2EE engine(For web applications).
    2) If that is a pure java class then it will work.
    Regards,
    Devender V

  • Unable to debug the jspx page on Jdeveloper Studio Edition Version 11.1.1.6.0, Build JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.1, using Windows 7 OS

    Hi,
    I am unable to debug the jspx page on Jdeveloper Studio Edition Version 11.1.1.6.0, Build JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.1, using Windows 7 OS.
    When right click on jspx page , clicks on Debug option, it gives the following error:
    Debugger unable to connect to local process.
    [Server Instance IntegratedWebLogicServer is shutting down.  All applications currently running will be terminated and undeployed.]
    I also restarted the Jdeveloper, even re-installed Jdev but still the problem persist.
    Any help is appreciated.
    Thanks in advance.

    If the jspx page is not part of the adfc-config.xml the page can only be displayed, but the tags will not work as the adf life cycle  is not involved. drag te page onto the adfc-config.xml (the unbounded task flow), right click on it and select debug from the context menu.
    Main problem is : Weblogic server cannot be started in debug mode.
    To check this, open the application navigator, select the integrated server, right click on it and select 'debug' from the context menu.
    After a short time you should see some messages and at last you should see <Runnning> in the message log. Now the server runs (without any of your applications, but it runs).
    If you done't see the 'Running' message you should see an error, which you should post here.
    Timo

  • Unable to debug the Data Template Error in the Log file

    Hi,
    I am unable to debug the log file error message Please can anybody explain me in detail where the error lies and how to solve the error.The log file shows the following message.
    XDO Data Engine ver 1.0
    Resp: 50554
    Org ID : 204
    Request ID: 2865643
    All Parameters: USER_ID=1318:REPORT_TYPE=Report Only:P_SET_OF_BOOKS_ID=1:TRNS_STATUS=Posted:P_APPROVED=Not Approved:PERIOD=Sep-05
    Data Template Code: ILDVAPDN
    Data Template Application Short Name: CLE
    Debug Flag: Y
    {TRNS_STATUS=Posted, REPORT_TYPE=Report Only, PERIOD=Sep-05, USER_ID=1318, P_SET_OF_BOOKS_ID=1, P_APPROVED=Not Approved}
    Calling XDO Data Engine...
    java.lang.NullPointerException
         at oracle.apps.xdo.dataengine.DataTemplateParser.getObjectVlaue(DataTemplateParser.java:1424)
         at oracle.apps.xdo.dataengine.DataTemplateParser.replaceSubstituteVariables(DataTemplateParser.java:1226)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:398)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:281)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:251)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:192)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:222)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:334)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:236)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:272)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
    Start of log messages from FND_FILE
    Start of After parameter Report Trigger Execution..
    Gl Set of Books.....P
    Organization NameVision Operations
    Entering TRNS STATUS POSTED****** 648Posted
    end of the trns status..687 Posted
    currency_code 20USD
    P_PRECISION 272
    precision 332
    GL NAME 40Vision Operations (USA)
    Executing the procedure get format ..
    ExecutED the procedure get format and the Result..
    End of Before Report Execution..
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 2865643 on node AP615CMR at 28-SEP-2006 07:58:26.
    Post-processing of request 2865643 failed at 28-SEP-2006 07:58:38 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 28-SEP-2006 07:58:38
    Thanks & Regards
    Suresh Singh

    Generally the DBAs are aware of the OPP service log. They can tell you the cause of the problem.
    Anyway, how did you resolve the issue?

  • Help required: unable to debug in NDS

    Hello there,
    I am unable to debug in NDS. When i try to debug I get the following error
    Exception occured creating launch configuration tabs
    Reason:
    No tab group defined for launch configuration type
    org.eclipse.jdt.launching.remote.JavaApplication
    After this I am unable to create a new configuration for Remote Java application, although I can do the same for J2EE Application.
    Also, the options in I can see in Windows->Preferences is less compared to what i could see earlier.
    I am unable to find the cause of the error. Reinstalling NDS has been of no help.
    Kindly help.
    Thanks in advance.
    Regards,
    Latika

    Hi All,
    Reinstalling NDS alongwith changing the path of installation solved the problem.
    Regards,
    Latika Sethi.

  • Unable to debug/correct the CMOD code for a variable used in a query

    unable to debug/correct the CMOD code for a variable used in a query
    i am using the data in a DSO in a query and using a custom coding variable in that query , but this data not coming in that query ..
    can anyone suggest how to debug that cmod code for the variable?
    code is written in CMOD tocde for the variable.

    belowis the code that i have written for a custom coding for a variable
    *******Start***
    IF i_step = 2.
      CASE i_vnam.
        WHEN 'IC_COMPCD'.
         TYPES:       BEGIN OF gt_itab_DyAuthTable,
                           username  TYPE /bic/afiop_o1200-/BIC/IC_USER,
                           companycode TYPE /bic/afiop_o1200-COMP_CODE,
                      END OF gt_itab_DyAuthTable,
                      BEGIN OF gt_itab_Cocd_all,
                            companycode TYPE /BI0/MCOMP_CODE-COMP_CODE,
                      END OF gt_itab_Cocd_all.
          DATA: gi_itab_DyAuthTable TYPE STANDARD TABLE OF gt_itab_DyAuthTable,
                wa_itab_DyAuthTable TYPE gt_itab_DyAuthTable.
           DATA: gi_itab_Cocd_all TYPE STANDARD TABLE OF gt_itab_Cocd_all,
                wa_itab_Cocd_all TYPE gt_itab_Cocd_all.
          SELECT /BIC/IC_USER
                 COMP_CODE FROM /bic/afiop_o1200
            INTO CORRESPONDING FIELDS OF TABLE gi_itab_DyAuthTable
            WHERE /bic/ic_user = sy-uname.
          LOOP AT gi_itab_DyAuthTable INTO wa_itab_DyAuthTable.
            IF wa_itab_DyAuthTable-companycode EQ '*'
              OR
              wa_itab_DyAuthTable-companycode EQ ' '.
              SELECT COMP_CODE FROM /BI0/MCOMP_CODE
                  INTO CORRESPONDING FIELDS OF TABLE gi_itab_Cocd_all.
              LOOP AT gi_itab_Cocd_all INTO wa_itab_Cocd_all.
                l_s_range-low    = wa_itab_Cocd_all-companycode.
                l_s_range-sign   = 'I'.
                l_s_range-opt    = 'EQ'.
                APPEND l_s_range TO e_t_range.
              ENDLOOP.
          to exit the loop if any one value is */space/all for a user's compcode values
            EXIT.
            ENDIF.
          ENDLOOP.
           if control is here means, the comp codes values didnt have */space
              LOOP AT gi_itab_DyAuthTable INTO wa_itab_DyAuthTable.
                l_s_range-low    = wa_itab_DyAuthTable-companycode.
                l_s_range-sign   = 'I'.
                l_s_range-opt    = 'EQ'.
                APPEND l_s_range TO e_t_range.
              ENDLOOP.
      Endcase.
    Endif.

  • Unable to debug the application in Jdeveloper

    Hi,
    I am using the Jdeveloper version Studio Edition Version 11.1.2.1.0, Build JDEVADF_11.1.2.1.0_GENERIC_110907.2314.6081,
    am able to run the application successfully, but am unable to debug my j2EE application, am getting following message in the message window
    Compiling...
    [4:47:17 PM] Successful compilation: 0 errors, 0 warnings.
    [Application MyADF is bound to Server Instance IntegratedWebLogicServer]
    [Starting Server Instance IntegratedWebLogicServer]
    Compiling...
    [4:50:02 PM] Successful compilation: 0 errors, 0 warnings.
    [Application MyADF is bound to Server Instance IntegratedWebLogicServer]
    #### Server Instance IntegratedWebLogicServer is currently starting or stopping. Please try again when it has completed.
    in the debugger window am getting the following
    Starting WLS with line:
    D:\Oracle\parajend\MIDDLE~1\JDK160~1\bin\java -client -Xms1024m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=512m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\Oracle\parajend\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -agentlib:jdwp=transport=dt_socket,server=y,address=53797 -Dcom.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize=true -Djavax.net.ssl.trustStore=C:\Users\PARAJE~1.ISL\AppData\Local\Temp\trustStore8383267837652663659.jks -Doracle.jdeveloper.adrs=true -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=D:\Oracle\parajend\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\Oracle\parajend\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\Oracle\parajend\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=D:\Oracle\parajend\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=D:\INSTAL~1\JDEV_W~1\SYSTEM~1.81\DEFAUL~1 -Djrockit.optfile=D:\Oracle\parajend\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=D:\INSTAL~1\JDEV_W~1\SYSTEM~1.81\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=D:\INSTAL~1\JDEV_W~1\SYSTEM~1.81\DEFAUL~1\config\FMWCON~1 -Digf.arisidbeans.carmlloc=D:\INSTAL~1\JDEV_W~1\SYSTEM~1.81\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=D:\INSTAL~1\JDEV_W~1\SYSTEM~1.81\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=D:\INSTAL~1\JDEV_W~1\SYSTEM~1.81\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=D:\INSTAL~1\JDEV_W~1\SYSTEM~1.81\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=D:\Oracle\parajend\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,D:\Oracle\parajend\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=D:\INSTAL~1\JDEV_W~1\SYSTEM~1.81\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\Oracle\parajend\MIDDLE~1\patch_wls1035\profiles\default\sysext_manifest_classpath;D:\Oracle\parajend\MIDDLE~1\patch_jdev1112\profiles\default\sysext_manifest_classpath weblogic.Server
    Listening for transport dt_socket at address: 53797
    CancelingCanceled.
    [Server Instance IntegratedWebLogicServer is shutting down.  All applications currently running will be terminated and undeployed.]
    after waiting for some time nothing happen, Please advice how to resolve this issue,
    Thanks and regards,
    Paranthaman

    Goto 'Application Server Navigator' from view menu. Right click in your intg server instance & debug it.
    If it not solves the problem, go inside console of server instance & Activate any pending changes.
    Last option to remove this instance & create a new one.

  • PageMethod response returning whole page, unable to debug the server side method

    Hello Guys,
    I am unable to debug my method written on server side when a call is send to it through jquery using page method.
    In response , I get the whole page.
    code:
    ASPX page:
    PageMethods.MyMethod(p1, p2, function(response){
    ASPX.CS
    [System.Web.Services.WebMethod()]
    [System.Web.Script.Services.ScriptMethod()]
    publicstaticstringMyMethod(stringp1,
    stringp2){
    //Updating database
    I did ScriptModule entry in web.config, enabled tracing,have ScriptManager and EnablePageMethods is set to true.
    Still the server side method is not getting called.
    please help.
    Ng_TechFreak

    Hi Ng_TechFreak,
    For ASP.NET questions please post in
    ASP.NET forum where you'll get better help.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Unable to debug the application in RAD

    Hi All,
    I am unable to run the application in debug mode (. i .e debug mode is not working).
    Even after running the server mode it is giving erroe saying that
    " Unable to install breakpoint . Please modify your compiler options to genarate the line number attributes."
    Please advise me on this. what options do i need to set inorder to run the server in the debug mode.

    Did you try this?
    h:\>javac
    Usage: javac <options> <source files>
    where possible options include:
      -g                         Generate all debugging info
      -g:none                    Generate no debugging info
      -g:{lines,vars,source}     Generate only some debugging info
      -nowarn                    Generate no warnings
      -verbose                   Output messages about what the compiler is doing
      -deprecation               Output source locations where deprecated APIs are used
      -classpath <path>          Specify where to find user class files and annotation processors
      -cp <path>                 Specify where to find user class files and annotation processors
      -sourcepath <path>         Specify where to find input source files
      -bootclasspath <path>      Override location of bootstrap class files
      -extdirs <dirs>            Override location of installed extensions
      -endorseddirs <dirs>       Override location of endorsed standards path
      -proc:{none,only}          Control whether annotation processing and/or compilation is done.
      -processor <class1>[,<class2>,<class3>...]Names of the annotation processors to run; bypasses defa
    ult discovery process
      -processorpath <path>      Specify where to find annotation processors
      -d <directory>             Specify where to place generated class files
      -s <directory>             Specify where to place generated source files
      -implicit:{none,class}     Specify whether or not to generate class files for implicitly reference
    d files
      -encoding <encoding>       Specify character encoding used by source files
      -source <release>          Provide source compatibility with specified release
      -target <release>          Generate class files for specific VM version
      -version                   Version information
      -help                      Print a synopsis of standard options
      -Akey[=value]              Options to pass to annotation processors
      -X                         Print a synopsis of nonstandard options
      -J<flag>                   Pass <flag> directly to the runtime systemBruce

  • Error when debugging in NWDS

    Hi there,
    I am trying to debug in the NWDS. When i run the program using the java application, i encounter this error message
    Error javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial
    Can anyone tell me wad error is this?
    Thanks Loads
    Quatre

    Hi Quatre,
    You check whether are you set the Main Class Name in the Java Application --> Run Option.
    You will be follow this steps to set the Main Class in the Run Option on Java Application in NWDS.
    In NWDS --> Select Run --> Again Run --> In that Window having the Java application --> select the java program, what you are created --> Right side of the window having the tab for Main --> In tab, you fill the Project Name, Main Class. And also you will check whether the JRE is set in the NWDS.In the same window having that option.
    After that you can run the java application..
    I think its help to you.
    Regards
    Prakash T

  • Unable to debug in Eclipse 3.0 with Tomcat5.0

    Hi there,
    Not sure, if this is the right place for this query. I'm using Tomcat 5.0 as local development server and use Eclipse Platform IDE Version 3.0. For sometime I've been facing this weired problem. When I put a breakpoint in a servlet generated by jsp, a new window opens up in the debug mode saying
    "Source not found for issuePolicy_jsp._jspService(HttpServletRequest, HttpServletResponse) line: 109" For some existing jsp's it works fine, but for some I get this problem. I've not been able to figure out this arbitrate behavior.
    Please help me out. Thanks in anticipation.

    Any idea, anybody?

  • Unable to debug user exit in CRM BW  (EXIT_SAPLRSAP)

    Hi Gurus,
    Please help me to debug user exit in CRM BW.
    I am using below enhancement
    RSAP0001 (Customer function calls in the service API)
    "EXIT_SAPLRSAP_003"
    Datasource is ZSTAONESYS0_TEXT
    The extract structure
    I have modified is "CRM_BIW_ST_T"
    ===========================
    Data Source "I_CHABASNM"
    CASE i_chabasnm.
    ZSTAONESYS0_TEXT -- Data source name
      WHEN 'ZSTAONESYS0_TEXT'.
        CLEAR l_s_crm_biw_st_t .
        LOOP AT  c_t_texts   INTO  l_s_crm_biw_st_t .
          l_tabix = sy-tabix.
          SELECT SINGLE * FROM crm_jest
                   INTO   wa_status
                   WHERE   inact  =  ' '.
          SHIFT wa_status-stat LEFT DELETING LEADING space.
          CLEAR l_stat.
          l_stat = wa_status-stat(1).
          IF  l_stat  = 'E'.
            l_s_crm_biw_st_t-bwstoppt   = wa_status-stat+3(2).
            MODIFY  c_t_texts  FROM l_s_crm_biw_st_t
                                  INDEX l_tabix.
          ENDIF.
        ENDLOOP.    
    ENDCASE.
    ===========
    Should I use a BADI?
    It would be great if you could give me
    relevant definition name for creating new BADI.
    Can I use "CRM_BWA_MFLOW" ?
    I promise to return and reward the answers.
    Really heart warming
    to see the dedication/ participation of
    Bhanu Gupta / A.H.P / Pizzaman and many others
    Thanks in advance, :-D
    AbyJacob, Bangalore
    ===================

    Dear SB,
    I was able to Debug my user exit successfully.
    ==>include ZXRSAU02. "EXIT_SAPLRSAP_003"
    You guys are really a big help
    Keep up the good work.
    Special Thanks to SDN community
    warm regards,
    Aby Jacob, Bangalore

  • Unable to debug any application after upgrading to Reef Shark and Update 6

    Hi,
    Since I upgraded to Reef Shark and consequently also installed the update 6 I can't access the deployment server.
    None of the applications show up in the broswer, nor does the admin-console for the server.
    I get the following exceptions in the browser window when I want to debug my application:
    javax.servlet.ServletException: com.sun.security.auth.PolicyFile
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:218)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
         java.security.AccessController.doPrivileged(Native Method)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.jsfcl.app.ViewHandlerImpl.renderView(ViewHandlerImpl.java:169)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
    root cause
    java.lang.IncompatibleClassChangeError: com.sun.security.auth.PolicyFile
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
         java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         java.lang.Class.forName0(Native Method)
         java.lang.Class.forName(Class.java:219)
         javax.security.auth.Policy$3.run(Policy.java:215)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Policy.getPolicyNoCheck(Policy.java:209)
         javax.security.auth.Policy.getPolicy(Policy.java:179)
         javax.security.auth.SubjectDomainCombiner$2.run(SubjectDomainCombiner.java:178)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.SubjectDomainCombiner.combine(SubjectDomainCombiner.java:174)
         java.security.AccessControlContext.goCombiner(AccessControlContext.java:386)
         java.security.AccessControlContext.optimize(AccessControlContext.java:310)
         java.security.AccessController.checkPermission(AccessController.java:400)
         java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
         java.lang.SecurityManager.checkRead(SecurityManager.java:863)
         java.io.File.lastModified(File.java:771)
         org.apache.naming.resources.FileDirContext$FileResourceAttributes.getLastModifiedDate(FileDirContext.java:1123)
         org.apache.naming.resources.ResourceAttributes.get(ResourceAttributes.java:706)
         org.apache.naming.resources.DirContextURLConnection.getLastModified(DirContextURLConnection.java:211)
         org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:474)
         org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:450)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:262)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:263)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:210)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
         java.security.AccessController.doPrivileged(Native Method)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.jsfcl.app.ViewHandlerImpl.renderView(ViewHandlerImpl.java:169)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)And when start the admin-console, the browser window stays empty, but this is the exception-trace from the server-log:
    [#|2005-02-12T00:21:44.890+0100|SEVERE|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|ApplicationDispatcher[/asadmin] Servlet.service() for servlet default threw exception
    java.lang.IncompatibleClassChangeError: com.sun.security.auth.PolicyFile
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:219)
            at javax.security.auth.Policy$3.run(Policy.java:215)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Policy.getPolicyNoCheck(Policy.java:209)
            at javax.security.auth.Policy.getPolicy(Policy.java:179)
            at javax.security.auth.SubjectDomainCombiner$2.run(SubjectDomainCombiner.java:178)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.SubjectDomainCombiner.combine(SubjectDomainCombiner.java:174)
            at java.security.AccessControlContext.goCombiner(AccessControlContext.java:386)
            at java.security.AccessControlContext.optimize(AccessControlContext.java:310)
            at java.security.AccessController.checkPermission(AccessController.java:400)
            at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
            at java.lang.SecurityManager.checkRead(SecurityManager.java:863)
            at java.io.File.lastModified(File.java:771)
            at org.apache.naming.resources.FileDirContext$FileResourceAttributes.getCreationDate(FileDirContext.java:1097)
            at org.apache.catalina.servlets.DefaultServlet$ResourceInfo.set(DefaultServlet.java:2399)
            at org.apache.catalina.servlets.DefaultServlet$ResourceInfo.<init>(DefaultServlet.java:2331)
            at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:884)
            at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:470)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:748)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
            at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
            at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
            at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
            at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:718)
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:478)
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:413)
            at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:77)
            at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:92)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:319)
            at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:208)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:509)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:133)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:539)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:114)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
            at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
            at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
            at java.lang.Thread.run(Thread.java:534)
    |#]
    [#|2005-02-12T00:21:44.890+0100|WARNING|sun-appserver-pe8.0.0_01|org.apache.catalina.authenticator.FormAuthenticator|_ThreadID=14;|Unexpected error forwarding to login page
    javax.servlet.ServletException: com.sun.security.auth.PolicyFile
            at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:286)
            at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
            at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
            at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:718)
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:478)
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:413)
            at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:77)
            at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:92)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:319)
            at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:208)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:509)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:133)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:539)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:114)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
            at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
            at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
            at java.lang.Thread.run(Thread.java:534)
    |#]I have no clue as to what is causing this problem. Any help is highly appreciated.
    Iwan

    Hi Iwan,
    From JDK 1.4 the com.sun.security.auth.PolicyFile class has been deprecated and replaced by sun.security.provider.PolicyFile. Could this be the reason?
    I found this info at the following URL. Maybe this will help you in some way: http://www.doc.ic.ac.uk/csg/java/1.4docs/guide/security/jaas/spec/com/sun/security/auth/PolicyFile.html
    Cheers :-)
    Creator Team

Maybe you are looking for

  • Using external drive for itunes

    Hope someone can help with this: I am going travelling and want to take my music library, at present in itunes on my desktop G4. I have copied this library onto a 100GB portable hard drive, and would now like to get itunes on my macbook to refer to t

  • OIM 11gR2 provisioning with GTC

    Hello, We are curently implementing Oracle Identity Manager 11gR2, and we are having difficulties with the implementation of the provisioning from OIM to the Target Systems exposed through a webservice on Oracle Service Bus. We are using the Generic

  • My phone freezes when searching for apps

    When I go to apps it freezes on the screen

  • Why can I not scroll on some websites using my iPad

    When I am on the online school website I am unable to scroll all the way down to view the entire assignment. I am assuming it is because there are multiple frames with different scroll bars. I have the ipad 2 and I have tried using 2 fingers, seeing

  • Selective backup/restore

    I know when an iPhone is backed up, all the things are backup including contacts, settings, messages. Is there is a way to do a selective backup or a selective restore?