Error when using HIERARCHY and security on RedHat

Oracle Secure Global Desktop for x86 Linux kernel 2.6+ (4.60.911)
Architecture code: i3li0206
This host: Linux ourhost1 2.6.18-164.el5
Getting the following error when we use hierarchy on a redhat linux server
An error occurred at line: 9 in the jsp file: /hierarchy.jsp
m_prefLang cannot be resolved
language is set LANG="en_US.UTF-8"
change the index.jsp back to standard we have no issue. Any ideas ?
thanks

there is a known issue with hierarchical webtop in SGD 4.60.911. Please open a case @ My Oracle Support and refer to this post and Support can provide a hotfix.
https://support.oracle.com

Similar Messages

  • Error when using cast and convert to datetime

    I run a stored procedure
    usp_ABC
    as
    begin
    delete from #temp1 
    where #temp1.ResID not in 
    ( select Col1 
    from TableA 
    where ( @I_vId = -1 or Doc_Field_ID = @I_vId)
    and ColA1 = 2  and FieldValue !=''
    and cast ( FieldValue as DATETIME ) = cast (@strvalue_index as DATETIME)
    and ResID = #temp1.ResID
    and TypesId = @I_vTypeId
    end
    But return message "Conversion failed when converting date and/or time from character string.'
    Format of Column FieldValue is nvarchar(400)
    @strvalue_index = '05/05/2013'
    So I see in article http://technet.microsoft.com/en-us/library/ms174450.aspx MS say about MS SQL Server and SQL Server Compact.
    Then I re-write proc:
    delete from #temp1 
    where #temp1.ResID not in 
    ( select Col1 
    from TableA 
    where ( @I_vId = -1 or Doc_Field_ID = @I_vId)
    and ColA1 = 2  and FieldValue !=''
    and cast ( cast(FieldValue as nvarchar(200)) as DATETIME ) = cast (@strvalue_index as DATETIME)
    and ResID = #temp1.ResID
    and TypesId = @I_vTypeId
    so stored run success.
    I don't understand how?
    When i run only statement in MS SQL Studio Management, the statement run success.
    Thanks all,

    No bad dates in my data.
    Apparently you have. Or, as Johnny Bell pointed out, there is a clash with date formats. Did you try the query with isdate()?
    For SQL 2008, you need
      CASE WHEN isdate(FieldValue) = 1
           THEN CAST (FieldValue AS datetime)
      END =
      CASE WHEN isdate(@strvalue_index) = 1
           THEN CAST (@strvalue_index AS datetime)
      END
    Erland Sommarskog, SQL Server MVP, [email protected]
    I think date formats is OK. So when I re-write stored:
    and cast ( FieldValue as DATETIME ) = cast (@strvalue_index as DATETIME)
    =>
    and cast ( cast(FieldValue as varchar(200)) as DATETIME ) = cast (@strvalue_index as DATETIME)
    the stored procedure will run success. I see in http://technet.microsoft.com/en-us/library/ms174450.aspx MS
    has an IMPORTANT:
     Important
    When using CAST or CONVERT for nchar, nvarchar, binary, and varbinary,
    SQL Server truncates values to maximum of 30 characters. SQL Server Compact allows 4000 for nchar and nvarchar, and 8000 for binary and varbinary. Due
    to this, results generated by querying SQL Server and SQL Server Compact are different. In cases where the size of the data types is specified such as nchar(200), nvarchar(200), binary(400), varbinary(400), the results are consistent across SQL Server and
    SQL Server Compact.
    I can't explain it in this case

  • Errors when using tomcat and netbeans combo.[Solved]

    Hi I'm trying to set up a netbeans/tomcat7 development environment for servlet development.
    I have tried this on 2 machines without any success.
    The steps I have followed are as follows.
    First I installed tomcat7 and netbeans from using pacman, then to be able to configure tomcat from netbeans I made the config files write permission 777, as it's just a development server security is not an issue.
    From there I started up netbeans started a new project and set the server to tomcat and pointed the Catalina home dir to /usr/share/tomcat7.
    When I try to run the example jsp project I get the following error:
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: java.lang.IllegalStateException: No Java compiler available
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:584)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:392)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    root cause
    java.lang.IllegalStateException: No Java compiler available
    org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:226)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:636)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    I've spent the last couple of days trying to find any information on this but I cant find anything, so any advice would be much appreciated.
    Last edited by darkclown (2011-12-01 05:15:23)

    From the error, it appears that there is no JDK installed - only a JRE, could that be the case? If you do have a JDK installed, then Tomcat is not finding it.
    I would also not run this on the openJDK, in case you are doing that. I would use the proprietary Oracle/Sun JDK. It's in the AUR, or simply download it from Oracle.
    I was not even aware that netbeans and tomcat are available from pacman. I always "install" those myself manually (i.e. unpack them into a folder). They are simply Java apps that can be installed anywhere, as long as you point them to a valid JDK.

  • Error when using WETextArea and WESubmitButton

    <p>Hi again,</p><p> </p><p>I think I may have found a issue.</p><p> </p><p>if you have a form that has only a WETextArea and a WESubmitbutton that is submitting back to the same report  ( with or with out database connection) I get a error message when I click the submit button of &#39;Getform&#39; not defined.</p><p> </p><p>I have replicated this in a stand alone report with no database connection just with a parameter and the 2 we elements that is posting back to the same report. </p><p>I found this while attempting to set up  a screen to allow users to input data to the database using the WETextarea.</p><p> </p><p>Jon Roberts</p><p><a href="http://www.programmervault.com" title="www.programmervault.com">www.programmervault.com</a><br /></p><p><a href="http://www.dsi-bi.com" title="Decision Systems Inc">Decision Systems Inc </a> </p>

    hey AJ,
    unfortunately you are completely out of luck on this one as Text Area does not have a max length property associated with it. http://www.w3.org/TR/REC-html32.html
    just kidding...this is a good idea (keep them coming) and pretty quick and easy to do...so...here's some code below to give you a validation method for WETextArea.
    1) go to your Admin folder in webElements 2.1 and open up the WEValidator and replace its code with
    // WEValidator 2.1 last revision March 8, 2007, JWiseman
    Function (stringvar ElementName, stringvar Validate, stringvar Message)
    stringvar output;
    if validate > "" then
    validate:= lowercase(validate);
    if validate ="empty" then output :=
    'if(isEmpty(getform.' + ElementName + '))' +Â
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus();' +
    'return;' +
    if validate in ["numeric", "number"] then output :=
    'if(isEmpty(getform.' + ElementName + '))' +Â
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus();' +
    'return false; ' +
    '}' +
    'if (!isNumeric(getform.' + ElementName + '.value)) ' +
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus(); ' +
    'return false;' +
    if validate in ["email", "e-mail", "email"] then output :=
    'if(isEmpty(getform.' + ElementName + '))' +Â
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus();' +
    'return false; ' +
    '}' +
    'if (!isValidEmail(getform.' + ElementName + '.value)) ' +
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus(); ' +
    'return false;' +
    if validate = "date" then output :=
    'if(isEmpty(getform.' + ElementName + '))' +Â
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus();' +
    'return false; ' +
    '}' +
    'if (!isDate(getform.' + ElementName + '.value)) ' +
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus(); ' +
    'return false;' +
    if validate = "integer" then output :=
    'if(isEmpty(getform.' + ElementName + '))' +Â
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus();' +
    'return false; ' +
    '}' +
    'if (!isInteger(getform.' + ElementName + '.value)) ' +
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus(); ' +
    'return false;' +
    if validate in ["check", "checked", "select", "selected"] then output :=
    'if(!isButtonChecked(getform.' + ElementName + '))' +Â
    '{ ' +
    'alert("' + Message + '"); ' +
    'return; ' +
    if validate[1 to 6] = "value=" then
    (validate:= validate[7 to length(validate)];output :=
    &#39;if(isCertainValue(getform.&#39; + ElementName + &#39;,"&#39;validate&#39;"))&#39; + 
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus();' +
    'return;' +
    if validate[1 to 7] = "length>" then
    (validate:= validate[8 to length(validate)];output :=
    &#39;if(isMaxLength(getform.&#39; + ElementName + &#39;,&#39;validate&#39;))&#39; +
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus();' +
    'return;' +
    "<!validator " + output  + "><!|||>"
    ) else "";
    2) now open WEFunctionLibrary and replace its code with
    // WEFunctionLibrary 2.1 last revision March 8, 2007, JWiseman
    Function ()
    // functions for select all, clear all, reverse all buttons and links
    &#39;function selectAll(cbList,bSelect) {&#39; <br />&#39;for (var i=0; i<cbList.length; i+)&#39; +
    'cbList.selected = cbList.checked = bSelect&#39; <br />&#39;}&#39; <br />
    &#39;function reverseAll(cbList) {&#39; <br />&#39;for (var i=0; i<cbList.length; i+){&#39; +
    'cbList.checked = !(cbList.checked);' +
    'cbList.selected = !(cbList.selected)&#39; <br />&#39;}}&#39; <br />
    // VALIDATION FUNCTIONS
    // function for numeric (float) input validation
    'function isNumeric(sText){' +
    &#39;var ValidChars = "0123456789.";var IsNumber=true;var Char;&#39; <br />&#39;for (i = 0; i < sText.length && IsNumber == true; i+) &#39; +
    '{Char = sText.charAt(i); ' +
    'if (ValidChars.indexOf(Char) == -1) ' +
    '{IsNumber = false;}}return IsNumber;Â ' +
    +
    // function for integer input validation
    'function isInteger(sTextB){' +
    &#39;var ValidCharsB = "0123456789";var IsNumberB=true;var CharB;&#39; <br />&#39;for (i = 0; i < sTextB.length && IsNumberB == true; i+) &#39; +
    '{CharB = sTextB.charAt(i); ' +
    'if (ValidCharsB.indexOf(CharB)
    == -1) ' +
    '{IsNumberB = false;}}return IsNumberB;Â ' +
    +
    // function for non-null input validation
    'function isEmpty(aTextField) {' +
    'if ((aTextField.value.length==0) ||' +
    '(aTextField.value==null)) {' +
    &#39;return true;}else {return false;}&#39; <br />&#39;}&#39; <br />Â
    // function for email input validation
    'function isValidEmail(str){' +
    'return (str.indexOf(".") > 2) && (str.indexOf("@") > 0);&#39; <br />&#39;}&#39; <br />
    // function for date input validation
    'function isDate(str){' +
    'var dateVar = new Date(str);' +
    'if(isNaN(dateVar.valueOf()) ||' +
    '(dateVar.valueOf() ==0))' +
    'return false;' +
    &#39;else {return true;}&#39; <br />&#39;}&#39;<br />
    // function for radio button and checkbox validation
    'function isButtonChecked(aSelection) {' +
    &#39;var checkcount = -1;&#39; <br />&#39;for (var i=0; i < aSelection.length; i+) {&#39; +
    'Â Â if (aSelection.checked) {checkcount = i; i = aSelection.length;}' +
    'Â Â }' +
    'if (checkcount > -1) return aSelection[checkcount].value;' +
    &#39;else return false;&#39; <br />&#39;}&#39;<br />
    // function for inappropriate value input validation
    'function isCertainValue(aTextField, vTextField) {' +
    'if (aTextField.value==vTextField){' +
    &#39;return true;}else {return false;}&#39; <br />&#39;}&#39; <br />
    // function for maximum input length validation
    'function isMaxLength(aTextField, mLength) {' +
    'if (aTextField.value.length>mLength){' +
    'return true;}else {return false;}' +
    3) do not add these to your repository quite yet as you'll want to test this to see if there's no nasty bugs or side affects.
    4) in your WETextArea function you'll have a validation for maximum length, so your code will look something like
    WETextArea ("tb", {?tb}, "1in", "2in", "", "length>16", "there are way too many characters here")
    NOTE: this is for maximum length only and this will not do a minimum length at this time...should that need arise in the future i can create a validation for "length

  • Pro*C/C++ Precompiler Error when using OTT and CODE=CPP

    I am trying to precompile a Pro*C application for the company I am working.
    Generating Include file and Intype file with OTT succeeded.
    But invoking the Pro*C precompiler results in error messages concerning
    the processing of the "size_t" structure being involved by including
    the file "oci.h" in the OTT-generated Include file. This file in turn
    seems to include "ociextp.h", "ociapr.h", "nzt.h" which cause the
    precompiler to complain: (i translated some terms to english)
    proc code=cpp cpp_suffix=cc intype=diacron.typ
    'sys_include=(/u01/app/oracle/product/8.1.7/precomp/syshdr,
    /usr/lib/gcc-lib/i486-suse-linux/2.95.2/include,
    /usr/include/g++,/usr/include,/usr/include/linux)'
    iname=transact
    Pro*C/C++: Release 8.1.7.0.0 - Production on Mi Jan 30 12:04:34 2002
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    System-Defaultsettings from: /u01/app/oracle/product/8.1.7/precomp/admin/pcscfg.cfg
    Syntaxerror in Line 233, Col 50, File
    /u01/app/oracle/product/8.1.7/rdbms/public/ociextp.h:
    Error in Line 233, Col 50, in File
    /u01/app/oracle/product/8.1.7/rdbms/public/ociextp.h
    dvoid ociepacm(OCIExtProcContext with_context, size_t amount);
    .................................................1
    PCC-S-02201, Found Symbol "size_t" when expecting one of the following:
    ... auto, char, const, double, enum, float, int, long,
    ulong_varchar, OCIBFileLocator OCIBlobLocator, OCIClobLocator,
    OCIDateTime, OCIExtProcContext, OCIInterval, OCIRowid, OCIDate,
    OCINumber, OCIRaw, OCIString, register, short, signed,
    sql_context, sql_cursor, static, struct, union, unsigned,
    utext, uvarchar, varchar, void, volatile,
    a typedef name, exec oracle, exec oracle begin, exec,
    exec sql, exec sql begin, exec sql type, exec sql var,
    Das Symbol "enum," ersetzte "size_t", um fortzufahren.
    ........the above several times for the other files.............
    My pcscfg.cfg looks like:
    ===============================================================
    include=/u01/app/oracle/product/8.1.7/precomp/public
    include=/u01/app/oracle/product/8.1.7/oracode/include
    include=/u01/app/oracle/product/8.1.7/oracode/public
    include=/u01/app/oracle/product/8.1.7/rdbms/include
    include=/u01/app/oracle/product/8.1.7/rdbms/public
    include=/u01/app/oracle/product/8.1.7/rdbms/demo
    include=/u01/app/oracle/product/8.1.7/network/include
    include=/u01/app/oracle/product/8.1.7/network/public
    include=/u01/app/oracle/product/8.1.7/plsql/public
    include=/u01/app/oracle/product/8.1.7/otrace/public
    include=/u01/app/oracle/product/8.1.7/ldap/public
    include=/home/wilf/lib/include
    ltype=none
    parse=partial
    ==============================================================
    And the beginning code in the file transact.pc looks like:
    ==============================================================
    #include "sqlnet/transact.hh"
    EXEC SQL BEGIN DECLARE SECTION;
    #include <stdio.h>
    #include <stdlib.h>
    #include <sqlca.h>
    #include "diacron.h" //generated by OTT
    int id;
    varchar szenario[20];
    char username="***********";
    MYTYPE *MyPtr;
    EXEC SQL END DECLARE SECTION;
    Transaction::.....several class encodings..........
    Transaction::.....several class encodings..........
    =============================================================
    By the way, i figured out so many different settings and
    alternative code placements now, I satisfy all guidelines of
    the Pro*C-Programmers Guide, but I don't get that stuff running!
    I'd appreciate any help!
    Regards,
    Wilfried

    When I first ran into this problem I scoured this forum and found the usual suspects (add the proper path to the pcscfg file by doing a "find /usr -name stddef.h -print"). Assuming that you did this and changed the reference from Suse to your distribution you can move to the next point.
    I did this and still ran into problems. It turns out that with my distribution and version (Mandrake 8.1), I needed to reference the egcs version of these includes which were not installed by default. I needed into install the egcs packages. After this I had two references to stddef.h in my usr/include path. One was quite obviously the egcs version. I needed to use that one. It cleared up the problem.
    [jflynn@CN83845-A /]$ find /usr/lib -name stddef.h -print
    /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/include/stddef.h
    /usr/lib/gcc-lib/i586-mandrake-linux-gnu/egcs-2.91.66/include/stddef.h
    so I modified the pcscfg file as:
    sys_include=(/usr/include,/usr/lib/gcc-lib/i586-mandrake-linux-gnu/egcs-2.91.66/include)

  • ORA-39070 Error  when using datapump and writing to ASM storage

    I am able to export data using datapump when i write to a file system. However, when i try to write to an ASM storage, i get the following errors.
    ORA-39002: invalid operation
    ORA-39070: Unable to open the log file.
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 536
    ORA-29283: invalid file operation
    below are the steps i tooks.
    create or replace directory jp_dir2 as '+DATA/DEV01/exp_dir';
    grant read,write on directory jp_dir2 to jpark;
    expdp username/password schemas=testdirectory=jp_dir2 dumpfile=test.dmp log=test.log
    Edited by: user564785 on Aug 25, 2011 6:49 AM

    google: expdp ASM
    first hit:
    http://asanga-pradeep.blogspot.com/2010/08/expdp-and-impdp-with-asm.html
    "Log files created during expdp cannot be stored inside ASM, for log files a directory object that uses OS file system location must be given. If not following error will be thrown
    ORA-39002: invalid operation
    ORA-39070: Unable to open the log file.
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 536
    ORA-29283: invalid file operation
    "

  • REP-0713 error when using r25run32 and command line

    Help,
    I have what seems to be a very strange problem. I have the following
    command line saved as a batch file called Test.bat. If I double-click on it
    or run it from the command prompt, it works fine - it runs a report and
    prints it.
    d:\orant\bin\r25run32.exe report=test1.rep userid=user1/user1@testdb
    paramform=no destype=printer desname="HP" desformat=dflt printjob=no
    However, if I use a program scheduler, it crashes with the error:
    "REP-0713: Invalid printer name 'HP' specified by parameter name DESNAME"
    I have tried Norton Scheduler, NT AT command, as well as a couple other
    shareware programs. All crash with this error. If I use background=yes,
    again it works if I run it, but when a scheduler starts it, the Report
    Server crashes. Instead, if I use batch=yes, it just crashes after a few
    seconds.
    If I use printjob=yes, the printer dialog pops up, I press OK, and it works
    fine. I have tried outputting to a PDF file, but again, it works if I run
    the batch file, but not when a scheduler does.
    I am using Reports 2.5, Oracle 7.1, NT4 SP6. I have also tried the Reports
    3.0 runtime (r30run32) with the same results. I just need to run/print a
    report automatically every day.
    Any ideas are greatly appreciated, Thanks.
    Jason
    null

    I just concatenate them , for example if my key fields of the table are document number and item number , i concatenate them and put it in the key_column.
    How do i read them in my oninputprocessing.
    data: tv type ref to cl_htmlb_tableview.
      tv ?= cl_htmlb_manager=>get_data(
                              request      = runtime->server->request
                              name         = 'tableView'
                              id           = 'test' ).
      if tv is not initial.
        data: tv_data type ref to cl_htmlb_event_tableview.
        tv_data = tv->data.
    <document no.> = tv_data->selectedrowkey+0(10) .
    <item no.>   = tv_data->selectedrowkey+10(5) .
    if i need more info then i read the itab with key document number = <document no.> and
    item number     = <item no.>
    Hope this is clear.
    Regards
    Raja

  • Cfc error when using Flex and RemoteObject (cross post)

    I have Flex 3.0.214193 and CF 8,0,0,176276 and Oracle
    10.2.0.3.
    I've been search for several days for an answer to this one.
    There is very little out there about this type of error, but then
    there is very little about any problems with Flex and ColdFusion.
    In Flex, I have two comment fields. the .cfc has two update
    functions that update the comments, because they are in two
    different tables. The first update works like a champ. The second
    one consistantly shows this error in the CF application log: The
    NEWENGREMARK parameter to the updateEng function is required but
    was not passed in. I've used the Alert.Show to verify that Flex
    does have a value in that variable when it calls the .cfc. I've
    even tried passing the first variable that worked in the first
    update, and even a litteral value. Everything yields the same
    cryptic error message. I must be looking at the wrong thing.
    The only things I've found on the web about this, say the
    variables should have a scope (is that a scope in Flex or in the
    .cfc) and the column names should be in upper case (because it's
    Oracle).
    Here's the .cfc code (is that where the error is, or is it in
    Flex?). The UpdateDescription function works, but the UpdateEng
    doesn't.
    Thanks for any help, or spelling errors you can point out.
    Scott

    Ian,
    I also heard about the case thing. So I tried everything in
    upper case and lower case - same thing. In my experimenting, I
    tried adding the newENGRemark parameter to the descriptionUpdate
    function call, I didn't do anything with it is the .cfc just
    declared it as required. In that case the parameter exists and
    everything is fine. But in the call to the UpdateEng, it doesn't
    exist.
    I changed the .cfc so that the newENGRemark was not required
    or had a default. In both cases the .cfc just skipped to the next
    parameter and said it didn't exist. But I was passing a litteral,
    it wasn't even a variable.
    I created a .cfm page that did a cfinvoke on the .cfc, and
    passed it two litterals. That worked fine. So that makes it look
    like some sort of syntax error in the Flex. So I deleted the call
    to the UpdateENG, copied the UpdateDescription call (because it
    works), changed just the minimum to make it work, but it didn't
    work.
    I think I am going to restructure the database so that I can
    do what I need to with just one update function, that seems to
    work.
    It still doesn't make any sense.
    Scott (Flex code is attached)

  • Error when using Tomcat and JavaWebStart

    I got the following message:
    ========================================
    An error occurred while launching/running the application.
    Title: Notepad
    Vendor: Sun Microsystems, Inc.
    Category: Download Error
    Bad MIME type returned from server when accessing resource: http://c152:8080/test.jnlp - text/plain
    ========================================
    It worked fine for http://c152:8080/notepad.jnlp
    Could any one help me?

    This got solved from a previous post by izhidov :
    This person wrote:
    "Regarding Tomcat and JNLP/MIME conflict, I've read on Tomcat users list archive that the mime types should be specified in the APPLICATION web.xml file under WEB-INF dir. Seems to work great".
    Thanks.

  • Error when use FamilyStep and TopBottomStep together

    I want to specify all Children of one member based on the top data values in a particular measure.
    I used TopBottomStep following FamilyStep, Specifying the Action for Steps as Step.KEEP.
    But the code as following occurred Exception BIB-9527.
    <orabi:Presentation id="topbottom_Presentation" location="topbottom" />
    <%
    Query objTableQuery =(Query)topbottom_Presentation.getModel().getDataSource();
    MetadataManagerServices metadataService = objTableQuery.getMetadataManager();
    String strDimensionUniId = objTableQuery.getLayout()[1][0];
    MDDimension objDimension = metadataService.getDimensionByUniqueID(strDimensionUniId);
    MDHierarchy objHierarchy = objDimension.getDefaultHierarchy();
    String strHierarchyUniId = objHierarchy.getUniqueID();
    Selection objSelection = objTableQuery.findSelection(strDimensionUniId);
    objSelection.setHierarchy(strHierarchyUniId);
    String strMemberValue = "2003Q1";
    java.util.Vector objFamilyValues = new java.util.Vector ();
    objFamilyValues.addElement (strMemberValue);
    FamilyStep objFamilyStep = new FamilyStep ( strDimensionUniId, strHierarchyUniId, FamilyStep.OP_DESCENDANTS, objFamilyValues, true);
    objFamilyStep.setAction (Step.KEEP);
    int iStepCount = objSelection.addStep(objFamilyStep);
    System.out.println("Dimension:"+strDimensionUniId+" Add FamilyStep");
    String strMeasureUniId = objTableQuery.getMeasures()[0];
    String strLevel = objHierarchy.getLevels()[1].getUniqueID();
    java.util.Vector m_levels = new java.util.Vector();
    m_levels.addElement(strLevel);
    int iTopFlag = TopBottomStep.TOP;
    int iTopPosition = 10;
    TopBottomStep objTopBottomStep = new TopBottomStep(strDimensionUniId, strHierarchyUniId,
    m_levels, strMeasureUniId,
    iTopFlag, new Integer(iTopPosition), false);
    objTopBottomStep.setAction (Step.KEEP);
    int iTotalStep = objSelection.addStep(objTopBottomStep);
    System.out.println("Dimension:"+strDimensionUniId+" Add TopBottomStep");
    objTableQuery.applySelection(objSelection );
    %>
    </orabi:BIThinSession>
    oracle.dss.dataSource.common.OLAPTransactionException: BIB-9527 �޷�׼�� OLAP ������
    oracle.express.olapi.data.full.ExpressNotCommittableException������: δ֪����
    ���������˵��:
    DPR: ����δ֪����, һ�� λ�� TxsOqDefinitionManager::prepare
    oracle.express.olapi.data.full.ExpressNotCommittableException������: δ֪����
    ���������˵��:
    DPR: ����δ֪����, һ�� λ�� TxsOqDefinitionManager::prepare
         void oracle.dss.dataSource.QueryUtilities.commit(boolean)
              QueryUtilities.java:143
         oracle.express.olapi.data.full.ExpressSpecifiedCursorManager[] oracle.dss.dataSource.QueryUtilities.setUpCursors(oracle.dss.dataSource.SourceTemplate[], oracle.dss.dataSource.common.CubeCursor[], oracle.olapi.data.source.Source[], oracle.express.olapi.data.full.ExpressSpecifiedCursorManager[], boolean, boolean, boolean, boolean)
              QueryUtilities.java:331
         oracle.express.olapi.data.full.ExpressSpecifiedCursorManager[] oracle.dss.dataSource.QueryServer._setUpCursorsForMainQuery(oracle.dss.dataSource.SourceTemplate[], oracle.dss.dataSource.common.CubeCursor[], boolean, boolean, boolean, boolean)
              QueryServer.java:6996
         void oracle.dss.dataSource.QueryServer._getCursorForCube(oracle.dss.dataSource.common.DimTree, boolean, boolean, boolean, boolean, boolean)
              QueryServer.java:4056
         void oracle.dss.dataSource.QueryServer._updateCube(oracle.dss.selection.Selection[], java.lang.Object, boolean, boolean, boolean)
              QueryServer.java:4013
         void oracle.dss.dataSource.QueryServer._applySelections(oracle.dss.selection.Selection[], oracle.dss.util.Operation, oracle.dss.dataSource.common.QueryState)
              QueryServer.java:2621
         java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
              native code
         java.lang.Object oracle.dss.util.Operation.execute(java.lang.Object)
              Operation.java:69
         java.lang.Object oracle.dss.dataSource.OperationQueue.update()
              OperationQueue.java:68
         java.lang.Object oracle.dss.dataSource.common.BaseOperationQueue.addOperation(oracle.dss.util.Operation, int)
              BaseOperationQueue.java:176
         java.lang.Object oracle.dss.dataSource.common.BaseOperationQueue.addOperation(oracle.dss.util.Operation)
              BaseOperationQueue.java:146
         java.lang.Object oracle.dss.dataSource.QueryServer.queueOperation(java.lang.String, oracle.dss.util.Parameter[], boolean, oracle.dss.dataSource.common.QueryEvent, java.lang.String, oracle.dss.util.Parameter[], oracle.dss.dataSource.common.QueryState)
              QueryServer.java:7033
         void oracle.dss.dataSource.QueryServer.applySelection(oracle.dss.selection.Selection)
              QueryServer.java:2152
         java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
              native code
         java.lang.Object oracle.dss.util.Operation.execute(java.lang.Object)
              Operation.java:69
         java.lang.Object oracle.dss.dataSource.QueryManagerServer.sendQueue(oracle.dss.dataSource.common.BaseOperationQueue)
              QueryManagerServer.java:1442
         java.lang.Object oracle.dss.dataSource.common.OperationQueue.update()
              OperationQueue.java:198
         java.lang.Object oracle.dss.dataSource.common.BaseOperationQueue.addOperation(oracle.dss.util.Operation, int)
              BaseOperationQueue.java:176
         java.lang.Object oracle.dss.dataSource.common.BaseOperationQueue.addOperation(oracle.dss.util.Operation)
              BaseOperationQueue.java:146
         java.lang.Object oracle.dss.dataSource.common.OperationQueue.addOperation(oracle.dss.util.Operation, oracle.dss.dataSource.common.EventList)
              OperationQueue.java:127
         void oracle.dss.dataSource.client.QueryClient.applySelection(oracle.dss.selection.Selection)
              QueryClient.java:968
    Who can help me?
    Thanks!

    Hi,
    Are you trying to create a selection on the Time dimension?
    Select descendants of Q1, 2003
    Keep top 10 months based on Sales for ...
    First of all, you ned to specify the QDR for your measure in the top bottom step.
    Also, your first step always has to have the action Step.SELECT.
    What is your Time hierarchy? It looks like you ae trying to select descendants of a quarter level, and the keep at the level 1 - what level is that? Can you list your Time levels please?
    Here is an example of creating a QDR:
    // Create a QDR that qualifies Sales to
    // Time: January 2001, Geography: World, Channel: Retail.
    OlapQDR qdr1 = new OlapQDR(strSalesMeasureDim);
    qdr1.addDimMemberPair(strTimeDim, "JAN01");
    qdr1.addDimMemberPair(strGeogDim, "WORLD");
    qdr1.addDimMemberPair(strChannelDim, "RETAIL");
    qdr1.addDimMemberPair(strSalesMeasureDim,strSalesMeasure);
    Hope this helps
    Katia

  • Getting the -18001 error when using TestStandLVRTS

    I have developed my TestStand (v2.0) test sequences based on the LabVIEW adaptor. Everything runs well with the labVIEW development system. However, when I switch the labVIEW adaptor to the LabVIEW runtime server such as the TestStandLVRTS, I got the -18001 Error from the TSAPI with the message of "Unable to launch 'TestStandLVRTS.Application' ActiveX automation server".
    I have tried all the suggested fixes described in the article "-18001 Errors When Using TestStand and LabVIEW". The error still persists.
    Could you help me to solve this problem? Without this problem being solved, we will not be able to deploy our test sequences.

    Hello HCL -
    Below I have attached my version of the 6.1 built TestStandLVRTS folder. If you are using the build file provided in this folder when re-compiling your run time server, you should be seeing the .tlb file being auto-generated. Verify that you are using the build file that ships with TestStand and that under application settings that you have the 'Enable ActiveX server' checkbox enabled.
    There are no known bugs with LabVIEW 6.1 related to problems launching the TestStandLVRTS.exe, and given the good behavior I have seen between the two products here on the test machines, I am interested in seeing first if the problem lies with the executable and then we will try and troubleshoot your particular system.
    --Regards
    Elaine R.
    National Instruments
    http://www.ni.com/ask
    Attachments:
    LabVIEW.zip ‏227 KB

  • Weblogic 9.2 error when using spring framework and taglibs.

    I am getting the following error when using spring binding for a command form class.
    Class ExCommandForm
    private String firmCode;
    public String getFirmCode ()
    public void setFirmCode ()
    In my jsp I have the following
    <spring:bind path="exCommandForm.firmCode">
    <input name="<c:out value="${status.expression}"/>" type="text" value="<c:out value="${status.value}"/>" >
    </spring:bind>
    Ps. exCommandForm is the commandForm declaration in my SiimpleFormController.
    When I deploy the application to weblogic 9.2 I get the following error :
    <Apr 26, 2007 4:34:44 PM BST> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.int
    ernal.WebAppServletContext@1f601c6 - appName: 'BDRui', name: 'BDRui', context-pa
    th: '/BDRui'] Root cause of ServletException.
    java.lang.ClassCastException: javax.servlet.jsp.jstl.core.LoopTagSupport$1Status
    at jsp_servlet._web_45_inf._jsp.__tradesearch._jspService(__tradesearch.
    java:1075)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
    (StubSecurityHelper.java:225)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
    tyHelper.java:127)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:283)
    Ps. Deploying application on Tomcat 5.23 works.
    Can anyone help on this ?
    cheers in advance.
    More Info - Using Weblogic 9.2 on UNIX, servlet 2.4, jstl 1.1
    regards
    Edited by kings_citi at 04/26/2007 9:03 AM
    Edited by kings_citi at 04/26/2007 10:35 AM
    Edited by kings_citi at 04/26/2007 10:36 AM

    The problem doesn't look like it has anything to do with wappers per se. The stack indicates that the JVM died when the persistent store tried to invoke a standard Java synchronize operation. JVM crashes need to be analyzed by a JVM expert, so I second the suggestion to solicit help from JVM experts and/or filing a case with customer support. In the mean-time, you can probably work-around the issue by either (A) ensuring you have a recent version of the JVM installed, or (B) temporarily switching to the Sun JVM.
    Regards,
    tom
    Edited by: TomB on Sep 17, 2010 2:33 PM

  • Dreamweaver CC generates one of 3 error messages when using find and replace on Win 8.1 64 bit.

    Dreamweaver CC generates one of 3 error messages when using find and replace is used more than twice in succession. "While executing onLoad in bc_afterSave.htm, the following JavaScript error(s) occurred: At line 188 of file C:\Program Files (x86)\Adobe|Adobe DreamweaverCC|Configuration|Shared|BC\JS\bc_sites.js": out of memory"
    or
    While executing runCommand in File_Save.htm, a JavaScript erroroccurred.
    or
    While exciting getDynamicContent inAdressURL.htm, a Javascript erroroccirred.
    Any thoughts - I end up closing DWCC and reopening. Will work for two additional Find and Replace before the error messaged\s popup again.

    bkaufman43 wrote:
    Thanks Jon. I tried all of those solutions before posting. Same problem. It seems that the problem is tied to DWCC. Do not have the problem when using DW6 on Win8.1. When running DWCC on a Win7 pc, we get the same error message. When running DW6 on Win 7, f&c works fine. It seems to be a bug in DWCC. DWCC works flawlessly on our Macs.
    The same steps apply to DWCC, you just need to choose the CC folders rather than the DWCS4-6 versions that the page talks about. The layout of CC's folders hasn't changed from the older versions which is why, I think, Adobe hasn't updated the troubleshooting page as of yet.
    As Nancy mentions, a 38,500 page site is sort of ridiculously large for a static website, that could be part of the problem, but your response quoted above leads me to think you may have tried the troubleshooting steps in the wrong version of the program. Could you confirm that?

  • "Could not complete scan" error when using Windows Fax and Scan

    "Could not complete scan" error when using Windows Fax and Scan with a HP OfficeJet Pro 8600 Plus All-In-One network printer.
    Printing is fine.
    When using the HP Scan application, get the error "Scanner communication cannot be established".
    When scanning from the printer itself it fails with the same message. In addition the printer panel displays the error:
    "The scan could not be completed due to one or more of the following issues:
    Connection to the computer is lost
    The scanner is in use
    OCR application is not installed"
    My PC is a HP Compaq Pro 6300 SFF 64bit, with ethernet cable to the router and ethernet cable to the printer
    Originally ran Windows 8.0; recently upgraded to Windows 8.1.
    Older separate Netgear router and modem was replaced with a newer Netgear Router/Modem, but both experienced the same problem.
    There was no problem with the original Windows 8.0 configuration and only after upgrading to 8.1 did the problem emerge.
    On my home netowrk I have an HP ProBook 6550b running Windows 7 sp1 that uses wireless to get to the Router, and it has no problem with scanning.
    I have followed the recommendations of a number of articles relating to this issue (including: http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&​lc=en&docname=c02915410&product=4323659#N94), but there has been no change in behaviour.
    The printer has a static IP address;
    Power settings have been adjusted to Never for Turn off Hard Disk; Sleep and Hybrid Sleep.
    Scanning has been tested with all firewalls and antivirus turned off and in Selective Startup.
    The printer has been plugged directly into the power socket.
    With all these settings the Windows 8.1 cannot scan while the Windows 7 laptop with wireless to the router has no problems.
    Appreciate any insights into this problem.
    I can only surmise that the problem is a compatibility problem between the 8600 Printer and Windows 8.1.
    Any ideas?
    regards,
    Motorbike

    You can determine if there is compatiblity between the printer and PC by checking the Windows 8.1 hardware compatibility list. I have done that and it is shown to be fully compatible.  If the driver you installed before was only the basic driver,it would explain the lack of scan and copy functionality.
    Download and install the Windows 8.1 full feature driver and software on the HP Compaq Pro 6300 SFF 64bit PC . 
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloa​dIndex?softwareitem=bi-108858-4&cc=us&dlc=en&lc=en​...
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • FSG Error when using segment override

    Hi,
    I have the following error when using segment override :
    General Ledger: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    RGRARG module: Financial Statement Generator
    +---------------------------------------------------------------------------+
    Current system time is 26-APR-2012 11:17:22
    +---------------------------------------------------------------------------+
    Starting Program RGRARG.
      Arguments are:
        0   RGRARG                    - RGRARG
        1   username/password         - username/password
        2   0                         - 0
        3   Y                         - Y
        4   Data Access Set ID        - 1030
        5   Chart of Accounts Id      - 101
        6   ADHOC Prefix              - FSG-ADHOC-
        7   Industry                  - C
        8   Flex Code Id              - GLLE
        9   Default Ledger ID         -
       10   Report ID                 - 1011
       11   Row Set ID                - 3461
       12   Column Set ID             - 1018
       13   Period of Interest        - SEP-11
       14   Unit of Measure ID        - IDR
       15   Rounding Option           - C
       16   Override Values           - ----DIV3---000000
       17   Content Set ID            -
       18   Row Order ID              -
       19   Report Display Set ID     -
       20   Output Option             - R
       21   Exceptions Flag           - N
       22   Miniumum Display Level    -
       23   Effective Date            -
       24   Parameter Set ID          - 1011
       25   Maximum Page Length       - 58
       26   Sub-Request Run ID        - -998
       27   Application Shortname     - SQLGL
    Message level is: Normal
    rgrini() 26-APR-2012 11:17:22 rgrini.build_per_arr:
    Query for period set name from GL_ACCESS_SETS
    SELECT  period_set_name
    FROM GL_ACCESS_SETS
    WHERE access_set_id = 1030
    rgrini.build_per_arr:
    period set name from GL_ACCESS_SETS:
    ACCOUNTING
    rgrini.build_per_arr:
    Query for period names from GL_PERIODS
    SELECT  period_name,
        to_number(to_char(end_date,'YYYYMMDD'))
    FROM GL_PERIODS
    WHERE period_set_name = :p_value
    ORDER BY NLSSORT(period_name,'NLS_SORT=BINARY') ASC
    control->report_id = 1011
    control->row_set_id = 3461
    control->column_set_id = 1018
    control->row_order_id = 0
    control->content_set_id = 0
    control->display_set_id = 0
    control->parameter_set_id = 1011
    control->resp_lvl = 0
    control->round_option = C
    control->output_option = R
    control->excp = FALSE
    control->sub_req_run_id = -998
    control->appl_id = 101
    control->id_flex_code = GLLE
    control->ldg_val_set_id = 1010673
    control->ledger_id = 0
    control->ledger_name =
    control->ledger_currency =
    control->access_set_id = 1030
    control->security_segnum = 0
    control->per_cnt = 162
    control->runtime_currency = IDR
    control->resp_id = 50386
    control->resp_appl_id = 101
    control->enforce_security = TRUE
    control->sec_rules = NULL
    control->reduced_ranges = NULL
    control->num_reduced_ranges = 0
    control->max_char_width = 1
    control->total_num_cols = 0
    control->page = NULL
    << rgrini() 26-APR-2012 11:17:22
    rgranl() 26-APR-2012 11:17:22Current date and time:  Thu Apr 26 11:17:22 2012
    rgrgsa() 26-APR-2012 11:17:22
    << rgrgsa() 26-APR-2012 11:17:22
    rgrdrs() 26-APR-2012 11:17:22req_id_str =
    809694
    rgrdpg.rgrdpg: Unable to read value for profile option RG_DEBUG_ON..
    rgrprt.rgrprt: Defaulting value for profile option RG_DEBUG_ON to FALSE..
    rgrgas() 26-APR-2012 11:17:22 Entering code to get axis set 1018
    << rgrgas() 26-APR-2012 11:17:22
    rgrgas() 26-APR-2012 11:17:22 Entering code to get axis set 3461
    << rgrgas() 26-APR-2012 11:17:23
    rgrgrp() 26-APR-2012 11:17:23
    << rgrgrp() 26-APR-2012 11:17:23
    COA Structure :
    Segment: LEDGER_SEGMENT : Ledger
    Segment: SEGMENT1 : COMPANY
    Segment: SEGMENT2 : ACCOUNT
    Segment: SEGMENT3 : PRODUCT
    Segment: SEGMENT4 : DIVISION
    Segment: SEGMENT5 : DEPOT
    Segment: SEGMENT6 : COST CENTER
    Segment: SEGMENT7 : FUTURE
    Segment value security is enforced for Financial Statement Generator reporting.
    rgrrsr() 26-APR-2012 11:17:23
    rgrrsf() 26-APR-2012 11:17:23
    << rgrrsf() 26-APR-2012 11:17:23
    << rgrcrl() 26-APR-2012 11:17:23
    << rgrrsr() 26-APR-2012 11:17:23
    rgrpsr() 26-APR-2012 11:17:23The COMPANY segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set.  All COMPANY values will be processed.
    The ACCOUNT segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set.  All ACCOUNT values will be processed.
    The PRODUCT segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set.  All PRODUCT values will be processed.
    The DIVISION segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set.  All DIVISION values will be processed.
    The DEPOT segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set.  All DEPOT values will be processed.
    The COST CENTER segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set.  All COST CENTER values will be processed.
    The FUTURE segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set.  All FUTURE values will be processed.
    << rgrpsr() 26-APR-2012 11:17:23
    rgrdrs.rgrdrs: Getting value for profile option EXPAND_PARENT_VALUE equal No.
    PERF0005: Oracle error detected in get_def_ldgs - ORA-01403: no data found
    <x get_def_ldgs() 26-APR-2012 11:17:24
    <x get_def_ldgs() 26-APR-2012 11:17:24
    rgrgax() 26-APR-2012 11:17:24 rgrgax:get_axes
    Starting axis query.
    rgumsg:
    fdnwsc() is used by default
    rgrgax.get_conts - Prepare:
    ORA-00936: missing expression
    Current date and time:  Thu Apr 26 11:17:24 2012
    Entered sauulc with code 1 from line 3333 of file rg/lib/rgrgax.c.
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    Executing request completion options...
    Output file size:
    0I have followed the following notes but it didn't help me
    R12: FSG: PERF0005 Error Detected In GET_DEF_LDGS - ORA-01403: No Data Found Common Issues [ID 1368691.1]
    Generating a FSG Report Application Does Not Find Profile Values for RG_LOGFILE_DETAIL_LEVEL and EXPAND_PARENT_VALUE [ID 165339.1]
    does anyone know how to solved the problem ??
    please advise
    thx

    I have followed the following notes but it didn't help me
    R12: FSG: PERF0005 Error Detected In GET_DEF_LDGS - ORA-01403: No Data Found Common Issues [ID 1368691.1]
    Generating a FSG Report Application Does Not Find Profile Values for RG_LOGFILE_DETAIL_LEVEL and EXPAND_PARENT_VALUE [ID 165339.1]
    does anyone know how to solved the problem ??If none of the docs help, please log a SR.
    Thanks,
    Hussein

Maybe you are looking for

  • Logical Component

    Friends,    In the solution manager Business Blue Printing....    I can see Business Processes with Logical Components attached to it.    There are various instances wherein there are some business processes with SAP R/3 4.7. There are some with ECC

  • What is better? 1xSSD+4xHDD vs. 2xSSD+2xHDD

    I'm thinking of buying a new workstation for Adobe Premiere (and sometimes After Effects). Considering my budget, I have two options to choose from: either to buy 2 x SSD + 2 x HDD or 1 x SDD + 4 x HDD. I've prepared two setups and I wonder which one

  • Error itms-9000: files not listed in the opf manifest .ibooks:/OPS/assets/widgets/???????????????.dae

    I try to publish my book create with ibooks author( with publish button) and in delivery(using itunes producer) process a itms-9000 errror cancel the whole thing. To be accurate a big list of itms-9000 errors which contains the message: ERROR ITMS-90

  • Inventory system

    hi, im not familiar using jdbc, my question is, is it possible to use java and mysql in my inventory system and connecting it to a barcode reader?!? what will be the steps?!? this will be a GUI based application.. im confused what will i use, java or

  • Distinct and Unique

    hii, Is there any difference between distinct and unique in sql...