Context variable DRIXMD (namespace DR$APPCTX) shows up in v$context

We have recently upgraded our database to Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production.
Now we occasionally get the error in one of our APEX applications
ORA-01031: insufficiënt privileges
The apex application is using a user connection pool.
When an Apex page is submitted we clear the context variables so the user won’t use each other’s settings.
The context variables to be cleared are selected from V$CONTEXT.
For some reason the context variable DRIXMD (namespace DR$APPCTX) is now (since the upgrade to 11.2) also shown in v$context.
The package used in our code is not allowed to set variables in namespace DR$APPCTX and is raising the error.
My question is:
Is it a normal feature to see these context variables in V$CONTEX and if not is there a fix available?
And if yes, can anyone clarify this?
Thanks in advance.

Success!!!
I had to grant this permissions:
call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.lang.RuntimePermission', 'getClassLoader', '' );
call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.lang.RuntimePermission', 'accessClassInPackage.sun.util.calendar', '' );
call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.lang.RuntimePermission', 'setFactory', '' )
call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.util.PropertyPermission', 'HTTPClient.socket.idleTimeout', 'write' );
call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.net.SocketPermission', 'localhost', 'resolve' );
call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.net.SocketPermission', '127.0.0.1:8084', 'connect,resolve' );
As I wrote earlier, WS_TEST is my user into which I load JAX-RPC client. Note that, if you load JAX-RPC client into user another than SYS, you have NOT to use -s -grant public option (wassam wrote about this too). Another thing is that I (finally) didn't load OC4J. To consume WebService I use utl_dbws.invoke(call_Handle CALL, request SYS.XMLTYPE) function.
voytec001

