Error in ViewObject's executeQuery causes isExecuted true but rowset empty

I have an jsp. I call executeQuery implicitly by iterating the rowset, but it fails because of wrong query. Here is call stack:
void oracle.jbo.server.QueryCollection.executeQuery(java.lang.Object[], int)
          QueryCollection.java:662
     void oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(java.lang.Object, java.lang.Object[], int)
          ViewObjectImpl.java:3049
     void oracle.jbo.server.ViewRowSetImpl.execute(boolean, boolean, oracle.jbo.Row[])
          ViewRowSetImpl.java:539
     void oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(oracle.jbo.Row[])
          ViewRowSetImpl.java:586
     void oracle.jbo.server.ViewObjectImpl.executeDetailQuery(oracle.jbo.Row[])
          ViewObjectImpl.java:3013
     void oracle.jbo.server.ViewObjectImpl.executeQuery()
          ViewObjectImpl.java:3000
     int oracle.jbo.html.jsp.datatags.RefreshDataSourceTag.doStartTag()
          RefreshDataSourceTag.java:32
     void _bw3cc__client__details._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
          bw3cc_client_details.jsp:8
     void com.orionserver.http.OrionHttpJspPage.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
          OrionHttpJspPage.java:56It forwards to errorpage. When I reload the page, it does not enforce the executeQuery again, because it seems that the query is executed, but rowset has no rows. Is this desired behaviour or a bug?
Thanks in advance
Viliam

Seems like you're getting different AM instances on various requests and in case when the AM is same as the one in which new rowset was created things work fine.
In JDev 902, BC4J passivation mechanism is not passivating "rowsets" other than the "default" or the ones "Internally created by the framework". You may override passivate/activate VO methods to "programmatically" passivate/activate the fact that the VO has rowsets created in the application and restore the same on activation. The methods to override are ViewObjectImpl.passivateState and ViewObjectImpl.activateState. Alternatively, you may reserve the AM when checking-it in so that on next request you get the same AM, so that no passivation/activation occurs.How do I programmatically set the ViewObjectImpl.passivateState, since I don't see how I can access the VOImpl nor do I see any passivateState method attached to the VO. I thought that by using the following code, I was reserving the AM when checking it in..
applicationModuleRef.releaseApplicationModule(true, true);
am I wrong about this?
In addition, when I set the applicationModuleRef to be able to grab the AM, we're reserving the passivationId from the cookie: cookie.reservePassivationId().

