Problems with accessing collections in 3.0 after upgrade

Hello ApEx Team,
I noticed that my demo on apex.oracle.com related to the XML charts doesn't work properly
any more. The chart is there but no values are showing up. The problem has something to
do with accessing collections - it seems no data is found by the procedure looping through
the generated values. Since the chart values get rendered by executing the package
procedure through the browser, and not from the user session, I was using the
following code to get access to the collections:
      HTMLDB_CUSTOM_AUTH.define_user_session (app_user_in, session_id_in);
      HTMLDB_APPLICATION.g_flow_id := app_id_in;
      HTMLDB_CUSTOM_AUTH.post_login (app_user_in,
                                     session_id_in,
                                     app_id_in || ':' || page_id_in
                                    );Now, it seems this part doesn't work and it did in all previous versions. The collection
is there. I checked that. How do I go arrond this problem?
The (not working) demo can be found here:
http://htmldb.oracle.com/pls/otn/f?p=31517:74
Denes Kubicek

Joel,
Thanks for responding. You confirmed what I previously stated. The following worked and
works for all versions before 3.0:
BEGIN
   HTMLDB_CUSTOM_AUTH.define_user_session (:app_user_in, :session_id_in);
   HTMLDB_APPLICATION.g_flow_id := :app_id_in;
   HTMLDB_CUSTOM_AUTH.post_login (:app_user_in,
                                  :session_id_in,
                                  :app_id_in || ':' || :page_id_in
   FOR c IN (SELECT c001, c002
               FROM htmldb_collections
              WHERE collection_name = :coll_name_in)
   LOOP
      htp.p(c.c001 || ', ' || c.c002);
   END LOOP;
END;For 3.0 it doesn't return collection values. Selecting from collection will return
ORA-01403: no data found. This means that something must have changed. Please
correct me if I'm wrong.
A question: is this the right way to access collections from a background process?
If not (it obviously isn't the right way for 3.0), then what is the right way?
I could create a package collection instead of using apex_collections. But I think it is not
neccessary and we should find a way to avoid it if possible.
Thanks again for your help.
Denes Kubicek

Similar Messages

  • Problem with vmware fusion 3.1.3 after upgrade to Lion

    Greetings,
    I have some problems with my vmware fusion 3.1.1 after my update to OS X v10.7.
    i used a MacBook pro 17'' half a year old.
    I used VMWare Fusion 3.1.3 and bootcamp to. I have make no backup bevore i upgrade.
    The path of my virtual machine couldn't be found and so the virtual maschine didn't start after this upgrade.
    I hope that i musn't reinstall my virtual Windows 7 machine.
    I'am searching for a resulution and found this:
    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=display KC&externalId=1003483
    Cannot open the disk '/Users/<User Name>/Library/Application Support/VMware Fusion/Virtual Machines/Boot Camp/dev/disk0s3/Boot Camp partition.vmwarevm/Boot Camp partition.vmdk' or one of the snapshot disks it depends on.
    But i would save the virtual machine bevor i reinstall VMWare Fusion 3.1.3.
    Have anyone a idea how i found my virtual machine.
    Greetings from Germany
    Kim

    According to: http://roaringapps.com/app:61 Version 3.1.3 has issues with Lion.  There is a 2011 beta that works better.

  • Problem with home button and "messages" app after upgrade to iOS 4.1

    Hello,
    I have noticed two interesting problems with my iPhone 4. I am not sure if it is in conjunction with the upgrade to the iOS 4.1 software, but I did not notice the problem prior to this. Both of these problems are very odd and are hit or miss. I have tried restoring and the problem is still present. Also, since both problems have presented at the same time, that is why I am starting to believe it is not hardware...
    Problem 1: The home button has become considerably unresponsive. This is not all the time, but it does happen a lot. Sometimes it won't work for about 5-8 clicks and I have to use the power button to access the phone.
    Problem 2: When composing a new text message the cursor would always default into the "To:" section of the app which allows you to easily type what contact you are trying to message. However, I am having the issue now occasionally when I am in the messages app and select to compose a new text message that the cursor now defaults into the chat box (where you type your actual message). This is very annoying and I know that this is not the intended behavior of this.
    Please let me know if anyone has experienced similar issues and can provide me with some feedback.

    I have not experienced the same.
    I have tried restoring and the problem is still present.
    You restored from your iPhone's backup, or as a new iPhone or not from your iPhone's backup?
    If whatever software problem is causing this is included with your iPhone's backup, restoring from the backup will also restore the problem.
    Try restoring as a new iPhone or not from your iPhone's backup to see if this makes any difference. If not, more than likely your iPhone has a hardware problem.

  • Problems with Windows Live Mail send/recieve after upgrading Firefox

    I recently upgraded Firefox and since then I get this:
    An unknown error has occurred.
    Server: 'smtp.frontier.com'
    Windows Live Mail Error ID: 0x80070057
    Protocol: SMTP
    Port: 25
    Secure(SSL): No

    have you tried using imap instead?
    if you can access your email from the web page then sounds more like a problem with windows live mail and not your BT account
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • [K8N NEO3-F] Problem with USB keyboard and PS2 mouse after upgrading BIOS

    Hello everyone!
    I have upgraded BIOS from 1.1 to 1.4... I have Sempron 2600 (64bit) so BIOS v.1.1 did not recognise it.
    The motherboard works, but after upgrading I have a small problem with my keyboard and mouse.
    When I use USB keyboard my PS2 mouse doesn't work. When I connect PS2 keyboard mouse works!!!
    Can you tell me what's wrong?                   
    Thanks, bartull@           
    PS. Does BIOS v.1.3 recognise Sempron 64bit? Can you give me a link to it?

    I think that the problem may have been caused by flashing either with liveupdate or with winflash.  I had the problem when i used winflash correctly (shutting down all programs, checking all the boxes to clear bootblock and cmos) but had usb keyboard connected during flash.  My suggestion is to reflash with floppy to last bios version that worked using only ps2 mouse and keyboard with the following instructions:
    DOS floppy flash shall be performed with :
    awfl833d.exe w7030nms.180 /py /sn /wb /cc /cd /cp /f /e
    (Replace biosfilename with appropriate version for Neo1/neo2 etc , switches remain the same )
    After flash is complete :
    TURN OFF PSU (don't restart) wait 15 seconds
    Turn on again , press the power button .
    Enter BIOS and load optimized defaults (NO OTHER CHANGES) , save + exit
    Boot the system again with the floppy in the drive to let the DMI pool build and update itself .
    If that works, then reflash to the bios you tried before with the same procedure.  Once you have stable system with ps2 keyboard and mouse working, re-enter bios and enable usb and keyboard support as a lot of bios' have it disabled by default for some strange reason.
    Good luck.

  • Problem with FusionFX template in IE/Chrome after upgrade to 11.1.1.6.2

    Hi,
    just a quick check to see if anyone else have experienced the same error after upgrading OBIEE to version 11.1.1.6.2.
    All dashboards using the "FusionFX" is now missing two images at the top left of the screen (under the tab title heading) in run time view.
    The html code generated is:
    <table cellspacing="0" cellpadding="0" border="0" class="HeaderSecondBar HeaderSecondBarPadding" role="presentation">...</table>
    <div class="HeaderDiv">
      <img src="Missing_dbd_center_gradient.png" alt class="HeaderBackground">
      <img src="Missing_header_topshadow.png" alt class="HeaderTopShadow">
    </div>The 2 png-files are shown as missing images in both Internet Explorer 9 and Chrome, but no error in Firefox - everything fine there!
    Checking the server directory \Oracle\product\middleware\Oracle_BI1\bifoundation\web\app\res\sk_FusionFX\b_mozilla_4\
    shows that there indeed are two png-files named dbd_center_gradient.png and header_topshadow.png.
    Have anyone seen this?
    Even better; is there a simple way to fix it?
    Our company intranet is based on Internet Explorer 9, so Firefox is no solution unfortunately.
    Regards,
    -Haakon-

    Just upgraded to 11.1.1.6.5 - and this problem is STILL NOT addressed by Oracle....
    I realize they don't have much love for Microsoft nor Google, but it would be wise to consider their customers trying to use their tools on other platforms than *nix and Mozilla...
    Sorry, just needed to let out some steam after downloading and patching for most of the day....

  • Problem with USER as default on column after upgrade to 10.2

    Greetings,
    We recently upgraded to 10.2 from 10.1, running on microsoft 32 bit (Windows 2003).
    We have been using the same DB structure since Oracle 7.x and have not had a problem using USER as a default on a varchar2(30) column until now. The column value is being left NULL.
    If I set the default to rtrim(USER) then the column is correctly filled with the logged in user.
    If I create a new table with the same size column and set USER as the default it works correctly.
    If I set it in the before trigger it works.
    If I set the value of the column to USER in the insert it does NOT work, it leaves it NULL.
    I have looked at user_tab_columns between the column not working and the newly created table that is working and see no difference.
    Can anyone give me some suggestions on what else to look for? It feels like a problem with having brought the tables over from a previous version of Oracle.
    Thanks in advance for any help.
    M. James

    No problem here on 10.2.0.3:
    michaels>  create table t (a integer, b varchar2(30) default user)
    Table created.
    michaels>  insert into t (a) values (1)
    1 row created.
    michaels>  insert into t (a) values (1)
    1 row created.
    michaels>  select * from t
             A B                            
             1 SCOTT                      
             1 SCOTT                      
    2 rows selected.
    michaels>  select * from v$version
    BANNER                                                         
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production                         
    CORE     10.2.0.3.0     Production                                     
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production        
    NLSRTL Version 10.2.0.3.0 - Production  

  • Problems with 10.3.9 operating system after upgrades

    I recently downloaded a system update and am having problems.
    I can no longer print. Printer error.
    Also, I tried to download an HP Laserjet 5000 driver to see if that would fix it, and I couldn't install, as I tried to install with my system password and it said I need an Adminstrator level or higher to install???
    Any help please.
    [email protected]
    Powerbook 17   Mac OS X (10.3.9)  

    My Dad (age 86) has encountered what I am almost positive
    is this precise problem. He downloaded some kind of
    security patch around Jan 26 and all his (3) printers
    got disabled. He is running MacOS 10.3.9 on a PPC
    Mac. I've been through the article on creating
    /var/spool/cups with him. We've done "Repair
    Disk Permissions" in Disk Utility. It still doesn't
    work. When he does "Add Printer", he gets all the
    way through to the step of manually selecting the
    Printer Description and then he gets
    server-error-service-unavailable
    Is there a way to get the equivalent of the Tiger
    feature "Reset printing system" in Printer Setup
    on 10.3.9? I think that's what he needs to do.
    Are the steps documented anywhere?
    Or does anyone have other suggestions? I thought
    about running "Repair Disk" in Disk Utility, but
    my conclusion from reading the documentation is
    that this is morally equivalent to "fsck" in
    regular Unix. That is, it only checks the
    structural integrity of the file system itself.
    It has no idea of the files required by a particular
    subsystem.
    The only other thing I can think of to do is to
    reinstall 10.3.
    Regards,
    Paul
    MacBook Core2 Duo Mac OS X (10.4.8)
    MacBook Core2 Duo   Mac OS X (10.4.8)  

  • Problems with Hotspot, EDGE, and 3G internet after upgraded to iOS 4.3

    I just upgraded my iPhone 3GS to iOS version 4.3 , but after I installed it, the Personal Hotspot badge on Settings>General>Network appears, but it keeps at the "loading circle" sign (the same one when the iPhone is turning off). Besides that I realized that my 3G internet is not working, neither EDGE. none of the 3G or EDGE icons appears next to my carrier bundle, how it usually do. Wifi is working though. I tried to solve the problem restoring the iPhone, but the problem persisted even after the restore. What's happening to my iPhone 3GS?

    Hi man!
    have the same equipment and the same problem, who is your mobile operator?
    I'm from Chile and my operator is Movistar, I think they blocked the service hotspots.
    Best regards

  • Problems with HTML in dynamic reports template after upgrade to 3.1

    Hi, we just upgraded from APEX 2 to 3.1. W ehave an application that has a report template as follows:
    <img src="&P1_LOGO." border="0" alt="Home" />
    <div>
    <table align="LEFT">
    <tr>
    <td align="LEFT" width=500><font size="-2"><P>&P1_FROM_ADDRESS.</P></td>
    <td align="LEFT" width=175><font size="-2"><P>&P1_REMIT_TO.</P></td>
    </tr>
    </table>
    <BR></BR>
    #BOX_BODY#
    The item P1_REMIT_TO is set to an address using a PL/SQL computation. It has HTML tags such as <B> and <BR> in it. In 2.0 this displayed fine. In 3.1 it does not interpret the HTML tags, so it sshows up with the HTML tags in the text.
    Any idea what may have changed and how to fix this?

    Tor,
    You're in Tampa huh? Are you a member of the SOUG?
    Issues like browser alignment are always easiest to figure out with an example. Post an example app on apex.oracle.com and provide some developer credentials with which we can get in "under the hood".
    Regards,
    Dan
    http://danielmcghan.us/
    http://sourceforge.net/projects/tapigen/

  • Is anyone having trouble with the "home" button not responding after upgrading to 5.1.1 OS?

    Is anyone having problems with the "home" button not responding after upgrading to 5.1.1?

    You will not belive how I accidently solved this - !!!
    Yes I had the problem immediately after the 5.1.1 'cloud' upgrade, the problems started (on my iphone 4) ... I followed the 'get power down button, then hold HOME for 30 secs' solution, but no result, nothing seemed to work and I was starting to get a bit agressive with the keep it pushed, multiple double click frustrations, icopybot multigesture solutions etc. and paid money ... but this comedy solution now works ...
    I discovered it because I ordered a waterproof case for my iphone for my motorcycle ... I've just fitted it to my iphone and all the problems have gone ??? what! ... so wondering why I looked at what the home button on the casing was doing - it was pressing ACROSS the home button i.e. it converted my finger point into a wider 'PRESS
    so taking the new case off, instead of using the point of my thumb to press HOME, I used the flat of my thumb to emulate it ....and initially nothing, so I wondered if it wa making better 'cross button' contacts, so I licked my thumb, wiped it and then tried again! - it worked!
    I can't explain it but it seems to work - try it! if the double click on HOME doesn't work lick your thumb dry it and try again! I've just done it again
    what a mad techno world we live in! :-)
    Dave

  • I have problem with Access Connections on L412 after that utilyty upgrade

    I have problem with Access Connections on L412 after that utilyty upgrade in early August. Windows 7 Ultimate/x64.
    It stops connecting to WPA2 Enterprise (AES-CCMP), Microsoft PEAP, no server cert, with any credentials I try to use. The same account(s) works with native Intel manager on other notebooks and on mobile devices. I lost the wireless connectivity to enterprise WiFi network.
    And, after deinstallation of Access Connections, the inability to connect keeped intact with native Win7 WiFi management.
    I think, something was broken in Access Connections 5.83 Build 83C753WW and some registry settings/ dll modules were altered but not returned to normal after deinstall.

    Access Connections is definitely broken for WPA encryption.  Both versions 5.02 and 5.84 fail for me.  If I use the Windows XP wireless configuration instead of Access Connections, everything works.
    Does anyone know how to report this to Lenovo?  I chased links around the web site but couldn't find a place.

  • Problem with access to SipFactory from jsp-pages in JBoss environment

    Hello!
    I have an installation of the OCMS 10.1.3.3. deployed into a JBoss (jboss-4.0.5.GA) environment. Unfortunately I have a problem with accessing the SipFactory from a jps-page. Encouraged by the "messagesender" example I tried to get an instance of SipFactory from my jsp-page simply by calling:
    SipFactory sipFactory = (SipFactory) application.getAttribute(SipServlet.SIP_FACTORY);
    But unfortunately there seems to be no attribute "SipServlet.SIP_FACTORY" and I only get a null pointer. I have also tried running that code in the orignal messagesender example but it didn't work either. So I wonder if this should definetely work in a JBoss environment or if this might be a known problem. Is there anything that I could check/do regarding this problem? I suppose there must be an oracle module which should take care of making the SipFactory availabe after it is deployed. Perhaps something went wrong during the deployment?!
    Best regards,
    Tim

    Hi
    On JBoss, OCMS does not support converge applications.
    I.e the SipFactory can be retrieved from the servlet context when running on OC4J.
    Instead the SipFactory can be found in JNDI as described in the Developer's Guide:
    "External Access to SIP Servlets
    To enable convergent applications between SIP and HTTP, the OCMS Container allows you to get access to the javax.servlet.sip.SipFactory by looking it up through JNDI. The SIP Factory will be registered under the same name as the display name of your SIP servlet as illustrated in Example 2–12. The <display-name> in the sip.xml in this case must be "My sip app".
    Example 2–12 Accessing the Data for a SIP Session through JNDI
    InitialContext ic = new InitialContext();
    SipFactory sipFactory = (SipFactory)ic.lookup("sip/My sip app");"
    Cheers
    Lucas Persson

  • Problem with"Evaluate User Policies"sch task after the upgrade OIM R1 to R2

    Problem with "Evaluate User Policies" scheduled task after the upgrade from OIMg R1 to OIM 11g R2
    After the upgrade process is completed we are having issue with Access policy not triggering if rule is set to custom attribute
    - We had a Rule with custom attribute (Policy='Full-Time') the value gets populated by event handler which triggers the access policy in OIM 11g R1.. which worked fine in OIM R1
    After the upgrade the value is getting populated but even after running "Evaluate User Policy" the Access Policy is not getting triggered.
    We tested creating a rule with other custom attribute,policy does not trigger even after running Evaluate User Policy schedule Task in this case too
    but if we try creating rule with OOTB attributes(Country='US') it works fine the access policy got triggered after running Evalute User Policy
    One more issue we observed is
    - Evaluate User Policy value usr_policy_update is not updated still set to '1' even after the Access policy got triggered (as it worked when rule is set to OOTB attribute)
    I believe after the evaluate user policy gets triggered for a user it should update the value from '1' to '0')
    Please let me know if you have any idea..Thanks!

    well, I overcame the issue by 'fooling' the installer: on second node, change the scan ip address to point to something else (ie, different ip address to the scan in the first node, cleanup then rerun root.sh, it went past the trouble stage, then I still have problem later at the time database creation. I think scan ip address has to be setup correctly (round robin thingy)
    This is how i did the cleanup before rerun root.sh
    /u01/app/11.2.0/grid/crs/install/rootcrs.pl -verbose -deconfig -force

  • Problems with System Update 3.14.0019 after installation SP2

    Have you encountered problems with System Update 3.14.0019 after installation SP2 for Windows Vista?
     After this upgrade I view  this error: "An error occurred while gathering user information."
    Thanks for the help

    A known issue.  It wasn't supposed to be supported until SP2 is RTM.  However, look at the stickied post in the forum for some bad news about SU.
    x61s

Maybe you are looking for

  • Popup blocker issue when trying to open XML publisher report in Excel forma

    Hello I am having the XML report in excel format, when i click on output it was blocking by popup blocker i think and when i click 'Control' button on my keyboard and then press the output it will show the window to save or open the excel. I have add

  • How to automatically sync a shared itunes library between all accounts?

    Hi Guys I have my itunes library on a separate drive in my desktop computer. My account points on this desktop to this library. I have another account on my laptop, set to automount this drive. iTunes on the laptop points to this library also. Both h

  • Cannot print more than one copy! Any ideas?

    My wife came home with a HP 5400dn officejet pro the other night from Staples. After setting the thing up with a successful test page, I tried a real print job. So far so good. Then I tried to use the duplex function but wait, where is the option to

  • Can I Change/ Extend the vendor from one purcahse Organisation to Other Pur

    Dear Al Is it possible to Change/extend  the Existing vendor to the new Purchase organisation or again we should create new vendor for the under the New Purchase organisation. Can you help me out please. Senario: We have 3 business areas earlier we h

  • ADF Faces - af:tree - updating nodeStamp components

    My tree's nodeStamp is an af:selectBooleanCheckbox which maps to a hierarchy of items of indeterminate depth. There are usually at least 3 levels however. If I toggle a parent checkbox then all the child checkboxes must also toggle to match. That is