bad sequence for "select xmlagg (...) "in... by..."

The above statement, I get a forrest of XML nodes in the wrong order.

I have a sequence of XML elements in a table:

[Sorry for such things ' < span span > < time > < > < span > < span > > < "-I did not find a way to remove it]


T5100 = 4, seqno = 1
T5100 = 7, seqno = 2
T5100 = 10, seqno = 3
T5100 = 13, seqno = 4
T5100 = 16, seqno = 5
T5100 = 19, seqno = 6
T5100 = 22, seqno = 7
T5100 = 25, seqno = 8
T5100 = 37, seqno = 9
T5100 = 40, seqno = 10
T5100 = 43, seqno = 11
T5100 = 46, seqno = 12
T5100 = 49, seqno = 13
T5100 = 52, seqno = 14
T5100 = 55, seqno = 15
T5100 = 73, seqno = 16
T5100 = 76, seqno = 17
T5100 = 79, seqno = 18
T5100 = 106, seqno = 19



'T5100' is an XML attribute in the node root aggregate xmltype (column) of the source (just used here as a token) table (< SEG9510 >).

'seqno' is a sequence number (column) of the same table in the source - which is used for the "order by".

However, my result xmlserialize goes like this:

<SEG9510 T5100="76"/>
<SEG9510 T5100="79"/>
<SEG9510 T5100="106"/>
<SEG9510 T5100="4"/>
<SEG9510 T5100="7"/>



In fact, items out-of-sequence (76-79-106) are always some that appear at the beginning, but to the end (see above).

And this subset located to evil itself is in order (76-79-106).

For this, I was not sure if it's because of xmlagg (...) or xmlserialize (...).

So, I picked up the 1st element of root XML result xmlagg (...) (via "excerpt") and registered separately:

<SEG9510 T5100="76"/>



So the question is on xmlagg (...).

So what is wrong here?

-Thanks a lot!

Best regards

Frank

Your ORDER BY is moved.

SELECT... ORDER BY ordering the query results. The way you wrote your query, data will be grouped by XMLAGG in no particular order and then XMLAGG results will be ordered. What you want is to classify data while aggregating. You need to add ORDER BY for XMLAGG:

Select xmlagg (... Order by...) in...

SY.

Tags: Database

Similar Questions

  • Sequence by select Help please:

    First of all, I'm rather at this new and need help please.

    I created the following sequence:

    CREATE SEQUENCES SQ_CASE_NUMB

    MINVALUE 1

    INCREMENT BY 1

    START WITH 1

    And from this sequence select it below:

    SELECT TO_CHAR (SQ_CASE_NUMB. NEXTVAL)

    | | To_char (SYSDATE, "fm/MM/yy")

    Case_NUMB

    OF THE DOUBLE

    Result:

    Case_NUMB

    08/01/14

    08/02/14

    08/03/14

    Can I combine the sequence 'create' and 'select '? Or should I create a function?

    What is the best option please?

    It depends on what you're trying to reach.  What you use the sequence for?  Primary key?  Experiment?  fun?

    Best option can be answered only if you provide the object...

    BTW - the select query above works, but it does not mean that you should use...  The best thing to do (if you use it as a primary key) is to create a trigger like this:

    create or replace

    TRIGGER "insert name here".

    BEFORE INSERT ON table_name

    FOR EACH LINE

    BEGIN

    SELECT sequence_name. NEXTVAL INTO: DOUBLE NEW.pkcolumn_name;

    END;

  • UI: Colors for selection (shades of gray)

    Hello!

    Lightroom has three different levels of selection (not selected, chosen, more selected) and represents the State with different colors of gray. This looks like a very bad choice for me, because they are very difficult to differentiate.

    For example, it is very difficult to identify the start or the end of a long selection when scrolling, because everything seems just gray.

    Is there a way to change the colors for the 3 States?

    Hello!

    I don't think that there is a way to change this behavior in lightroom in the settings, but this is the place to post your suggestion:

    http://feedback.Photoshop.com/photoshop_family/ideas/recent

    Maybe someone has already posted a similar request, and you can add your vote.

    BTW: I like you have the idea of having a better indication of which one is chosen and seletced 'most'!

    Ml «»

  • How to create a sequence for a particular item in my form of apex

    Hi friends,

    I created a database application, a form that contains a report, and it works very well...

    But in my form, I have a requirement... Here it is the existing fields in my form

    issue no
    created by
    start date
    status
    priority
    due date

    Among these fields in my form, I need to create a 'sequence' for my 'number' field
    So that whenever I opened the form 'number' should automatically generate as 1 for the first time, 2 for the second time and so on...

    To do this, I created a sequence

    CREATE SEQUENCES "ORDERS_SEQ."
    MINVALUE 1
    MAXVALUE 999999999999999999999999999
    INCREMENT BY 1
    START WITH 1000
    NOCACHE
    NOCYCLE;

    But for validation where I need to write the query in the sequence for this particular item "issue no"..., I have no idea where to write the validation for the sequence query...


    Please tell where I need to write wisely step... Please help me friends...

    As my sequence validated here it is ask for item 'number '.

    "select seq.issue_id.nextval in issue_no.

    It comes to my posting above query if the query I mentioned is just... If not, let me know the validation query...


    And also I need where to apply this step verification query...

    Thanks in advance

    Kind regards
    Harry...

    Harry,

    Rik is on the right track. Here is a sample insert trigger: would need to replace you sequence ORDERS_SEQ with my las_log_seqsequence, how do you define or use timestamps is to you.

    DROP TRIGGER LASDEV.BINS1_LAS_LOG_TBL;
    
    CREATE OR REPLACE TRIGGER LASDEV."BINS1_LAS_LOG_TBL"
       BEFORE INSERT
       ON las_log_tbl
       FOR EACH ROW
    BEGIN
       --
       -- Description: Insert log_seq, creation_dt, creation_id,
       --              lst_updt_dt and lst_updt_id.
       --
       -- Maintenance:
       --
       -- Date        Actor          Action
       -- ====        =====          ======
       -- 07-Sep-2010 J. Wells       Create.
       --
       :new.creation_id := nvl( v( 'app_user' ), user );
       :new.creation_dt := SYSDATE;
       :new.lst_updt_dt := :new.creation_dt;
       :new.lst_updt_id := :new.creation_id;
    
        SELECT las_log_seq.NEXTVAL
          INTO :new.las_log_seq
          FROM DUAL;
    END bins1_las_log_tbl;
    /
    

    Heff

  • sequencing for each case

    I have a two tables
    I appended a unique index on case_id and trn_id
    SQL> desc fm_move
     Name                          Null?    Type
     -----------------                -------- ------------
     CASE_ID                 NOT NULL NUMBER(9)
    TRN_ID                    NOT NULL NUMBER(9)
     SRC_EQ_NAME       NOT NULL VARCHAR2(40)
     DEST_EQ_NAME      NOT NULL VARCHAR2(40)
     STREAM_NAME                       VARCHAR2(32)
    SQL> desc pm_move
     Name                          Null?    Type
     -----------------                -------- ------------
     CASE_ID                 NOT NULL NUMBER(9)
     SRC_EQ_NAME       NOT NULL VARCHAR2(40)
     DEST_EQ_NAME      NOT NULL VARCHAR2(40)
     STREAM_NAME                       VARCHAR2(32)
    IAM need to insert data block pm_move table periodically
    for example:

    insert into fm_move(case_id,trn_id,src_eq_name,dest_eq_name,stream_name)
    Select case_id, * substitution *, src_eq_name, dest_eq_name, pm_move nom_flux;

    but I need to generate trn_id for fm_move table so that the insert operation. It should come in sequence for each case id,
    If the case_id changes then it must start from 1 and go...

    for example, the data should be like this
    case_id    trn_id
    1             1
    1             2
    1             3
    1            4
    2            1 
    2            2
    2             3
    
    .....
    so, how can I replace this sequence for trn_id in the fm_move table.

    Published by: Mohd Hussain of Claude on August 19, 2009 14:30

    Hi, I'm sorry, but I cannot reproduce:

    SQL> select * from t1;
    
       CASE_ID
    ----------
             1
             1
             1
             1
             1
             2
             2
             2
    
    8 rows selected.
    
    SQL> desc t2
     Name
     --------------------------------------------------------------------------------------------------
     CASE_ID
     TRN_ID                                                                                                 
    
    SQL> select* from t2;
    
    no rows selected
    
    SQL> insert into t2(case_id, trn_id)
      2  select case_id
      3  ,      row_number() over (partition by case_id order by case_id) trn_id
      4  from t1;
    
    8 rows created.
    
    SQL> select * from t2;
    
       CASE_ID     TRN_ID
    ---------- ----------
             1          1
             1          2
             1          3
             1          4
             1          5
             2          1
             2          2
             2          3
    
    8 rows selected.
    

    Thus, it works fine here (on 10.2)...
    What is your version of DB?

  • Satellite X 200 PSPB9E - no display, start the power on sequence for 1-2 seconds

    Satellite X 200 PSPB9E - no display, starts to power on sequence for 1-2 seconds. This machine was bought as a defective donor known machine to fix the 'No power, no lights, Dead' problem with my PSPBUA.

    This problem was solved by replacing the NIVIDIA 8700 M GT K000052130 part number

    Thanks for the comments.

  • Need to create a task sequence for deploying Win - XP in MDT 2010

    Hello

    I'm having the lab for MDT 2010 configuration, now I need to create a task sequence for deploying operating system Win - XP with MDT 2010. Is it possible to create in MDT 2010 if yes please let me know the steps.

    It helped me http://www.edutechnow.com/?p=122

  • to choose the simple click instead of double click for selection using the mouse is no longer seen in Win 7 Pro

    possibility to choose the simple click instead of double click for selection using the mouse is not seen more in Win 7 Pro.

    where you can select the option, please? Thank you

    Hello

    You do not tell us where you are looking for it.

    "Click or double-click to open an item".

    http://www.SevenForums.com/tutorials/10117-single-click-double-click-Open-item.html

    See you soon.

  • Dear all, in the follow-up to Massage exhange 2010 there is no option for selective date and time if we want to follow and check the delivery for 2 months mail report, then how, please guide

    Dear all, in the follow-up to Massage exhange 2010 there is no option for selective date and time if we want to follow and check the delivery for 2 months mail report, then how, please guide

    Hi Anandsable,

    The question you have posted is based on Exchange 2010, it is better suited in the Exchange Server forum. Please post your question in the following forum:

    http://social.technet.Microsoft.com/forums/en-us/category/ExchangeServer, exchangeserverlegacy.

    Hope the helps of information.

  • Types of bad operand for the binary operator '! =' error

    Hello

    I get the following compilation error:

    types of bad operand for the binary operator '! =';  Firstly, type: oracle.jbo.domain.Date;  Second: null type >

    When I try to compare a Date with null object, for example:

        public static Calendar jboDateToCalendar(Date d) {
            if (d != null && d.getValue() != null) {
                Calendar c = Calendar.getInstance();
                c.setTime(d.getValue());
                return c;
            }
            return null;
        }
    

    I use JDev 12.1.3. running with Java 1.7.0_75.

    Does anyone have an idea? Ever seen this error before.

    Media do not help btw.

    Thank you

    Johannes

    I found the solution. I used only the 'Oracle BC4J areas' library to import the Houston to date data types.

    After adding "Oracle JDBC" such as the library, the errors disappeared.

  • DB sequence for the primary key

    Hello

    I have Table of key primary we use DB sequence in the database itself, for example if start a line (using sql client) DB without primary key sequence will do it for me, because of this trigger.

    (1) my doubt is if I generate A EO off this table I need to explicitly set db sequence for this attribute as this or no need to do this sequence bz DB does good for me!

    (new oracle.jbo.server.SequenceImpl("SEQ_NAME",adf.object.getDBTransaction())).getSequenceNumber()
    
    
    
    

    No, you use a db trigger all what you need to do is to define the type of the attribute DBSeqence. Then the framework will assign a negative value for the PK, which can and will be used as K until you commit the transaction. During this time the bed frame now generated correct sequence of relaxation and rights holders to PK all negative values of the line (and it's child row).

    Don't forget to check DBSequence attributes must have "Refresh on insert" together that it triggers the correct PK is read from the database after insertion.

    Do not use ' (new oracle.jbo.server.SequenceImpl ("SEQ_NAME", adf.object.getDBTransaction ()) .getSequenceNumber () ' attribute is the PK you use triggers to generate the sequence.

    Timo

  • correct the settings of the sequence for my a7s sony images?

    What is the parameters in the correct sequence for my a7s sony images? I turned it to 1080 p 23.976 FPS using the codec internal xavc of cameras.

    I havet always has a yellow 'making' line above when I fall into the sequence?

    Meaning of yellow bar:

    It is not an indicator of a problem, or is this something to worry about. It's just a status indicator.

    This means that in the estimation of workstations in the file source and current hardware configuration, it 's going to be most likely to be able to reproduce the material in real time, but this is not certain.

    This is because the XAVC codec is highly compressed, which means that Premiere Pro to "decompress" each image - in the Group of pictures (GOP) it is stored in - to display 23.976 times in one second everything by getting both audio and video streams, as well as follow-up of the unsolicited user entries.

    MtD

  • How can I remove the default documents that come with a new Send on behalf of the Signature? (I9, W9, W4, etc..) These are old and obsolete, so I don't want those who will appear for selection.

    How can I remove the default documents that come with a new Send on behalf of Signature (EchoSign)? (I9, W9, W4, etc..) These are old and obsolete, so I don't want those who will appear for selection.

    With the account of the company, you will get an option to remove these forms.

    Pro account you will need to contact the support team EchoSign

    With the free account, it is not possible.

  • Database exception Houston - 28010:Error while getting the value of the following sequence for database PS_TXN_seq

    Hello

    I use jdev 11.1.1.6.0 version.

    We build webcenter portal application for which Portal Server is on one computer/server and database server is located on a different machine/server.

    It worked well, but the error pulled is

    Database exception Houston - 28010:Error while getting the value of the following sequence for database PS_TXN_seq

    What is the cause of this issue.

    [2013-08 - 03T 19: 55:09.566 + 08:00] [WC_Portal1] [WARNING] [] [oracle.jbo.server.ApplicationModuleImpl] [tid: [ASSETS].] [' ExecuteThread: ' 249 ' for queue: "(self-adjusting) weblogic.kernel.Default"] [username: anonymous] [ecid: 004skazFMpJAdLEuN4aeLQ0002OP0000pS, 0:1] [APP: App_application1 #V2.0] [URI: / App/faces/AfLiteratureMenu/AfDocRefProductInstructions] []

    oracle.jbo.PCollException: Houston-28010: error getting next sequence value for the database PS_TXN_seq

    at oracle.jbo.PCollException.throwException(PCollException.java:36)

    at oracle.jbo.pcoll.OraclePersistManager.queryNextCollectionId(OraclePersistManager.java:1503)

    at oracle.jbo.pcoll.PCollManager.register(PCollManager.java:562)

    to oracle.jbo.pcoll.PCollection. < init > (PCollection.java:99)

    at oracle.jbo.pcoll.PCollManager.createCollection(PCollManager.java:461)

    at oracle.jbo.server.DBSerializer.setup(DBSerializer.java:153)

    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:286)

    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:267)

    at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:6026)

    at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5877)

    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:386)

    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9084)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4607)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.manageReferencingState(ApplicationPoolImpl.java:1493)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.finalizeResource(ApplicationPoolImpl.java:1393)

    at oracle.jbo.pool.ResourcePool.removeResourceInternal(ResourcePool.java:848)

    at oracle.jbo.pool.ResourcePool.setState(ResourcePool.java:1103)

    at oracle.jbo.pool.ResourcePool.removeResource(ResourcePool.java:860)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.removeDeadInstance(ApplicationPoolImpl.java:2736)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4638)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.manageReferencingState(ApplicationPoolImpl.java:1493)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.recycleReferencedInstance(ApplicationPoolImpl.java:2623)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2444)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)

    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)

    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)

    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:869)

    at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:484)

    at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)

    at oracle.adf.model.BindingContext.put(BindingContext.java:1340)

    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:174)

    at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1056)

    at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1566)

    at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1438)

    at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1398)

    at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1189)

    at oracle.adf.model.BindingContext.get(BindingContext.java:1139)

    at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)

    at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)

    at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2713)

    at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2761)

    at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)

    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:304)

    at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1458)

    at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1588)

    at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2472)

    at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2416)

    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3069)

    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)

    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3195)

    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)

    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:115)

    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:359)

    to oracle.adf.controller.v2.lifecycle.Lifecycle$ 2.execute(Lifecycle.java:137)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$ 400 (ADFPhaseListener.java:23)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ PhaseInvokerImpl.startPageLifecycle (ADFPhaseListener.java:238)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ 1.after(ADFPhaseListener.java:274)

    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)

    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

    to 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:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at alfaaesar.portal.pages.filter.AnonymousSessionFilter.doFilter(AnonymousSessionFilter.java:47)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)

    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:56)

    at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to 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:442)

    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:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3730)

    to 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)

    Caused by: java.sql.SQLRecoverableException: Connection closed

    at oracle.jdbc.driver.PhysicalConnection.createStatement(PhysicalConnection.java:4070)

    at oracle.jdbc.driver.PhysicalConnection.createStatement(PhysicalConnection.java:4008)

    at oracle.jdbc.OracleConnectionWrapper.createStatement(OracleConnectionWrapper.java:112)

    at weblogic.jdbc.wrapper.XAConnection.createStatement(XAConnection.java:623)

    at weblogic.jdbc.wrapper.Connection.createStatement(Connection.java:500)

    at oracle.jbo.pcoll.OraclePersistManager.queryNextCollectionId(OraclePersistManager.java:1459)

    ... more than 114

    # # 0 in detail

    java.sql.SQLRecoverableException: closing connection

    at oracle.jdbc.driver.PhysicalConnection.createStatement(PhysicalConnection.java:4070)

    at oracle.jdbc.driver.PhysicalConnection.createStatement(PhysicalConnection.java:4008)

    at oracle.jdbc.OracleConnectionWrapper.createStatement(OracleConnectionWrapper.java:112)

    at weblogic.jdbc.wrapper.XAConnection.createStatement(XAConnection.java:623)

    at weblogic.jdbc.wrapper.Connection.createStatement(Connection.java:500)

    at oracle.jbo.pcoll.OraclePersistManager.queryNextCollectionId(OraclePersistManager.java:1459)

    at oracle.jbo.pcoll.PCollManager.register(PCollManager.java:562)

    to oracle.jbo.pcoll.PCollection. < init > (PCollection.java:99)

    at oracle.jbo.pcoll.PCollManager.createCollection(PCollManager.java:461)

    at oracle.jbo.server.DBSerializer.setup(DBSerializer.java:153)

    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:286)

    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:267)

    at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:6026)

    at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5877)

    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:386)

    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9084)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4607)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.manageReferencingState(ApplicationPoolImpl.java:1493)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.finalizeResource(ApplicationPoolImpl.java:1393)

    at oracle.jbo.pool.ResourcePool.removeResourceInternal(ResourcePool.java:848)

    at oracle.jbo.pool.ResourcePool.setState(ResourcePool.java:1103)

    at oracle.jbo.pool.ResourcePool.removeResource(ResourcePool.java:860)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.removeDeadInstance(ApplicationPoolImpl.java:2736)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4638)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.manageReferencingState(ApplicationPoolImpl.java:1493)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.recycleReferencedInstance(ApplicationPoolImpl.java:2623)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2444)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)

    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)

    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)

    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:869)

    at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:484)

    at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)

    at oracle.adf.model.BindingContext.put(BindingContext.java:1340)

    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:174)

    at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1056)

    at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1566)

    at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1438)

    at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1398)

    at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1189)

    at oracle.adf.model.BindingContext.get(BindingContext.java:1139)

    at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)

    at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)

    at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2713)

    at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2761)

    at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)

    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:304)

    at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1458)

    at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1588)

    at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2472)

    at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2416)

    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3069)

    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)

    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3195)

    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)

    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:115)

    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:359)

    to oracle.adf.controller.v2.lifecycle.Lifecycle$ 2.execute(Lifecycle.java:137)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$ 400 (ADFPhaseListener.java:23)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ PhaseInvokerImpl.startPageLifecycle (ADFPhaseListener.java:238)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ 1.after(ADFPhaseListener.java:274)

    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)

    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

    to 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:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at alfaaesar.portal.pages.filter.AnonymousSessionFilter.doFilter(AnonymousSessionFilter.java:47)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)

    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:56)

    at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to 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:442)

    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:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3730)

    to 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)

    ]]

    Table PXN_TXN, where the ADFBC tent passivate the StateFull AppModules State.

    (1) where you can hit this error is because you din't create / Create index of the privileges of the user who is using to connect to the DB.

    (2) ideally, the status of users is removed after the end of the session of the user, but when the app is closed unexpectedly due to the loss of Server/DB,

    State ID remains in the table and it is not recommended to clean the tables using the database standard PROCEDURE calls provided by Oracle oracle

    The following links will be useful to understand the function of the

    The application state management

    http://www.Veriton.co.UK/download/Practical_ADF_Application_Deployment.PDF

    Perform the following procedure, clean the tables PS_TXN to put in place the BC4J_CLEANUP PL/SQL package

    oracle_common/modules/Oracle.ADF.model_11.1.1/bin/bc4jcleanup. SQL

    Annex BC4J_CLEANUP. SESSION_STATE(24*60) using DBMS Scheduler to clean up the States for more than 24 hours.

  • vCo Configuration Plug-ins 'bad credential for the installation of plug-ins.

    I'm running a weird question when I get to the "Plug-ins" of the installation of the vCo part.

    See screenshot.

    sshot-vmware-vco-config-plugins_installation-error.jpg

    I spent both are different between two administrator accounts and it keeps returning

    Bad credential for the installation of plugin | Unable connect user: [admin], unknown user

    Hello!

    Try it with domain\username or [email protected]...

    You can also return to the LDAP configuration, there is a "connection test" - tab in the main window.

    Joerg

Maybe you are looking for