Subscribing DB Adapter shows errors ORA-06550:

I am using DB Adapter on subscribing side. I am getting following errors ;
Error executing the stored procedure "Agent.getNewWriterTransactionID(?)" in the
schema "null" : ORA-06550: line 1, column 11:
PLS-00103: Encountered the symbol "." when expecting one of the following:
java.sql.SQLException: ORA-06550: line 1, column 11:
PLS-00103: Encountered the symbol "." when expecting one of the following:
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
:124)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:625)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.
java:180)
at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableS
tatement.java:869)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
nt.java:1080)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrep
aredStatement.java:2915)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStat
ement.java:3006)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStat
ement.java:4119)
at oracle.oai.agent.adapter.database.DBMessageWriter.beginNewTransaction
(DBMessageWriter.java:1284)
at oracle.oai.agent.client.SmartQueueDispatcher.run(SmartQueueDispatcher
.java:315)
at java.lang.Thread.run(Thread.java:534)
Redelivering the message for the error "6550"
Shutting down
Stopping the Adapter and the service..
preparing to shutdown
Messenger: Closing topic subsciber: oai_hub_queue.
InBound: Throughput (messages/sec) = 0.0
InMessageTransformer: got a message for processing.
OutMessageTransformer: got a message for processing.
InBound: Processed Message Count = 0
InBound: Message Error Count = 0
InBound: Recovered (from persistence and resubmission) Message Count = 0
OutBound: Throughput (messages/sec) = 0.0
OutBound: Processed Message Count = 0
OutBound: Recovered (from persistence and resubmission) Message Count = 0
OutBound: Message Error Count = 0
Terminate batch job (Y/N)? y
I recreated oaischema without any errors ...
I also confirmed that message is being published correctly by using File adapter on subscribing side ...
I am using 10.1.2.0.2 OAI ...

Hi All,
Issue got resolved.
For this type of issue please go the http://localhost:7001/console page and click the Data Sources and next click on your particular Data Source name
and click on Transaction tab and increase the values of XA Retry Duration and XA Retry Interval and Restart the server.
Regards,
Raj.