Similar Messages

  • HP Support Web Page Failing "Errors on this page might cause it to work incorrectly"

    My computer is an HP DV6930US running Fresh Windows Vista 64bit, then SP2 and IE9 and Java 10....The only installed is Norton 360...I have a lot of problems with this computer and need to restore it to its original state before it started to go crazy...Giving me a lot of trouble ifgx display drivers, usb port s not working, wifi not working, etc...
    After I resotred I have decide  to visit HP to download some drivers and the HP Support Web is giving me errors and the format is not good enoguh and is not working...it is like a going round in circles when I try to Download drives...they do not appears even when i select the software and drivers downloads...
    Anyway...The "Errors on this page might cause it to work incorrectly" pop up windows are comming all the time and the web page really does not work. I tries to run IE9 in 32bit or in 64bit but it is the same..others web pages are working ok.... I have Screen Shots of erros in case that HP interest them..
    Please help to fix the problem in order to download the proper drivers for my HP pavillion...

    Thanks for your reply...I was installing Firefox..installtion is finishing....I am installing from a fresh startup after many crashes in my HP DV6930US...I am very cautiuos in installing more than I need now that I am in a middle of full restoration process...I let you know how firefox does it... I remmenber in a nother HP Pavillion my MotherinLaw has, That I had to install drivers from FireFox since I had a similar problem with the web page...I just search and pick from the serch list the downloadables links in FireFox, it had problems too...with IE9 had similar problems....However, in this case with IE9 I can not find any downloadable link from HP using IE9...I will try FFx...
    Thanks;

  • "Error al iniciar Excel. Causa: (Retrieve Excel Interface)

    Hola expertos
    Tengo un problema cuando intento iniciar XL Reporter. el error es el siguiente.
    "Error al iniciar Excel. Causa: (Retrieve Excel Interface ) Error al cargar la biblioteca dll
    Mi versión de SAP es 2005A PL 47 SP 01
    yo ya intente volver a instalar Office 2003, el cliente de SBO
    ¿Me pueden ayudar a resolverlo?
    Gracias
    Yen

    TUVE 2 OPCIONES
    1.-Formatear mi equipo
    2.-Migrar de vesión a 2007
    Use la version opción 2 y  estoy trabajando si problemas con el EXCEL REPORTER.
    Saludos
    Yen

  • Signed.applets.codebase_principal_support is set true but I always get error

    signed.applets.codebase_principal_support is set true but I always get error like Error: A script from «https://127.0.0.1:8080 <https://127.0.0.1:8080/> » was denied UniversalXPConnect privileges.
    On linux it works well.
    May be I need to change something else ?

    Possibly the consequence of this bug fix.
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=546848 bug 546848] - Remove support for enablePrivilege
    <i>([https://bugzilla.mozilla.org/page.cgi?id=etiquette.html please do not comment in bug reports])</i>

  • Two days ago, I loaded Light Room 6. Today I went back to Light Room 5. LR 6 corrupted an entire folder of images, and caused errors on my Raid 5 causing win 7 to run "Chk Dsk" and fix the errors to the operating system. LR 5 has not shut down for the las

    Two days ago, I loaded Light Room 6. Today I went back to Light Room 5. LR 6 corrupted an entire folder of images, and caused errors on my Raid 5 causing win 7 to run "Chk Dsk" and fix the errors to the operating system. LR 5 has not shut down for the last 5 hours. LR 6 has a serious bug. Anyone else experiencing this problem. Yesterday I was on tech support, waiting for 3 hours, finally they picked up and informed me there department was closing and someone else would call me on Monday. So, I'm working today and all day Sunday to make up for the down time using LR 6.
    I don't know if the bug exists in the program or the "Creative Cloud.
    Question: Does anyone know why if I bought Light Room 6 [NOT Light Room CC with the monthly rental], I have to enter my serial number if I want to use it?

    Entering the serial number is probably part of the registration process.
    Just out of curiosity, what were you doing on LR6 when the folder of images became corrupted?

  • Ask your question.Can't render get File error access denied. Whats causing this? FCP 7.0.3

    I Can't render get File error access denied. Whats causing this? FCP 7.0.3

    Its an was update from an earlier version.
    What earlier version?
    And you're saying when you using File>Import>File and select a JPEG you get the error message?
    You can't or shouldn't import MP3s into FCP.
    Have you try creating a new porject and importing into that?

  • SLDAccess set to true, but not available

    Hi all,
    I get the following error when Running a Proxy to mail Scenario.
    This happens in the Call adapter pipeline Step of the receiver mail adapter.
    error message "com.sap.engine.interfaces.messaging.api.exception.ConfigException: SLDAccess set to true, but not available"
    I did the Following:
    1.  tried SLDCHECK -
    works fine
    2.  XIAFUSER/PIAFUSER is not locked.
    3.  The SLD is reachable
    4.  XI business system has correct "Pipeline URL" parameter defined
    What could have gone wrong.
    Any help would be appreciated.
    Regards
    Abhishek

    Hi,
    Check the doc and links.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/09cb9ffb-0701-0010-4183-c2e8f405bf9a
    Note 768148 - Using a separate SLD
    Note 720717 - Reduce the number of System Landscape Directories (SLD)
    Note 936318 - Dividing a SLD instance
    Note 935474 - Consolidate SLD instances
    Regards,
    Phani

  • Change the pwd of the WBEM client:SLDAccess set to true but not available

    Hello,
    I checked on ABAP side with transaction SLDCHECK, everything fine.
    Then checked http://server:port/sld/ListServlet?bsview=true
    *Please find the log content below:*
    WARNING com.sap.lcr.cimsrv.ChangePasswordServlet: Password Change that service client users don't have initial passwords.Alternatively, logon to the SLD user interface with the corresponding user and assign a new password client settings must be updated accordingly.
    So suggestion was to change the WBEM client password.
    Due to the above scenario, *Error in SXMBMONI*_ is:
    com.sap.aii.af.ra.ms.api.ConfigException: SLDAccess set to true, but not available
    Can anyone let me know how to resolve this issue.
    Thanks in advance.
    Ganesh Karicharla

    HI ganesh
    check this thread for reference
    Unable to find an associated SLD element
    regards
    kummari

  • Required = true, but Javascript alert boxes Does Not fire ?

    Hi,
    On my ADF Form (af:form), I have set my attribute : required = true on the adf faces page. (on the entity object, mandatory = true)
    But when I press Submit, I do not get any Javascript alert boxes fired, instead, I just see server side validation error.
    Why the Javascript alert boxes does not get fired ?
    Where is the setting ?
    Thank you for your help,
    xtanto

    Hi Frank,
    I use JDev 10.1.3.1 and it does not work.
    Yes , the required field similar to #{bindings.ManagerId.mandatory}
    I even try to change it to 'true', still no Java script alert, just the server side error.
    What is the possibility ?
    Thank you,
    xtanto

  • SLDAccess set to true, but not available -  http to RFC Scenario

    Hello Experts,
    I have created http to RFC scenario in DEV system and it is working fine.
    But after transporting the scenario to QAS system. It is giving following error.
    com.sap.engine.interfaces.messaging.api.exception.ConfigException: SLDAccess set to true, but not available
    Please advice on this ...
    Thanks ,
    Vishal

    There could be many things that could be checked.
    1. Perform SLDCHECK and look for inconsistencies.
    2. Check if service user XIAFUSER is locked or not.
    3. Perform a full CPACache refresh.
    Regards,
    Prateek

  • I can't no longer access Itunes.  Keep getting error message 127.  I tried uninstalling Itunes, but can't.  So frustrated.  Please help.

    I can't no longer access Itunes.  Keep getting error message 127.  I tried uninstalling Itunes, but can't.  So frustrated.  Please help.

    First, if you've moved the iPhoto library to an external drive, make sure that drive is mounted by opening it in the Finder.
    The issue can be caused by sharing the photo library on a network (against Apple's advice) or by opening it in more than one local user account at the same time. You may be able to clear the error by logging out or restarting the computer. If not, do as follows.
    Quit iPhoto if it's running, locally or on any file-sharing client. Select the iPhoto Library in the Finder. Usually it's in the Pictures folder, but you may have moved it somewhere else. Right-click or control-click the library icon and select
              Show Package Contents
    from the popup menu. In the folder that opens, navigate to
    Database/apdb/lockfile.pid
    and move that file, if it exists, to the Trash. Close the Finder window.
    Credit for this observation to ASC member Elijahg.

  • The update plugins page won't work it says "We've encountered an error. Please try your request again later" but this message has been coming up for days now..

    I installed Firefox4 and immediately had a problem with the addons manager page not displaying properly ( all the right hand side of the page was missing). I was advised to try a new profile which fixed it but now when I go to the page "Check your plugins for updates it keeps showing this message "We've encountered an error. Please try your request again later" but this message has been coming up for days now..

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * [[Troubleshooting extensions and themes]]
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)

  • HT5055 Just updated to lion and my cctv access has stopped functioning all I get is a white screen in the middle of the control panel where the camera shots should be.  I think it is caused by JAVA but am confused as when i view on snow leopard it works 

    Just updated to lion and my cctv access has stopped functioning all I get is a white screen in the middle of the control panel where the camera shots should be.  I think it is caused by JAVA but am confused as when i view on snow leopard it works  can you help

    Open "Java Preferences" either from spotlight or your utilities folder...it's probably going to say you need to install a java runtime. Then just click install!

  • I got a new Macbook pro in March and transferred all of my old files into the new macbook from my old one. But ever since then, my iPhoto just does not open up. It says 'error' every time I try to open it, but I am still able to attach the iPhotos saved

    I got a new Macbook pro in March and transferred all of my old files into the new macbook from my old one. But ever since then, my iPhoto just does not open up. It says 'error' every time I try to open it, but I am still able to attach the iPhotos saved to emails. Help! How do I get my iPhoto back?

    Thanks, Sig.
    The old computer is a 2.6 Ghz Intel Core 2 Duo
    The new one is a 2.3 GHz intel core i7
    In going over this, thanks to "tallking it out" with you, I did discover the Text Edit problem.  Because I've still been unable to get the new computer text size (fonts or whatever) to match the old computer, I did not notice that the curser is now different--the line midway down the curser has to be placed on the line I am working upon, otherwise the edits go elsewhere on the page.  Now, with a bit of difficulty, I am able to get Text Edit to work correctly.
    If you have any ideas as to why my menu bar and Text Edit type are still so slow, I'd love to have them. 
    (I went through the process you suggested earlier, re my Trackpad preferences, and found no improvement.)

  • HT204053 I have downloaded icloud to my pc, however when i go to sign in to Apple through icloud, i get an error message saying my apple ID is valid but is not an icloud account. What does this mean and how can i update my account so i can access icloud?!

    I have downloaded icloud to my pc, however when i go to sign in to Apple through icloud, i get an error message saying my apple ID is valid but is not an icloud account. What does this mean and how can i update my account so i can access icloud?!

    To use iCloud, you must first set it up with your Apple ID on a device with iOS 5 or a Mac with OS X Lion.

Maybe you are looking for

  • The document "Blank.template" could not be opened. in Pages

    I can not open any tempaltes in Pages from iWork on Macbook Pro. When I open pages. I can then pick a template. when I click that or any of the templates I get The document "Blank.template" could not be opened. I am new to the Mac world and trying to

  • Where can I find Adapter Specific Message Attributes ASMA Schema Definition

    Hi all, I'm on PI 7.1 and want to use the Mail adapter in XIPAYLOAD mode. I want to map to the ASMA schema definition in the Enterprise Service Builder. I'm wondering where I can get this "new" schema? For example the "old" mail adapter xml schema co

  • Dynamic parameter not populating

    Post Author: lk4772 CA Forum: Crystal Reports hello. we have crystal reports server xi r2 sp2, and crystal reports xi sp3 installed. we also this past weekend upgraded our database server (windows 2003 server). however now, when trying to add a dynam

  • LED display, bright edges, specially left and right

    I have a mbp 5.1 late 2008 model received jan 2009. My display/screen is becoming brighter and brighter at the left and right edges. If i look at a black screen, the left/right edges are not black but getting brighter than the rest of the screen. As

  • Setting ICM icm/host_name_full

    Hi We have developed some BSP's that run via SE80 having been configured in the ICF. I had a problem in DEV that the URL was not fully qualified when you ran the BSP, i solved this problem by setting parameter icm/host_name_full=<server>.domain.com,