In Oracle 10g Error while using COLLECT

I getting error while using collect in 10g
SQL> ed
Wrote file afiedt.buf
1 SELECT deptno
2 , COLLECT(ename) AS emps
3 FROM emp
4 GROUP BY
5* deptno
SQL> /
, COLLECT(ename) AS emps
ERROR at line 2:
ORA-00932: inconsistent datatypes: expected NUMBER got -
Please give me the solution.

you are using old version of SQL*Plus. if you use later version it will give you correct result.
Edited by: unus on Mar 14, 2010 4:25 AM

Similar Messages

  • PLSQL Error while using collections dATABASE:10G

    Hi,
    I am getting below error while compiling below code:
    Error: DML statement without BULK In-BIND cannot be used inside FORALL
    Could you suggest.
    create or replace PROCEDURE V_ACCT_MTH ( P_COMMIT_INTERVAL  NUMBER DEFAULT 10000)
    is
    CURSOR CUR_D_CR_ACCT_MTH
    IS
    SELECT * FROM D_ACCT_MTH;
    TYPE l_rec_type IS TABLE OF CUR_D_CR_ACCT_MTH%ROWTYPE
    INDEX BY PLS_INTEGER;
    v_var_tab    l_rec_type;
    v_empty_tab  l_rec_type;
    v_error_msg  VARCHAR2(80);
    v_err_code   VARCHAR2(30);
    V_ROW_CNT NUMBER :=0;
    --R_DATA    NUMBER :=1;
    BEGIN
    OPEN CUR_D_CR_ACCT_MTH;
    v_var_tab := v_empty_tab;
    LOOP
        FETCH CUR_D_CR_ACCT_MTH BULK COLLECT INTO v_var_tab LIMIT P_COMMIT_INTERVAL;
        EXIT WHEN v_var_tab.COUNT=0;
            FORALL R_DATA IN 1..v_var_tab.COUNT
               INSERT INTO ACCT_F_ACCT_MTH
                DATE_KEY
               ,ACCT_KEY
               ,P_ID
               ,ORG_KEY
               ,FDIC_KEY
               ,BAL
               ,BAL1
               ,BAL2
               ,BAL3
               ,BAL4
               ,BAL5
               ,BAL6
               ,BAL7
               ,BAL8
               ,BAL9
               ,BAL10
               ,BAL11
               ,BAL12
               ,BAL13
               ,BAL14
               ,BAL15
               VALUES
               DATE_KEY(R_DATA)
              ,ACCT_KEY(R_DATA)
              ,P_ID(R_DATA)
              ,ORG_KEY(R_DATA)
              ,FDIC_KEY(R_DATA)
              ,BAL(R_DATA)
              ,BAL(R_DATA)
              ,BAL(R_DATA)
              ,BAL(R_DATA)
              ,BAL(R_DATA)
              ,BAL(R_DATA)
              ,BAL(R_DATA)
              ,BAL(R_DATA)
              ,BAL(R_DATA)
              ,BAL(R_DATA)
              ,BAL(R_DATA)
              ,BAL(R_DATA)
              ,BAL(R_DATA)
              ,BAL(R_DATA)
              ,BAL(R_DATA)
              ,BAL(R_DATA)
            COMMIT;
    END LOOP;
    CLOSE CUR_D_CR_ACCT_MTH; 
    EXCEPTION
    WHEN OTHERS THEN
    v_error_msg:=substr(sqlerrm,1,50);
    v_err_code :=sqlcode;
    DBMS_OUTPUT.PUT_LINE(v_error_msg,v_err_code);
    END V_ACCT_MTH;

    931832 wrote:
    Here i am using above method using forall because of large volume of data.Which is a FLAWED approach. Always.
    FORALL is not suited to "move/copy" large amounts of data from one table to another.
    Any suggestion ?Use only SQL. It is faster. It has less overheads. It can execute in parallel.
    So execute it in parallel to move/copy that data. You can roll this manually via the DBMS_PARALLEL_EXECUTE interface. Simplistic example:
    declare
            taskName        varchar2(30) default 'PQ-task-1';
            parallelSql     varchar2(1000);
    begin
            --// create trask
            DBMS_PARALLEL_EXECUTE.create_task( taskName );
            --// chunk the table by rowid ranges
            DBMS_PARALLEL_EXECUTE.create_chunks_by_rowid(
                    task_name => taskName,
                    table_owner => user,
                    table_name => 'D_ACCT_MNTH',
                    by_row => true,
                    chunk_size => 100000
            --// create insert..select statement to copy a chunk of rows
            parallelSql := 'insert into acct_f_acct_mth select * from d_acct_mnth
                            where rowid between :start_id and :end_id';
            --// run the task using 5 parallel processes
            DBMS_PARALLEL_EXECUTE.Run_Task(
                    task_name => taskName,
                    sql_stmt => parallelSql,
                    language_flag => DBMS_SQL.NATIVE,
                    parallel_level => 5
            --// wait for it to complete
            while DBMS_PARALLEL_EXECUTE.task_status( taskName ) != DBMS_PARALLEL_EXECUTE.Finished loop
                    DBMS_LOCK.Sleep(10);
            end loop;
            --// remove task
            DBMS_PARALLEL_EXECUTE.drop_task( taskName );
    end;
    /Details in Oracle® Database PL/SQL Packages and Types Reference guide.
    For 10g, the EXACT SAME approach can be used - by determining the rowid chunks/ranges via a SQL and then manually running parallel processes as DBMS_JOB. See {message:id=1108593} for details.

  • Oracle 10G error - while installing 4.6C

    Dear all,
    I have tried installing 4.6c directly in oracle 10g in a HPUXIA64 server.
    I followed the note 946141 and did the central instance and also installed Oracle and upgrade it to 10.2.0.2 then applied the interim patches.
    After applying the interim patches I started the DATABASE.R3S file and it has loaded the data successfully and also statistics update was done successfully.
    But it fails to start the database. when I checked the alert log it says.
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Wed Dec  5 21:54:29 2007
    Error 704 happened during db open, shutting down database
    USER: terminating instance due to error 704
    Can anyone help me to solve this issue
    Regards
    Senthil

    Thank you very much for your help Markus.
    The installation was complete and was able to start sap.
    But I got an error in the last step. mentioned below.
    Enter CONT to continue with R3SETUP now.
    Enter EXIT to exit R3SETUP, update the MNLS tables and afterwards restart
    R3SETUP to continue the installation procedure.
          (1) Continue installation
       -> (2) Exit
    Please select one of the options by entering the preceding number
    or confirm default [2]: 1
    INFO 2007-12-07 20:05:01
        Starting the SAP system on the central instance
    INFO 2007-12-07 20:05:01
        Starting up the SAP System
    Starting SAP-Collector Daemon
    This is Saposcol Version COLL 20.79 03/08/22 46D -  hpxOscol 07/2003
    Usage:  saposcol -l: Start OS Collector
            saposcol -k: Stop  OS Collector
            saposcol -d: OS Collector Dialog Mode
            saposcol -s: OS Collector Status
    Starting collector (create new process)
    could not move /usr/sap/tmp/dev_coll to /usr/sap/tmp/dev_coll.old
    saposcol on host cpchpsap started
    Checking SAP R/3 DV2 Database
    Database is running
    Starting SAP R/3 Instance
    Startup-Log is written to /home/dv2adm/startsap_cpchpsap_00.log
    Instance on host cpchpsap started
    INFO 2007-12-07 20:05:39
        Initializing the Workbench Organizer with RFC
    INFO 2007-12-07 20:06:18
        Creating Database-Specific Objects with RFC
    ERROR 2007-12-07 20:06:50 RFCRADDBDIF_IND_IND InstallationDo:0
        Phase failed.
    ERROR 2007-12-07 20:06:50 Main
        Installation aborted.
    Not sure what this step does?
    How do I proceed?
    Thanks & Regards
    Senthil

  • Oracle export error while using exp.

    Hi folks,
    Any idea why am i getting this error when I tried to get an export file?
    Error:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine optionsSegmentation Fault (core dumped)
    Steps:
    I was trying to get export file from db test/test_pass@env1 with below export command.
    Encountered the above error.
    exp test/test_pass@env1 FILE=another_test_dmp.dmp OWNER=another_test TRIGGERS=n GRANTS=y ROWS=y COMPRESS=y
    Log file created with 0 bytes.
    Some file name with core created. (huge in volume)
    another_test_dmp.dmp file created with 0 bytes.
    Appreciated your help in this.
    Thank you.
    Edited by: TechMahi.com on May 6, 2010 5:28 AM

    Hi,
    You should look your core dump to see more details of your error. If you want you could post it to see if we can help you.
    You can find it looking at the parameter CORE_DUMP_DEST
    Regards,
    Mario Alcaide
    http://marioalcaide.wordpress.com

  • Error while using collection in insert...with...select stmt

    declare
    cursor c1 as select clb from clob_table;
    type t1_t is table of clob index by binary integer;
    t1 t1_t;
    begin
    open c1;
    fetch bulk collect into t1;
    close c1;
    insert into some_table
    (id,
    clob_field)
    with
    x (select rownum x, trunc(dbms_random.value(1,30)) rnd from all_objects where rownum < 11);
    select
    x, --id
    t1(rnd)
    from x;
    it gives error identifier 'RND' must be declared.
    Any suggessions ???
    Thanks for your time..

    I think this is enough code to generate error.
    error is comming because i am going to use rnd as index of collection t1.

  • Error while using P2V in Oracle VM 2.2 version

    Error while using P2V in Oracle VM 2.2 version
    I tried using this option by using the steps given on one link but it didnt worked...
    Error:
    code 404, message No permission to list directory.
    I ve tried giving full permissions on for /OVS on Server but invain.
    Can U pls help me...
    Thanks in advance.
    Edited by: user10310678 on Sep 16, 2009 3:32 AM

    user10310678 wrote:
    I am using beta version. Oracle VM Manager 2.2.0If you have a beta version of 2.2, then you should be an Oracle employee. Please ask this question on an internal mailing list. If you are not an Oracle employee, please ask the employee that gave you this beta. As this is a beta, some functionality may not be operational yet, so I can't answer why this particular feature seems not to work.

  • OSB: Cannot acquire data source error while using JCA DBAdapter in OSB

    Hi All,
    I've entered 'Cannot acquire data source' error while using JCA DBAdapter in OSB.
    Error infor are as follows:
    The invocation resulted in an error: Invoke JCA outbound service failed with application error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapter1/RetrievePersonService [ RetrievePersonService_ptt::RetrievePersonServiceSelect(RetrievePersonServiceSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'RetrievePersonServiceSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/soademoDatabase].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.soademoDatabase'. Resolved 'jdbc'; remaining name 'soademoDatabase'.
    ; nested exception is:
    BINDING.JCA-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    JNDI Name for the Database pool: eis/DB/soademoDatabase
    JNDI Name for the Data source: jdbc/soademoDatabase
    I created a basic DBAdapter in JDeveloper, got the xsd file, wsdl file, .jca file and the topLink mapping file imported them into OSB project.
    Then I used the .jca file to generate a business service, and tested, then the error occurs as described above.
    Login info in RetrievePersonService-or-mappings.xml
    <login xsi:type="database-login">
    <platform-class>org.eclipse.persistence.platform.database.oracle.Oracle9Platform</platform-class>
    <user-name></user-name>
    <connection-url></connection-url>
    </login>
    jca file content are as follows:
    <adapter-config name="RetrievePersonService" adapter="Database Adapter" wsdlLocation="RetrievePersonService.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/DB/soademoDatabase" UIConnectionName="Connection1" adapterRef=""/>
    <endpoint-interaction portType="RetrievePersonService_ptt" operation="RetrievePersonServiceSelect">
    <interaction-spec className="oracle.tip.adapter.db.DBReadInteractionSpec">
    <property name="DescriptorName" value="RetrievePersonService.PersonT"/>
    <property name="QueryName" value="RetrievePersonServiceSelect"/>
    <property name="MappingsMetaDataURL" value="RetrievePersonService-or-mappings.xml"/>
    <property name="ReturnSingleResultSet" value="false"/>
    <property name="GetActiveUnitOfWork" value="false"/>
    </interaction-spec>
    </endpoint-interaction>
    </adapter-config>
    RetrievePersonService_db.wsdl are as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <WL5G3N0:definitions name="RetrievePersonService-concrete" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/" xmlns:WL5G3N1="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/">
    <WL5G3N0:import location="RetrievePersonService.wsdl" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService"/>
    <WL5G3N0:binding name="RetrievePersonService_ptt-binding" type="WL5G3N1:RetrievePersonService_ptt">
    <WL5G3N2:binding style="document" transport="http://www.bea.com/transport/2007/05/jca"/>
    <WL5G3N0:operation name="RetrievePersonServiceSelect">
    <WL5G3N2:operation soapAction="RetrievePersonServiceSelect"/>
    <WL5G3N0:input>
    <WL5G3N2:body use="literal"/>
    </WL5G3N0:input>
    <WL5G3N0:output>
    <WL5G3N2:body use="literal"/>
    </WL5G3N0:output>
    </WL5G3N0:operation>
    </WL5G3N0:binding>
    <WL5G3N0:service name="RetrievePersonService_ptt-bindingQSService">
    <WL5G3N0:port binding="WL5G3N1:RetrievePersonService_ptt-binding" name="RetrievePersonService_ptt-bindingQSPort">
    <WL5G3N2:address location="jca://eis/DB/soademoDatabase"/>
    </WL5G3N0:port>
    </WL5G3N0:service>
    </WL5G3N0:definitions>
    Any suggestion is appricated .
    Thanks in advance!
    Edited by: user11262117 on Jan 26, 2011 5:28 PM

    Hi Anuj,
    Thanks for your reply!
    I found that the data source is registered on server soa_server1 as follows:
    Binding Name: jdbc.soademoDatabase
    Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
    Hash Code: 80328036
    toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/291])/291
    Binding Name: jdbc.SOADataSource
    Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
    Hash Code: 92966755
    toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/285])/285
    I don't know how to determine which server the DBAdapter is targetted to.
    But I found the following information:
    Under Deoloyment->DBAdapter->Monitoring->Outbound Connection Pools
    Outbound Connection Pool Server State Current Connections Created Connections
    eis/DB/SOADemo AdminServer Running 1 1
    eis/DB/SOADemo soa_server1 Running 1 1
    eis/DB/soademoDatabase AdminServer Running 1 1
    eis/DB/soademoDatabase soa_server1 Running 1 1
    The DbAdapter is related to the following files:
    C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ connectors\ DbAdapter. rar
    C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ DBPlan\ Plan. xml
    I unzipped DbAdapter.rar, opened weblogic-ra.xml and found that there's only one data source is registered:
    <?xml version="1.0"?>
    <weblogic-connector xmlns="http://www.bea.com/ns/weblogic/90">
    <enable-global-access-to-classes>true</enable-global-access-to-classes>
    <outbound-resource-adapter>
    <default-connection-properties>
    <pool-params>
    <initial-capacity>1</initial-capacity>
    <max-capacity>1000</max-capacity>
    </pool-params>
    <properties>
    <property>
    <name>usesNativeSequencing</name>
    <value>true</value>
    </property>
    <property>
    <name>sequencePreallocationSize</name>
    <value>50</value>
    </property>
    <property>
    <name>defaultNChar</name>
    <value>false</value>
    </property>
    <property>
    <name>usesBatchWriting</name>
    <value>true</value>
    </property>
    <property>
    <name>usesSkipLocking</name>
    <value>true</value>
    </property>
    </properties>
              </default-connection-properties>
    <connection-definition-group>
    <connection-factory-interface>javax.resource.cci.ConnectionFactory</connection-factory-interface>
    <connection-instance>
    <jndi-name>eis/DB/SOADemo</jndi-name>
              <connection-properties>
                   <properties>
                   <property>
                   <name>xADataSourceName</name>
                   <value>jdbc/SOADataSource</value>
                   </property>
                   <property>
                   <name>dataSourceName</name>
                   <value></value>
                   </property>
                   <property>
                   <name>platformClassName</name>
                   <value>org.eclipse.persistence.platform.database.Oracle10Platform</value>
                   </property>
                   </properties>
              </connection-properties>
    </connection-instance>
    </connection-definition-group>
    </outbound-resource-adapter>
    </weblogic-connector>
    Then I decided to use eis/DB/SOADemo for testing.
    For JDeveloper project, after I deployed to weblogic server, it works fine.
    But for OSB project referencing wsdl, jca and mapping file from JDeveloper project, still got the same error as follows:
    BEA-380001: Invoke JCA outbound service failed with application error, exception:
    com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapterTest/DBReader [ DBReader_ptt::DBReaderSelect(DBReaderSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'DBReaderSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/SOADataSource].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
    ; nested exception is:
    BINDING.JCA-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/SOADataSource].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
    You may need to configure the connection settings in the deployment descriptor (i.e. DbAdapter.rar#META-INF/weblogic-ra.xml) and restart the server. This exception is considered not retriable, likely due to a modelling mistake.
    It almost drive me crazy!!:-(
    What's the purpose of 'weblogic-ra.xml' under the folder of 'C:\Oracle\Middleware\home_11gR1\Oracle_OSB1\lib\external\adapters\META-INF'?
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

  • Error while using DB Adapter in BPEL process

    Hi All,
    I am getting error while using DB Adapter in BPEL process
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DevDBAdapter' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. DBAdapterDemo:DevDBAdapter [ DevDBAdapter_ptt::DevDBAdapter(InputParameters,OutputParameters) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/Dev'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/Dev. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:157) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1259) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:91) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DevDBAdapter' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. DBAdapterDemo:DevDBAdapter [ DevDBAdapter_ptt::DevDBAdapter(InputParameters,OutputParameters) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/Dev'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/Dev. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:260) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:985) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:729) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:569) ... 69 more Caused by: javax.xml.ws.soap.SOAPFaultException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DevDBAdapter' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. DBAdapterDemo:DevDBAdapter [ DevDBAdapter_ptt::DevDBAdapter(InputParameters,OutputParameters) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/Dev'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/Dev. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:955) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:750) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:234) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:105) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:256) ... 72 more
    I have created jndi from console which I have mentioned in DBAdapter and I have provided details of JNDI to DbAdapter in deployment.
    I am not able to solve this.
    Can you please let me know solution for this or provide me link for tutorial of DBAdapter for stored procdure call?

    did u deploy your dbadapter through console to the plan mentioned for deployment?

  • Error while using exp utility

    Hi,
    I am getting the following oracle error while using exp,
    can someone please suggest on this,
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user SIEBEL
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user SIEBEL
    About to export SIEBEL's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export SIEBEL's tables via Conventional Path ...
    . . exporting table EIM_ACCDTL_TNT
    EXP-00008: ORACLE error 904 encountered
    ORA-00904: "MAXSIZE": invalid identifier
    . . exporting table EIM_ACCNTROUTE
    EXP-00008: ORACLE error 1003 encountered
    ORA-01003: no statement parsed
    . . exporting table EIM_ACCNT_CUT
    EXP-00008: ORACLE error 904 encountered
    ORA-00904: "MAXSIZE": invalid identifier
    . . exporting table EIM_ACCNT_DTL
    EXP-00008: ORACLE error 1003 encountered
    ORA-01003: no statement parsed

    Satish is right, there exists bug for 11.1.0.6.
    Look at metalink note 741984.1.
    Bug number is 5872788 - there exists patch as well.

  • Error while using row_num function in forms6i

    Oracle forms6i
    Hai
    While using row num function in my forms i had a error.
    My coding is
    declare
    pin_no varchar2(16);
    pin_date date;
    pin_time varchar2(25);
    mstr varchar2(200);
    m_file TEXT_IO.FILE_TYPE;
    m_file_path varchar2(100) := :global.filename;
    line_count number;
    M_BARCODE VARCHAR2(16);
    M_BARDATE DATE;
    M_BARTIME varchar2(25);
    M_No number;
    Cursor c1 is
    select barcode,bardate,bartime,
    row_number() over (partition barcode order by bartime) as RN-------------------the error at this line
    from temp_attendance
    group by barcode,bardate,bartime
    order by bardate;
    begin
    If m_file_path is not null then
    m_file:= TEXT_IO.fopen(m_file_path, 'r');
    --DELETE FROM temp_attendance;     
    Loop
    begin
    TEXT_IO.get_line(m_file,mstr);
    mstr := ltrim(rtrim(mstr));
    M_barcode :=substr(mstr,1,16);
    M_bardate := to_date(substr(mstr,17,8),'DD/MM/YYYY');
    M_bartime := (substr(mstr,25,4));
    INSERT INTO temp_attendance(BARCODE,BARDATE,BARTIME,RN) VALUES(M_BARCODE,M_BARDATE,M_BARTIME,M_No);
    Exception
    when no_data_found then
    text_io.fclose(m_file);
    exit;
    End;
    End loop;
    go_block('TEST_MS1');
    clear_block(no_validate);
    For r1 in c1 loop
         :barcode := r1.barcode;
         :bardate := r1.bardate;
         :bartime := r1.bartime;
         next_Record;
    end loop;
    first_record;
    end if;
    exception
    when others then
    forms_ddl('ROLLBACK');
    message (sqlerrm);
    end;
    Thanks & Regards
    Srikkanth.M

    Hi,
    Try using:
    row_number() over (partition BY barcode order by bartime) as RN
    If that wasn't the problem, what is the error you are getting?
    Regards.

  • Error while using the export utility

    Dear all of
    I am getting the following error while using the export utility in the Oracle database 9i
    I have run the catexp.sql and catrm.sql suggested by the experts in this forum. But it did not help me. Kindly help me in solving this issue.
    FOLLOWING ARE THE ERROR ----------------------------
    EXP-00008: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    EXP-00024: Export views not installed, please notify your DBA
    EXP-00000: Export terminated unsuccessfully
    -----------------------------------------------------------------------------------------------------------------------------------

    Can you go to this discussion please.
    Re: Getting a strange error for Exp
    -aijaz

  • 3-1674105521 Multiple Paths error while using Bridge Table

    https://support.us.oracle.com/oip/faces/secure/srm/srview/SRViewStandalone.jspx?sr=3-1674105521
    Customer Smiths Medical International Limited
    Description: Multiple Paths error while using Bridge Table
    1. I have a urgent customer encounterd a design issue and customer was trying to add 3 logical joins between SDI_GPOUP_MEMBERSHIP and these 3 tables (FACT_HOSPITAL_FINANCE_DTLS, FACT_HOSPITAL_BEDS_UTILZN and FACT_HOSPITAL_ATRIBUTES)
    2. They found found out by adding these 3 joins, they ended with circular error.
    [nQSError: 15001] Could not load navigation space for subject area GXODS.
    [nQSError: 15009] Multiple paths exist to table DIM_SDI_CUSTOMER_DEMOGRAPHICS. Circular logical schemas are not supported.
    In response to this circular error, the developer was able to bypass the error using aliases, but this is not desired by client.
    3. They want to know how to avoid this error totally without using alias table and suggest a way to resolve the circular join(Multiple Path) error.
    Appreciated if someone can give some pointer or suggestion as the customer is in stiff deadline.
    Thanks
    Teik

    The strange thing compared to your output is that I get an error when I have table prefix in the query block:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE TMP1.A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    ORA-31693: Table data object "SYSADM"."TMP3" failed to load/unload and is being skipped due to error:
    ORA-38500: Unsupported operation: Oracle XML DB not present
    Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 1 error(s) at Fri Dec 13 10:39:11 2013 elapsed 0 00:00:03
    And if I remove it, it works:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    . . imported "SYSADM"."TMP3"                             5.406 KB       1 out of 2 rows
    Job "SYSTEM"."SYS_IMPORT_FULL_01" successfully completed at Fri Dec 13 10:36:50 2013 elapsed 0 00:00:01
    Nicolas.
    PS: as you can see, I'm on 11.2.0.4, I do not have 11.2.0.1 that you seem to use.

  • Class Not Found Error while using dcm 9.0.3 jar

    I am getting the following exception while trying to stop an application deployed in oracle 10g app server using dcm utility.Can anyone please help me how to resolve this because it is very urgent for my work to progress
    Thanks in Advance
    04/10/18 07:34:37 A problem has occurred accessing the Oracle9iAS
    infrastructure
    database.
    Base Exception:
    java.lang.NoClassDefFoundError:oracle/ias/repository/SchemaManager
    04/10/18 07:34:37 Please, refer to the base exception for resolution, or
    call Or
    acle support.

    Hi Sujith,
    You should post that question here: Oracle Application Server - General
    - Don

  • Getting error while using Callouts

    Hi Gurus,
    I am getting the below error while using callouts.
    Error -: AIP-51806: Error during callout invocation: Error -: AIP-10606: Domain exception in callout execution. Error -: AIP-10606: Domain exception in callout execution. Callout/Usage property not found for key password.
         at oracle.tip.adapter.b2b.callout.CalloutUtil.raiseIPCalloutDomainException(CalloutUtil.java:88)
         at oracle.tip.adapter.b2b.callout.CalloutContextImpl.getMapValue(CalloutContextImpl.java:100)
         at oracle.tip.adapter.b2b.callout.CalloutContextImpl.getStringProperty(CalloutContextImpl.java:149)
         at com.tm.EncryptMessage.execute(EncryptMessage.java:25)
         at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.doWork(CalloutExecuteWorker.java:424)
         at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.run(CalloutExecuteWorker.java:333)
         at java.lang.Thread.run(Thread.java:534)
         at oracle.tip.adapter.b2b.callout.B2BCalloutHandler.handleOutgoingCallout(B2BCalloutHandler.java:344)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1606)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:975)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
         at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
         at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:903)
         at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:317)
    Caused by: Error -: AIP-10606: Domain exception in callout execution. Error -: AIP-10606: Domain exception in callout execution. Callout/Usage property not found for key password.
         at oracle.tip.adapter.b2b.callout.CalloutUtil.raiseIPCalloutDomainException(CalloutUtil.java:88)
         at oracle.tip.adapter.b2b.callout.CalloutContextImpl.getMapValue(CalloutContextImpl.java:100)
         at oracle.tip.adapter.b2b.callout.CalloutContextImpl.getStringProperty(CalloutContextImpl.java:149)
         at com.tm.EncryptMessage.execute(EncryptMessage.java:25)
         at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.doWork(CalloutExecuteWorker.java:424)
         at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.run(CalloutExecuteWorker.java:333)
         at java.lang.Thread.run(Thread.java:534)
         at com.tm.EncryptMessage.execute(EncryptMessage.java:47)
         at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.doWork(CalloutExecuteWorker.java:424)
         at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.run(CalloutExecuteWorker.java:333)
         at java.lang.Thread.run(Thread.java:534)
    I have configured the property "password" in the "Callout Properties" & "Callout Usage". I think no properties reaching the "CalloutContext" in the callout class.
    Please help me in this.
    Regards,
    Vithal
    Edited by: Vithal R on 03-Jun-2009 08:07

    Hi Vithal,
    Did you try with sample callouts -
    http://download-uk.oracle.com/docs/cd/B14099_19/integrate.1012/b19370/callouts.htm
    For your case, make sure -
    You are following below steps to create the property -
    http://download.oracle.com/docs/cd/B14099_19/integrate.1012/b19370/callouts.htm#BEIFDECJ
    You have selected the appropriate callout usage while creating the agreement.
    Callout Directory : Just mention the folder and not the jar.
    Mention the appropriate jar file in the Libray name section of the "create call out"
    Let us know the result please.
    Regards,
    Anuj
    Edited by: Anuj Dwivedi on Jun 4, 2009 11:39 AM

  • Runtime Error while using Dynamic Selection

    Hi,
      We are getting a runtime error while using a dynamic selection. One of the fields has got an apostrophe in the middle of the text and so the condition is returning an error SAPSQL_WHERE_PARANTHESES.
      Let's say the value in the field is SCV's. So the WHERETAB is filled as 'SCV's' or `SCV's`. An exception is caught in this case as there is no closing apostrophe.
    Let us know if anyone has come across a similar issue and any help is appreciated.
    Regards,
    Sarves

    Hi Sarves,
    as Rob said.
    check also the [ORACLE FAQS|http://www.orafaq.com/faq/how_does_one_escape_special_characters_when_writing_sql_queries] or [SQL SERVER u2013 How to Escape Single Quotes|http://blog.sqlauthority.com/2008/02/17/sql-server-how-to-escape-single-quotes-fix-error-105-unclosed-quotation-mark-after-the-character-string/]
    Honestly: Before posting here and getting a whole lot of more or less useless comments just use your favorite search engine.
    Regards,
    Clemens

Maybe you are looking for

  • I get a message of "Firefox has stopped closing" everytime I open sites.

    When Firefox loads certain pages like Yahoo, Facebook and Youtube, Firefox closes and I get a message of "Firefox has stopped running." or something like that. == Crash ID(s) == Signature: SkypeFfComponent.dll@0x440c3

  • Upgrade Causes API Inconsistencies

    I successfully upgraded Web Tools from 625 to 652 (SP1 PL2). The problem is, many of the API calls have had their parameters changed, which are causing build errors. Below are some code examples, the problems defined, and the compiler errors relating

  • Error entering decimal values

    I am entering a fee value on a contract template (Oracle Lease Management) in the amount of 11.70 and I'm getting an error telling me that "11.70 is not a valid number. Please re-enter". It works in one of our other test environments. So, wondering i

  • Program not functioning

    I have been having problems with photoshop element 10 since I got it.  I thought is was due to all the picture and programs on my computer.  i purchased a new computer and deactivated the program on the old computer and installed on my new computer.

  • Need suggestion to build a  Regular Expression

    Hi, I am trying to build a regex pattern to search a chunk of text. The criteria of searching is something like as follows: Lets us say i need to search for a string "Number". Here I should be able find all the possible strings that closely resemble