VPD Question - Not executing Policy?

Hi, I followed the script and my results are below:
But I do a select * from T and get all 5 rows:
Can anyone see anything missing?
select
namespace, attribute, value
from
session_context
where namespace = 'MYCTX';
create or replace function rls_examp ( p_schema in varchar2,
p_object in varchar2
return varchar2
as
l_x number;
begin
select sys_context( 'myctx', 'X' ) into l_x from dual;
if ( nvl(l_x,-1)) != -1
--sys_context( 'myctx', 'x' ) is not null )
then
return ' data = ''data 01'' ';
-- return 'X = to_number( sys_context(''myctx'',''x''))';
else
return 'X = 3 ';
end if;
end;
drop table t;
create table t ( X number,data varchar2(10) );
insert into t values ( 1,'data 01' );
insert into t values ( 2,'data 02' );
insert into t values ( 3,'data 03' );
insert into t values ( 4,'data 04' );
insert into t values ( 1234,'data 1234' );
begin
begin
dbms_rls.drop_policy( user, 'T', 'T_POLICY' );
exception
when others then null;
end;
begin
dbms_rls.add_policy
( object_schema => user,
object_name => 'T', --table name
policy_name => 'T_POLICY',
function_schema => user,
policy_function => 'rls_examp',
statement_types => 'SELECT,INSERT,UPDATE,DELETE',
update_check => FALSE, -- set back to FALSE
enable => TRUE,
static_policy => FALSE);
end;
end;
create or replace procedure set_ctx( p_val in varchar2 )
as
begin
-- dbms_session.clear_all_context( 'myctx' );
dbms_session.set_context( 'myctx', 'X', p_val );
end;
create or replace context myctx using set_ctx;
begin
set_ctx( null );
end;
select rls_examp(' ',' ') from dual;
select * from t;
select
namespace, attribute, value
from
session_context
where namespace = 'MYCTX';
begin
set_ctx( 99 ) ;
end;
select rls_examp(' ',' ') from dual;
select * from t;
select
namespace, attribute, value
from
session_context
where namespace = 'MYCTX';
select rls_examp(' ',' ') from dual;

Here is what I tried just to get an error...
Could I have created the function somewhere else and be accessing it instead where I would get errors but still would get no altered results?
Bill
select
namespace, attribute, value
from
session_context
where namespace = 'MYCTX';
drop table t;
create table T ( X number,data varchar2(10) );
insert into T values ( 1,'data 01' );
insert into T values ( 2,'data 02' );
insert into T values ( 3,'data 03' );
insert into t values ( 4,'data 04' );
insert into T values ( 1234,'data 1234' );
create or replace function RLS_EXAMP(p_schema in varchar2,
p_object in varchar2 )
return varchar2
as
l_x number;
begin
return 'owner = 3 ';
end;
begin
dbms_rls.drop_policy( 'BOLINF', 'T', 'T_POLICY' );
exception
when others then null;
end;
begin
dbms_rls.add_policy
( object_schema => 'BOLINF',
object_name => 'T', --table name
policy_name => 'T_POLICY',
function_schema => 'BOLINF',
policy_function => 'RLS_EXAMP',
statement_types => 'SELECT,UPDATE,DELETE');
end;
CREATE OR REPLACE PROCEDURE show_context_info
IS
context_info DBMS_SESSION.AppCtxTabTyp;
info_count PLS_INTEGER;
indx PLS_INTEGER;
BEGIN
DBMS_SESSION.LIST_CONTEXT (
context_info,
info_count);
indx := context_info.FIRST;
LOOP
EXIT WHEN indx IS NULL;
DBMS_OUTPUT.PUT_LINE (
context_info(indx).namespace || '.' ||
context_info(indx).attribute || ' = ' ||
context_info(indx).value);
indx := context_info.NEXT (indx);
END LOOP;
END;
create or replace procedure set_ctx( p_val in varchar2 )
as
begin
-- dbms_session.clear_all_context( 'myctx' );
dbms_session.set_context( 'myctx', 'X', p_val );
end;
create or replace context myctx using set_ctx;
begin
set_ctx( '3' );
end;
/

