InvalidViewPortIdException: View port ID '1d2gjji9s1_27 is invalid.

The scenario is that I am navigating from one view (by clicking on a command link in a table) to another view with in a bounded taskflow . in the second view, I click on a command link to navigate back to the first task flow. Till here it works fine. When I select another command link in the table, I am get InvalidViewPortIdException in the page. I close the alert message popup and click on any command link in the table it works fine. I do not get this exception at all after this.
To reproduce this issue again, I logout and login again to the adf application and do the steps mentioned above. The exception stacktrace is as follows.
<Nov 26, 2012 6:25:04 AM PST> <Error> <oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator> <BEA-000000> <ADF_FACES-60096:Server Exception during PPR, #1
oracle.adf.controller.internal.InvalidViewPortIdException: ADFC-14000: View port ID '1d2gjji9s1_27' is invalid.
     at oracle.adfinternal.controller.state.ControllerState.setCurrentViewPort(ControllerState.java:1402)
     at oracle.adfinternal.controller.state.ViewPortContextImpl.deliverNavigationEvents(ViewPortContextImpl.java:972)
     at oracle.adfinternal.controller.application.SyncNavigationStateListener.afterPhase(SyncNavigationStateListener.java:114)
     at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.afterPhase(ADFLifecycleImpl.java:539)
     at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)
     at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:171)
     at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchAfterPagePhaseEvent(ADFPhaseListener.java:313)
     at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:87)
     at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:54)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:520)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
     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:301)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:181)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
     at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
     at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
     at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
     at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:419)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
     at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
     at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>

Hi Frank,
You guessed it right. The design for the outer taskflow is as follows
View1 and view2 represents two view activities. View1 contains the table and on click of a link navigates to view2 based on control flow rule. View2 contains a commandlink (to go back to view1) and a region.
<control-flow-rule id="__1833">
<from-activity-id id="__1943">view1</from-activity-id>
<control-flow-case>
<from-outcome>SUCCESS</from-outcome>
<to-activity-id>view2</to-activity-id>
</control-flow-case>
</control-flow-rule>
<control-flow-rule>
<from-activity-id>view2</from-activity-id>
<control-flow-case>
<from-outcome>GO_BACK</from-outcome>
<to-activity-id>view1</to-activity-id>
</control-flow-case>
</control-flow-rule>
view1.jsff
=============
<af:column headerText="#{wlist_msg.LABEL_DETAILS_PROCESS_NAME}" sortable="#{pageFlowScope.taskView.taskList.sortable}" sortProperty="processName"
id="taskTableProcessNameColumn" >
<*af:commandLink* id="processName" text="#{tabledata.processName}"
action="*SUCCESS*">
<af:setActionListener from="#{tabledata.processId}"
to="#{pageFlowScope.instanceId}"/>
</af:commandLink>
</af:column>
view2.jsff
==============
<?xml version='1.0' encoding='US-ASCII'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
version="2.1">
<jsp:directive.page contentType="text/html;charset=utf-8"/>
<af:panelStretchLayout id="processInstanceDetailsFrame" >
<f:facet name="top">
<af:panelGroupLayout layout="vertical">
<*af:commandLink* text="#{wlist_msg.SHOW_TASK_LIST}" id="clstl"
action="*GO_BACK*"/>
<af:outputText value="#{pageFlowScope.instanceId}"/>
</af:panelGroupLayout>
</f:facet>
<f:facet name="center">
<*af:region* value="#{bindings.processInstanceDetailTaskflow1.regionModel}" id="r1"/>
</f:facet>
</af:panelStretchLayout>
</jsp:root>

