Import Workspace Error -  WWV_FLOW_API#G_ID_OFFSET' must be declared

Whenever I try to import a Workspace from an dos export file I get the following error.  Any ideas?
Application Express 4.2.2.00.11
Oracle Database EE 11.2.0.2
Execution of the statement was unsuccessful. ORA-06550: line 3, column 4: PLS-00201: identifier
'WWV_FLOW_API#G_ID_OFFSET' must be declared ORA-06550: line 3, column 4: PL/SQL: Statement ignored
begin
wwv_flow_api#g_id_offset := 0;
wwv_flow_hint.g_schema := 'MYUSER';
wwv_flow_hint.check_schema_privs
end;
ORA-06550: line 3, column 4: PLS-00201: identifier 'WWV_FLOW_API#G_ID_OFFSET' must be declared ORA-06550: line 3, column 4: PL/SQL: Statement ignored

Is there a certain user that the script needs to be run as.  When I just ran the script as SYS I get the following error:
SQL> @storepage.sql
WORKSPACE 2146208538698704
Creating workspace STOREPAGE...
Creating Groups...
Creating Users...
Check Compatibility...
wwv_flow_team_api.check_version(p_version_yyyy_mm_dd=>'2010.05.13');
ERROR at line 3:
ORA-06550: line 3, column 1:
PLS-00201: identifier 'WWV_FLOW_TEAM_API.CHECK_VERSION' must be declared
ORA-06550: line 3, column 1:
PL/SQL: Statement ignored
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64
bit Production
With the Partitioning option