Similar Messages

  • SCCM 2012 R2 Clients are not retrieving policy

    Hi - I know this question has been asked many times before - but I have tried almost everything and a no closer to solving the problem.
    Background: Recently a SCCM 2012 SP1 single stand-alone site was upgraded to SCCM 2012 R2. The site is a single stand-alone primary site with a single DP, single MP, using mixed mode
    (HTTP). The R2 upgrade ran without any problem and all SCCM components are showing as healthy.
    A few test SCCM 2012 SP1 clients were upgraded to the R2 client using client-push.
    However the upgraded clients are not retrieving policy from the Management Point. In the Actions Tab of the SCCM client, only Machine Policy Retrieval and User Policy Retrieval are available. But kicking of those actions does not
    result in any of the advertised applications, Task Sequences becoming available. Infact Custom Client Settings are not being set either (e.g. Organisation Name in software Center).
    I have checked and rechecked the following:
    The upgrade of the client completed successfully (checked ccmsetup.log) and the version number went from 5.00.7804.1000 (SP1) to 5.00.7958.1000 (R2).
    The MP health in the SCCM console is showing healthy.
    The MP access URL's load correctly when run from SCCm client computers
    “http://<ServerName>/sms_mp/.sms_aut?mplist” is ok
    “http://<ServerName>/sms_mp/.sms_aut?mpcert” is ok
    The SCCM clients are assigned to the site correctly – verified via the SCCM client and
    ClientLocation.Log
    ClientIDManager.Log is not showing any errors
    CCMExec.log and ExecMgr.log don't show any advertisements being executed (Execmgr.log is almost empty and only has "Software ditrbution site settings policy does not yet exist on the client). If the client is not yest
    registered this is expected behaviour")
    The SCCM clients are Approved and NOT Blocked in SCCM
    I have attempted to upgrade the SCCM client and also completely removed and reinstalled - and both have the same result (no client policy dpwnloaded)
    I have also deleted the above clients completely from SCCM, Run divoery again and pushed the client to the machines again ...with the same result (SCCM client installs, assigns to correct site and then no policy downloaded)
    SCCM 2012 Boundaries are configured correctly and assigned to Boundary Groups correctly
    The SCCM client’s do not have the firewall enabled
    Changed boundary from AD Site to Subnet to IP Address Range: Same issue exists
    Uninstalled MP role and reinstalled it: same Issue exists
    Tried to connect to SCCm client using 3rd party SCCM Client center tool but cannot connect
    ??? Not sure what else to try ???

    Hi all - sorry for the late response.
    We managed to resolve the issue after logging a job with Microsoft Support.
    The issue was that the SCCM 2012 R2 upgrade corrupted 2 tables in the SCCM Database - leading to corrupt SCCM client policies.
    I am pasting the resolution email from Microsoft below:
    (NOTE: This may not be the exact sypmtoms you are experiencing so do not implement this fix assuming it will fix your problem!)
    ISSUE: 
    - All clients are unable to download policies from the server
    CAUSE:
    - Bad policies in the Database
    RESOLUTION: 
    -Issue with PADbID - Run below query against SCCM DB to verify corrupt entries:
    SELECT * FROM
    ResPolicyMap WHERE machineid = 0 and PADBID IN (SELECT PADBID FROM PolicyAssignment WHERE BodyHash IS NULL)
    Confirmed Bad policies entries in the SCCM database
    Run below query to delete the bad policy after which we resolved the issue:
    Delete FROM ResPolicyMap
    WHERE machineid = 0 and PADBID IN (SELECT PADBID FROM PolicyAssignment WHERE BodyHash IS NULL)"

  • Questions on Password Policy

    Hi All,
    I have couple of questions on password policy behavior upon OAM-EBS integration.
    Currently "Applications SSO Auto Link User" options is set to "Disable" in my env.
    Please confirm if following is the right understanding.
    1.     Upon OAM-EBS integration, user whose EBS account is linked with OID cannot change their password from EBS console. EBS password policy (Password expiry etc) will be overridden by OID policy.
    2.     EBS user`s whose account is not linked with OID can change the password and EBS password policy will be applicable for that user.
    3.     To have the user use EBS password policy he must be unlinked by setting up USER_GUID attribute to null in FND_USER table.
    Thanks in advance.
    -Sam

    Sam,
    Your understanding is correct -- Please see these docs.
    Integrating Oracle E-Business Suite Release 11i with Oracle Internet Directory and Oracle Single Sign-On [ID 261914.1]
    USE: EBS Technology Stack OID and SSO [ID 1461466.2]
    How To Temporarily Stop User Synchronization From OID To FND User [ID 1120413.1]
    Troubleshooting Oracle Access Manager and Oracle E-Business Suite AccessGate [ID 1077460.1]
    Integrating Oracle E-Business Suite with Oracle Access Manager 10g using Oracle E-Business Suite AccessGate [ID 975182.1]
    Thanks,
    Hussein

  • For Loop Will Not Execute

    I have been a software engineer for a number of years now, and thus far I have never come across any coding issues that truly merit a post such as this. Someone has almost always run across the issue before, so there is no need to reinvent the wheel, or solution as it were.
    However, a number of times I have run across instances where the JRE simply... does not execute parts of my code, and throws no exceptions.
    The sample code is a simple logging application, watered down to the bare minimum for the purposes of this forum:
    public class Log {
    public static void main(String[] args)    {Log log = new Log();}
    public Log() {Logger.log("Hello World");}
    import java.util.*;*
    import java.io.*;
    import java.text.SimpleDateFormat;
    public abstract class Logger {
    private static final int SIZE = 2;
    private static final SimpleDateFormat DAY = new SimpleDateFormat("EEEE");
    private static final String
      DIR = "logs/",
      EXT = ".log",
      FILTER = ".*log\\z",
      DNE = "DNE";
    private static int i,oldest;
    private static long previous = 0;
    private static FileFilter filter = new LogFilter();
    private static FileWriter out;
    private static File file,directory;
    private static File[] list;
    public synchronized static void log(String param) {
      try {
       directory = new File(DIR);
       file = new File(DIR + getDay() + EXT);
       list = directory.listFiles(filter);
       if (file.createNewFile()) {
        readOnly();
        reconcile();
       write(param);
      catch (Exception exception) {}
    private static void write(String param) throws Exception {
      out = new FileWriter(file, true);
      out.write(param);
      out.close();
    private static void readOnly() throws Exception {
      for (i=0;i<list.length;i++) {list.setReadOnly();}
    private static void reconcile() {
    try {
    previous = list[SIZE].lastModified();
    oldest = SIZE;
    for (i=SIZE;i<=0;i--) {
    if (list[i].lastModified() <= previous) {
    previous = list[i].lastModified();
    oldest = i;
    list[oldest].delete();
    catch (Exception exception) {System.out.println("Skipping reconciliation...");}
    private static String getDay() throws Exception {
    return DAY.format(Calendar.getInstance().getTime());
    private static class LogFilter implements FileFilter {
    public LogFilter() {}
    public boolean accept(File param) {
    try {
    if ((param.getName()).matches(FILTER)) {return true;}
    else {return false;}
    catch (Exception exception) {return false;}
    *The problem*:
    Ok, easy visual, this is the "log/" directory as I run the Log.java application repeatedly and iterate the date on my computer as I do so.
    Thursday
    *log/*
    +Thursday.log+
    Friday
    *log/*
    +Thursday.log+
    +Friday.log+
    Saturday
    *log/*
    +Thursday.log+
    +Friday.log+
    +Saturday.log+
    Sunday
    *log/*
    +Friday.log+
    +Saturday.log+
    +Sunday.log+
    Monday
    *log/*
    +Friday.log+
    +Saturday.log+
    +Monday.log+
    This is the point at which I go ???
    Turns out, the JRE skips the execution of my for loop in the *reconcile()* method when the date rolls over to Monday, and from then on it simply deletes the previous day's log instead of the oldest log.
    Why?  Who knows.
    Things I have tried:
    - Using another variable integer for the *readOnly()* method
    - Removing the synchronized keyword from the *log(String param)* method
    - Second call to *directory.listFiles(filter)* and setting *SIZE* to *3* after the old files have been set to read-only
    - Removing the call to *readOnly()*
    - Verified that the call to *readOnly()* does not alter the +modified+ date on the log files
    - Changed Logger.java from a +static+ class to a +local+ class
    Things I cannot do:
    This log application stores privy information about end-users at locations across the country in the event that there are support issues that need to be resolved, and the agreement is that we store this information no more than three days.  Just wanted to make sure, that the hopefully informed respondants to this issue, know that the obvious solution (storing seven day records), is unfortunately not available to me.
    Edited by: Threadstorm on Jan 8, 2009 8:24 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    HA! Most excellent. The last place I would ever look.
    Yes, seems like Java sorts the files in such a way that everything works fine without the loop until Monday rolls over.
    Now I can have a better appreciation for that second set of eyes.
    I use for loops so frequently that I never look at them (though I did stare at this one myself prior to this post, much to my chagrin now) but the subtracting iteration (which I use once in a blue moon) was necessary for the nature of the code.
    But ok, up and running! (whew) was going to be a long day until now.
    To answer your question though, the Logger is static so I don't have to pass it around to dozens and dozens of other modules but rather just include the package on the fly as I develop new modules that need to log information, and I like to write most mundane things myself if I can, that way I have the freedom to modify them at will.
    Thanks again! I'm now a happy camper once more.
    I'm also thankful that I don't have to chalk up another notch on the wall of cases where the JRE behaves magically and truly ignores code which I have definitely run into before. Something about listCellRenderers and the order of calls made to them, or some such and JRE doesn't read one of the lines. It's been a year or two.
    Edited by: Threadstorm on Jan 8, 2009 8:47 AM

  • ORA 28112 - Failed to Execute Policy

    Hello All,
    Can you please help me in resolving the following issue:
    We are getting the ORA 28112 - Failed to Execute Policy error while running a custom BI Publisher report on production. However we are not facing the issue on test environment .
    Please let us know how to proceed about.
    Thank you.

    Prathima,
    I had the same issue few years back, query was woking in toad but not in Oracle Reports. A ticket was raised for the DBAs and they fixed the issue. How? I don't have any clue. Maybe they fixed the policy function. On my side i just gave them the table name which was raising this error. If you have any other enviroment like Development, Test, etc, log in to that environment and check if report still raises this error. When i had this issue, only one database was raising this error, all others were fine (by using report builder).
    FS

  • Remote procedure call failed and did not execute response after changing contents

    Hey Hey!
    I have reviewed the other posts related to this issue but have not found a solution.
    I have done myself quite a mischief and hope someone here can help me out!
    I'm running an old ACER laptop with Windows 7. This PC belonged to an old colleague and therefore all of the folders and user names were still under his name, so I decided to try to change them all to my name. The main issue was the USER folder which had
    the locked symbol next to it but it wasn't locked at all. I googled how to delete this folder and one bright spark suggested I create a new folder with my name, copy all of the folders from the other 'locked' user's folder into my folder, and then delete the
    old user's folder. 
    That was fine. All seemed well. When I tried to delete the old folder the computer sat around thinking saying it was 'moving' but not doing anything. So, I cancelled the operation in the Task Manager. When I attempted to open any folder from the start menu
    or desktop or task bar I was presented with a bunch of numbers and letters and the message "REMOTE PROCEDURE CALL FAILED AND DID NOT EXECUTE."
    I quickly googled the message realising I'd made a major error and the first response was to type in services.msc or something to that effect, so I typed that into the Start Menu search bar and hit enter and nothing came up. So, I tried again, but now I
    couldn't type anything into the search bar, I could not even select any programs from the Start Menu. 
    So, I can't access the Start Menu, search bar, or any of the folders unless I open uTorrent, select open containing folder, and from there I can access what I need.
    I'm too afraid to reboot the PC. I can't locate my copy of Windows 7 anywhere. I'm freaking out!!
    Before I pour my lowly student wage into getting a professional to fix it, could someone please offer some suggestions??
    Greatly appreciated in advance. 
    Paris, Texas. 

    Hi,
    Based on your description, for this question is more related to NetQueryDisplayInformation() API, in order to get better help, we may ask for suggestions in the following MSDN forum.
    MSDN Forum
    https://social.msdn.microsoft.com/Forums/en-US/home
    Besides, we can try to use a script to get all domain users. Regarding this point, the following script can be referred to as reference.
    How to list all active directory users in a particular domain using PowerShell
    https://gallery.technet.microsoft.com/office/How-to-list-all-active-0d9be7ce
    In addition, for scripts, we can also ask for help in the following forum.
    The Official Scripting Guys Forum
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Best regards
    Frank Shen 

  • Flex Application showing no errors in Eclipse but not executing either

    Hello,
    I am trying to develop an application in flex/BlazeDS/Java in eclipse and my problem is since my changes in the code are not reflected anymore during runtime of the application. There is no error received from eclipse when I try to clean the project. It is deployed correctly but it seems to be working with the old code and not reflecting the changes. I tried to put the breakpoint too but it says, 'breakpoint cannot be placed here because there is not executable code in this line'
    Please advice.
    Best Regards,
    Jai Kishan Shah

    Hello,
    Well, i never re-install the FlexBuilder (stand-alone, or eclipse-plugin) because any error.
    Your output folder in Flex Build Path on your Project Properties is correct? Other question, you are working with Java ? Many times the project have a "error" on configuration and the directory to deploy is not listen by web-server.
    Exemple:
    If i work with Java and my CATALINA_HOME is: C:\tomcat\ - My webapps is localizated on: C:\tomcat\webapps\MYWEBAPP\ but my output folder on FlexProject is: C:\MyProject\Flex\bin-debug, and i run the application, the application dont work...
    So.. can you show your configuration? Its more easy to understand your problem and help you.
    Regards

  • Not executed method

    Hi. I need some help. That's a snippet of the class.
    public constructor ( ChooserListener callback ) {  // that's a constructor
    super();
    Loader.load();
    this.callback= callback;
    JFrame frame = new JFrame();
    frame.getContentPane();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.add(this);
    frame.setSize(300,330);
    frame.setVisible(true);
    JPanel lectures = new JPanel();
    String items [] ={BLANK,COMP,EIMC,MATH};
    JList list = new JList(items);
    list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    list.addListSelectionListener( listSelectionListener);
    lectures.add(list);
    ListSelectionListener listSelectionListener = new ListSelectionListener() {
    public void valueChanged (ListSelectionEvent e)
    {    // System.out.println(  listSelectionListener);
    System.out.println("Hooray");
    if (e.getValueIsAdjusting()== false)
    // tell(dept[deptList.getSelectedIndex()]);
    tell(COMP);
    } // the end of class
    I can't understand why System.out.println("Hooray"); is not executed. Why execution bypasses that 'valueChanged' method. What's the problem?
    Cheers

    mvezelis wrote:
    What do you mean, &#147;use code tags&#148;? I am new here.When you make your post, you'll see some formatting options above the text input box.
    When you post code, highlight it, and then click the button that says "CODE".
    That way your code will be legible.
    What do you mean, I change the list?I don't know what he was referring to, but I don't see any place where you actually add the listSelectionListener to anything. If that's the case then the code in question would never get executed. Do you understand why?

  • JSF 2.0 beta2 - JavaScript not execute in ajaxreponse +  Parameters: Invali

    Hi,
    I'm testing JSF2.0 beta2.
    I found the following problems:
    1) The JavaScript is not executed in the ajaxresponse.
    I solved it by adding the following JavaScript code to my xhtml file:
              function executeScripts(data) {
                  if (data.status == "success") {
                        var rXML = data.responseXML;
                        //alert(data.responseText);
                        document.getElementById("log").value = data.responseText;
                        if(i++ %2 == 0)alert(data.responseText);
                        var updates = rXML.getElementsByTagName("update");
                        for (var u = 0; u<updates.length; u++) {
                             var update = updates[u];
                             var children = update.childNodes;
                             for(var i=0; i<children.length; i++) {
                                  var child = children;
                                  if(child.nodeType == 4) { // CDATA
                                       var tmp = document.createElement("span");
                                       tmp.innerHTML = child.nodeValue;                              
                                       var scripts = tmp.getElementsByTagName("script");
                                       for(var s=0; s<scripts.length; s++) {
                                            eval(scripts[s].innerHTML);
         window.onload = function init(){
              jsf.ajax.addOnEvent(executeScripts);
    2de problem:
    When I add extra params to the jsf.ajax.request function i got a warning in my tomcat6 console:jsf.ajax.request(document.getElementById("f:surname"), null,{execute:'@this',render:'@this',frmAjaxSuggestExecuteAjax:'true'});
    Warning:
    26-jul-2009 23:08:48 org.apache.tomcat.util.http.Parameters processParameters
    WARNING: Parameters: Invalid chunk ignored.
    I only has this warning on adding extra params.
    I know this error from the past.
    Then it was caused by using wrong syntax for the request parameters. example:
    http://myhost/mypage&paramA=1&paramB=2 (note there is no ?)
    http://myhost/mypage?paramA&paramB=2 (note there is value for paramA)
    3de problem
    It's more a question than a problem.
    The following javascript is added to my xhtml code:
    <script type="text/javascript" src="/xhtml/javax.faces.resource/jsf-uncompressed.js?ln=javax.faces"></script>
    I don't have any idea how this javascript cames into my sourcecode.
    I did not add it as resouce to my component@ResourceDependencies({
         //@ResourceDependency(name="ajax.js",library="javax.faces",target="head"),
    Regards,
    Pieter                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi,
    I'm testing JSF2.0 beta2.
    I found the following problems:
    1) The JavaScript is not executed in the ajaxresponse.
    I solved it by adding the following JavaScript code to my xhtml file:
              function executeScripts(data) {
                  if (data.status == "success") {
                        var rXML = data.responseXML;
                        //alert(data.responseText);
                        document.getElementById("log").value = data.responseText;
                        if(i++ %2 == 0)alert(data.responseText);
                        var updates = rXML.getElementsByTagName("update");
                        for (var u = 0; u<updates.length; u++) {
                             var update = updates[u];
                             var children = update.childNodes;
                             for(var i=0; i<children.length; i++) {
                                  var child = children;
                                  if(child.nodeType == 4) { // CDATA
                                       var tmp = document.createElement("span");
                                       tmp.innerHTML = child.nodeValue;                              
                                       var scripts = tmp.getElementsByTagName("script");
                                       for(var s=0; s<scripts.length; s++) {
                                            eval(scripts[s].innerHTML);
         window.onload = function init(){
              jsf.ajax.addOnEvent(executeScripts);
    2de problem:
    When I add extra params to the jsf.ajax.request function i got a warning in my tomcat6 console:jsf.ajax.request(document.getElementById("f:surname"), null,{execute:'@this',render:'@this',frmAjaxSuggestExecuteAjax:'true'});
    Warning:
    26-jul-2009 23:08:48 org.apache.tomcat.util.http.Parameters processParameters
    WARNING: Parameters: Invalid chunk ignored.
    I only has this warning on adding extra params.
    I know this error from the past.
    Then it was caused by using wrong syntax for the request parameters. example:
    http://myhost/mypage&paramA=1&paramB=2 (note there is no ?)
    http://myhost/mypage?paramA&paramB=2 (note there is value for paramA)
    3de problem
    It's more a question than a problem.
    The following javascript is added to my xhtml code:
    <script type="text/javascript" src="/xhtml/javax.faces.resource/jsf-uncompressed.js?ln=javax.faces"></script>
    I don't have any idea how this javascript cames into my sourcecode.
    I did not add it as resouce to my component@ResourceDependencies({
         //@ResourceDependency(name="ajax.js",library="javax.faces",target="head"),
    Regards,
    Pieter                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Error 1003 - The vi is not executable​. Simulated DAQ-cards.

    Hi all,
    I am updating an application written in LabVIEW 7.1 for a customer. The code is not made by my company and is pretty horrendous but it works. I can not develop the code on the machine that it is supposed to run on so I have to do it on my own computer which means that I have to simulate two DAQ-cards that the program needs. I have pretty much finished the program and I want to test if I can build an exe-file. This is where I run in to trouble an get the error message:
    Error 1003 occurred at \\Server1\Users\martinh\LabVIEW Data\app\internal.llb\_Main.vi
    Possible reason(s):
    LabVIEW:  The VI is not executable.
    I know that this has been discussed at length here and that one has to look out for global variables, dynamically loaded VI:s etc. My question is, does anyone think that the simulated DAQ-cards give me trouble? Do they use some VI:s placed somewhere odd which I need to include when I build the application?
    Sincerely
    Martin

    Hi Martin,
    I suggest you try what is suggested in this link, some of the information is already covered in the posts above but some might be new.
    http://digital.ni.com/public.nsf/allkb/705C2ECA081​F3C7986256C0F00559B02?OpenDocument
    If you are using the office toolkit, it might be an idea to masscompile the _office folder and you might also need to uncheck the "Disconnect type definitions and remove unused polymorphic VI instances".
    Good Luck
    Andreas E
    Applications Engineer
    National Instruments

  • SQL Update statement not executing in Filter

    Hi,
    I am trying to update Documents table using the query resource in a custom component. The document table is requred to upate for vault file(1 row) and for weblayout file(1 row). The java code is executing in PostConversionFilter, the sql is defined in query resource.
    Query Resource is defined in componet like..
    MyQResource=UPDATE Documents SET dOriginalName = ?, dFormat = ?, dFileSize = ?, dExtension = ? WHERE (dID = ? AND dIsPrimary = ? AND dIsWebFormat = ?)
    This SQL executes for vault file means dIsPrimary = 1 AND dIsWebFormat = 0 however the same is not executing when for weblayout file dIsPrimary = 0 AND dIsWebFormat = 1
    I putting here final satement formed, got by systematabase trace as following
    For vault file:
    UPDATE Documents SET dOriginalName = 'XYZ009174~1.spdf', dFormat = 'application/vnd.sealedmedia.softseal.pdf', dFileSize = 0, dExtension = 'spdf' WHERE (dID = '9559' AND dIsPrimary = 1 AND dIsWebFormat = 0)
    For weblayuot file:
    UPDATE Documents SET dOriginalName = 'XYZ009174~1.spdf', dFormat = 'application/vnd.sealedmedia.softseal.pdf', dFileSize = 0, dExtension = 'spdf' WHERE (dID = '9559' AND dIsPrimary = 0 AND dIsWebFormat = 1)
    There is no error in logs, traces. I am using UCM 11g. in Documents table 1 row is updated for vault file only I am expecting for weblyaout updation also.
    Please help what could be the possible cause?
    Thanks,
    Manoj
    Edited by: Manoj Kumar on 15-May-2012 13:03

    If I got your question, you state that you see a SQL statement in systemdatabase tracing, but it is not executed in the database? Btw. you should see further details (such as how much time the query took) if you turn on full verbose tracing.
    I'd just go and try to execute the same queries directly in the database (e.g. in sqlplus console). My guess is that there will be no record according to the second WHERE clause...

  • Not executing the step

    hi ,
    im using loop in workflow.
    in loop i have used 3 steps.
    while i was watching the log i found that  one particular step was not executed and its going to the next step  even i have given the steps sequentially in the loop.due to that condition is not satisfied and its showing the maximun number of nodes reached.
    how to correct this error.
    please help me.
    Raghu

    Check your workflow definition to see what is wrong. Also analyze the technical log.
    Regards,
    Martin
    Edited by: Martin Nooteboom on Jun 13, 2008 11:59 AM
    Or as you will have found from your other thread, reset the buffers. Please try to be more clear when you ask a question and try to give as much information as possible.

  • ESB Server: FAILED (Not Run, Not Executed)

    I am novice.
    Installed SOA Suite 10.1.3.1.0 on host1(WinXP Professional2002 SP2):
    Select Basic Install.
    Set the AS Instance Name to soademo.
    Set the AS Administrator Password to welcome1.
    Test http://host1:8888/(esb,em) - Ok.
    -Installed JDeveloper 10.1.3.1.0.3984 on my_host (Win2000 5.00 SP4).
    -created connection App Server "OrderBookingAS" (opmn:ormi://host1:6003:home) - Test-Success
    -create connection Integration Server "OrderBookingIS" (AppServer - OrderBookingAS, port:8888).
    Testing OrderBookingIS:
    Application Server: OK
    BPEL Process Manager Server: OK
    ESB Server: FAILED
    Detail ESB connection: Not Executed.
    Why ESBServer not executed?
    Thank.

    Hi,
    Thanks for your quick answer.
    Let's go with the answers to your questions:
    1.) the connection via browser to http://machine:80/BPELConsole works?
    Yes, i can login with the oc4jadmin user
    2.) which port have you specified for the integration server connection?
    The port is 8888
    3.) your server has multiple network interfaces?
    If you mean network interfaces=network adapters, the answer is yes. I have configured the lookback adapter as written in the installation document and i have three others adapters.
    Thanks again for any help.
    Jorge.

  • Collect metrics failed because 'Query Datacenter Managed Object Reference' is not executed

    Hello,
    This is my first post on this forum; I am working for a Cisco partner.
    I am working on Tidal Enterprise Orchestrator 2.3.0.441 (hotfix1 and 2, content update 1), part of CIAC starter edition.
    Scheduled Collect metrics failed in 'vSphere Datacenter Sync' and in 'vSphere Cluster Data Sync' parts
    Problem is at the level of 'Query Datacenter Managed Object Reference'
    Input is Datacenter name (well defined, value is not '*'), but this box is not executed (stay white). Next box : 'Set Datacenter MOR' define a variable with value 'Datacenter-' instead of 'Datacenter-[output of Query Datacenter Managed Object Reference]. And finally 'Create Cluster table" failed because a root element is missing (the datacenter name)
    So my question is why 'Query Datacenter Managed Object Reference' is not executed ?
    I change nothing in the workflow, and Datacenter is normally well defined.
    thank you for your help,
    Cheers,
    Nicolas

    This particular utility workflow is set to not-archive completed instances.
    This means that, after it finishes, it is not saved to the database and you can't see the runtime information. It improves performance and saves database space, but does make troubleshooting a little more roundabout.
    You'll want to turn on archiving temporarily to see what the error message is.  Open the process, go to the Options tab, and check the "Archive completed instances" box.

  • Global succession updates are limited to 500 relationships. If more than 500 exist PLM presents a warning message and does not execute the update

    Global succession updates are limited to 500 relationships. If more than 500 exist PLM presents a warning message and does not execute the update.
    How/Where to increase the relationship count?
    The message which I can see :
    Warning:
    This specification has exceeded the number of parent relationships allowed by Where Used. The Where Used tool only supports up to 500 parent relationships.
    Thanks

    This really brings up a larger topic around change management.
    The questions you should start with is
    1. What kind of change is happening to the raw material? 
    2. Will this change affect anything upstream inside or outside of PLM4P? (Will this change affect nutrition, compliance, the ingredient statement, the label etc?)
    3. Who needs to approve this change?
    If they are non-material changes (changes that don't affect theoretical calculations, the ingredient statement, labeling, upstream systems that need to be notified etc) then you should be using get latest revision instead of global succession.   Get Latest Revision will automatically switch out the material with the latest approved version.  This logic is also configurable in case you need to add additional guard conditions.   We can also provide guidance around locking the get latest revision lock once a specification has reached the retired/obsolete state so changes won't occur for specifications in those statuses.
    If the changes to the raw material are material changes (changes that affect calculations, labeling etc) then the change should be reflected with a copy of the specification.  Dependent specifications then need to be re-issued so calculations can be performed and the appropriate workflow reviews can occur.   Smart Issue allows for filtering based on status and should let you re-issue in smaller blocks. 
    Let me know more about your change management strategy, how often large material changes happen and maybe example causes for those mass changes.  We can also schedule a change management training session for everyone where we can share our vision and tools available for change management.  This topic is quite large and generally requires a lot of business process discussion beyond just the tools available. 
    Thanks
    Kelly

Maybe you are looking for

  • In a filter, I need don't want to use match but contains

    So I will keep this simple function ffBuck(ds, row, index){ return (row.Watershed.match("Buck")) ? row : null; That works great when Watershed = "Buck but what if Watershed ="Buck Salt and Red Creeks" I don't know too much javascript to do a string s

  • Is there a TRANSITION OVERLAP OPTION setting?

    My research into this problem has been uneventful -- doing a simple cross-dissolve. I have two clips in the TL with  NO handles on either side.   I really don't want to manually overlap [hundreds] the clips (they are adjacent in the TL).  I hit CMD+T

  • Steps to create a custom Window component?

    What steps do I need to take to create a custom Window component? My approach now results in the component being uneditable in design view. What I do is simply select "New > MXML component", base it on spark.components.Window and supply a filename. I

  • Xcode 3.1.4 on OSX 10.5.8

    Hi, Are there any issues in installing Xcode 3.1.4 on a mac running OSX 10.5.8? I ask as Xcode 3.1.4 came out when OSX 10.5.7 was current and I don't want to cause any corruption. ...and please don't suggest upgrading to OSX 10.6.x because I'm waitin

  • Alert Modeler Configuration.

    Hello, I Need your help regarding the Alert Modeler customizing for IC WinClient framework. (CRM 4.0 Standalone) We have done all the basic customizing, regarding the IC profile, assign the alert modeler element for 'hidden components' and so on, but