Similar Messages

  • ADFc: No view port found when using both Browser dialog and TF inline-popup

    Hi,
    Using JDev 11.1.1.2.
    We have a table with data and two commandlinks. One navigates to a task-flow-call configured to "run as dialog" in a modal inline-popup. This opens a modal inline-popup that can be used to modify the data.
    The second command link navigates to view (using the dialog: syntax) that opens a second browser window, displaying a jspx that retrieves an image from a servlet.
    Both dialogs can be opened and closed multiple times if I use only one of them in a session, but once I have opened the browser dialog popup, opening the inline-popup gives an exception (see below).
    The inline-popup actually shows, but instead of the taskflow inside it it shows "The website cannot display the page".
    From debugging the source code, I see that the StateInstanceIdFromRequest (ControllerState:288) when opening the inline-popup is the ctrl-state from the main browser window address bar, r01nnp3js_9.
    Then when the taskflow inside the inline-popup is opened, the StateInstanceIdFromRequest is r01nnp3js_13. If I open and close the inline-popup multiple times, this instanceid stays the same.
    Until I open the browser dialog window with the second commandlink, the StateInstanceIdFromRequest for the view inside this dialog window is r01nnp3js_31, matching the ctrl-state from the dialog window address bar.
    After closing the browser dialog window and clicking the first commandlink, the inline-popup shows but the StateInstanceIdFromRequest for the taskflow inside it is no longer r01nnp3js_13, but r01nnp3js_31!!
    This is the InstanceID from the browser window that was closed!! This is incorrect and I think that the wrong StateInstance is looked up (ControllerState:304).
    This results in an NPE (ControllerState:330) because the CurrentViewPort (looked up from mAllViewPorts with the wrong currentViewPortContextId) is null.
    This is the stacktrace:<ControllerState><getViewPort> ADFc: No view port found with ID 'r01nnp3js_32'.
    <ControllerState><getViewPort> ADFc: No view port found with ID 'r01nnp3js_32'.
    08-jun 10:53:16 DEBUG     2/avravr001 (MnSessionContextFilter) ----- REQUEST START ----
    08-jun 10:54:31 DEBUG     2/avravr001 (MnSessionContextFilter) ----- UNCAUGHT UNCHECKED EXCEPTION DURING REQUEST: NullPointerException, null ----
    08-jun 10:54:31 DEBUG     2/avravr001 (MnSessionContextFilter) ----- REQUEST END ----
    <8-jun-2010 10:54:31 uur CEST> <Error> <HTTP> <BEA-101017> <[ServletContext@12329770[app:KlantbeeldPME module:KlantbeeldPME path:/KlantbeeldPME spec-version:2.5 version:V2.0], request: weblogic.servlet.internal.ServletRequestImpl@f0f81e[
    GET /KlantbeeldPME/faces/adf.dialog-request?_adf.ctrl-state=yg04i5vly_47&_rtrnId=1275987194538&__ADFvDlg__=true&_afrLoop=2956086037750&_afrWindowMode=0&_afrWindowId=_adfvdlg HTTP/1.1
    Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*
    Referer: http://127.0.0.1:7101/KlantbeeldPME/faces/adf.dialog-request?_adf.ctrl-state=yg04i5vly_47&_rtrnId=1275987194538&__ADFvDlg__=true
    Accept-Language: nl
    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Accept-Encoding: gzip, deflate
    Connection: Keep-Alive
    Cookie: JSESSIONID=H5k3MTDDTCpbCqjPhf1pWyJ2tsl3JBC3PTDXpQVzh8Fx74BJdLk6!1966224151
    ]] Root cause of ServletException.
    java.lang.NullPointerException
         at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart1(ControllerState.java:330)
         at oracle.adfinternal.controller.application.SyncNavigationStateListener.beforePhase(SyncNavigationStateListener.java:101)
         at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:551)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:147)
         Truncated. see log file for complete stacktrace
    >
    <8-jun-2010 10:54:31 uur CEST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at 8-jun-2010 10:54:31 uur CEST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = 8-jun-2010 10:54:31 uur CEST SERVER = DefaultServer MESSAGE = [ServletContext@12329770[app:KlantbeeldPME module:KlantbeeldPME path:/KlantbeeldPME spec-version:2.5 version:V2.0], request: weblogic.servlet.internal.ServletRequestImpl@f0f81e[
    GET /KlantbeeldPME/faces/adf.dialog-request?_adf.ctrl-state=yg04i5vly_47&_rtrnId=1275987194538&__ADFvDlg__=true&_afrLoop=2956086037750&_afrWindowMode=0&_afrWindowId=_adfvdlg HTTP/1.1
    Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*
    Referer: http://127.0.0.1:7101/KlantbeeldPME/faces/adf.dialog-request?_adf.ctrl-state=yg04i5vly_47&_rtrnId=1275987194538&__ADFvDlg__=true
    Accept-Language: nl
    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Accept-Encoding: gzip, deflate
    Connection: Keep-Alive
    Cookie: JSESSIONID=H5k3MTDDTCpbCqjPhf1pWyJ2tsl3JBC3PTDXpQVzh8Fx74BJdLk6!1966224151
    ]] Root cause of ServletException.
    java.lang.NullPointerException
         at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart1(ControllerState.java:330)
         at oracle.adfinternal.controller.application.SyncNavigationStateListener.beforePhase(SyncNavigationStateListener.java:101)
         at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:551)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:147)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:112)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:59)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:258)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)What are my options here? How can I influence the ctrl-state of an inline-popup? Can a browser dialog window be disposed somehow and would that matter?
    oracle.adfinternal.controller.state.ControllerState is an adfinternal class, what is the best way to hook into this and fix it?
    Thanks and regards,
    Gerben

    Thanks Frank. I'm not sure how to do that, but I'll create a SR on the SID of my customer and refer to this thread.
    regards,
    Gerben

  • In Orchestration View , Port Type is Read only

    Hello ,
    I am having Request Response Port in Orchestration View (Port Type), i have linked this with Receive Shape and Send Shape in orchestration and deployed this application.
    I have realised that my Port Type should be Type Modifier = Public
    insted of type Internal.
    But it is read only and not allowing me to change it now ????.
    One way to do this is create new port type assign it's Type modifier...
    Any Ideia how to do that other way  ?
    Thanks,
    Nilesh
    Thanks and Regards, Nilesh Thakur.

    Thanks Boatseller for help ...
    As I already explained that this Port Type was already created (by one of my team member) and deployed.
    1) How many way we can create Port Type ?
    I know by right click on Port Surface and New Port or New Configure port ???
    what I mean is that not able to make changes in property window for
    Type Modifier.
    This port type is grad out and also All option in property are disabled.
    Thanks,
    Thanks and Regards, Nilesh Thakur.

  • My JComponent is not visible when we move scrollbar outside view port

    I have designed my customized JComponent which is bubble type component.User can set it to JComponent like button then above button this bubble(which is JComponent) will appear.
    Now my problem is :
    User has set bubble to one button and everything is inside view port but when user is using scrollbar which is outside viewport and moving viewport then bubble is dissappeared.
    For example
    button is at lower left corner and bubble is displayed but when I will move scrollbar to rigth side then in this case will disappear and will visible only when I will resize window because I have used hiearchy bound listeners.
    But my problem is why scrollbar events are not catched by hieachy bound listeners??
    how to get scrollbar event so that i can call repaint for my bubble component.
    reply asap if possible.

    overload the paint method

  • JDeveloper 11.1.1.3 - "No view port found" error in ADF task-flow

    Hi,
    My customer uses JDeveloper 11.1.1.3.
    They are developing jspx using ADF task-flow.
    They see following errors in stdout log when the view in the page was changed.
    But their application seems to work correctly after the errors.
    Does anyone know how to solve these errors?
    Or, does anyone know whether these errors affects ADF(or JSF) applications, or not?
    If these errors don't affect to them, they will consider ignoring these messages for now.
    <ControllerState><getViewPort> ADFc: No view port found with ID '6h7oee2m2_9'.
    <ControllerState><getViewPort> ADFc: No view port found with ID '6h7oee2m2_9'.
    <ControllerState><getViewPort> ADFc: No view port found with ID '6h7oee2m2_13'.
    <ControllerState><getViewPort> ADFc: No view port found with ID '6h7oee2m2_13'.
    <ControllerState><getViewPort> ADFc: No view port found with ID '6h7oee2m2_9'.
    <ControllerState><getViewPort> ADFc: No view port found with ID '6h7oee2m2_9'.
    Any pointers on this are appreciated.
    -Noriyuki
    Edited by: nori524 on 2011/01/13 0:01

    Wes,
    1) is documented at http://docs.oracle.com/cd/E35521_01/web.111230/e16181/af_reuse.htm#autoId21
    2) and 3) I personally have not stumbled upon, but if you have a reproducible test case you should open an SR or make an entry in the ADFEMF issue tracker (http://java.net/jira/browse/ADFEMG side is currently down :()
    Timo

  • How to display an movieclip loaded from asset with specified view port ?

    Hi all,
    I would like to display only a specified viewport or
    cliprect of an movie clip(image) loaded from the asset library
    using the MovieClip::attachMovie fn. I searched thro the flash
    api's & could not find anything which is applicable. Is there
    any way
    to do this.
    Thanks in advance,
    McMuthu

    Here is some code that will show you how to setup a view
    port.
    ============================================================
    map.setMask(mapMask);
    this.onMouseMove = function() {
    mapMask._x = this._xmouse;
    mapMask._y = this._ymouse;
    updateAfterEvent();
    this.onEnterFrame = function() {
    mapMask.onPress = function() {
    this.startDrag();
    mapMask.onRelease = function() {
    this.stopDrag();
    =====================================================
    You will have to import your own map image convert it to a
    MovieClip instance and name it map. The viewport shape should also
    be converted to a MovieClip instance and given the name of mapMask
    in order to correspond with the variables in this code.
    You could change the code to have the view port move from one
    position or another.
    Hope this helps.
    Take Care

  • Content Viewer Ports

    I'm having an issue where Adobe Content Viewer on iPad is throwing errors and won't update the library when connected to my organization's network. Seems to work fine on other networks, so I'm thinking they are blocking a port needed.
    Could someone at Adobe specify which ports are used by the Content Viewer so I can ask them to unblock those?

    Problem resolved, with a bit of help from Adobe Support. It was Websense, our organizations web content filter. This is what I got from Adobe Support, which I sent to the IT guys.
    In order for the content viewer on the iPad to work and bypass the network, make sure this two Adobe domain/url is allowed through the network.
    https://origin.adobe-dcfs.com
    http://edge.adobe-dcfs.com

  • Reg: Discso10g Viewer Error while opening Workbook 'Invalid worksheetsheet'

    Hi,
    We getting error "Invalid worksheet specified. {0}" while opening few Workbooks.
    This is happening only in Disco10g Viewer its working fine Disco10g Plus, Client.
    We recently uprgade from Disco4i to Disco10g.
    Your valuable comments are highly appreciable
    Thankx in Advance
    Venkat

    Hi,
    I have seen this problem and it was resolved by applying a patch, so check that you have the latest patches for your Desktop version.
    Rod West

  • Dependencies on view (how to get it invalid )

    hi guys,
    was reading the concept guide and came upon this
    its on page 157 chapter 6-5
    under
    <Data Warehousing Considerations>
    <i>
    Some data warehouses drop indexes on tables at night to facilitate faster loads.
    However, all views dependent on the table whose index is dropped get invalidated.
    This means that subsequently running any package that reference these dropped
    views will invalidate the package.
    Remember that whenever you create a table, index, and view, and then drop the index,
    all objects dependent on that table are invalidated, including views, packages, package
    bodies, functions, and procedures. This protects updatable join views. </i>
    done a test but doesnt seems to be what is describe above.
    SCOTT@orcl> create index testidx on dept(dname);
    Index created.
    SCOTT@orcl> create view testview as SELECT * FROM DEPT;
    View created.
    SCOTT@orcl> DROP INDEX testidx;
    Index dropped.
    SCOTT@orcl> select status from useR_objects where object_name = 'TESTVIEW';
    STATUS
    VALID
    Well it did not get invalid
    q1) did i miss up anything
    q2) what is updatable join views. ?
    Please advice
    Regards,
    Noob
    Edited by: OracleWannabe on Jun 24, 2009 10:50 AM

    A simple test case with 10.2.0.1 cannot reproduce the documented behaviour:
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE     10.2.0.1.0     Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL> drop table t;
    Table supprimee.
    SQL> drop view v;
    Vue supprimee.
    SQL> whenever sqlerror exit failure;
    SQL> create table t as select * from all_objects;
    Table creee.
    SQL> create index i on t(object_name);
    Index cree.
    SQL> create view v as select * from t;
    Vue creee.
    SQL> exec dbms_stats.gather_table_stats(ownname => user, tabname  => 'T', cascade => true);
    Procedure PL/SQL terminee avec succes.
    SQL> select count(*) from v where object_name = 'T';
      COUNT(*)
          6
    SQL> explain plan for select count(*) from v where object_name = 'T';
    Explicite.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 2079104444
    | Id  | Operation       | Name | Rows  | Bytes | Cost (%CPU)| Time      |
    |   0 | SELECT STATEMENT  |      |     1 |    25 |     1   (0)| 00:00:01 |
    |   1 |  SORT AGGREGATE   |      |     1 |    25 |           |       |
    |*  2 |   INDEX RANGE SCAN| I      |     2 |    50 |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    PLAN_TABLE_OUTPUT
       2 - access("OBJECT_NAME"='T')
    14 ligne(s) selectionnee(s).
    SQL> select status from user_objects where object_name = 'V';
    STATUS
    VALID
    SQL> drop index i;
    Index supprime.
    SQL> select status from user_objects where object_name = 'V';
    STATUS
    VALID

  • Trying to view Network Activity Reports - login invalid

    I can access and modify anything fine. Shows my password correctly.  Log into Network Defender controls, click on Network Activity Reports, can modify Report and Notifications no problem....
    But when I click View Report - and it opens a web browswer, when I attempt to login there, it says -- Login Failed: Invalid email or password.

    Please try to PM me again.  If it does not work, please try resetting your password by launching Network Magic -Tools-My Account. 
    Then try logging back in.
    If that doesn't work and you cannot PM me, please call Linksys support and open a ticket.  Then respond back afterwards and I can follow up with the support tech to view your details.
    Sorry about the issues.

  • Views, Procedures, Triggers marked as invalid

    Why are Views, Procedures, Triggers being marked as invalid when there has been NO ACTIVITY against the database?
    I can correct them today (by recompiling, no changes are necessary); however tomorrow the same Views, Procedures, Triggers will bemarked as invalid.
    I can guarantee that there has been NO ACTIVITY in that time frame.

    Hi Murray,
    Perhaps you are correct about there being no activity in your database to invalidate those objects. But what about dependencies on remote DB objects that could have been invalidated (perhaps dropped and recreated)?
    http://docs.oracle.com/cd/B19306_01/server.102/b14220/depend.htm
    You may wish to use SQL Developer's object viewer Dependencies tab to check for that possibility. And I wonder about dependency management using timestamps, considering the recent switch to daylight saving time in much of the world.
    Regards,
    Gary
    SQL Developer Team

  • How to view "port of Entry" in VL31N

    I created a PO and maintained "Port of entry" in customer data tab. The i created a inbound Delivery  refering purchase order in VL31N. Where can i see the "Port of enry" in VL31N
    Please advice.
    Edited by: sam_weera on Apr 6, 2011 5:17 PM

    u can get by using sharedObects
    see this
    http://www.techartifact.com/blogs/2013/10/get-intradoc-server-port-in-custom-component-in-webcenter-content-ucm.html

  • Suggestions - Vertical Ruler or the ability to set horizontail guides for various view ports.

    The suggestion link seems to be broken so I am posting here in hopes someone will see it. Edge Reflow would benefit greatly from the addition of a vertical ruler. Unless this is a view aready that I am somehow missing. Also it would be cool to be able to set a horizontal guides in the canvas grid (DOM). This would help in allowing the user set a guide for multiple viewing areas.
    And the pie in the sky, Santa Claus Christmas list of all request would be the ability to "blend" break points. It would be cool to set a 2000px view and a bookend break-point at 1024px, work both compositions to the desired look and have a "blend tool" that scales all the elements to the desired look form 2000px to 1024px.

    Hi Bobby, thanks for the suggestions!

  • In Flex2, How to get coordinates in a view port?

    I know one can use something like
    fooUIControl.localToGlobal(new Point(x,y))
    to get the coordinates corresponding to the origin at the top
    left of the main flex app 'document'.
    In case that the main flex app scrolls, how can I get the
    coordinates corresponding to the origin at the top left of the
    visible screen (or the 'viewport')? Or in other words, how can I
    find out how many pixels are scrolled in X and Y? Thanks.

    The horizontalScrollPosition and verticalScrollPosition
    properties of a scrolling container tell you how many pixels it has
    scrolled.

  • Automatically adjust vertical of page to fit vertical of view port

    Looking for a CSS rule (or xhtml code) to make the the content of my page automatically adjust vertcially to the viewport height on any monitor. Using standard box model floated layout. Everything looks as I want, but I noticed that on a larger monitor there's space below my page content. The space is the background color / image, which is OK, but I wanted to see if there's a way to stretch the vertical page automatically.
    Help greatly appreciated.
    Tom

    True Vertical Centering is more a print concept than a web concept.  I can show you how to force vertical centering in browsers but this technique isn't practical for use on full web sites.
    http://alt-web.com/TEMPLATES/vertical-center.html
    A safer approach is to simply add some margins and padding to the top of your #container.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

Maybe you are looking for

  • Download doesn't work  No error message

    I am trying hard to download oc4j release 2 and how-to-jazn sample . Site doesn't provide any error message if there is any error message if server is down . There is no problem if I dowm load from other sites. Can some one answer my question Thanks

  • Posting  multiple records from file to idoc

    Hi Exerts,    i have done scenario to post one record from file to IDOC, to post multiple records from file to idoc what are the options to be modified in the scenario. thanks, dhanush

  • Locked by another user (myself)

    I wanted to change the date of my trip, received an internal error, and now the trip is locked (myself). I can neither change nor delete it and start new. Is there a possibility to delete my own lock entries? Thanks,  Udo

  • Recovery Storage Groups removed from exhange 2010

    hi everyone, please let me know , how i can restore the single mailbox of user in exchange 2010 , as RSG is removed from Exchange 2010, how we can restore the database after the server failure or curruption in database, if you are not using DAG regar

  • Will not load. Does not even try to load. Using Explorer now

    Have Firefox icon on desk top. For two days, when I click, will not even try to load. Nothing happens.