Debugging the page

Hi ,
I want to debug the code when we click on save button on OA page.
Can any one help me how to debug the code...in Jdeveloper...for the classes impoerted from unix box under myprojects folder...
else any other way to debug at site level...

Unless you put the decompiled java files into the myprojects folder, you can't use the jdev debugger.
As for debugging on instance, if you enable the debug profile, only the debug statements included in the seeded code will be seen. You can't any debugging of your own.
--Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • 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 open Power BI Sites - Error: We were unable to load the Site. Refresh the page to try again

    Power BI Sites Error
    We were unable to load the Site. Refresh the page to try again
    When opening Power BI Sites with internet explorer, in certain security configurations you may run into the above error. While we are looking into resolving this, please see the following workaround:
    From the Tools menu, select internet options.
    On the security tab uncheck the "Enable Protected Mode" checkbox form the relevant Zone (Intranet/Internet)
    Remove all entries to *.powerbi.com from trusted sites or/and local intranet sites
    On the advanced tab, uncheck the "Enable enhanced protected mode" (if you made a change here it will require a restart of the machine)
    Restart and try again (if not changes done in the last step, just restart the browser)

    Hi
    Any further debugging tips? I upgraded from IE9 to IE11 on my Win7 machine to try get Q&A working, it broke the entire PowerBI site for me

  • The affect of failed validation on the page rendering phase

    This is divided in two parts. In the first one I describe the behavior and in the second I show work around and make a suggestion.
    The need that started this was that the value an item needed to be recalculated each time de page was shown. This page could be called from buttons and from branches on other pages. So the logical place to put this calculation is in Computation of the Page Rendering phase. But, when a validation failed the value wasn't shown on the browser and I later discovered it was not calculated at all. I tried moving the calculation in a Process of the Page Rendering phase, but to that didn't worked either. So I needed to have a beter understanding of happens when a validation fails, ence this test.
    The test was done on version 3.1.2 of APEX.
    For this test, here is what I programmed (if no values is specified, than the property has the default value):
    1. I created a blank page
    -- In the Page Rendering part --
    2. I created a region with the following properties
    Identification
    - Title: Alpha
    - Type: PL/SQL (Anonymous block)
    Source
    - Region Source: wwv_flow.debug('&gt; RENDER REGION Alpha SOURCE');
    Conditional Display
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER REGION Alpha CONDITION'); RETURN TRUE;
    Caching
    - Caching: Cahed
    - Cache Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER REGION Alpha CACHE CONDITION'); RETURN TRUE;
    3. I created an item with the following properties
    Name
    - Name: P1_X
    - Display As: Textfield
    Displayed
    - Region: Alpha
    Source
    - Source Used: Always, replacing any existing value in session state
    - Source Type: PL/SQL Function body
    - Source value or expression: wwv_flow.debug('&gt; RENDER ITEM P1_X SOURCE'); RETURN NULL;
    - Post Calculation Computation: :P1_X || ' POST-CALCUL'
    Default
    - Default value: wwv_flow.debug('&gt; RENDER ITEM P1_X DEFAULT'); RETURN 'RENDER ITEM P1_X DEFAULT';
    - Default Value Type: PL/SQL Function body
    Conditions
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER ITEM P1_X CONDITION'); wwv_flow.debug('&gt; P1_X="'||:P1_X||'"'); RETURN TRUE;
    Read Only
    - Read Only Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER ITEM P1_X READ_ONLY CONDITION'); RETURN FALSE;
    4. I created a second item with the following properties
    - Name: P1_Y
    - Display As: Textfield
    Displayed
    - Region: Alpha
    Source
    - Source Used: Only when current value in session state is null
    - Source Type: PL/SQL Function body
    - Source value or expression: wwv_flow.debug('&gt; RENDER ITEM P1_Y SOURCE'); RETURN NULL;
    - Post Calculation Computation: :P1_Y || ' POST-CALCUL'
    Default
    - Default value: wwv_flow.debug('&gt; RENDER ITEM P1_Y DEFAULT'); RETURN 'RENDER ITEM P1_Y DEFAULT';
    - Default Value Type: PL/SQL Function body
    Conditions
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER ITEM P1_Y CONDITION'); wwv_flow.debug('&gt; P1_Y="'||:P1_Y||'"'); RETURN TRUE;
    Read Only
    - Read Only Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER ITEM P1_Y READ-ONLY CONDITION'); RETURN FALSE;
    5. I created a button with the following properties
    Name
    - Button Name: GO
    - Text Label/Alt: Go
    Displayed
    - Display in Region: Alpha
    - Button Position: Top of Region
    Conditions
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER BUTTON Go CONDITION'); RETURN TRUE;
    6. I created a second button with the following properties
    Name
    - Button Name: GOERRNULL
    - Text Label/Alt: Go invalid
    Displayed
    - Display in Region: Alpha
    - Button Position: Top of Region
    Conditions
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER BUTTON Go invalid CONDITION'); RETURN TRUE;
    7. I created a thrid button with the following properties
    Name
    - Button Name: RESET
    - Text Label/Alt: Reset cache
    Displayed
    - Display in Region: Alpha
    - Button Position: Top of Region
    Conditions
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER BUTTON Reset CONDITION'); RETURN TRUE;
    Optional URL Redirect
    - Target is a: Page in this Appplication
    - Page: 1
    - resetpagination for this page: checked
    - Request: RESET
    - Clear Cache: 1
    8. I created a computation with the following properties
    Item Name
    - Item Name: P1_Y
    - Type: PL/SQL Function body
    Computation Point
    - Computation Point:Before Header
    Source
    - Computation: wwv_flow.debug('&gt; RENDER CALCUL P1_Y SOURCE'); RETURN 'RENDER CALCUL P1_Y SOURCE';
    Conditional Computations
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER CALCUL P1_Y CONDITION'); RETURN TRUE;
    9. I created a process
    Name
    - Name: Beta
    - Type: PL/SQL anonymous block
    Process Point
    - Process Point: On Load - Before Header
    - Run Process: Once Per Page Visit (Default)
    Source
    - Process: wwv_flow.debug('&gt; RENDER PROC Beta SOURCE');
    Conditional Processing
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER PROC Beta CONDITION'); RETURN TRUE;
    -- In the Page Processing part --
    10. I created a computation
    Item Name
    - Item Name: P1_Y
    - Type: PL/SQL Function body
    Computation Point
    - Computation Point:After Submit
    Source
    - Computation: wwv_flow.debug('&gt; PROC CALCUL P1_Y SOURCE'); RETURN 'PROC CALCUL P1_Y SOURCE';
    Conditional Computations
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; PROC CALCUL P1_Y CONDITION'); RETURN TRUE;
    11. I created a second computation
    Item Name
    - Item Name: P1_X
    - Type: PL/SQL Function body
    Computation Point
    - Computation Point:After Submit
    Source
    - Computation: wwv_flow.debug('&gt; PROC CALCUL P1_X SOURCE'); RETURN NULL;
    Conditional Computations
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; PROC CALCUL P1_X CONDITION'); RETURN TRUE;
    12. I created a validation
    Validation
    - Name: Delta
    - Type: Function Returning Boolean
    - Validation Expression 1: wwv_flow.debug('&gt; PROC VALIDATION Delta SOURCE'); RETURN FALSE;
    Error Message
    - Error Message: err msg
    - Associated Item: P1_X
    Conditionals
    - When Button Pressed: GOERRNULL (Go invalid)
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; PROC VALIDATION Delta CONDITION'); RETURN TRUE;
    13. I created a process
    Name
    - Name: Gamma
    - Type: PL/SQL anonymous block
    Process Point
    - Process Point: On Submit - Before Computation and Validations
    - Run Process: Once Per Page Visit (Default)
    Source
    - Process: wwv_flow.debug('&gt; PROC PROC Gamma SOURCE');
    Conditional Processing
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; PROC PROC Gamma CONDITION'); RETURN TRUE;
    14. I created a second process
    Name
    - Name: Epsylon
    - Type: PL/SQL anonymous block
    Process Point
    - Process Point: On Submit - After Computation and Validations
    - Run Process: Once Per Page Visit (Default)
    Source
    - Process: wwv_flow.debug('&gt; PROC PROC Epsylon SOURCE');
    Conditional Processing
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; PROC PROC Epsylon CONDITION'); RETURN TRUE;
    15. I created a branch
    Point
    - Branch Point: On Submit: After Processing (After Computation, Validation and Processiong)
    Action
    - Target Type: Page in this Application
    - Page: 1
    - include process success message: checked
    Conditions
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; PROC BRANCH P1 CONDITION'); RETURN TRUE;
    As can be seen, I've programmed all condition to be true and therefore making all objects do thier calculations.
    Here is the debug output when we click on "Go". (a line number was added for easy refence)
    {color:#999999}001 0.05: A C C E P T: Request="GO"
    002 0.09: Metadata: Fetch application definition and shortcuts
    003 0.09: NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=en-us
    004 0.09: alter session set nls_language="AMERICAN"
    005 0.09: alter session set nls_territory="AMERICA"
    006 0.09: NLS: CSV charset=WE8MSWIN1252
    007 0.09: ...NLS: Set Decimal separator="."
    008 0.09: ...NLS: Set NLS Group separator=","
    009 0.09: ...NLS: Set date format="DD-MON-RR"
    010 0.09: ...Setting session time_zone to -05:00
    011 0.09: ...Determine if user "FORD10" workspace "80447903191151509" can develop application "202" in workspace "80447903191151509"
    012 0.09: Session: OK to reuse builder session for user:APEX_PUBLIC_USER
    013 0.09: Fetch session state from database
    014 0.10: ...Check session 2800365259756461 owner
    015 0.10: ...Metadata: Fetch Page, Computation, Process, and Branch
    016 0.10: Session: Fetch session header information
    017 0.10: ...Metadata: Fetch page attributes for application 202, page 1
    018 0.10: ...Validate item page affinity.
    019 0.10: ...Validate hidden_protected items.
    020 0.10: ...Check authorization security schemes
    021 0.10: Session State: Save form items and p_arg_values
    022 0.10: ...Session State: Save Item "P1_X" newValue="RENDER ITEM P1_X DEFAULT POST-CALCUL" "escape_on_input="N"
    023 0.10: ...Session State: Saved Item "P1_Y" New Value="RENDER CALCUL P1_Y SOURCE POST_CALCUL"
    024 0.10: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
    025 0.11: {color}{color:#ff9900}&gt; PROC PROC Gamma CONDITION{color}{color:#999999}
    026 0.11: ...Process "Gamma": PLSQL (ON_SUBMIT_BEFORE_COMPUTATION) wwv_flow.debug('&gt; PROC PROC Gamma SOURCE');
    027 0.11: {color}{color:#ff9900}&gt; PROC PROC Gamma SOURCE{color}{color:#999999}
    028 0.11: Branch point: BEFORE_COMPUTATION
    029 0.11: Computation point: AFTER_SUBMIT
    030 0.11: ...Evaluate condition "FUNCTION_BODY" for computation of item: P1_Y
    031 0.11: {color}{color:#ff9900}&gt; PROC CALCUL P1_Y CONDITION{color}{color:#999999}
    032 0.11: ...Perform computation of item: P1_Y, type=FUNCTION_BODY
    033 0.11: ...Performing function body computation
    034 0.12: {color}{color:#ff9900}&gt; PROC CALCUL P1_Y SOURCE{color}{color:#999999}
    035 0.12: ...Session State: Saved Item "P1_Y" New Value="PROC CALCUL P1_Y SOURCE"
    036 0.12: ...Evaluate condition "FUNCTION_BODY" for computation of item: P1_X
    037 0.12: {color}{color:#ff9900}&gt; PROC CALCUL P1_X CONDITION{color}{color:#999999}
    038 0.12: ...Perform computation of item: P1_X, type=FUNCTION_BODY
    039 0.12: ...Performing function body computation
    040 0.12: {color}{color:#ff9900}&gt; PROC CALCUL P1_X SOURCE{color}{color:#999999}
    041 0.12: ...Session State: Saved Item "P1_X" New Value=""
    042 0.12: Tabs: Perform Branching for Tab Requests
    043 0.12: Branch point: BEFORE_VALIDATION
    044 0.12: Perform validations:
    045 0.12: {color}{color:#ff9900}&gt; PROC VALIDATION Delta CONDITION{color}{color:#999999}
    046 0.12: ...PL/SQL "function body returning boolean" Validation: wwv_flow.debug('&gt; PROC VALIDATION Delta SOURCE'); RETURN :REQUEST 'GOERRNULL';
    047 0.12: {color}{color:#ff9900}&gt; PROC VALIDATION Delta SOURCE{color}{color:#999999}
    048 0.13: Branch point: BEFORE_PROCESSING
    049 0.13: Processing point: AFTER_SUBMIT
    050 0.13: {color}{color:#ff9900}&gt; PROC PROC Epsylon CONDITION{color}{color:#999999}
    051 0.13: ...Process "Epsylon": PLSQL (AFTER_SUBMIT) wwv_flow.debug('&gt; PROC PROC Epsylon SOURCE');
    052 0.13: {color}{color:#ff9900}&gt; PROC PROC Epsylon SOURCE{color}{color:#999999}
    053 0.13: Branch point: AFTER_PROCESSING
    054 0.13: ...Evaluating Branch: AFTER_PROCESSING type: "REDIRECT_URL" button: (No Button Pressed) branch: wwv_flow.debug('&gt; PROC BRANCH P1 C5NDITION'); RETURN TRUE;
    055 0.14: {color}{color:#ff9900}&gt; PROC BRANCH P1 CONDITION{color}{color:#999999}
    0.00:
    0.00: S H O W: application="202" page="1" workspace="" request="" session="2800365259756461"
    0.00: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
    056 0.00: alter session set nls_language="AMERICAN"
    057 0.00: alter session set nls_territory="AMERICA"
    058 0.00: NLS: CSV charset=WE8MSWIN1252
    059 0.00: ...NLS: Set Decimal separator="."
    060 0.00: ...NLS: Set NLS Group separator=","
    061 0.00: ...NLS: Set date format="DD-MON-RR"
    062 0.01: ...Setting session time_zone to -05:00
    063 0.01: NLS: Language=en-us
    064 0.01: Application 202, Authentication: CUSTOM2, Page Template: 2204612885682472
    065 0.01: ...Determine if user "FORD10" workspace "80447903191151509" can develop application "202" in workspace "80447903191151509"
    066 0.01: ...ok to reuse builder session for user:APEX_PUBLIC_USER
    067 0.01: ...Application session: 2800365259756461, user=APEX_PUBLIC_USER
    068 0.01: ...Determine if user "FORD10" workspace "80447903191151509" can develop application "202" in workspace "80447903191151509"
    069 0.01: Session: Fetch session header information
    070 0.01: ...Metadata: Fetch page attributes for application 202, page 1
    071 0.01: Fetch session state from database
    072 0.01: Branch point: BEFORE_HEADER
    073 0.01: Fetch application meta data
    074 0.02: Computation point: BEFORE_HEADER
    075 0.02: ...Evaluate condition "FUNCTION_BODY" for computation of item: P1_Y
    076 0.02: {color}{color:#ff9900}&gt; RENDER CALCUL P1_Y CONDITION{color}{color:#999999}
    077 0.02: ...Perform computation of item: P1_Y, type=FUNCTION_BODY
    078 0.02: ...Performing function body computation
    079 0.02: {color}{color:#ff9900}&gt; RENDER CALCUL P1_Y SOURCE{color}{color:#999999}
    080 0.02: ...Session State: Saved Item "P1_Y" New Value="RENDER CALCUL P1_Y SOURCE"
    081 0.02: Processing point: BEFORE_HEADER
    082 0.02: {color}{color:#ff9900}&gt; RENDER PROC Beta CONDITION{color}{color:#999999}
    083 0.02: ...Process "Beta": PLSQL (BEFORE_HEADER) wwv_flow.debug('&gt; RENDER PROC Beta SOURCE');
    084 0.02: {color}{color:#ff9900}&gt; RENDER PROC Beta SOURCE{color}{color:#999999}
    085 0.02: Show page template header
    086 0.03: Computation point: AFTER_HEADER
    087 0.03: Processing point: AFTER_HEADER
    088 0.03: Computation point: BEFORE_BOX_BODY
    089 0.03: Processing point: BEFORE_BOX_BODY
    090 0.03: Region: Alpha
    091 0.03: {color}{color:#ff9900}&gt; RENDER REGION Alpha CONDITION{color}{color:#999999}
    Alpha
    092 0.03: {color}{color:#ff9900}&gt; RENDER BUTTON Go CONDITION{color}{color:#999999}
    093 0.03: {color}{color:#ff9900}&gt; RENDER BUTTON Go invalid CONDITION{color}{color:#999999}
    094 0.03: {color}{color:#ff9900}&gt; RENDER BUTTON Reset CONDITION{color}{color:#999999}
    Go Go invalid Reset cache
    095 0.03: {color}{color:#ff9900}&gt; RENDER ITEM P1_X CONDITION{color}{color:#999999}
    096 0.03: &gt; P1_X=""
    097 0.03: {color}{color:#ff9900}&gt; RENDER ITEM P1_X READ_ONLY CONDITION{color}{color:#999999}
    098 0.03: Item: P1_X TEXT
    099 0.03: {color}{color:#ff9900}&gt; RENDER ITEM P1_X SOURCE{color}{color:#999999}
    100 0.03: {color}{color:#ff9900}&gt; RENDER ITEM P1_X DEFAULT{color}{color:#999999}
    X RENDER ITEM P1_X DEFAULT POST-CALCUL
    101 0.03: {color}{color:#ff9900}&gt; RENDER ITEM P1_Y CONDITION{color}{color:#999999}
    102 0.03: &gt; P1_Y="RENDER CALCUL P1_Y SOURCE"
    103 0.04: {color}{color:#ff9900}&gt; RENDER ITEM P1_Y READ-ONLY CONDITION{color}{color:#999999}
    104 0.04: Item: P1_Y TEXT
    Y RENDER CALCUL P1_Y SOURCE POST_CALCUL
    105 0.04: {color}{color:#ff9900}&gt; RENDER REGION Alpha SOURCE{color}{color:#999999}
    106 0.04: Computation point: AFTER_BOX_BODY
    107 0.04: Processing point: AFTER_BOX_BODY
    108 0.04: Computation point: BEFORE_FOOTER
    109 0.04: Processing point: BEFORE_FOOTER
    110 0.04: Show page tempate footer
    111 0.04: Computation point: AFTER_FOOTER
    112 0.04: Processing point: AFTER_FOOTER
    113 0.04: Log Activity:
    114 0.04: Execute Count=0
    115 0.04: End Show:{color}
    Here is the debug output when we click on "Go invlid". (a line number was added for easy refence)
    {color:#999999}201 0.14: A C C E P T: Request="GOERRNULL"
    202 0.19: Metadata: Fetch application definition and shortcuts
    203 0.19: NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=en-us
    204 0.19: alter session set nls_language="AMERICAN"
    205 0.19: alter session set nls_territory="AMERICA"
    206 0.19: NLS: CSV charset=WE8MSWIN1252
    207 0.19: ...NLS: Set Decimal separator="."
    208 0.20: ...NLS: Set NLS Group separator=","
    209 0.20: ...NLS: Set date format="DD-MON-RR"
    210 0.20: ...Setting session time_zone to -05:00
    211 0.24: ...Determine if user "FORD10" workspace "80447903191151509" can develop application "202" in workspace "80447903191151509"
    212 0.24: Session: OK to reuse builder session for user:APEX_PUBLIC_USER
    213 0.24: Fetch session state from database
    214 0.29: ...Check session 2800365259756461 owner
    215 0.29: ...Metadata: Fetch Page, Computation, Process, and Branch
    216 0.29: Session: Fetch session header information
    217 0.29: ...Metadata: Fetch page attributes for application 202, page 1
    218 0.30: ...Validate item page affinity.
    219 0.30: ...Validate hidden_protected items.
    220 0.30: ...Check authorization security schemes
    221 0.30: Session State: Save form items and p_arg_values
    222 0.31: ...Session State: Saved Item "P1_X" New Value="RENDER ITEM P1_X DEFAULT POST-CALCUL"
    223 0.31: ...Session State: Saved Item "P1_Y" New Value="RENDER CALCUL P1_Y SOURCE POST_CALCUL"
    224 0.31: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
    225 0.32: {color}{color:#ff9900}&gt; PROC PROC Gamma CONDITION{color}{color:#999999}
    226 0.32: ...Process "Gamma": PLSQL (ON_SUBMIT_BEFORE_COMPUTATION) wwv_flow.debug('&gt; PROC PROC Gamma SOURCE');
    227 0.32: {color}{color:#ff9900}&gt; PROC PROC Gamma SOURCE{color}{color:#999999}
    228 0.33: Branch point: BEFORE_COMPUTATION
    229 0.33: Computation point: AFTER_SUBMIT
    230 0.33: ...Evaluate condition "FUNCTION_BODY" for computation of item: P1_Y
    231 0.34: {color}{color:#ff9900}&gt; PROC CALCUL P1_Y CONDITION{color}{color:#999999}
    232 0.34: ...Perform computation of item: P1_Y, type=FUNCTION_BODY
    233 0.34: ...Performing function body computation
    234 0.34: {color}{color:#ff9900}&gt; PROC CALCUL P1_Y SOURCE{color}{color:#999999}
    235 0.34: ...Session State: Saved Item "P1_Y" New Value="PROC CALCUL P1_Y SOURCE"
    236 0.34: ...Evaluate condition "FUNCTION_BODY" for computation of item: P1_X
    237 0.34: {color}{color:#ff9900}&gt; PROC CALCUL P1_X CONDITION{color}{color:#999999}
    238 0.34: ...Perform computation of item: P1_X, type=FUNCTION_BODY
    239 0.34: ...Performing function body computation
    240 0.35: {color}{color:#ff9900}&gt; PROC CALCUL P1_X SOURCE{color}{color:#999999}
    241 0.35: ...Session State: Saved Item "P1_X" New Value=""
    242 0.35: Tabs: Perform Branching for Tab Requests
    243 0.35: Branch point: BEFORE_VALIDATION
    244 0.35: Perform validations:
    245 0.75: {color:#ff9900}&gt; PROC VALIDATION Delta CONDITION{color}{color:#999999}
    246 0.76: ...PL/SQL "function body returning boolean" Validation: wwv_flow.debug('&gt; PROC VALIDATION Delta SOURCE'); RETURN FALSE;
    247 0.78: {color}{color:#ff9900}&gt; PROC VALIDATION Delta SOURCE{color}{color:#999999}
    248 0.78: ...{color}{color:#ff0000}Validation did NOT pass{color}{color:#999999}
    249 0.78: ...{color}{color:#ff0000}Inline validation error count = 1{color}{color:#999999}
    250 0.86: Show current page with inline validations
    251 0.87:
    252 0.87: S H O W: application="202" page="1" workspace="" request="" session="2800365259756461"
    253 0.87: NLS: Language=en-us
    254 0.87: Application 202, Authentication: CUSTOM2, Page Template: 2204612885682472
    255 0.88: ...Determine if user "FORD10" workspace "80447903191151509" can develop application "202" in workspace "80447903191151509"
    256 0.88: ...ok to reuse builder session for user:APEX_PUBLIC_USER
    257 0.88: ...Application session: 2800365259756461, user=APEX_PUBLIC_USER
    258 0.88: ...Determine if user "FORD10" workspace "80447903191151509" can develop application "202" in workspace "80447903191151509"
    259 0.88: ...Metadata: Fetch page attributes for application 202, page 1
    260 0.88: Branch point: BEFORE_HEADER
    261 0.88: Fetch application meta data
    262 0.88: Computation point: BEFORE_HEADER
    263 0.88: ...Evaluate condition "FUNCTION_BODY" for computation of item: P1_Y
    264 0.92: {color}{color:#99cc00}&gt; RENDER CALCUL P1_Y CONDITION{color}{color:#999999}
    265 0.92: Processing point: BEFORE_HEADER
    266 0.92: ......Do not perform process because inline validation condition found.
    267 0.92: ...Do not run process "Beta", process point=BEFORE_HEADER, condition type=FUNCTION_BODY, when button pressed=
    268 0.92: ...Recompute field lables for fields in error.
    269 0.97: Show page template header
    270 1.20: Computation point: AFTER_HEADER
    271 1.20: Processing point: AFTER_HEADER
    1 error has occurred
    * Error msg
    272 1.20: Computation point: BEFORE_BOX_BODY
    273 1.20: Processing point: BEFORE_BOX_BODY
    274 1.21: Region: Alpha
    275 1.23: {color}{color:#ff9900}&gt; RENDER REGION Alpha CONDITION{color}{color:#999999}
    Alpha      
    276 1.25: {color}{color:#ff9900}&gt; RENDER BUTTON Go CONDITION{color}{color:#999999}
    277 1.25: {color}{color:#ff9900}&gt; RENDER BUTTON Go invalid CONDITION{color}{color:#999999}
    278 1.28: {color}{color:#ff9900}&gt; RENDER BUTTON Reset CONDITION{color}{color:#999999}
    Go Go invalid Reset cache
    279 1.30: {color}{color:#ff9900}&gt; RENDER ITEM P1_X CONDITION{color}{color:#999999}
    280 1.30: &gt; P1_X=""
    281 1.30: {color}{color:#ff9900}&gt; RENDER ITEM P1_X READ_ONLY CONDITION{color}{color:#999999}
    282 1.30: Item: P1_X TEXT
    X POST-CALCUL
    Error msg
    283 1.30: {color}{color:#ff9900}&gt; RENDER ITEM P1_Y CONDITION{color}{color:#999999}
    284 1.30: &gt; P1_Y="PROC CALCUL P1_Y SOURCE"
    285 1.31: {color}{color:#ff9900}&gt; RENDER ITEM P1_Y READ-ONLY CONDITION{color}{color:#999999}
    286 1.31: Item: P1_Y TEXT
    Y PROC CALCUL P1_Y SOURCE POST_CALCUL
    287 1.32: {color}{color:#ff9900}&gt; RENDER REGION Alpha SOURCE{color}{color:#999999}
    288 1.32: Computation point: AFTER_BOX_BODY
    289 1.32: Processing point: AFTER_BOX_BODY
    290 1.32: Computation point: BEFORE_FOOTER
    291 1.32: Processing point: BEFORE_FOOTER
    292 1.32: Show page tempate footer
    293 1.32: Computation point: AFTER_FOOTER
    294 1.32: Processing point: AFTER_FOOTER
    295 1.32: Log Activity:
    296 1.32: Execute Count=0
    297 1.32: End Show:{color}
    Looking at those debug output, I was able to find a workaround. Look at the line 264 and compare that to the lines 076 to 080. What I did is put the computation in the condition. This way, I'm garanteed that the calculation is always done. Here is an exemple:
    A Computation (in the Page Rendering part)
    Item Name
    - Item Name: P1_Y
    - Type: PL/SQL Function body
    Computation Point
    - Computation Point:After Submit
    Source
    - Computation: RETURN :P1_Y; -- Never executed. Look in the condition for computation
    Conditional Computations
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: :P1_Y := COMPUTE(); RETURN FALSE;
    This works but totally break the semantics created in APEX.
    Suggestion:
    In the Page rendering phase, when a validation fails, the source compution found in a Item (in that case the value is taken from the session state), in a Computation or in Process is never executed.
    This should revised.
    Their should be a way for the programmer to choose what behavior the rendering phase will have when a validation fails other than using a workaround that might break in futur versions of APEX.
    Edited by: user4591233 on Nov 19, 2008 6:32 AM
    Edited by: user4591233 on Nov 19, 2008 6:34 AM

    Dominique,
    Thank you for the detailed problem description. Although you posted it some ten hours ago I have just now finished reading it.
    Form pages must be built so they can operate correctly when inline validation errors are displayed. The assumption (by the engine) is that session state (and package state) as it exists at the point the validations are performed is sufficient (and correct) to support the redisplay of the page without the need to fire on-load processes or computations. Session state or package state changes made by after-submit computations or after-submit/before computations/validations processes that prevent correct page behavior on the "validation redisplay" must be avoided.
    The condition types Inline Validation Errors Displayed/No Inline Validation Errors Displayed can be used for on-load events/controls (processes, computations, regions, items, ...) for which you need finer control over this behavior.
    Also, you can forgo the use of after-submit computations when the resulting alteration of session state would be inimical to proper "validation redisplay" behavior and use On Submit - After Computations and Validations processes instead.
    I hope I have understood your situation and that this answer adequately answers your questions.
    Scott

  • Firefox froze a webpage, and I want to recover the text I wrote in the comment box on the page.

    I wrote a long thing in a comment box at the www.rollingstone.com website using Firefox for macbook as the browser. Typing into the comment box was going slowly and a then a window popped up saying "WARNING: Unresponsive script" in bold and then below it it says "A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue." Then below that it says: "Script: http://www.rollingstone.com/assets/js/built/desktop.bundle.js:185" Then there are 3 buttons:"Debug script", "Stop script", or "Continue", none of which respond. I think the text I entered is still there on the page if I could break this window. I am wondering if it is possible to recover the text I wrote in the box?
    The Debugger came on at the bottom of the page, but the window of the rollingstone page won't move so I can't bring it up to see most of the debugger. It looks like the script is some "RubiconAdServing."
    I downloaded a hxD editor, but I just get stuff on the right about the URL. In the advice I was given on another site, it says that I should be able to recover the text this way. Maybe I am clicking on the wrong thing to open with the Hex editor.
    There were no things in the upper left of my macbook window like 'file' for Firefox, but now they are there but not responding. Firefox is totally not responding, but there are a lot of other firefox browser windows minimized that are open and still at the bottom of the screen, but also not responding. How do you get into Firefox and recover the text? While I was writing the text on the Rolling Stone website, the writing within the tab would show that it had to connect to the internet to enter the text. When I went to the site I entered the text, it was not saved on the site. I can see some of the text I wrote on the frozen Firefox screen, but nothing moves. I am sure the text I wrote it still there if I could get through. How do I get into the Firefox webpage? All the other applications are working on my MacBook.

    Try the following:
    #Open the Mac Activity Monitor
    #End the plugin-container process(es)
    Now the page should respond again, but you will need to reload the page in order for it to work again, so copy your comment.

  • Progammatic update a table with a database view  in the page

    Hi All,
    I am using JDev 11g. With FOD database schema, I have one database view Products which comes from two tables Products_Base and Product_Transactions. I created three EOs (ProductEO, ProductsBaseEO, ProductTransactionsEO) and three VOs (ProductVO, ProductsBaseVO, ProductTransactionsVO) based on their EOs respectively.
    Here is my scenario. I have an ADF form which is based on the database view Products and is dragged and dropped from Data Controls->ProductVO. When an existing record is submitted, a backing bean method will be called to update the data against the table Products_Base (and the table Product_Transactions at the same time) programmatically. An update method updateProductPrice() is added into the Application Module and published it to UI Client. The submit button in the page is created by directly dragging and dropping Data Controls->updateProductPrice into the page. When I run it, I got the following error message,
    Failed to post data to database during "Update": SQL Statement "UPDATE PRODUCTS ProductEO SET COST_PRICE=:1 WHERE PRODUCT_ID=:2".
    What I don't understand here is that, in my update method updateProductPrice(), it supposes to update the table Products_Base. But from the error, it appears that it is trying to update the view Products. Can anyone give me a help on what I did wrong here? When I try to debug it, it throws an exception to this line in the method updateProductPrice(),
    getDBTransaction().commit();
    Here are my codes,
    The method which got called in the backing bean
    public String cb6_action() {
    DCBindingContainer bc = (DCBindingContainer)getBindings();
    FacesCtrlAttrsBinding ProductId = (FacesCtrlAttrsBinding)bc.get("ProductId");
    FacesCtrlAttrsBinding CostPrice = (FacesCtrlAttrsBinding)bc.get("CostPrice");
    JUCtrlActionBinding action =
    (JUCtrlActionBinding)bc.findCtrlBinding("updateProductPrice");
    DCDataControl dc = action.getDataControl();
    ApplicationModule am = (ApplicationModule)dc.getDataProvider();
    AppModule service = (AppModule)am;
    service.updateProductPrice(new Long(ProductId.toString()), CostPrice.toString());
    return null;
    public BindingContainer getBindings() {
    return BindingContext.getCurrent().getCurrentBindingsEntry();
    The update method defined in the Application module (AppModuleImpl.java)
    public void updateProductPrice(long productId, String costPrice) {
    ProductsBaseEOImpl product = retrieveProductById(productId);
    if (product != null) {
    try {
    product.setCostPrice(new Number(costPrice));
    getDBTransaction().commit();
    catch (JboException ex) {
    getDBTransaction().rollback();
    throw ex;
    catch (SQLException ex1) {
    getDBTransaction().rollback();
    private ProductsBaseEOImpl retrieveProductById(long productId) {
    EntityDefImpl productDef = ProductsBaseEOImpl.getDefinitionObject();
    Key productKey = ProductsBaseEOImpl.createPrimaryKey(new DBSequence(productId));
    return (ProductsBaseEOImpl)productDef.findByPrimaryKey(getDBTransaction(),productKey);
    Edited by: john wang on Oct 27, 2009 7:14 AM

    or
    merge into test
    using (select rowid rid
                , id
                , sub_id
                , startdate
                , lead (startdate) over (order by id, sub_id) - 1 ed
           from test) x
    on (x.rid = test.rowid)
    when matched then
       update set end_date = x.ed
    ;

  • It is taking too much time run the page from Jdeveloper (R12)

    Hi Gurus
    When i m running a page in R12 from Jdeveloper ,it is taking abt 15-20 minutes to render the page ,it is happening first time with me ,i m working on Jdeveloper 10G .Would some one please give some hints . Am i missing some setting in Jdeveloper.
    Thanx in advance
    Pratap

    Pratap
    First thing that cause pages to load slow is the location of your database server.If you are working locally & your db server is located far in that case, your page loads slowly.Moreover you can try connecting with any server instance to test if this is not the issue with only that instance.Moreover if you would be running the page in Debug mode then also your page will load slowly.
    Please update the thread if you finds any other issue.So that it may help others too
    Thanks
    AJ

  • Click "adapter monitoring"  cause  "The page cannot be displayed"

    At RWB, the "adapter monitoring" used to be OK.
    But now it gives
    "The page cannot be displayed".
    How to debug it?
    Thanks!

    Hi,
    can you try a direct link:
    http://server:port/mdt/amtServlet ?
    BTW
    try restarting RWB (close all IE windows and open it again)
    Regards,
    michal

  • Jdev 11.1.2 - Getting view state of the page has expired. Reload the page.

    Hi All,
         I am Using Studio Edition Version 11.1.2.0.0 (11g Release2).
         Whenever I do some changes to Jspx file and
         trying to perform some operations in the Form Session got Timeout.
         In the JDEV Log recorded the message as:
         Do we need to do any changes in settings?.
         [01:23:15 PM] Updated /C:/Users/arenuk/AppData/Roaming/JDeveloper/system11.1.2.0.38.60.17/o.j2ee/drs/TestSample/ViewControllerWebApp.war
         <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1
         javax.faces.application.ViewExpiredException: viewId:/view/src/jspx/Countries.jspx - ADF_FACES-30107:The view state of the page has expired. Reload the page.
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:718)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:341)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         And in one of my earlier threads I got solution (fast-swap Option need to be selected)
         for Null Pointer exception after Recompilation of Java classes in Debug Mode.
         Durga.

    Hi Arun,
         The word Form misleads you i think so its not Form. Jspx only.
         I have created a small sample application using HR database.
         Created CountriesEO using countries table.
         Created Countries.jspx, in that created one filterable table using CountriesVO.
         Run the Countries.jspx page is rendered on the Browser.
         Now if I do any change say for Ex: Given editingMode="editAll" to the Table Save and
         now come to the page already Running on the Browser and applied Filter for
         Country Name column this Error comes.
         1. Are you running the App in Debug mode? -- In Both Run & Debug Modes it comes.
         2. Is there any backing bean for the jspx page? -- no backing Bean created.
         Durga.
    Edited by: Durga on Aug 26, 2011 3:22 AM

  • Cascading LOV not working when the page is public

    Hi ,
    I have a cascading LOV in a tabular form which I have built using Denes Kubicek example from
    http://apex.oracle.com/pls/otn/f?p=31517:176:2702932664861989:::::
    Thanks to this wonderful examle I was able to make my cascading lov work.
    However when I make the page public , the second lov(which is based on the first one) does not work.
    Inorder to debug i changed get.get('XML') to get.get() and put an alert on it; to check if the select list string is being returned correctly by the application process - it returns null. The same alert returns the select list string when I put the authentication back on the page.
    Also I noticed when the page is public the application item (TAB_CASCADING_ITEM) is not getting populated with the value of the first select list.
    has anybody encountered the same issue ?
    Appreciate any suggestions?
    Thanks,
    Dippy

    One of the parameters in the htmldb_get is the page the process runs on. You should change that to the current page or make page 0 public as well.

  • How to debug UIX pages?

    Hi,
    I was reading the "Configuration" file uix-config.xml, but i can't debug a UIX page...
    It's possible to debug uix pages?
    Thanks
    Juan Pablo

    To debug a UIX page, select the UIX page in the navigator and then press the debug button on the toolbar. This will launch the embedded OC4J server in debug mode and bring up a browser for the UIX.
    I don't know if the debugger can stop at breakpoints in the UIX page itself, but the debugger can stop at breakpoints in your java code.
    -Liz

  • The Executables are not pointing to the DataControl in the Page bindings.

    Hi all
    I am working in the Jdev 11.1.2.1 and weblogic 10.3.5.
    I would like to inform you that,in my page bindings,the executables are not pointing to the Datacontrol and hence when i debug my page i am geting an empty page.
    This is happening many times.
    Inorder to solve this,i am adding one more executable to my executables and then when i c the executable pointing to the required datacontrol i delete the added executable.Then i am rebuilding the project and then i am running the page.Then i can see the page with the data.
    This is happening many time and many times i did the same.
    I want solution for this kind of problem.Why is this happening and whats the solution for this issue.
    Please help me in this issue.

    Hi,
    I am not sure what causes this issue.
    1. Are you using ADF Libraries (model projects are deployed and used). If yes, does it work fine if you refresh the whole application (in the application navigator) and then run the page to see if it resolves?
    2. When you open up the pagedef in overview mode, do you see the Datacontrol? If not, try refreshing the datacontrol palette and see if it works fine after that?
    3. What happens if you do a build->clean all and then run the page? Does it work fine then?
    -Arun

  • Smartforms - Identify the page just before the last page

    Hi,
    I need to add OMR code into a Smartforms, I print my form in duplex mode, and my OMR code must be only in the odd page (1, 3, 5, 7 ...).
    In the OMR code, I must set the end of the grouping, this end occurs at the last odd page. But if the last page is pair (2 4 6 8 ...), I need to the the ending code to the page just before the end.
    So, I need to identify the page just before the last page.
    My problem is, when I debug the Smartforms, the SFSY-FORMPAGES contains the actual page, not the value of the last page.
    if someone have an idea ..
    Fred

    Maybe I found the solution :
    Note 359009 - Postprocessing and query of the total number of pages
    I check and make a return (if a day someone have the same problem)
    Fred

  • Using PrinterJob to print a Component only uses 2/3 of the page

    Okay, I'm now trying to get printing working with my app.
    I have a JFrame that contains several custom components.
    I invoke the print like this:
                   PrinterJob job = PrinterJob.getPrinterJob();
                   job.setPrintable(GraphWindow.this);
                   if (job.printDialog()) {
                        try {
                             job.print();
                        } catch (PrinterException pe) {
                             logger.error("actionPerformed: Print Error: ", pe);
                   }The Printable interface is implemented like this:
              if (pageIndex > 0) {
                   return (NO_SUCH_PAGE);
              } else {
                   Graphics2D g2d = (Graphics2D) graphics;
                   logger.debug("print: clip=" + g2d.getClipBounds() + ", devbounds=" + g2d.getDeviceConfiguration().getBounds());
                   g2d.translate(pageFormat.getImageableX(), pageFormat.getImageableY());
                   RepaintManager currentManager = RepaintManager.currentManager(this);
                   currentManager.setDoubleBufferingEnabled(false);
                   paint(g2d);
                   currentManager.setDoubleBufferingEnabled(true);
                   return (PAGE_EXISTS);
              }When the printout comes out, it covers about 2/3 the page in each dimension. It could easily be larger and still fit.
    The print log message looks like this:
    print: clip=java.awt.Rectangle[x=15,y=15,width=582,height=762], devbounds=java.awt.Rectangle[x=0,y=0,width=5100,height=6600]
    When the paint() method is called, the window is still it's normal screen resolution - so my code paints in that res. This results in some chunky output on the printer.
    So, the final questions are:
    1) Why is the Clip (and probably the transform) setup for something that is noticeably larger than the Frame being printed? I'd like to force it to "Fit to Page". I'm guessing it's doing some magic DPI calculations, but I don't see how I can change those.
    2) Is there any way I can increase the print resolution? Somehow I doubt I can set my Frame size to be 5000x6000 and have it work properly.

    I don't know about java... but the trick in VB was to create an invisible form in the background, and print that via Form.PrintForm()... but VB allowed you to create a form any size you liked... even if it was 100 times the current screen size.
    Interesting little problem...
    PS: I'd only resort to an invisible Frame in the absence of a better solution... ie: pray for a response from someone who actually knows what they're talking about ;-)

  • Urgent, SOS for help: How to show the pdf file name at the right bottow of the page?

    I want to show the pdf file name at the right bottow of the page for filing purpose, anybody knows anything?
    I know it can be showed at the left bottom through adobe printer, but i need it to be at the right bottom.
    thanks.

    The result is a UIWebView that displays a blank page. No errors occur in the UIWebView delegate method. The thing is that data has the correct length, in bytes, for the PDF I am trying to display, and I also get the pdf file in Library/Application Support/iPhone Simulator/4.3.2/Applications/ Does anyone have an idea as to what might be going wrong here or how I can better debug this problem?

Maybe you are looking for