VPD and Context With Application Express

Dear All
i'm going to build application using application express and oracle database enterprise , VPD Implemented on the schema using Context,
for developer issue i set on login trigger to set user ;
but i can't view data inside application but i can view it using sql statement
So is their issue in Apex when using VPD , Context , or On log on trigger?
thanks

Logon triggers won't work with web apps using a connection pool like APEX. The VPD context should be set via the APEX VPD application security attribute.
http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/bldr.htm#CHDFCFGD

Similar Messages

  • Problem with Application Express

    Good Morning,
    I installed Oracle Application Express, but I have a problem with the first login and the creation of my workspace.
    During login using the username 'admin' and pwd as the sys's user because until now the only pwd I configure when I installed Oracle Express 10g and Oracle Application Express.
    When I go to login, the page seems not to take any command.
    I look a your help. Thanks

    Check out the {forum:id=137} forum you'll probably get better help there.
    By the way, welcome to the forum! :)

  • Basic problem in displaying the pdf and images in Application express

    Hi,
    I have oracle 10g and application express.
    I have already stored the images and pdfs using PLSQL in table with following columns
    TableA(vessel number, cruise number, image blob, pdf blob)
    now for every vessel, cruise combination there is a particular image and pdf.
    so in my htmldb page.
    I have created 2 select list for vessel and cruise respectively.
    now on selecting these lists i want to diaplay their corresponding image and pdf.
    How can i do this? I just somehow miss the basic knowledge of how to do this.
    Should i create a html region or a report region for the image and pdf.
    under what region the image and pdf goes. and on sleecting the vessel, cruise can i show hyperlinks and upon selecting the hyperlinks a image and pdf opens in a new window.
    or can i create 2 regions and display the image and pdf right in the region itself.
    Can someone please guid eme please.
    Thanks,
    Philip.

    Hi Philip.
    I suggest switching to the Application Express forum.
    Pretty sure it'll be easier for you to find the answers over there
    Oracle Application Express (APEX)

  • Can I use existing 10g iAS install with Application Express?

    I apologize if this has been addressed somewhere else, but I haven't been able to find a definitive answer yet.
    I have a 10g DB installed on machine A, and have been following the instructions to install Application Express. Instead of installing another instance of HTTP_Server (from the companion CD) on machine A, I have machine B with a full 10g iAS install on it (discoverer, portal, infrastructure, etc). I would like to use machine B as the front end to access htmldb. Machine B has 2 oracle homes, one for the infrastructure and one for the BI tools/portal stuff. Which one do I configure for htmldb? From reading in this forum I think I can use the dads.conf file instead of the marvel.conf file (which doesn't exist) to add the pls/htmldb info, but I can't figure out which one to edit. I probably have something else wrong somewhere, but this would help narrow things down. Currently when I go to the following url http://machineb:7778/pls/htmldb I get "503 Service Temporarily Unavailable".
    Thanks in advance for any help.
    Rhonda

    Sure, you can use the Application Server, no need to install another one.
    You would add the configuration to the BI tools/portal stuff Oracle Home, not the infrastructure.
    You don't need the marvel.conf explicitly (but this is installed per default when you install the http server from the 10g companion CD).
    You could just add the DAD configuration to the dads.conf.
    To make it a bit simpler I would do the following:
    1) remove the entries for /pls/htmldb from your current dads.conf (if they exist).
    2) follow the instructions here: http://www.oracle.com/technology/products/database/application_express/howtos/howto_useoas10g.html
    And use the following for the contents of the file marvel.conf (make sure to change it accordingly for your environment (changes to make are bold):
    AddType text/xml xbl
    AddType text/x-component htc
    Alias /i/ /home/oracle/oracle/product/10.2.0/db/htmldb/images/
    <Location /pls/htmldb>
        Order deny,allow
        PlsqlDocumentPath docs
        AllowOverride None
        PlsqlDocumentProcedure wwv_flow_file_manager.process_download
        PlsqlDatabaseConnectString localhost:1521:o1020
        PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
        PlsqlAuthenticationMode Basic
        SetHandler pls_handler
        PlsqlDocumentTablename wwv_flow_file_objects$
        PlsqlDatabaseUsername HTMLDB_PUBLIC_USER
        PlsqlDefaultPage htmldb
        PlsqlDatabasePassword <password for HTMLDB_PUBLIC_USER>
        Allow from all
        PlsqlErrorStyle ModplsqlStyle
    </Location>
    ~Dietmar.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Problems with "Application Express Accounts" authentication scheme...

    Hi.
    I'm using Application Express 4.1.1.00.23 on Oracle 10g XE.
    I have created and used an authentication scheme based on APEX accounts which worked okay for a while but it now experiencing issues. All the current users are working fine, but I cannot add new ones in the app! Oh, I'm using an APEX generated Access Control page within the app (which I have deleted/recreated to no joy).
    If I make changes to a current user I get the expected "1 row(s) updated, 0 row(s) inserted." message and it has indeed worked. If I "Add User" and "Apply Changes", nothing happens... well, the page is seemingly submitted, but no action is taken, no errors are raised, but no user is added.
    Curiously, if I both amend a user and add a user before applying changes I get the following -
    "1 error has occurred
    Current version of data in database has changed since user initiated update process. current row version identifier = "A884FA378C851786DDFE3A33709CB23C" application row version identifier = "234234C67A01764460EDABD366BC4C48" (Row 2)"
    The row is mentions is the one I tried to amend. To make matters worse, it's not consistent as another row I tried to amend (at the same time as inserting a new user) gives the following error -
    "1 error has occurred
    unique constraint (ICTLIVE.APEX_ACCESS_CONTROL_PK) violated (Row 1)"
    This update, again, works correctly when I try to update without adding a new user!
    Very confused, can anyone help please!
    Thanks in advance,
    Adam.

    Hi, and thanks for the reply.
    I have used this successfully before myself... that's why this is confusing me! I have tried recreating the page with the same number and also creating a new page with a new number and the result is the same. It leads me to believe there's something else going on but I have no idea what!
    Adam.

  • Forms and reports on Application Express

    Hi:
    Is it possible to import regular forms and reports( .fmb and .rdf) into the application express and run in the database xe/application express environment?

    Hello,
    Not yet possible...
    What you could do is run the Form in an iframe, but if you talk about migrating the forms and reports, the APEX Dev team is working on that.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://www.apex-evangelists.com/
    -- http://www.apexblogs.info/
    Message was edited by:
    Dimitri Gielis@AE

  • Connecting Interface and recoding with Logic Express 9

    Hi apologies if I've posted this in the wrong location. I need some help.
    I have just bought an iMac (with Logic express 9) along with a focusrite saffire pro 14 sound interface.
    i'm having difficulties getting a line in and out of the focusrite and into logic.
    I currently have passive monitors plugged into an amp, which is then plugged into the headphone jack on the iMac, the focusrite is connected via firewire.
    my mic is connected via xlr with phantom power into the focusrite, and my guitar (via an effect unit with built in pre-amp) is connected into the 1/4'' input. both signals are showing levels on the focusrite mixer software - but no sound. the only output from the sound interface is the firewire.
    I can record, and play back in logic using my usb midi controller- USB direct into the iMac.
    i've selected the focusrite as the driver in logic, also as the input device in system preferences on the iMac.
    any ideas when I am doing wrong?
    any help would be good
    thanks
    Chris

    Hi,
    there are some points where the big bear trap might have snapped onto your feet
    First: You said you have selected the focusrite as the core audio input device in Logic. This is okay. But have you selected the correct inputs for the audio tracks you are recording to? You focusrite has 4 possible line inputs (1 and 2 are combined on the front in the middle of the XLR jacks, which are also inputs 1 and 2 for mics, and 3 and 4 are on the back).
    When you connect a headphone to your focusrite, can you hear your mic or your guitar? (turn up the monitor volume as well as the headphones volume!)
    Given you really have a good signal that goes into your focusrite, the same signal should be available in Logic *for the appropriate inputs* . It won't work if you have plugged your guitar into input 3 and have input 1 or 2 selected in the channelstrip's input selector tab.
    Second: Given there's a signal coming into Logic, where does it go from there? The focusrite has 4 outputs, and you should connect your amp&speakers to them. If your amp&speakers are still connected to your iMac's headphone jack, you must select your Mac's "built in output" as the output device in Logic. The OS X preference pane has nothing to do with Logic's preferences. Don't confuse them.
    Cheers,
    Fox

  • How to use Jasperreport with Application Express?

    HI,
    We are really want to 'print out' from our apex applications, but by far no easy way to do so.
    (BI too expensive and complicated)
    I am tring to install Jasperreports with apex, but I don't know how to do it, I downloaded the windows version of Jasperreport.
    Any idea how to install and configure it to work with my apex applications?
    Peter

    See this thread for information on using Jasper Reports with APEX.. If this helps, please mark this thread as answered and assign points!
    APEX to Jasper parameter passing
    Thank you,
    Tony Miller
    Webster, TX

  • Setup wireless network for mac and pc with Airport Express?

    Mac Mini/OSX/10.8.2/Airport Express
    Question,
    I have my AIrPort Express setup for my Mac Mini and I have dell computer that I want to share the wireless network. Is it possible to setup a wireless network with my mini and the pc using only the AirPort Express? Is the Airport Express a wireless router?
    Thanks,

    If your Mac Mini is connecting to the Express using wireless, then this confirms that the device is working correctly. 
    The Express is a wireless router that can support up to 10 wireless connections, so your Dell computer should be able to connect assuming that its wireless card is working correctly, and the Dell indentifies the network and enters the correct wireless network password.
    If you are having difficulty with the Dell PC connecting, this Windows troubleshooting document might help:
    http://windows.microsoft.com/en-US/windows/network-connection-problem-help#netwo rk-problems=windows-8&v1h=win8tab1&v2h=win7tab1&v3h=winvistatab1&v4h=winxptab1

  • Advice to extend range from Time Capsule - wireless and ethernet with Airport Express and Airport Extreme

    Current wireless network is Time Capsule (connected to a Cisco router, 1GB switch to servers and printer 1) to Airport Express (wireless) and to Airport Extreme (wireless). Distance means poor signal at the Extreme which has 2 printers (ethernet cables) and an iMac (wireless)
    Solution is to connect the Extreme to the Time Capsule via Cat 6 ethernet cable
    How do I configure the TC and the Extreme?
    I will keep the Express for a wireless extension to the TC 

    Wired Ethernet from the TC to the AirPort Extreme will result in much better performance.  It sounds as if you are not configuring the AirPort Extreme correctly.
    Please try the following steps carefully:
    Unplug the Ethernet cable from the AirPort Exteme if it is not already unplugged. With the AirPort Extreme powered on, hold in the reset button on the Extreme for 10 seconds and release. Allow a full minute for the Extreme to restart
    Connect the Ethernet cable to the WAN "O" port on the Extreme.
    Click the AirPort icon at the top of the Mac's screen and wait a few seconds for a listing of New AirPort Base Station to appear. Just below that, click on AirPort Extreme.
    The example below displays an AirPort Express. You will see AirPort Extreme.
    AirPort Setup will open up automatically and take a minute to analyze the network, then announce that the Extreme will be configured to extend the Time Capsule network.
    Enter a device name that you want to use for the Exterme and click Next
    Wait a minute while AirPort Setup configures everything for you. When you see the message of Setup Complete, click Done.
    That's it.  Pretty simple.  Things should be working fine now.

  • Fax and Scan with Airport Express

    I have an Airport Express with my Mac and a Windows Vista PC running on my wireless network. I have a HP PSC printer, but I am unable to scan or fax from either computer. Any ideas if this is possible, and if so, how?

    I have a HP PSC printer, but I am unable to scan or fax from either computer.
    Unfortunately, not all USB printers are compatible with AirPort base stations. In addition, the AirPort's USB port does not support the "advanced" printer functions, like scanning, copying or faxing, of multi-function printers.
    Any ideas if this is possible, and if so, how?
    Yes, two that come to mind are:
    o Connect the printer directly to the USB port on your Mac, or
    o If the printer is Ethernet-enabled, you could connect it to the Ethernet port of the AirPort Express Base Station (AX) if the AX is reconfigured to be a remote base station in a Wireless Distribution System (WDS).

  • Generic UDF to handle empty contexts and contexts with missing fields

    Hi,
    I have been trying to get my head around a UDF for this for a while, but cannot find the solution. I''l start by showing input structure, and expected target structure (subset of an invoice IDoc with 4 line items):
    SOURCE:
    E1EDK01 (0..1)
    E1EDP01
    ---POSEX = 1
    ---E1EDP05
    KOTXT (qualifier) = Z1
    BETRG (amount) = 200,00
    ---E1EDP05
    KOTXT = Z2
    BETRG = 300,00
    ---E1EDP19...
    E1EDP01
    ---POSEX = 2
    ---E1EDP05
    KOTXT = Z1
    ---E1EDP05
    KOTXT = Z2
    BETRG = 400,00
    ---E1EDP19...
    E1EDP01
    ---POSEX = 3
    ---E1EDP05
    KOTXT = Z2
    BETRG = 500,00
    ---E1EDP19...
    E1EDP01
    ---POSEX = 4
    ---E1EDP19...
    TARGET:
    Line
    ---PosId = 1
    ---Price = 200.00
    Line
    ---PosId = 2
    ---Price = N/A
    Line
    ---PosId = 3
    ---Price = N/A
    Line
    ---PosId = 4
    ---Price = N/A
    I want the price from E1EDP05/BETRG where KOTXT = Z1to be set for each line. As you can see the source structure can be split in 4 cases:
    1. for some line items there exist multiple E1EDP05-segments with one of them qualifier Z1 and one corresponding amount field. This is the "perfect" structure and easy to handle.
    2. some line items contains E1EDP05 with qualifier Z1 with no BETRG. Problem-case
    3. some line items contains no E1EDP05-segments with qualifier Z1, but contains other E1EDP05-segments. Can be solved.
    4. some line items contains no E1EDP05-segments at all. Can be solved.
    I need to (I believe) set the context of the KOTXT and BETRG to E1EDP01 since I want one value per line item, irrespective of how many E1EDP05-segments exist per line item. In cases where no value can be found for relevant qualifier (Z1) or no E1EDP05-segments exist for a line item I want a default value to be set (N/A).
    My problem is that all these different cases might occur in the same file, and they mess up the values in each context, leading to wrong BETRG to be picked in some cases (where case 2 exist) since mapWithDefault cannot be used (context contains value for other qualifier).
    Do you know how to handle all these cases?
    Any pseudo-code for an UDF?
    Many thanks for your help!
    Br,
    Kenneth

    Hi Shweta!
    Thanks a lot, your idea didn't completely solve my problem, but pointed me in the right direction and gave me some valuable ideas:)
    For anyone wondering how it is done, I solved it by using your suggested two inputs, along with a third input (constant) which functions as default value for contexts where value-field is missing for a specific qualifier, or in case no segments with desired qualifier exists for a context.
    My mapping now looks like the following (where KOTXT is qualifier and KRATE is value field) for the 3 inputs:
    KOTXT(Context = E1EDP01) \
                                equalsS -->
    Constant(qualifier value) /
    KOTXT(Context = E1EDP05) \
                                equalsS  \
    Constant(qualifier value) /            ifWithoutElse --> removeContexts -->
               KRATE (Context = E1EDP05) /
    Constant(default value) -->
    Then these 3 inputs goes into the following UDF (queue function):
    int j=0;
    boolean contextDone = false;
    for(int i=0;i<a.length;i++)
         if(a<i>.equals("true"))
              if(b[j].equals(ResultList.SUPPRESS))
                   result.addValue(c[0]);
              else
                   result.addValue(b[j]);
              contextDone = true;
              j=j+1;
         if(a<i>.equals(ResultList.CC))
              if (contextDone)
                   contextDone = false;
                   result.addValue(ResultList.CC);
              else
                   result.addValue(c[0]);
                   result.addValue(ResultList.CC);
    This results in a target node created for each context, where context relates to each line item in this case, where each value is either a default value or the value corresponding to the qualifier. This works in all cases where:
    1. there are no segments containing relevant qualifier
    2. there are segments with relevant qualifier, but missing value field
    3. there are segments with relevant qualifier and value field
    Thanks a lot again, Shweta, for guiding me!
    Br,
    Kenneth

  • GET_UTC_DATE() and GET_UTC_TIMESTAMP() with Toplink Expression

    Hi All,
    I have a requirement which needs me to do some manipulation with dates. I am writing a report query and need to use the get_utc-date() function. What is the equivalent using the toplink expression builder?
    An example of such a query should generate the following SQL:
    SELECT order_no FROM vista_order_transfer vot where vot.updated_timestamp < get_utc_date() - 30. I could not figure out how to use the expression builder to build the get_utc_date() - 30 part of this SQL.
    Any help would be gratly appreciated.
    Roland.

    There is a currentDate() method on Expression which will return the current date, but this is SYSDATE not UTC. To call this function you can use the getFunction() method on the ExpressionBuilder.
    i.e.
    ExpressionBuilder builder = new ExpressionBuilder();
    Expression expression = builder.get("updatedTimestamp").lessThan(ExpressionMath.subtract(builder.getFunction("GET_UTC_DATE"), 30));
    There is also an Expression method postfixSQL() that will let you append any SQL you wish to the expression.

  • Slingbox AND Airplay with one express possible?

    I two Airport Express units, one connected to my modem (WDS main) and a second connected to a Slingbox (via ethernet cable) and my stereo.  I can get the Slingbox to work on my network, but not airplay (and vise versa).  When the Slingbox is configured, I can "see" the Express in iTunes as a speaker choice but when I try to play to the stereo iTunes tells me that it cannot connect or find the stereo.  By using the second Express as a bridge (is that correct lingo) am I somehow disabling airplay from the same Express? 
    Thanks!
    Peter

    HI,
    I see you "reset" but if you didn't reset network settings.. do that.
    Tap Settings / General / Reset / Reset Network Settings.
    Then restart your iPad.Press and hold the Sleep/Wake button until the red slider appears. Slide your finger across the slider to turn off iPad. To turn iPad back on, press and hold the Sleep/Wake until the Apple logo appears.
    Carolyn

  • WDS and WPA with 2x Express and 1 x Extreme - barbed wire in the *** easier

    Frankly I am disgusted at the near impossibility of getting this to work after 5 hours of playing, resetting and stuffing around. Apple need to pull their fingers out and realise that "we make em simple so you don't need docs" is not going to cut it for everything.
    Each time I get aways into this (got it working sans WPA after 3 hrs) I get either a non subnet IP address, or the Setup Utility can see but not open a station. No probs hard rests all around and awayyyyy we go again.
    At this stage I will NEVER purchase a Airport base station again. My years with NetGear showed how it can be done properly.
    If this keeps up, and factoring in my 2 day old dead iMac, I'm off to Dell for a complete technology refresh!
    Has anyone ever got this simple configuration to work? if so can you point me at some doc or tips?
    Forgive me for wanting security and wireless access at the same time!
    Rant=off, apologies=on
    regards Paul

    Thanks Dwayne,
    However I had already upgraded Firmware on all devices.
    I actually solved the issue as follows:
    1) The problem was that using the auto-config feaature of the Airport Admin Utility kept crashing as it tried to update the Main Base Station. It was in effect freezing in the rejoin and getting a 169.x private address - therefore unable to see the 10.0.x subnet of the network.
    2) Use the auto-config, but once the Remote Base Station(s) are updated, power them off before the wizard gets to the Main Base Stattion.
    3) It then manages to see the right subnet and can complete the update.
    My guess is that this is an isue with more than 2 Airports and the very slow speed of the DHCP service on the Airport Extreme.
    I am dissapointed to say the least.
    Cheers
    Paul

Maybe you are looking for

  • Is there a way I can use BC to track user's progress in a Tutorial Web Site?

    I am developing a Web Site with Video Tutorials and Games. I want to track the user's progress and give rewards as it goes. I wonder if there is a way, within BC, where I can set this up without having to go through the whole PHP/MySQL. I will if I h

  • Can I get my money back for a rental that wouldn't play?

    I rented The Hangover on itunes. It downloaded, but when I tried to play the movie it came up with a message stating that it will not play on my screen. There was no warning that this would happen. Oh, and I have a Macbook pro that is about 18 months

  • File owned, but security options still greyed out.

    After a recent Server migration many file did not handle it well. I had to retake ownership of files so that I could apply security settings. Unfortunately after taking ownership of every file on my C drive with the "takeown" command, I am still unab

  • Language typing problem

    There was a bangla phonetic typing font named Bangla - onkur in OS 10.8. This is not available in 10.9. How can I get it back. I badly need it. Please help.

  • Can I use USB for Samsung LD190 monitor?

    Just curious... I need a second monitor and this monitor can use USB too, but not sure how to make it work with my mac mini, anyone??