Similar Messages

  • Host variables in SQL Developer not showing decimal places

    I'm a very newbie, taking my first PL/SQL class, so please be gentle! I think this may be a SQL Developer problem, because when I run the same thing from terminal-line SQLplus on my Linux install, it works right.
    I'm working with a procedure, and passing a value out to a host variable. Although the value should have a decimal portion, when I print the host variable, all that prints is the integer portion.
    Here's the entire program:
    set serveroutput on;
    create or replace package mypkg
    is
      procedure myproc
        (p_in in number,
         p_out out number);
    end;--END package mypkg
    create or replace package body mypkg
    is
      procedure myproc
        (p_in in number,
         p_out out number)
      is
        lv_out_num number(7,2);
      begin
        lv_out_num := p_in / 10.0;
        p_out := lv_out_num;
        dbms_output.put_line('p_out is ' || to_char(p_out,'999.99' ));
      end;--END procedure myproc
    end;--END package body mypkg
    variable myvar number
    execute mypkg.myproc(33,:myvar);
    print :myvarAnd here's the output:
    PACKAGE mypkg compiled
    PACKAGE BODY mypkg compiled
    anonymous block completed
    p_out is    3.30
    MYVAR
    3As you can see, myvar should be 3.3, but it only shows 3. However, like I said above, when I do this from sqlplus from a terminal in linux, it works fine. Thus I'm thinking its a SQL Developer thing.
    Details:
    Machine:
    HP Pavilion dv6 notebook (Core i7) with 8 GB RAM
    Windows side:
    Windows 7 Home Premium SP1
    Oracle 10g Express
    SQL Developer 3.1.06
    Linux side:
    Oracle Linux 5.6 (in Virtualbox)
    Oracle 11g release 1
    Thanks,
    Alex

    Hi,
    This issue has been previously reported on and bugged:
    Re: Oracle Sql Developer prblem with variable format
    Regards,
    Gary

  • Flash Menus cause my session variables to drop or not show temporarily until I refresh the page

    I have a login routine that once a user logs into teh site it
    creates a session variable. I have used this same script many times
    without any problem but I now have Flash menus and it seems that
    after logining in (session created) I will click on a menu item and
    the debugging shows that the session variable isn't there. If I hit
    the REFRESH button on the browser it appears.
    Has anyone gotten this and know a way to get around it. I
    have 5 pages I need for a user to navigate to after loging in but
    the initial load doesn't seem to have the session set even though
    it was set when they logged in but a REFRESH of each page
    individually now has the variable.
    Any Ideas...Is this something with Flash menus or
    something?

    Problem is solved by removing these 2 lines from iframe.html
    if(navigator.appName=="Microsoft Internet Explorer")
    document.location.replace("");

  • Formula variable in replacement path is showing N/A

    Hi,
    I have a DATE characteristic which I want to add as key figure in my query.
    I created replacement path formula variable for it but I can only see N/A in the report.
    I  checked the cube and there is data for the date characteristics.
    any idea how I can resolve this.
    thanks

    Hi,
    I understand, I said just check that...have you checked, this works or not?
    you can go to display properties of that charcteristic and say hide.
    If this works then u can hide it and keep it in query...
    Regards,
    Ashish

  • Global variable in namespace javascript

    Hi,
    I have this code and want to put my Global var: var column = 'Weekday'; in my namespace: var pinkWeekday = pinkWeekday || {};       how do i do that?
    var pinkWeekday = pinkWeekday || {};
    var column = 'Weekday';
    // Create function for rendering the field value
    pinkWeekday.myFiledRender = function ()
    var myFieldOverride = {};
    //myFieldOverride.Templates = {};
    myFieldOverride.OnPostRender = [ pinkWeekday.PostRender ];
    // We need to register the rendering template
    SPClientTemplates.TemplateManager.RegisterTemplateOverrides(myFieldOverride);

    what happens if you just define it as a property:
    var pinkWeekday = pinkWeekday || {};
    pinkWeekday.column = 'Weekday';
    pinkWeekday.myFieldRendered = function(){...};
    Blog - http://sadomovalex.blogspot.com
    Dynamic CAML queries via C# - http://camlex.codeplex.com

  • Import of variables from XML fails, diff shows no difference from Illustrator export

    Hi, all,
    I've got an AppleScript that I wrote to massage CSV output from Excel into a variable library that I can import into Illustrator. Because I have to maintain black and white and left and right specific image files and output files, I've tried every other solution, and this is the best I've been able to come up with.
    diff reports that comparing the output to output of the identical data set exported from Illustrator is a 1-1 match. (I previously identified a place where there was an extra space.)
    Illustrator rejects the file with the "The incoming variable library is invalid." error message.
    If I copy and paste the contents of the output of my script into the file Illustrator exported, Illustrator reads it back, so my XML is correct.
    I'm using Illustrator CS2 and 10.4.11. Does Illustrator set some kind of creator code on the file? Is there something else that could be at work?

    hi, i am still having lo luck with reading the xml data back into memory, as i have said before, the netbeans profiler is telling me it is a char[] that is using 50% of the memory but i cannot see how a char[] is created, my code doesn't so it must be the xml code...plz help

  • User exit variable I_STEP=1 does not show default value WebI selection scr

    Hello,
    We have a BW query with a user exit variable. We have written user exit code under I_STEP = 1 so that the default value for the field is displayed on the selection screen to the user. Works very well on the BW side.
    We based a universe on top of the query and then created a WebI report.
    When the WebI report is executed the default value is NOT seen on the selection screen,
    Note:
    1. If the user exit variable is optional and we execute the report, the default value is NOT seen on the selection screen. However if the report is executed without entering any value for the field the logic under I_STEP = 1 is picked up and the report gets the correct output
    1. If the user exit variable is mandatoryand we execute the report, the default value is NOT seen on the selection screen. The user now has to enter the value for the field.
    The scheduled reports will work in case of optional user exit variable.
    However this amounts to loss of functionality.
    Is this a known bug?
    Is there a way to display default values based on user exit variables on the WebI selection screen?
    Kindly advice. Btw we are on XI 3.1 SP3
    Rgds
    Edited by: Anup Deshmukh on Jun 29, 2010 11:13 PM

    OSS Note 1285993 - "Support of Customer Exit Variables from BEx query into WebIntelligence via OLAP universe"  deals with this issue and has deemed it out of scope for XI 3.1 SP3.
    Rgds

  • How do you change the variable screen on Portal to show Key?

    Hi All,
    I have a report on our Portal.  In the variable screen, the users are asked to optionally enter Cost Centre.  When they choose to select values (pressing the button on the right) the singles values which are shown are 'Text' only.  I know in analyser, the user can switch by selecting the spanner icon - 'Display Key/Text'
    How do you change to Key within the variable screen on the portal?
    Many Thanks
    Michelle

    Thank you for your reply Amrita,
    The display in the query had been set to Text & Key as follows
    Properties of Cost Centre -> Display Tab -> Value Display Section -> Display As 'Text and Key', Text View 'Standard' and Use Characteristic Setting 'Unticked'
    Is there another section that I should be amending to ensure the 'Key' also appears in the variable screen?
    Many Thanks,
    Michelle

  • Data manager package log does not show Global variables!!

    Hello Experts,
    We are using BPC 10 sp14 Microsoft version with SQL Server 2008 R2. We are seeing an issue where datamanager package log does not show the Global variables defined in package script whereas in BPC 7.5 Global variable were visible in package log.
    Please let us know is this behavior changed in BPC 10?
    Below is the package script having Global variables and Package log not showing any of them.
    Thanks & Regards,
    Rohit
    Package Script:
    Package Log:

    Hi Ergin,
    As far as I remember it's by design...
    Vadim

  • Hierarchy node Variable: F4 Help - Not showing Master data values

    Hi,
    We're having some problems trying to display the F4 help of a hierarchy node selection variable, to show the master data values so that it would look more complete for the users during report execution.
    In the RSD1 setting for the info object, under 'Business Explorer' tab, the 'Query Execution Filter Val. Selectn' is set to 'Only Posted Values for Navigation'.
    I thot that we could overwrite this setting at the Query Designer level, but it does not seem to work.
    Even tho in the Query Designer, we have already specified the 'Filter Value Selection During Query Execution' to 'Values in Master Data Table', it does not seem to display the master data values.
    There is no difference in the F4 values being displayed for the hier node variable, before and after the change in Query Designer.
    Could anyone share some tips on other possible solutions to get a hier node selection variable's F4 help to show the master data values, without changing the RSD1 setting at the info object level please ?
    Thanks in advance for your help.
    Regards,
    Femmie.

    Hi,
    Could you please share the steps you have taken to fix the problem?
    We do have a similar problem and for some reason the newly added hierarchy node for 0Profit_ctr is not showing up in the variable selection screen F4 (input selection for query execution). However we can see this node when we display that hierarchy in RSA1. I did try applying the changes recommened by Jerome but unfortunately it didn't work.
    Any help on this would be greatly appreciated.
    Thanks,
    Krish

  • Variable value not showing in sql developer  tool

    HI,
    I am using sql developer tool. when i take mouse in variable name at debugging its not showing variable value and instead showing variable name data type and owner. but in past i have used sql developer tool where when i take mouse on variable at debugging mode it shows the varable value.  please tell me is there any issue in sql develper tool currently i am using.
    sql developer version 2.1.0.63

    Sorry - but I doubt if you will get much help for that ANCIENT version of Sql Developer.
    My best suggestion is to download the current version and see if you still have the problem. There have been HUNDREDS of bug fixes since that version you are using.
    Oracle SQL Developer Downloads
    Take note that the current version REQUIRES a much higher JDK version than what you may be using. And do NOT try to install the new version on top of the old one.
    Install the new version into a totally new folder. You will be ask if you want to import your settings from your current version.

  • How to pass OSB fault variables into input payload

    Hi ,
    I am very new to OSB. as we know that OSB has some predefined variable structure like body,header, fault,inbound,outbound,..My requirement is that I want pass the fault variable elements(errorCode,reason,details..) to input payload elements. I want to see the faulted data in my payload elements which is generated by fault variables.
    Ex:-> If any validation fault occur then my payload fault variables will display errorCode---->BEA-382525, errorMessage-->Variable targeted for validate is not XML or MFL..
    Could you please help me out.I tried but i did not get the result what I expected .. Thanks in advance
    Thanks,
    Viswas

    Hi Vlad,
    I tried what you said in the Otherwise section.
    Step 1:-->This is my xQuery code:
    declare namespace ns1 = "http://www.bea.com/wli/sb/context";
    declare namespace ns0 = "http://xmlns.itc.com/emf/xsd/04/2013/v1.0/loggingService";
    declare namespace xf = "http://tempuri.org/GreetingService/xquery/faultToGreetingService/";
    declare function xf:faultToGreetingService($fault1 as element(ns1:fault))
        as element(ns0:logInfo) {
            <ns0:logInfo>
                <ns0:HeaderInfo>
                    <ns0:faultCode>{ data($fault1/ns1:errorCode) }</ns0:faultCode>
                </ns0:HeaderInfo>
            </ns0:logInfo>
    declare variable $fault1 as element(ns1:fault) external;
    xf:faultToGreetingService($fault1)
    Note: My requirement is I want pass this errorCode into ns0:faultCode which is the input element for publish action (This is publish action would call the logging Service, It is one-way process)
    Step2:-->I used a replace action-->XQuery Resource tab--> I browse the xQuery ..Here In the Variable Name section it is showing fault1 and what value we need to give in the Binding section.
              a)  If i did not provide any value it is giving the error message as "XQuery expression validation failed:XQuery error for the variable "fault1": line1,column1:                                 {err}XP0003:invalid...  "            
              b) If i provide $fault1 or $fault1/*:errorCode or $body in Binding section then the public action would not calling the logging service.
    Can anybody provide me the answer.
    Thanks,
    Viswas

  • Query variable values in bookmarks (portal favourites)

    Hi,
    Basic problem: When 2 different users save their modified query views they behave differently. In other case the favourite opens straight to the report without displaying the variable screen and in the other case the variable screen is shown with preselected values.
    We'd like to standardize the function throughout the organization in such a way that every saved query view would behave so that the selection variable values would be automatically populated and the report would open without displaying the variable screen.
    We ran the same report in debugging mode and found several differencies:
    BI_TARGET_IVIEW (missing from the report which doesn't show variable screen)
    BusinessParameters
    - With Var Screen: Contains more information, f.ex. BW-client, and the technical name of the query
    - Without Var Screen: Just the bookmark technical ID
    ContentLink
    - With Var screen: QUERY=SALES_MP_Q0009&VARIABLE_SCREEN=X
    - Without Var screen: empty field
    -Miikka

    Hi,
    A. If a person is doing the following activity
    1. Using the Export and Distribute-Bookmark function in the context menu of a Web application
    or
    2. In the BEx Web Analyzer when saving the ad hoc analysis
    or
    3. When you personalize Web applications
    It will create a bookmark with bookmark ID.  (To View theses report  (SA38)
    RSWR_BOOKMARK_REORG - SAP NetWeaver 7.0 format)
    B. But if user is creating bookmark from portal framework.. like add to portal favorite or add to browser favorite in toolbar of portal, it only store the navigation struture of portal role.
    A.1 Regarding showing Variable screen.
    IN BEx Template, if we set  Show Variable Screen  as OFF, It will not show variable screen provided the mandatory filelds are there. For case A, Since Bookmark ID providing all the variables information it will not show Variable screen.
    Regards
    Baby
    Edited by: Baby on Mar 14, 2009 2:49 PM

  • Table for variable

    Hi gurus,
    Where can I find the definition of the variable in my queries ... in which table are they stored ?
    Thanks in advance
    Aleksi

    Hi,
    RSZGLOBV is table for variables.
    For variable definition:
    1.Open any Query in Query designer
    2.in lafet panel,navigate to required characteristic
    3.Expand it(click on + sign)
    4.Expand 'characteristic value variables
    5.From context menu of variable-->Edit.
    It will show variable definition.
    or
    right click on a characteristic(if variable is being used in Query)>restrict>click on 'variables' tab>right click on required variable->change
    Thanks
    Message was edited by: Murali

  • Couldn't use variables in bpel code[JCAPS 511 einsight]

    Hi,
    In JCAPS 5.1.1 BPEL code, when i manually add
    <variables>
    <variable/>
    </variables>
    at time of saving it got wiped off or it is getting deleted automatically.
    Please advice me how to add <variables> tag in BPEL code.
    Regards
    Venkatesh.S

    I suspect you are looking for ways of adding equivalent of variables.
    In eInsight, which is BPEL 1.0-compliant, you use the so-called Business Process Attributes. Right-click on the name of teh business process in the project explorer. Choose properties. Choose "business Process attributes" tab. Click "Add". name the attribute, choose the "simpletypes" namespace and choose the data type. Apply. Open the BP. You should have a "variable" of the chosen type showing up in the mapping tree when you select "show all".
    Does this help?

Maybe you are looking for

  • Migrate from Exchange 2007 to Exchange 2013.

    Hi All, Need some advised here,  I am about to migrate Exchange 2007 with Windows Server 2003 to Exchange 2013 with Windows Server 2012 R2. Which one should I migrate first? Windows Server or Exchange? I tried to search it, i am a bit confuse with so

  • SOA Suite 10.1.3.4 loses instances in the BPEL console

    Hello, One of my BPEL processes loses instnaces in the BPEL console. OS: AIX 5.3 oslevel –s:5300-04-02 SOA Suite 10.1.3.4 I feel I hit the same problem as this thread, process is supposed to be in a jta transaction But I have set following 3 values (

  • When are Apple going to sort out the Final Cut Pro X Key Frame problem

    Hello, I'm trying to move three custom text clips to different locations on the screen & change the text size. The text clips drift around between two key frames with the same values. ("linear" is set on the red wire frame movement indicator) I know

  • HT1349 i keep downloading the new itunes and it isn't updating on my pc

    I am in my itunes and it keeps telling me there are updates.  I've download the new version twice and for some reason it doesn't end up updated.  help?

  • PSD files in LR 1.1

    I've just upgraded to LR 1.1- when I edit in CS3, the saved PSD file cannot open in LR1.1 (corrupted file)No problem before upgrade.