Similar Messages

  • Facing error 'client_ole2.object_type must be declare'

    Hi All,
    I have a form in 6i which generate data in MS-Excel and I have migrated that form into 10g,
    I have configure Webutil also and attached that on my form
    and it is working fine on client machine but when I try to run that form on application server
    then it is not runing.
    Then I search that problem on oracle below site.
    http://www.oracle.com/technology/products/forms/htdocs/webutil/howto_ole.html
    according to that site, I have to replace all OLE2 with CLIENT_OLE2
    I have done that but it is showing an error "CLIENT_OLE2.OBJECT_TYPE" must be declared.
    One of my friend send me a Excel generate 10g form, he is using that form in his company,
    but there is a canvas by name WEBUTIL, I am unable to understand why is he using that.
    So Please help me to solve that problem.
    Thanks

    hi Mohan
    for the first qusetion to use client_ole2 in your code you need
    1- configure webutil
    if you are working on forms 10g you can find the configuration on this link
    http://www.4shared.com/document/CYNnISHe/webutil_final.html
    2- attach webutil.pll in your form
    3- attach webutil object in your form
    for the second question
    we use client_ole2 instead of ole2 because client_ole2 open the file at the client machine not at the application server
    for example
    if you want to generate excel\word file by ole2 the code will work and the file wil be generated on the application server
    but when you use the clinet_ole2 and you push the button at the client mashine the file will generated at the client machine.
    that's the diffrence
    Respectfully
    Khaled Farouk

  • JAVA createProcess(..) error 'WF_ENGINE.CREATEPROCESS' must be declared

    I'am trying to use the WF's JAVA API to initiate a workflow process but every time I execute my class I get the same error "'WF_ENGINE.CREATEPROCESS' must be declared". I declared the selector procedure manually in the WF_REQ... PL/SQL package to return from an external JAVA class to WF and I guess that this is the right place to add the CREATEPROCESS(). My questions are - what should the WF_ENGINE.CREATEPROCESS() include? Are there any easier or automatical ways to overcome these missing packages problems? Why is the JAVA API an API when I have to add manually PL/SQL packages? Thank you.

    It seems that I found the solution to my problem. The answer lies in the missing xmlplsql.jar, xmlparserv2.jar and sql files, which were not installed to database during the initial installation. Loadjava-d them and everything seems to work fine.

  • Non critical error: MGMT_CNRT_TT.CLEAN_UP_OLD_TICKETS_RECS must be declared

    Hello!
    I'm upgrading from EMGC 10.2.0.1.0 to 10.2.0.3.0. When applying the patch for Linux x86, the upgrade process works fine, but some errors appears at the "alert" log.
    The errors are something like "MGMT_CNRT_TT.CLEAN_UP_OLD_TICKETS_RECS must be declared". Does anybody know why this errors appear, and what does they mean?
    Thanks a lot in advance form your help!!!
    HeCSa.

    I've got 18 jobs in dba_jobs:
    SQL> select job, log_user, schema_user, broken from dba_jobs;
    JOB LOG_USER SCHEMA_USER B
    102 SYSMAN SYSMAN N
    103 SYSMAN SYSMAN N
    104 SYSMAN SYSMAN N
    105 SYSMAN SYSMAN N
    106 SYSMAN SYSMAN N
    107 SYSMAN SYSMAN N
    108 SYSMAN SYSMAN N
    109 SYSMAN SYSMAN N
    110 SYSMAN SYSMAN N
    111 SYSMAN SYSMAN N
    112 SYSMAN SYSMAN N
    78 SYS SYSMAN Y
    96 SYSMAN SYSMAN N
    97 SYSMAN SYSMAN N
    98 SYSMAN SYSMAN N
    99 SYSMAN SYSMAN N
    100 SYSMAN SYSMAN N
    101 SYSMAN SYSMAN N
    18 rows selected.
    I've seen other threads mention between 16 + 20 ish.
    I'll have a look at the doc you suggest.
    Thanks.
    Ric.

  • Importing workspace error

    Hi ,
    I am trying to import a workspace but I get the error :
    GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 2, column 5: PLS-00114: identifier 'WWV_FLOW_API#SET_SECURITY_GROU' too long
    However I am doubting that this could be a version issue since the workspace was created in apex ver 3.2 while I'm trying to import it into apex ver 3.0 .
    I just wanted to confirm that this is not possible and hence posting this question.Also if it is surely an version issue even importing applications will not be possible ?
    I would appreciate if there is any workaround.
    Thanks in advance,
    Dippy

    I haven't seen this error yet, but it is not possible to import applications/workspaces in a lower APEX version environment.
    So you can't import 3.2 applications into 3.0.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at
    Training: http://www.click-click.at/apex-4-0-workshops

  • DBMS_XMLSCHEMA.REGISTERSCHEMA' must be declared

    Hi,
    I'm new to Oracle XMLDB. I tried to register a schema but got this error:
    DBMS_XMLSCHEMA.REGISTERSCHEMA' must be declared
    I installed 9.2.0.4.0 patch just last week.
    Please advise. Thank you!

    $ sqlplus scott/tiger
    SQL*Plus: Release 9.2.0.6.0 - Production on Tue Sep 12 07:52:13 2006
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    SQL> select 1 from all_users where username = 'XDB';
             1
             1
    SQL> select 1 from all_users where username = 'FOO';
    no rows selected
    SQL>The script is on the server and has to run by someone with DBA privilige

  • Cannot compile form on unix. identifier 'CHECK_COMMIT' must be declared

    Hello
    I am getting the following error when I try to compile a form on unix. Error identifier 'CHECK_COMMIT' must be declared
    Compiling procedure DISPLAY_TAB...
    Compilation error on procedure DISPLAY_TAB:
    PL/SQL ERROR 201 at line 12, column 1
    identifier 'CHECK_COMMIT' must be declared
    PL/SQL ERROR 0 at line 12, column 1
    Statement ignored
    PL/SQL ERROR 201 at line 32, column 7
    identifier 'CHECK_COMMIT' must be declared
    PL/SQL ERROR 0 at line 32, column 7
    Statement ignored
    Compiling procedure SET_TAB_STATUS...
    No compilation errors.
    Compiling procedure SELECT_REQUESTOR...
    No compilation errors.
    Compiling procedure SELECT_ALT_REQUESTOR...
    No compilation errors.
    Form not created
    It seems to only occur where a program unit is calling a procedure in an attached library. All the libraries exist.
    my FORMS_PATH is set to
    /famisapps/fmsd/msd:/famisapps/fmsd/libs/:/apps3/famis/dev/forms:/famisapps/fmsd/forms
    All the libraries are in /famisapps/fmsd/libs/
    The forms are in /famisapps/fmsd/forms
    The library in question is called common.pll. I have renamed it COMMON.PLL, COMMON.pll and Common.pll
    Any help ideas would be apprecaited.
    David

    are you getting the same error when compiling from frmcmp.sh and from builder even after setting the FORMS_PATH ?
    with this make any difference FORMS_PATH
    changing
    /famisapps/fmsd/msd:/famisapps/fmsd/libs/:/apps3/famis/dev/forms:/famisapps/fmsd/forms
    to
    /famisapps/fmsd/msd:/famisapps/fmsd/libs:/apps3/famis/dev/forms:/famisapps/fmsd/forms

  • Error while import into 10g --- 'DBMS_EXPORT_EXTENSION' must be declared

    Hi,
    We are in a process to upgrade our database from Oracle 8.1.7 to Oracle 10.2.0
    We are upgrading our database and on the different machine.
    Setup pre-requsities for 10g rel2 has been done.
    And now I am import the data from the Export File (dump file).
    I am importing data schema wise one by one using Database Control EM available in 10g.
    Data of two schemas has been succesfully been imported.
    Now when i am trying to import the data for third schema i am gettting the following errors as below.
    Import parameters that i have used ::
    FILE=E:\EXP_FULL_PAY.DMP
    LOG=E:\IMPORT.LOG
    FROMUSER=PAY02
    TOUSER=PAY02
    TABLES=SYSMST
    GRANTS=y
    INDEXES=y
    ROWS=y
    CONSTRAINTS=y
    IGNORE=y
    SKIP_UNUSABLE_INDEXES=y
    DATAFILES=n
    Error Details ::
    Username:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V08.01.07 via conventional path
    Warning: the objects were exported by HP, not by you
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    export client uses WE8ISO8859P1 character set (possible charset conversion)
    export server uses WE8ISO8859P1 NCHAR character set (possible ncharset conversion)
    . importing PAY's objects into PAY
    . . importing table "SYSMST" 2 rows imported
    IMP-00058: ORACLE error 6550 encountered
    ORA-06550: line 1, column 11:
    PLS-00302: component 'DBMS_EXPORT_EXTENSION' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN SYS.DBMS_EXPORT_EXTENSION.SET_IMP_SKIP_INDEXES_OFF; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 1, column 12:
    PLS-00302: component 'DBMS_EXPORT_EXTENSION' must be declared
    ORA-06550: line 1, column 8:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN SYS.DBMS_EXPORT_EXTENSION.SET_IMP_SKIP_INDEXES_OFF; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 1, column 12:
    PLS-00302: component 'DBMS_EXPORT_EXTENSION' must be declared
    ORA-06550: line 1, column 8:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN SYS.DBMS_EXPORT_EXTENSION.SET_IMP_SKIP_INDEXES_OFF; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 1, column 12:
    PLS-00302: component 'DBMS_EXPORT_EXTENSION' must be declared
    ORA-06550: line 1, column 8:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN SYS.DBMS_EXPORT_EXTENSION.SET_IMP_SKIP_INDEXES_OFF; END;"
    This error goes into the infinite loop and at last shows the message as increase the flash recovery area size.
    Kindly provide the guidance...
    Regards

    Hi Nichols,
    As u have told that some reserved word must have been used as a database object name, but as i have also mentioned the name of table that is to be imported.
    i.e. "SYSMST" which i think so, it cannot be a reserved word
    Neither i can change the table name as it may generate further complications.
    And also when i havae refresh the Database Control EM page I am getting the following error ::
    Archiver is unable to archive a redo log because the output device is full or unavailable.
    Agent Connection to Instance :
    Status:: Failed
    Details ORA-00257:: archiver error. Connect internal only, until freed. (DBD ERROR: OCISessionBegin
    Kindly guide...
    Regards
    Milin
    Message was edited by:
    user640001

  • Procedure must be declared error

    I am trying to create an anonymous block that will invoke both the packaged procedure and function in the package to test, using basket id 12.
    Package
    CREATE OR REPLACE PACKAGE order_info_pkg IS
    FUNCTION C 
       (p_basket IN NUMBER)
       RETURN VARCHAR2;
    PROCEDURE basket_info_pp
      (p_basket IN NUMBER,
       p_shop OUT NUMBER,
       p_date OUT DATE);
    END;
    CREATE OR REPLACE PACKAGE BODY order_info_pkg IS
    FUNCTION SHIP_NAME_PF 
       (p_basket IN NUMBER)
       RETURN VARCHAR2
      IS
       lv_name_txt VARCHAR2(25);
    BEGIN
      SELECT shipfirstname||' '||shiplastname
       INTO lv_name_txt
       FROM bb_basket
       WHERE idBasket = p_basket;
      RETURN lv_name_txt;
    EXCEPTION
       WHEN NO_DATA_FOUND THEN
         DBMS_OUTPUT.PUT_LINE('Invalid basket id');
    END ship_name_pf;
    PROCEDURE basket_info_pp
      (p_basket IN NUMBER,
       p_shop OUT NUMBER,
       p_date OUT DATE)
      IS
    BEGIN
       SELECT idshopper, dtordered
        INTO p_shop, p_date
        FROM bb_basket
        WHERE idbasket = p_basket;
    EXCEPTION
       WHEN NO_DATA_FOUND THEN
         DBMS_OUTPUT.PUT_LINE('Invalid basket id');
    END basket_info_pp;
    END;
    /Anonymous black:
    VARIABLE G_IDSHOPPER NUMBER;
    VARIABLE G_DATE VARCHAR2(20);
    DECLARE
      LV_TEXT     VARCHAR2(50);
      LV_IDSHOPPER     NUMBER;
      LV_DATE     DATE;
    BEGIN
      LV_TEXT := ORDER_INFO_PKG.BASKET_INFO_PP(12, LV_IDSHOPPER, LV_DATE);
      DBMS_OUTPUT.PUT_LINE(LV_TEXT);
    End;
    /Getting:
    ERROR at line 6:
    ORA-06550: line 6, column 14:
    PLS-00201: identifier 'BASKET_INFO_PP' must be declared
    ORA-06550: line 6, column 3:
    PL/SQL: Statement ignored
    Can anyone assist?
    I have also tried this statement to test and could not get it even close to working.
    VARIABLE G_SHOP NUMBER;
    VARIABLE G_DATE DATE;
    VARIABLE G_NAME VARCHAR2(30);
    DECLARE
      LV_ORDERNAME VARCHAR2(30);
    BEGIN
    SELECT TO_CHAR(DTORDERED)
      INTO :G_DATE
       FROM BB_BASKET
        WHERE IDBASKET = P_BASKET;
    SELECT ORDER_INFO_PKG.BASKET_INFO_PP(12, :G_SHOP, :G_DATE)
      INTO LV_ORDERNAME
       FROM BB_BASKET
        WHERE  IDBASKET = P_BASKET;
    DBMS_OUTPUT.PUT_LINE(LV_ORDERNAME, :G_SHOP, :G_DATE);
    END;
    /ERROR at line 7:
    ORA-06550: line 7, column 22:
    PL/SQL: ORA-00904: "P_BASKET": invalid identifier
    ORA-06550: line 4, column 1:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 8, column 23:
    PL/SQL: ORA-00904: : invalid identifier
    ORA-06550: line 8, column 1:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 12, column 1:
    PLS-00306: wrong number or types of arguments in call to 'PUT_LINE'
    ORA-06550: line 12, column 1:
    PL/SQL: Statement ignored
    Edited by: user13842802 on Aug 6, 2012 5:53 PM

    Thanks for your response.
    SQL> DECLARE
      2    LV_TEXT VARCHAR2(50);
      3    LV_IDSHOPPER NUMBER;
      4    LV_DATE DATE;
      5  BEGIN
      6    ORDER_INFO_PKG.BASKET_INFO_PP(12, LV_IDSHOPPER, LV_DATE);
      7    LV_TEXT := order_info_pkg.C( 12 );
      8    DBMS_OUTPUT.PUT_LINE(LV_TEXT);
      9  End;
    10  /
      LV_TEXT := order_info_pkg.C( 12 );
    ERROR at line 7:
    ORA-06550: line 7, column 29:
    PLS-00302: component 'C' must be declared
    ORA-06550: line 7, column 3:
    PL/SQL: Statement ignoredIf i change line 7, to list it out:
    SQL> DECLARE
      2    LV_TEXT VARCHAR2(50);
      3    LV_IDSHOPPER NUMBER;
      4    LV_DATE DATE;
      5  BEGIN
      6    ORDER_INFO_PKG.BASKET_INFO_PP(12, LV_IDSHOPPER, LV_DATE);
      7    LV_TEXT := order_info_pkg.BASKET_INFO_PP(12, LV_IDSHOPPER, LV_DATE);
      8    DBMS_OUTPUT.PUT_LINE(LV_TEXT);
      9  End;
    10  /
      LV_TEXT := order_info_pkg.BASKET_INFO_PP(12, LV_IDSHOPPER, LV_DATE);
    ERROR at line 7:
    ORA-06550: line 7, column 14:
    PLS-00222: no function with name 'BASKET_INFO_PP' exists in this scope
    ORA-06550: line 7, column 3:
    PL/SQL: Statement ignoredIf I leave just the 12 value in, I get error:
    ERROR at line 7:
    ORA-06550: line 7, column 14:
    PLS-00306: wrong number or types of arguments in call to 'BASKET_INFO_PP'
    ORA-06550: line 7, column 3:
    PL/SQL: Statement ignored

  • Components must be declared error

    Hi all,
    I am facing problem in defining parameters in DT.
    I have made 2 parameters named var1 and var 2 in DT correspondingly in XDO and Package also.
    but when i am Viewing the Data in my report i get,Error like :
    The report cannot be rendered because of an error, please contact the administrator.
    Error Detail
    ORA-06550: line 2, column 17:
    PLS-00302: component 'VAR1' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    ORA-06550: line 3, column 17:
    PLS-00302: component 'VAR2' must be declared
    ORA-06550: line 3, column 1:
    PL/SQL: Statement ignored
    Following is my DT and Package spec and body.
    Data Template:
    <dataTemplate DataSourceRef="new_dsn" name="report" description="report" defaultPackage="PK_REPORT_NEW">
         <parameters>
              <parameter name="VAR1" dataType="character" defaultValue=""/>
              <parameter name="VAR2" dataType="character" defaultValue=""/>
         </parameters>
         <dataQuery>
              <sqlStatement name="Q1">
    select PK_REPORT_NEW.FUNC_REPORT('10','20') from dual
    </sqlStatement>
         </dataQuery>
         <dataStructure>
              <group name="report" source="Q1">
                   <element name="name" value="name"/>
                   <element name="designation" value="design"/>
                   <element name="salary" value="salary"/>
              </group>
         </dataStructure>
    </dataTemplate>
    Package Specification :
    CREATE OR REPLACE PACKAGE "PK_REPORT_NEW" AS
    FUNCTION FUNC_REPORT( var1 varchar2,var2 varchar2) RETURN CV_TYPES.GENTYPE;
    END;
    Package Body:
    CREATE OR REPLACE PACKAGE BODY "PK_REPORT_NEW" AS
    function FUNC_REPORT( var1 varchar2,var2 varchar2)
    return cv_types.gentype as
    CURSNAME CV_TYPES.GENTYPE;
    BEGIN
    BEGIN
    OPEN CURSNAME FOR
    SELECT name,var1,
    var2,
    FROM global_tab
    END;
    RETURN cursname;
    end FUNC_REPORT;
    END;
    Please help, its Urgent.Thanks in advance
    With regards,

    Use of a higher version of the expdp utility than the target database is know to result in this error.
    See Oracle support document: PLS-00302-SET_NO_OUTLINES must be declared When Using 10.2 Export Utility #339062.1
    Otherwise the target database Oracle version, utility version, and platform information is probably necessary to find the issue.
    HTH -- Mark D Powell --

  • Error: Element type "stateful-session-descriptor" must be declared ?

    Hi,
    while running the ant i am getting this error.
    jar_ejb:
    [jar] Building jar: D:\bdms\src\ejbdist\std_ejb_bdms_eapm.jar
    ejbc:
    [java]
    [java] ERROR: ejbc found errors while parsing the descriptor for src/ejbdis
    t/std_ejb_bdms_eapm.jar:
    [java]
    [java]
    [java]
    [java] ERROR: Error from ejbc: Error parsing file 'META-INF/weblogic-ejb-ja
    r.xml' at line: 394 column: 55. Element type "stateful-session-descriptor" must
    be declared.
    [java]
    [java]
    [java] ERROR: ejbc couldn't load descriptor from jar
    [java]
    [java] Java Result: 1
    Here with i have included the ejb-jar.xml & weblogic-ejb-jar.xml lines. I am using a service locator to call the ejb. please help me.
    ejb-jar.xml
    <session>
    <ejb-name>ValueListHandlerEJB</ejb-name>
    <home>com.pagination.ValueListHandlerEJBHome</home>
    <remote>com.pagination.ValueListHandlerEJBRemote</remote>
    <ejb-class>com.pagination.ValueListHandlerEJB</ejb-class>
    <session-type>Stateful</session-type>
    <transaction-type>Container</transaction-type>
    <resource-ref>
         <res-ref-name>jdbc/DataSource</res-ref-name>
         <res-type>javax.sql.DataSource</res-type>
         <res-auth>Container</res-auth>
    </resource-ref>
         </session>
    weblogic-ejb-jar.xml
    <weblogic-enterprise-bean>
    <ejb-name>ValueListHandlerEJB</ejb-name>
    <stateful-session-descriptor>
    <stateful-session-cache>
         <max-beans-in-cache>100</max-beans-in-cache>
         <idle-timeout-seconds>600</idle-timeout-seconds>
    </stateful-session-cache>
    </stateful-session-descriptor>
         <reference-descriptor>
    <resource-description>
              <res-ref-name>
    jdbc/DataSource
    </res-ref-name>
         <jndi-name>
    adslDataSource
    </jndi-name>
    </resource-description>
         </reference-descriptor>
         <enable-call-by-reference>True</enable-call-by-reference>
         <jndi-name>ValueListHandlerEJB</jndi-name>
    </weblogic-enterprise-bean>

    but a bean's deployment descriptor lies in the
    meta-inf folder, right?Sorry, my mistake. I was thinking of WAR files while writing. Thanks for pointing out.
    Regards,
    $ Carol.

  • "caching-descriptor" must be declared error when using ejbc on WLS6.0 with EJB 1.1

    I'm compiling with ejbc an entity bean .jar. Using WLS 6.0. In the ejb-jar.xml,
    I've set version to EJB 1.1. I've made sure the weblogic-ejb-jar.xml has the caching-descriptor
    element defined (used to work with WLS 5.1).
    Thanks.
    Sayid
    Error is : org.xml.sax.SAXParseException: Element type "caching-descriptor" must
    be declare d. at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java
    :1008) at weblogic.apache.xerces.validators.common.XMLValidator.reportRecoverab
    leXMLError(XMLValidator.java:1236) at weblogic.apache.xerces.validators.common.XMLValidator.validateElement
    AndAttributes(XMLValidator.java:2673) at weblogic.apache.xerces.validators.common.XMLValidator.callStartElemen
    t(XMLValidator.java:818) at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher
    .dispatch(XMLDocumentScanner.java:1222) at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
    mentScanner.java:380) at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
    at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:128 ) at
    weblogic.ejb20.dd.xml.WebLogicEjbJarLoader_WLS600.process(WebLogicEjb JarLoader_WLS600.java:455)
    at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:9 3) at
    weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:4 7) at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:3
    8) at weblogic.ejbc20.runBody(ejbc20.java:665) at weblogic.utils.compiler.Tool.run(Tool.java:81)
    at weblogic.ejbc.main(ejbc.java:20) --------------- nested within: ------------------
    weblogic.xml.process.XMLParsingException: Element type "caching-descriptor" must
    be declared. - with nested exception: [org.xml.sax.SAXParseException: Element
    type "caching-descriptor" must be declar ed.] Line: 8 Column: 27 at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:132
    ) at weblogic.ejb20.dd.xml.WebLogicEjbJarLoader_WLS600.process(WebLogicEjb JarLoader_WLS600.java:455)
    at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:9 3) at
    weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:4 7) at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:3
    8) at weblogic.ejbc20.runBody(ejbc20.java:665) at weblogic.utils.compiler.Tool.run(Tool.java:81)
    at weblogic.ejbc.main(ejbc.java:20) ERROR: weblogic.xml.process.XMLParsingException:
    Element type "caching-descripto r" must be declared. - with nested exception:
    [org.xml.sax.SAXParseException: Element type "caching-descriptor" must be declar
    ed.] Line: 8 Column: 27

    but a bean's deployment descriptor lies in the
    meta-inf folder, right?Sorry, my mistake. I was thinking of WAR files while writing. Thanks for pointing out.
    Regards,
    $ Carol.

  • Cursor Error in trigger - Statement Ignored/identifier must be declared PLS

    I have been asked to implement a trigger and believe I have the code complete but am getting a final error on the compile. I have been running in circles for a day trying to resolve my issue. I have no PL/SQL knowlege so have been pulling from a book and google. I have three Cursors defined and the third compiles fine, the first two give the below error though I can't see a significant difference between the three. I can't help but think it is something stupid I am not seeing but I am at a loss.
    If I comment out the reference to the cursor it will compile with the cursor definition but as soon as I add the Open statement the errors below appear.
    Any help would be greatly appreciated as my head is getting sore.
    Thanks
    Mike
    Error(30,13): PL/SQL: Statement ignored
    Error(30,20): PLS-00201: identifier 'CURSORGETFROMDISTMAKRERS' must be declared
    Error(51,13): PL/SQL: Statement ignored
    Error(51,20): PLS-00201: identifier 'CURSORGETTODISTMAKRERS' must be declared
    -- Table I am writing to
    create table IMSV7.CTRANSWODISTMARK (
    WORKORDERKEY INTEGER,
    DISTMARKFROM NUMBER (9,4),
    DISTMARKFROMATTRIBUTE VARCHAR (10),
    DISTMARKTO NUMBER (9,4),
    DISTMARKTOATTRIBUTE VARCHAR (10)
    -- Excerpt from the HISTORY table I am placing the trigger against
    COMPKEY NUMBER (9,0)
    DISTFROMFT FLOAT
    DISTTOFT FLOAT
    HISTKEY NUMBER (9,0)
    -- Trigger code
    CREATE OR REPLACE TRIGGER MaintainCTRANSWODISTMARK
    AFTER INSERT or UPDATE of DISTFROMFT, DISTTOFT ON IMSV7.HISTORY
    REFERENCING NEW as NewWO
    FOR EACH ROW
    BEGIN
    DECLARE
    -- Declare cursors
    CURSOR CursorGetFromDistMarkers (WOCompKey IN NUMBER, WODistFromFT IN FLOAT) IS
    SELECT ATTRCODE, DISTFROMFT, MARKERFROM from RWATTRDF DF, RWATTR A
    where WOCompkey = A.COMPKEY AND DF.ATTRKEY = A.ATTRKEY and DF.ATTRTYPE = 'DISTMARK'
    and WODistFromFT >= DISTFROMFT and WODistFromFT <= DISTTOFT
    order by A.EFFDATE DESC, DISTFROMFT DESC;
    FromDistanceMarker CursorGetFromDistMarkers%ROWTYPE;
    CURSOR CursorGetToDistMarkers (WOCompKey IN NUMBER, WODistToFT IN FLOAT) IS
    SELECT ATTRCODE, DISTFROMFT, MARKERFROM from RWATTRDF DF, RWATTR A
    where WOCompkey = A.COMPKEY AND DF.ATTRKEY = A.ATTRKEY and DF.ATTRTYPE = 'DISTMARK'
    and WODistToFT >= DISTFROMFT and WODistToFT <= DISTTOFT
    order by A.EFFDATE DESC, DISTFROMFT DESC;
    ToDistanceMarker CursorGetToDistMarkers%ROWTYPE;
    CURSOR CursorGetCTRANSWODistMark (WOHistKey IN NUMBER) IS
    SELECT WORKORDERKEY from CTRANSWODISTMARK
    where WORKORDERKEY = WOHistKey;
    CTRANSWODistMark CursorGetCTRANSWODistMark%ROWTYPE;
    varDistmarkFrom NUMBER;
    varDistmarkFromAttribute VARCHAR2(10);
    varDistmarkTo NUMBER;
    varDistmarkToAttribute VARCHAR2(10);
    BEGIN
    -- Process From measurement
    IF NOT CursorGetFromDistMakrers%ISOPEN
    THEN
    OPEN CursorGetFromDistMarkers(:NewWO.COMPKEY, :NewWO.DISTFROMFT);
    END IF;
    FETCH CursorGetFromDistMarkers INTO FromDistanceMarker;
    IF CursorGetFromDistMarkers%NOTFOUND
    THEN
    -- No distance markers found, use MILES
    varDistmarkFrom := :NewWO.DISTFROMFT / 5280;
    varDistmarkFromAttribute := 'MILES';
    ELSE
    -- Found a distance marker, convert to its units and use those
    -- Distance is the Marker start distance plus the offset from that start of the marker
    varDistmarkFrom := FromDistanceMarker.MARKERFROM + :NewWO.DISTFROMFT - FromDistanceMarker.DISTFROMFT;
    varDistmarkFromAttribute := FromDistanceMarker.ATTRCODE;
    END IF;
    CLOSE CursorGetFromDistMarkers;
    -- Process To measurement
    IF NOT CursorGetToDistMakrers%ISOPEN
    THEN
    OPEN CursorGetToDistMarkers(:NewWO.COMPKEY, :NewWO.DISTTOFT);
    END IF;
    FETCH CursorGetToDistMarkers INTO ToDistanceMarker;
    IF CursorGetToDistMarkers%NOTFOUND
    THEN
    -- No distance markers found, use MILES
    varDistmarkTo := :NewWO.DISTTOFT / 5280;
    varDistmarkToAttribute := 'MILES';
    ELSE
    -- Found a distance marker, convert to its units and use those
    -- Distance is the Marker start distance plus the offset from that start of the marker
    varDistmarkTo := ToDistanceMarker.MARKERFROM + :NewWO.DISTTOFT - ToDistanceMarker.DISTFROMFT;
    varDistmarkToAttribute := ToDistanceMarker.ATTRCODE;
    END IF;
    CLOSE CursorGetToDistMarkers;
    -- Check for existing record to know if we should add or update
    IF NOT CursorGetCTRANSWODistMark%ISOPEN
    THEN
    OPEN CursorGetCTRANSWODistMark(:NewWO.HISTKEY);
    END IF;
    FETCH CursorGetCTRANSWODistMark INTO CTRANSWODistMark;
    IF CursorGetCTRANSWODistMark%NOTFOUND
    THEN
    -- Record does not exist, add one
    Insert into CTRANSWODISTMARK (WORKORDERKEY, DISTMARKFROM, DISTMARKFROMATTRIBUTE, DISTMARKTO, DISTMARKTOATTRIBUTE)
    values (:NewWO.HISTKEY, varDistmarkFrom, varDistmarkFromAttribute, varDistmarkTo, varDistmarkToAttribute);
    ELSE
    -- Existing record, update it
    Update CTRANSWODISTMARK set DISTMARKFROM = varDistmarkFrom, DISTMARKFROMATTRIBUTE = varDistmarkFromAttribute,
    DISTMARKTO = varDistmarkTo, DISTMARKTOATTRIBUTE = varDistmarkToAttribute
    Where WORKORDERKEY = :NewWO.HISTKEY;
    END IF;
    END;
    END;
    run;
    show errors trigger MaintainCTRANSWODISTMARK;

    the cursor is mispelled
      IF NOT CursorGetFromDistMakrers%ISOPENchange it to:
    IF NOT CursorGetFromDistMarkers%ISOPEN

  • Error compiling PHOTO_ALBUM BODY : "put and GetMetadata must be declared"

    ANY IDEAS on THIS -?!!!
    I ran the scripts for PL/SQL Web Toolkit Sample Application (10g Release 1) and all was compiled OK for "demouser" except for
    PHOTO_ALBUM BODY:
    I get the error
    Error(470,5): PL/SQL: Statement ignored
    Error(470,9): PLS-00302: component 'PUTMETADATA' must be declared
    Error(739,7): PL/SQL: Statement ignored
    Error(739,26): PLS-00302: component 'GETMETADATA' must be declared
    We (me and the sys/adm) cannot figured out why this is happening ---
    Could it be a problem of demouser privileges with Intermedia installation?!!
    Or a problem to the metadata schema references?!
    Please if you have run into this before or have any ideas; any help will be really appreciated -- We've been on this 2 days !----

    Those undeclared procedures belong to the 10g Release 2 version of the demo.
    This link
    points to the 10gR2 demo.
    <p>
    If you are using a 10gR1 database, and you have installed the interMedia component from the companion CD (this contains the interMedia demos as well as the NCOMP libraries for performance - highly recommended) then you can find the 10gR1 version of the photo album demo at $OH/ord/http/demo/ordplsqlwtk

  • WEBUTIL_FILE.Get File Separator must be declared error in oracle 10g

    hi,
    when i compile the forms with attached webutil.pll , i got the error "WEBUTIL_FILE.Get File Separator must be declared error in oracle 10g".but i have compiled the webutil.pll its fine.Please tell me th solution.
    Thanks,
    Maran

    hi
    hmmmm the latest version of webutil.pll you downloaded from where? forms version 10.1.2... comes with the latest version of .pll.
    what is the webutil version?
    sarah

Maybe you are looking for

  • Program B1IRFCxx not registered

    Following the steps in the Guide to generate R/3 Configuration to run SAP B1i... we have defined the RFC destination. But when pushing Test connection button we get the error 'program B1IRFC00 not registered'. This error is from the Gateway Error Cod

  • Time to  upgrade?  or is apple close to something new.

    i am getting a new system - so it makes sense to upgrade to the new final cut studio. but... it seems like every time i buy something from apple... 3 weeks later they release a new version of it. so i am asking - should i wait on the new studio? or j

  • How can I get my computer to recognize the canon eos digital rebel

    I have not used this camera for more than 2 years.  I now have a laptop with windows 7.  This computer will not recognize this camera when I plug it in to usb to download pictures.  I have tried everything except what is going to work.

  • What is the criteria for buying an iphone?

    I heard that to buy an iphone you need a contract? Is that true? and what is the meaning of having a contract when buying an iphone? and can one buy an iPhone without a contract?

  • Beware: new file format and the consequences

    Yesterday I updated both Pages and Numbers to 5.0. I played a little with a few documents and found out that way too many features are missing to get it working for me, of which the most important one is mail merge. I use that very heavily and it isn