Similar Messages

  • Discoverer 3.1.25: getting error ORA-06550 when scheduling report

    Hello,
    we are still using the Discoverer version 3 (release 3.1.25). I know that this version is out of support, but that doesn't harm use from using it...
    The Discoverer has been working fine for the last couple years. At the beginning of every month the same already defined reports are getting generated. But with the beginning of the year 2010 we are getting the error:
    ORA-06550: line 1, column 93:
    PLS-00201: identifier 'EUL$BATCH_PACKAGE0100112082923.RUN' must be declared
    ORA-06550: line 1, column 93:
    PL/SQL: Statement ignored
    ORA-06512: at "SYS.DBMS_JOB" line 79
    The numbers "0100112082923" after the identifier "EUL$BATCH_PACKAGE" specify the date and time:
    082923: 08 hour, 29 minutes, 23 seconds
    0100112: 010 year, 01 month, 12 day
    The reason of that error is that the mentioned Package/Packagebody EUL$BATCH_PACKAGE*0*100112082923 doesn't exist in the database. But as a matter of fact the Package/Packagebody 'EUL$BATCH_PACKAGE100112082923 does exist. The Discoverer creates the Package/Packagebody without the "0" after the identifier "EUL$BATCH_PACKAGE" in the database, but wants to use the Package/Packagebody with the "0" after the identifier "EUL$BATCH_PACKAGE". Seems like a bug to me - does anybody have the same problem?
    Until the year 2009 the year was specified with just two digits (09) - now the year seems to get specified with 3 digits (010) - but in the database just two digits are used. Is there any property table or button where this gets defined?
    Any help will be appreciated!

    Seems like if I have found the bug by myself...
    In the procedure SubmitJob(...) of the package EUL$BATCH_REPOSITORY the name of the scheduled procedure gets generated with the hardcoded string
    "EUL$BATCH_PACKAGE0". The zero after "PACKAGE" is only correct when the year ends with one digit (e.g. 2001, 2002, ..., 2009). When shortening the
    string to "EUL$BATCH_PACKAGE" everything works fine again...
    Rgds

  • JDBC receiver error:ORA-06550: line 1, column 7: PL/SQL

    Hi,
    I am geting this error in JDBC Receiver adapter. when  i call the stored procedure.
    Last week it works fine.But i today i faced this error.
    Error Unable to execute statement for table or stored procedure. 'spec_utilities.SP_DELETE(Structure 'unassign') due to java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00201: identifier 'SPEC_UTILITIES.SP_DELETE' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored 
    Error JDBC message processing failed; reason Error processing request in sax parser: Error when executing statement for table/stored proc. 'spec_utilities.SP_DELETE(structure 'unassign'): java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00201: identifier 'SPEC_UTILITIES.SP_DELETE' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored 
    Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'spec_utilities.SP_DELETE (structure 'unassign'): java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00201: identifier 'SPEC_UTILITIES.SP_DELETE'must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored 
    My stored procedure structure is:
    <unassign>
    <SP_DELETE action="EXECUTE">
      <table>spec_utilities.SP_DELETE</table>
      <PAE isInput="true" type="VARCHAR">447848</pAEIC>
      <SKEY isInput="true" type="NUMERIC">4548545</pSKEY>
      <USER isOutput="true" type="VARCHAR" />
      <UNIT  isOutput="true" type="VARCHAR" />
      <EMAIL isOutput="true" type="VARCHAR" />
      </SP_DELETE>
      </unassign>
    Can you suggest me where is this error.
    Thank you
    Sateesh

    Hi,
       if it was executing fine earlier then check the below
    1. user permissions level at the database..whether it has access to the required SP or not..
    2. Check if there was any change in the SP..which has not been communicated...
    HTH
    Rajesh

  • Error  ORA-06550,  PLS-00103 in procedure launched by php page

    Hi,
    I have written a php page that calls a pl/sql procedure. When I launch the procedure (through the php) I receive this error
    Warning: ociexecute(): OCIStmtExecute: ORA-06550: line 1, column 101: PLS-00103: Encountered the symbol "" when expecting one of the following: ( - + case mod new not null others <an identifier>  <a double-quoted delimited-identifier> <a bind variable> avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date <a string literal with character set specification>  <a number> <a single-quoted SQL string> pipe <an alternatively-quoted string literal with character set specifi in /web/findb/php/fin/SPR/nuoveEmissioni/nuoveEmissioni.class.php on line 918
    bool(false) The php code that calls the procedure is the following:
    $query  = " declare retU number; begin ";
          $query .= " retU := pkg_schedapr.UPDATE_SPR_STATUS( :isinU, :utente, :emissione_f,
                            :azione_f, :fondo_f, :emittenteU_f, :rischioU_f, :varU_f,
                            :formulaU_f, :profiloU_f); ";
          $query .= ":retU_val := retU; "; 
          $query .= "end;";   
          $stmtUpdate = ociparse ($this->conn,$query);
             if (!$stmtUpdate) die (var_dump(OCIError()));  
            ociBindByName($stmtUpdate, ":isinU", $isin_t, 12);
            ociBindByName($stmtUpdate, ":utente", $userName, 20);
            ociBindByName($stmtUpdate, ":emissione_f", $mod_bond, 1);
            ociBindByName($stmtUpdate, ":azione_f", $mod_azione, 1);
            ociBindByName($stmtUpdate, ":fondo_f", $mod_fondo, 1);
            ociBindByName($stmtUpdate, ":emittenteU_f", $mod_emittente, 1);
            ociBindByName($stmtUpdate, ":rischioU_f", $mod_rischio, 1);
            ociBindByName($stmtUpdate, ":varU_f", $mod_var, 1);
            ociBindByName($stmtUpdate, ":formulaU_f", $mod_formula, 1);
            ociBindByName($stmtUpdate, ":profiloU_f", $mod_profilo, 1);
            ociBindByName($stmtUpdate, ":retU_val", $retU_val, 1);  
            $err=OCIExecute($stmtUpdate);
             if (!$err) die (var_dump(OCIError()));
          ocifreestatement($stmtUpdate);  The pl/sql procedure is the following:
    function UPDATE_SPR_STATUS(isin_p in varchar2, utente in varchar2, mercato in varchar2,
                               emissione_p in number, azione_p in number, fondo_p in number, emittente_p in number,
                               rischio_p in number, var_p in number, formula_p in number, mercato_p in number,
                               profilo_p in number) return number
    is
    control number;
    modificato number;
    SQL_QUERY VARCHAR2(4000);
    TYPE MOD_SUM IS REF CURSOR;
    SUMM MOD_SUM;
    TYPE MOD_SUM_ROW
        IS RECORD(
            EMISSIONE VARCHAR2(1),
            AZIONE VARCHAR2(1),
            FONDO VARCHAR2(1),
            EMITTENTE VARCHAR2(1),
            RISCHIO VARCHAR2(1),
            VAR VARCHAR2(1),
            FORMULA VARCHAR2(1),
            PROFILO VARCHAR2(1)
    MODIFICHE MOD_SUM_ROW;
    EMS VARCHAR2(1);
    AZI VARCHAR2(1);
    FON VARCHAR2(1);
    EMT VARCHAR2(1);
    RSK VARCHAR2(1);
    VAR VARCHAR2(1);
    FRM VARCHAR2(1);
    PRF VARCHAR2(1);
    MKT VARCHAR(1);
    begin
         modificato := emissione_p + azione_p + fondo_p + emittente_p + rischio_p
                       + var_p + formula_p + mercato_p + profilo_p;
         select count(*)
         into control
         from spr_web_nuove_emissioni a
         where a.ISIN=isin_p
         AND A.END_DATE IS NULL;
         if control > 0
         then
         update spr_web_nuove_emissioni a
         set a.END_DATE=sysdate
         where a.ISIN=isin_p
           AND A.END_DATE IS NULL;
         SQL_QUERY := 'SELECT A.EMISSIONE, A.AZIONE, A.FONDO, A.EMITTENTE,
                       A.RISCHIO, A.VAR, A.FORMULA,
                       A.PROFILO
                       FROM SPR_WEB_NUOVE_EMISSIONI A
                       WHERE A.ISIN='''||isin_p||' AND A.END_DATE=TRUNC(SYSDATE)';
         OPEN SUMM FOR SQL_QUERY;       
         LOOP
         FETCH SUMM INTO MODIFICHE;
         EXIT WHEN SUMM%NOTFOUND;
         if emissione_p < 1 THEN
         EMS := MODIFICHE.EMISSIONE;
         ELSE
         EMS := 'Y';
         end if;
         if azione_p < 1 THEN
         AZI := MODIFICHE.AZIONE;
         ELSE
         AZI := 'Y';
         end if;
         if fondo_p < 1 THEN
         FON := MODIFICHE.FONDO;
         ELSE
         FON := 'Y';
         end if;
         if emittente_p < 1 THEN
         EMT := MODIFICHE.EMITTENTE;
         ELSE
         EMT := 'Y';
         end if;
         if rischio_p < 1 THEN
         RSK := MODIFICHE.RISCHIO;
         ELSE
         RSK := 'Y';
         end if;
         if var_p < 1 THEN
         VAR := MODIFICHE.VAR;
         ELSE
         VAR := 'Y';
         end if;
         if formula_p < 1 THEN
         FRM := MODIFICHE.FORMULA;
         ELSE
         FRM := 'Y';
         end if;
         if profilo_p < 1 THEN
         PRF := MODIFICHE.PROFILO;
         ELSE
         PRF := 'Y';
         end if;
         END LOOP;
         CLOSE SUMM;
         ELSE
         if emissione_p < 1 THEN
         EMS := 'N';
         ELSE
         EMS := 'Y';
         end if;
         if azione_p < 1 THEN
         AZI := 'N';
         ELSE
         AZI := 'Y';
         end if;
         if fondo_p < 1 THEN
         FON := 'N';
         ELSE
         FON := 'Y';
         end if;
         if emittente_p < 1 THEN
         EMT := 'N';
         ELSE
         EMT := 'Y';
         end if;
         if rischio_p < 1 THEN
         RSK := 'N';
         ELSE
         RSK := 'Y';
         end if;
         if var_p < 1 THEN
         VAR := 'N';
         ELSE
         VAR := 'Y';
         end if;
         if formula_p < 1 THEN
         FRM := 'N';
         ELSE
         FRM := 'Y';
         end if;
         if profilo_p < 1 THEN
         PRF := 'N';
         ELSE
         PRF := 'Y';
         end if;
         end if;
         insert into spr_web_nuove_emissioni
         values (isin_p, sysdate, utente, EMS, AZI, FON, EMT,
                RSK, VAR, FRM, PRF,
                SYSDATE, NULL);
         begin
         update spr_status a
         set a.VALIDATED='Y'
         where a.ISIN=isin_p
           AND A.MARKET=mercato;
         if modificato > 0
         then
         update spr_status a
         set a.USER_CHANGE='Y', a.USER_LAST_MODIFIED=sysdate
         where a.ISIN=isin_p and a.MARKET=mercato;
         end if;
         exception
             when others then
             dbms_output.put_line('ERROR in <PKG_SCHEDAPR.UPDATE_SPR_STATUS> Aggiornamento stato ' ||SQLCODE||'-'||SQLERRM);
             return 1;
         end;
         commit;
         return 0;
    end UPDATE_SPR_STATUS;I do not succed to understand the error I receive, why? Where is the error?
    Can someone help me?
    Thanks, bye bye.

    Hi,
    I have changed the php code in this way:
    $query  = " declare retU number; begin ";
          $query .= " retU := pkg_schedapr.UPDATE_SPR_STATUS(:isinU, :utente, :emissione_f, ";
          $query .= ":azione_f, :fondo_f, :emittenteU_f, :rischioU_f, :varU_f, ";
          $query .= ":formulaU_f, :profiloU_f); ";
          $query .= ":retU_val := retU; "; 
          $query .= "end;";   
          $stmtUpdate = ociparse ($this->conn,$query);
             if (!$stmtUpdate) die (var_dump(OCIError()));  
            ociBindByName($stmtUpdate, ":isinU", $isin_t, 12);
            ociBindByName($stmtUpdate, ":utente", $userName, 20);
            ociBindByName($stmtUpdate, ":emissione_f", $mod_bond, 1);
            ociBindByName($stmtUpdate, ":azione_f", $mod_azione, 1);
            ociBindByName($stmtUpdate, ":fondo_f", $mod_fondo, 1);
            ociBindByName($stmtUpdate, ":emittenteU_f", $mod_emittente, 1);
            ociBindByName($stmtUpdate, ":rischioU_f", $mod_rischio, 1);
            ociBindByName($stmtUpdate, ":varU_f", $mod_var, 1);
            ociBindByName($stmtUpdate, ":formulaU_f", $mod_formula, 1);
            ociBindByName($stmtUpdate, ":profiloU_f", $mod_profilo, 1);
            ociBindByName($stmtUpdate, ":retU_val", $retU_val, 1);  
             echo "$isin_t--";echo "$userName--"; echo"$mod_bond--";
          echo "$mod_azione--";echo "$mod_fondo--"; echo"$mod_emittente--";
          echo "$mod_rischio--";echo "$mod_var--"; echo"$mod_formula--";
          echo "$mod_profilo--";echo "$retU_val";
            echo "$query";
            $err=OCIExecute($stmtUpdate);
             if (!$err) die (var_dump(OCIError()));
          ocifreestatement($stmtUpdate);   and now I receive this error:
    Warning: ociexecute(): OCIStmtExecute: ORA-01756: quoted string not properly terminated ORA-06512: at "FIN.PKG_SCHEDAPR", line 6420 ORA-06512: at line 1 in /web/findb/php/fin/SPR/nuoveEmissioni/nuoveEmissioni.class.php on line 918
    bool(false) But I do not understand the cause of the error.
    How can I solve?
    Thanks, bye bye.

  • Please Help, Error:ORA-06550

    I am calling a stored procedure in a package LDAP_AUTH ,this SP will take 3 input arguments which are varchar2.when I am calling the SP I am getting error.The SP is running fine in SQL * Plus. Pls help me on this.Pls mail me at [email protected]
    I used cmd.ExecuteNonQuery() i am getting the following error.
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'LOGIN'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    ************ Procedure Code Start *****************
    procedure login(p_user_id in varchar2, p_password in varchar2, p_client_identifier in Varchar2)
    as
    retval PLS_INTEGER;
    ldap_host varchar2(255):=get_host;
    ldap_port number:=get_port;
    user_id varchar2(100):=p_user_id;
    password varchar2(255) := p_password;
    base_dn cmm_preference_map_entry.preference_value_1%type := get_base_dn;
    username_filter cmm_preference_map_entry.preference_value_1%type := replace(get_ldap_username_filter,'%u',user_id);
    group_filter cmm_preference_map_entry.preference_value_1%type := get_ldap_group_member_filter;
    my_session DBMS_LDAP.session;
    res_message DBMS_LDAP.MESSAGE;
    res_attrs DBMS_LDAP.STRING_COLLECTION;
    temp_dn VARCHAR2(512);
    temp_entry DBMS_LDAP.MESSAGE;
    entry_index PLS_INTEGER;
    v_string_table v_string_table_ty;
    i number:=1;
    m number:=1;
    v_user_session_id number;
    pragma autonomous_transaction;
    begin
    DBMS_LDAP.USE_EXCEPTION := TRUE;
    retval := -1;
    -- Initialize the LDAP session
    my_session := DBMS_LDAP.init(ldap_host,ldap_port);
    --Authenticate to the directory
    --retval :=DBMS_LDAP.simple_bind_s(my_session, 'uid=wayyen,ou=people,o=Enterprise Company,dc=smartchain','wayyen');
    retval :=DBMS_LDAP.simple_bind_s(my_session, '','');
    --res_attrs(1):='cn';
    retval := DBMS_LDAP.SEARCH_S(
    ld => my_session
    , base => base_dn
    , scope => DBMS_LDAP.SCOPE_SUBTREE
    , filter => username_filter
    , attrs => res_attrs
    , attronly => 0
    , res => res_message
    temp_entry := DBMS_LDAP.FIRST_ENTRY(my_session, res_message);
    temp_dn := DBMS_LDAP.GET_DN(my_session, temp_entry);
    -- dbms_output.put_line('User DN: '||temp_dn);
    retval :=DBMS_LDAP.simple_bind_s(my_session, TEMP_DN, p_password);
    res_attrs.delete;
    res_attrs(1):='*';
    retval := DBMS_LDAP.SEARCH_S(
    ld => my_session
    , base => base_dn
    , scope => DBMS_LDAP.SCOPE_SUBTREE
    , filter => replace(get_ldap_group_member_filter,'%M',temp_dn)
    , attrs => res_attrs
    , attronly => 0
    , res => res_message
    -- retval := DBMS_LDAP.COUNT_ENTRIES(my_session, res_message);
    -- DBMS_OUTPUT.PUT_LINE(
    -- RPAD('Number of Entries ', 25, ' ') || ': ' || TO_CHAR(retval)
    temp_entry := DBMS_LDAP.FIRST_ENTRY(my_session, res_message);
    entry_index := 1;
    while temp_entry is not null
    loop
    -- dbms_output.put_line('***Group DN**** '||DBMS_LDAP.get_dn(my_session, temp_entry));
    v_string_table(i):=DBMS_LDAP.get_dn(my_session, temp_entry);
    i := i + 1;
    temp_entry := DBMS_LDAP.NEXT_ENTRY(my_session, temp_entry);
    -- DBMS_OUTPUT.PUT_LINE('===================================================');
    entry_index := entry_index + 1;
    END LOOP;
    create_user_session(p_user_id, v_string_table, v_user_session_id);
    ldap_ctx_pkg.set_session_id(v_user_session_id, p_client_identifier);
    dbms_output.put_line('user_session_id: '||v_user_session_id);
    commit;
    retval := DBMS_LDAP.UNBIND_S(my_session);
    end login;
    ************ Procedure Code End*****************
    Web.config
    <appSettings>
    <!--<add key="BaseURLSite" value="http://localhost/SaviReportsWebSite"/>
    <add key="DataSource" value="SRIRAMA-D620"/>
    <add key="UID" value="sa"/>
    <add key="PWD" value="satyam"/>
    <add key="DatabaseName" value="Employee"/>-->
    <add key="BaseURLSite" value="http://localhost/SaviReportsWebSite"/>
    <add key="UID" value="rpt$928$syn"/>
    <add key="PWD" value="rpt$928$syn"/>
    <add key="Data Source" value="AURORA"/>
    <add key="ReportService2005WebService.ReportService2005" value="http://localhost/ReportServer/ReportService2005.asmx"/>
    </appSettings>
    Public Function check_Login(ByVal strLoginIDDesc As String, ByVal strPasswordDesc As String, ByVal strSessionIDDesc As String) As Boolean
    Dim strSQL As String
    'Dim dsHomePage As DataSet
    Dim OracleParam(2) As OracleParameter
    Dim blnStatus As Boolean = False
    Dim gStrConnection As String = Nothing
    gStrConnection = "Persist Security Info=False;"
    gStrConnection += "Integrated Security=False;"
    gStrConnection += "User ID=" + ConfigurationManager.AppSettings("UID") + ";"
    gStrConnection += "pwd=" + ConfigurationManager.AppSettings("PWD") + ";"
    gStrConnection += "Data Source=" + ConfigurationManager.AppSettings("Data Source")
    Dim OracleConnection1 As New OracleConnection(gStrConnection)
    Dim cmd As New OracleCommand
    Dim rowsAffected As Integer
    Dim index As Integer
    cmd.CommandText = "ldap_auth.login"
    cmd.CommandType = CommandType.StoredProcedure
    cmd.Connection = OracleConnection1
    OracleConnection1.Open()
    OracleParam(0) = New OracleParameter("LoginIDDesc", OracleType.LongVarChar)
    OracleParam(0).Direction = ParameterDirection.Input
    OracleParam(0).Value = strLoginIDDesc
    OracleParam(1) = New OracleParameter("PasswordDesc", OracleType.LongVarChar)
    OracleParam(1).Direction = ParameterDirection.Input
    OracleParam(1).Value = strPasswordDesc
    OracleParam(2) = New OracleParameter("SessionIDDesc", OracleType.LongVarChar)
    OracleParam(2).Direction = ParameterDirection.Input
    OracleParam(2).Value = strSessionIDDesc
    Dim UBound As Integer = OracleParam.Length
    For index = 0 To UBound - 1
    cmd.Parameters.Add(OracleParam(index))
    Next
    rowsAffected = cmd.ExecuteNonQuery()
    OracleConnection1.Close()
    If rowsAffected = -1 Then
    blnStatus = True
    End If
    Return blnStatus
    End Function
    Regards,
    SriRam.

    alter table tableName drop constraint constraintName ;
    You cannot drop an index being used to enforce uniqueness. You must drop the constraint - which will also drop the index. You also cannot drop a unique constraint being used as a reference of a foreign key. Adding the keyword CASCADE will allow you to get around that, but it will destroy the FK references.
    alter table tableName drop constraint constraintName CASCADE ;

  • Getting Error ORA-06550

    I am created a web service on top of complex type PL/SQL API, I am trying to test the service by passing all the parameters, but I am running into the following errorr
    i have checked all the APIS are valid only
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://srdemo/GetItemInstanceDetails.wsdl/types/"><env:Body><env:Fault><faultcode>env:Server</faultcode><faultstring>Internal Server Error (Caught exception while handling request: java.rmi.RemoteException: java.sql.SQLException: ORA-06550: line 1, column 61:
    PLS-00103: Encountered the symbol "$" when expecting one of the following:
    := . ( @ % ;
    The symbol ":= was inserted before "$" to continue.
    )</faultstring></env:Fault></env:Body></env:Envelope>
    Can any one please let me know, whats the easy way of debugging the service, while we run into the issues

    I know it's possible to debug PL/SQL code using SQL*Developer or JDeveloper. See e.g. http://www.oracle.com/technology/obe/sqldev/plsql_debug/plsql_debug.htm.
    I would first check the SOAP message that is sent to the web service. You can use the OC4J Enterprise Manager for that. It has a web service test page in which you can fill in a HTML form. You can then select to see the SOAP message that's going to be sent to the web service.
    Also print out the incoming parameters in the first line of the PL/SQL code that is being invoked by the web service (or debug it). At least then you know whether it's a fault in the PL/SQL code or whether the incoming SOAP message contains input errors, or whether the SOAP message is wrongly parsed by the generated web service code.
    Regards, Ronald

  • Error ORA-06550

    Declare fromrang number;
    torang number;
    BEGIN
    fromrang :=1;
    torang :=5;
    SELECT * FROM (select Col1,col2,col3,col4,
    row_number() over (order by 4 desc) rnum
    from mytable)
    where rnum >= fromrang and rnum <= fromrang;
    END;
    Error report:
    ORA-06550: line 6, column 1:
    PLS-00428: an INTO clause is expected in this SELECT statement
    06550. 00000 - "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:
    What is the wrong in the above string why i need to pass into casual here.
    Thanks!

    jeneesh wrote:
    I just googld for Java Pagination and saw This..
    Did you try googling?Jeneesh,
    In the above 'Googling' URL...
    http://www.google.co.in/search?hl=ml&source=hp&q=oracle+sql+pagination+java&gbv=2&oq=oracle+sql+pagination+java&gs_l=heirloom-hp.3..35i39.906.11047.0.11719.37.29.2.0.0.2.469.5143.2-12j4j2.18.0...0.0...1c.1.xXfEVUyZnuU&safe=activetry changing the hl=ml to hl=en
    http://www.google.co.in/search?hl=en&source=hp&q=oracle+sql+pagination+java&gbv=2&oq=oracle+sql+pagination+java&gs_l=heirloom-hp.3..35i39.906.11047.0.11719.37.29.2.0.0.2.469.5143.2-12j4j2.18.0...0.0...1c.1.xXfEVUyZnuU&safe=activeI guess...
    ml = 'Malayalam' a Palindrome
    en = 'English'
    B-)

  • Need help for error ORA-06550

    0 down vote favorite
    Can any body please help I am getting below error for the code.
    ORA-06550: line 20, column 33:
    PLS-00306: wrong number or types of arguments in call to '||'
    ORA-06550: line 20, column 12:
    PL/SQL: Statement ignored
    ...condition1: if I put value explicitly in my parametrize cursor then it is not reaching till 2nd FOR loop. and after printing 'Inside' statement is executed. Condition2. If I put variable as parameter then it is giving above mentioned error.
    DECLARE
    /* First cursor */
    CURSOR get_tables IS
    SELECT DISTINCT * FROM src_table_list tbl ;
    /* Second cursor */
    CURSOR get_columns(v_table_name varchar2) IS
    SELECT SUBSTR (SYS_CONNECT_BY_PATH (column_name, ','), 2) csv
    FROM (SELECT column_name , ROW_NUMBER () OVER (ORDER BY column_name ) rn,
    COUNT (*) OVER () cnt
    FROM USER_TAB_COLUMNS where table_name = v_table_name)
    WHERE rn = cnt
    -- and col.sn = v_sn
    START WITH rn = 1
    CONNECT BY rn = PRIOR rn + 1;
    BEGIN
    FOR i IN get_tables LOOP
    dbms_output.put_line( 'Inside ' );
    FOR j IN get_columns(i.table_name) LOOP
    dbms_output.put_line('SELECT '|| j ||'FROM'||i.table_name||' ;' );
    dbms_output.put_line( ' ' );
    END LOOP;
    END LOOP;
    END;
    /

    Hi,
    j is a cursor and you need to specify the column name <b>j.csv</b>
    Also you need to add space before and after literal 'FROM':
             DBMS_OUTPUT.put_line ('SELECT ' || j.csv || ' FROM ' || i.table_name || ' ;');Please read SQL and PL/SQL FAQ
    When you put some code please enclose it between two lines starting with {noformat}{noformat}
    i.e.:
    {noformat}{noformat}
    SELECT ...
    {noformat}{noformat}
    Regards.
    Al
    Edited by: Alberto Faenza on Dec 1, 2012 4:27 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Deployment error ( ORA - 06550 )

    Oracle Lite 10.2.0.1
    Windows XP 2002
    We have published an application for the Oracle Lite WEB platform. When attempting to deploy to a laptop with a Windows XP operating system, the setup goes until the sync step and then ABENDS with the following error:
    Sync session exception stack trace:
    java.sql.SQLException: ORA-06550: line 1, column 7:
    PLS-00201: identifier 'CONS_EXT.SET_CURR_CLIENT' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    ORA-06550: line 1, column 38:
    PLS-00201: identifier 'CONS_EXT.SET_CURR_DEVICE' must be declared
    ORA-06550: line 1, column 38:
    PL/SQL: Statement ignored
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:242)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:554)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1478)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:888)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2077)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1987)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2704)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:458)
         at oracle.lite.sync.Subscription.executeAndClose(Unknown Source)
         at oracle.lite.sync.HeliosSession.startSession(Unknown Source)
         at oracle.lite.sync.resume.Client$1.run(Unknown Source)
         at oracle.lite.sync.resume.ThreadPool$PoolTask.run(Unknown Source)
    Got anything that will solve this? Is this an internal error in Olite or would this be a problem with our code?
    Message was edited by:
    gotgriz

    Obviously the CONS_EXT package was not getting created. We found that the grants on the database were set up so that SYS.DBMS_LOB was not public(the DBA said the default values were used when the database was created). So when the REPWIZARD attempted to create the CONS_EXT package it couldn't. Changed the SYS.DBMS_LOB to public drop the MOBILEADMIN user and reran the REPWIZARD. The CONS_EXT package was created. The deployment worked.
    Found the solution under Doc ID: Note: 298391.1
    Subject: Synchronization Fails with the Error Cns-9025 ORA-22275

  • I am trying to send data from textfield to database but it is showing error "ORA-12899: value too large for column "HR"."DOCTORS"."NAME" (actual: 658, maximum: 20)"

    Although i am entering only one character into the textfield then too it is reflecting the same error.
    private void initEvents()
      okButton.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
      Connection conn = null;
        Statement stmt = null;
        try{
           //STEP 2: Register JDBC driver
           Class.forName("oracle.jdbc.driver.OracleDriver");
           //STEP 3: Open a connection
           System.out.println("Connecting to database...");
           conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe","hr","hr");
           //STEP 4: Execute a query
           System.out.println("Creating statement...");
           stmt = conn.createStatement();
           System.out.println(txtField);
           String sql = "INSERT INTO DOCTORS VALUES ('"+txtField+"','"+textField_1+"','"+textField_1+"','"+textField_2+"','"+textField_3+"')";
           JOptionPane.showMessageDialog(null,"Inserted Successfully!");
           ResultSet rs = stmt.executeQuery(sql);
           rs.close();
           stmt.close();
           conn.close();
        }catch(SQLException se){
           //Handle errors for JDBC
           se.printStackTrace();
        }catch(Exception e1){
           //Handle errors for Class.forName
           e1.printStackTrace();
        }finally{
           //finally block used to close resources
           try{
              if(stmt!=null)
                 stmt.close();
           }catch(SQLException se2){
           }// nothing we can do
           try{
              if(conn!=null)
                 conn.close();
           }catch(SQLException se){
              se.printStackTrace();
           }//end finally try
        }//end try

    What is a the size of the text you are trying to insert?
    Have you tried the increasing the size of 'Name' column to 658?
    Most likely the size of Name column is 20. This isn't enough to fit in the value you are trying to insert.
    You can increase the size of the Name column with alter table Hr.doctors modify ( Name column_type (658));
    Let me know if this helps.
    Regards,
    Suntrupth

  • ORA-06550:  ERROR:(((((((((((

    I did an application which is in http://www.oracle.com/technology/oramag/oracle/06-mar/o26browser.html .
    when ı did it in oracle database 10g express edition , it run but ı must show it to another people so I request a workspace from apex and then I did in it but this time it didnt run:(((( I did same things :( ı dont understand why it cant run and give error:(
    ORA-06550: line 6, column 22: PLS-00302: component 'QUESTION' must be declared ORA-06550: line 6, column 9: PL/SQL: Statement ignored ORA-06550: line 8, column 22: PLS-00302: component 'QUESTION' must be declared ORA-06550: line 8, column 9: PL/SQL: Statement ignored ORA-06550: line 10, column 22: PLS-00302: component 'QUESTION' must be declared ORA-06550: line 10, column 9: PL/SQL: Statement ignored ORA-06550: line 12, column 22: PLS-00302: component 'QUESTION' must be declared ORA-06550: line 12, column

    Apparently, DBMS_PICKLER is an undocumented internal package. From the context I geuus it's part of the Java implementation.
    I think the problem is likely to be in the Oracle 7 database. This version of Orcale supported neither Java nor arrays. Now it maybe that it's possible to do what you want in some other way (or indeed I may have the wrong end of the stick). So I think you'd better post soem more details - what it is you're trying to do and how you're going about it.
    Cheers, APC

  • Error while executing procedure : ORA-06550 and PLS-00103

    Hi I have created the Stored Procedure as,
    CREATE OR REPLACE PACKAGE BODY APPS.TMP_IMPORT_ITEMS_PKG AS
      PROCEDURE LOAD_INTERFACE_TABLE(organization_code IN VARCHAR2, errbuf OUT VARCHAR2, retcode OUT NUMBER) IS
      org_code varchar2(3);
      BEGIN
        org_code:= organization_code;
        DBMS_OUTPUT.PUT_LINE('Organization Code is...' || org_code);
      END LOAD_TABLE;
    END TMP_IMPORT_ITEMS_PKG;
    And here is the code what i am trying to execute:
    DECLARE
      V_ERRBUF VARCHAR2(1000);
      V_RETCODE NUMBER;
    BEGIN
      EXEC TMP_IMPORT_ITEMS_PKG.LOAD_INTERFACE_TABLE('x1', V_ERRBUF, V_RETCODE);
    END;
    when i run the above code i am getting the following error:
    ORA-06550: line 5, column 10:
    PLS-00103: Encountered the symbol "TMP_IMPORT_ITEMS_PKG" when expecting one of the following:
    := . ( @ % ;
    The symbol ":=" was substituted for "TMP_IMPORT_ITEMS_PKG" to continue.
    Can any body tell me what's wrong with the above code
    Thanks in Advance,
    Kumar K
    Edited by: user2054206 on Dec 17, 2008 9:09 PM
    Edited by: user2054206 on Dec 17, 2008 9:27 PM

    BEGIN
    EXEC TMP_IMPORT_ITEMS_PKG.LOAD_INTERFACE_TABLE('x1', '', null);
    END;why are you executing it like that , it should be
    EXEC TMP_IMPORT_ITEMS_PKG.LOAD_INTERFACE_TABLE('x1', '', null);or as Prabhakar said in PL/SQL
    BEGIN
         TMP_IMPORT_ITEMS_PKG.LOAD_INTERFACE_TABLE('x1', '', null);
    END;Edited by: Rajneesh Kumar on Dec 18, 2008 11:08 AM

  • ORA-06550 error help

    Hi Everyone,
    I am brand new to APEX. I have created an application and it ran fine until I got this error:
    ORA-06550: line 1, column 642: PL/SQL: ORA-00917: missing comma ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored
    Will you please point me in the direction as to how I can resolve this error? Thank you.

    alter table tableName drop constraint constraintName ;
    You cannot drop an index being used to enforce uniqueness. You must drop the constraint - which will also drop the index. You also cannot drop a unique constraint being used as a reference of a foreign key. Adding the keyword CASCADE will allow you to get around that, but it will destroy the FK references.
    alter table tableName drop constraint constraintName CASCADE ;

  • Automatic Row Processing fetch error (ORA-00936: missing expression)

    Hi there,
    I have a bit of a problem setting up automatic row processing. The Apex processing is causing an error, but I'm not sure what PL/SQL code is being run (obviously, I don't have access to the Apex code) and all I get is the error following:
    0.13: Processing point: AFTER_HEADER
    0.13: ...Process "Notes load": DML_FETCH_ROW (AFTER_HEADER) F|#OWNER#:PUPIL_NOTE:P29_PUPIL_ID:PUPIL_ID:P29_ACHIEVEMENT_SET_ID:ACHIEVEMENT_SET_ID
    0.16: Show ERROR page...
    and then the following exception report on the page:
    ORA-06550: line 1, column 17: PL/SQL: ORA-00936: missing expression ORA-06550: line 1, column 9: PL/SQL: SQL Statement ignored
    Can anyone tell me how I can diagnose the problem?
    Many thanks,
    Robert
    Message was edited to change subject

    I am having a very similiar problem
    0.02: Fetch session state from database
    0.03: Branch point: BEFORE_HEADER
    0.03: Fetch application meta data
    0.03: Computation point: BEFORE_HEADER
    0.03: Processing point: BEFORE_HEADER
    0.04: ...DML_FETCH_ROW (BEFORE_HEADER) F|#OWNER#:JOH:P66_JOH_ID:JOH_ID
    0.49: Show ERROR page...
    0.50: Processing point: AFTER_ERROR_HEADER
    ORA-06550: line 1, column 17: PL/SQL: ORA-00936: missing expression ORA-06550: line 1, column 9: PL/SQL: SQL Statement ignored
    JOH was a synonym (allowing other shemas to access the table) but @I delted those
    P66_JOH_ID is a DB column (which it wasnt)
    but I still get the error
    ORA-06550: line 1, column 17: PL/SQL: ORA-00936: missing expression ORA-06550: line 1, column 9: PL/SQL: SQL Statement ignored
    Any ideas how I can track this down?

  • ORA-06550: where could this come from?

    Hello!
    I am working on an application and about one week ago when presenting it (of course) I've got this error:
    "ORA-06550: line 1, column 47: PL/SQL: ORA-00972: identifier is too long ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored"
    I've tried to debug it but nothing worked so I decided to re-create the page.
    I did this and today, during the demo.. I've got this AGAIN!
    The application is supposed to manage the meeting rooms bookings in the company I am working for. The error I get is on the Create a new meeting page. On the same page I have many other elements (I hide / show regions while collecting all data from user)
    Please advice,
    Thank you in advance!
    Anca

    Hello!
    Thank you for the answers. This error ate a lot of my time as I didn't know where it was coming from and rebuilt the complex page several times. Last time I checked it after every new element added.
    The error occurred when I was trying to create new "meeting" (an insert to my table).
    As mentioned, on the same page I had several forms but hidden and displayed depending on the workflow moment.
    The problem was caused by one form element supposed to help getting data for another table (participants). Maybe is a database structure issue, but all my tables have the primary key named ID. This is how I've ended up with two form items supposed to link to database column ID. So, I imagined that for the second one I can make the difference by adding the table name in front.. as I would normally do in SQL. Wrong. This is what was causing the issue. Now I use the secondary form with no connection to any column and I add the data via an insert PL / SQL process I wrote.
    It is funny how i find the solution after I ask on the forum, no matter if somebody is helping me or not :)
    Thank you again for the support!
    Have a nice day!
    Anca

Maybe you are looking for