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
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 -
Error while deploy mapping ora-06550 table or view does not exist
Hi everyone,
i have a target source 'U_BCK' that cointains some Oracle table.
I have also created a target schema 'BCK_OWNER' where i create some dimensions and cubes with mappings.
My mappings connect some table from U_BCK with dimension or cube from BCK_OWNER.
My repository owner is called 'rep_owner' and i used this user to create every metadata.
Now i'm trying to deploy, and i don't have any problem until deploying mappings. When i try to deploy mappings i get some errors like ora-06550,ora-00942 table or view does not exist and statement ignored.
Please help me and sorry for my english...
Thanks,
Alex.The mapping, that drives the data from one table to another is deployed to the database as a PL/SQL package. When deploying your mapping fails, it most often means that the resulting PL/SQL package doesn't compile in the database.
Using Oracle SQL Developer (or Toad, SQL Navigator or any other tool) connect to the schema on the database where you have deployed the mapping. Open the pl/sql package and compile it. That should show you the place where the compilation fails, and give you an idea as to what table it can not find. Otherwise, in SQLPLUS, you can simply give the following command:
ALTER PACKAGE THE_PACKAGE_NAME_GOES_HERE compile body;
show errors;
As the database user who owns the source tables, make sure to issue a GRANT command for each of the source tables, granting SELECT access to the database user who owns the mapping:
grant select on TABLENAME to TARGETSCHEMA.
hope this helps
Borkur -
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. -
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
SateeshHi,
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 -
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 ; -
Mapping Deployment Warning - ORA-06550, PLW-07204
While deploying a mapping, I receive a warning
ORA-06550 and PLW-07204: conversion away from column type may result in sub-optimal query plan.
Any ideas on why this might be happening?
Thanks!Hi,
I think you are trying to conert the datatype of your column
Amrit -
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 issuesI 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 -
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. -
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-) -
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 -
Can't deploy - error ora-12514
Hi,
I've got problem. During deploying some errors occured:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
</NAMESPACE>
RUNTIME_SERVICES_DEBUG [WhValidationGenerationTransaction] DeploymentSpecificati onImpl.addToUnitSpecificationImplArrayList: created UnitSpecification for Deploy mentAdapterName DDLDeployment StoreUOID= 8FF70863EE62307EE043A9B6BF4B307E Action = 1 FCO list= EXT_TAB_STMT_KL,SOME_NAME__REJECTED_ROWS_LOCATION_0,SOME_NAME__EXT_TAB_LOGS_LO CATION,SOME_NAME__STMT_LOCATION_0,
Notification (Unit): start SOME_NAME_DATA_LOCATION (Create) - 0 (Adapter=DDLDeploy ment Location=SOME_NAMEDATA_LOCATION)
Notification (Message): Listener refused the connection with the following error :
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Notification (Message): RPE-01008: Recovery of this request is in progress.
Notification (Message): Listener refused the connection with the following error :
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Notification (Unit): complete SOME_NAME_DATA_LOCATION (Create) - 0 (Adapter=DDLDep loyment Location=SOME_NAMEDATA_LOCATION)
MEM:GenerationValidationService:internalCompile:after transaction:U: 126938816%
If I test connection in Connection Explorer on SOME_NAME_DATA_LOCATION it comes with Successfull.
Listener is in ready state and connection with ie toad works.
Can somebody give me some clues?
PS. Sorry for my English.check if this helps:
Cause
Oracle Workflow software was installed but the packages/repository have not been created.
RPE-002053 indicates that Oracle Workflow Installation is incomplete and OWF_MGR schema should not be empty.
Solution
1) From Oracle Workflow ORACLE_HOME:
- Run $ORACLE_HOME/wf/install/wfinstall.csh
- Follow Oracle Workflow Configuration Assistance screen to install Workflow packages under OWF_MGR schema.
2) Review if there is any error after running the script.
3) Re-deploy OWB Process Flow.
Edited by: Darthvader-647181 on Mar 6, 2009 2:28 AM -
Deployment Error ORA-02248: invalid option for ALTER SESSION
While trying to deploy application on oc4j standalone 10.1.2, I receive the following error:
ORA-00604: error occurred at recursive SQL level 1
ORA-02248: invalid option for ALTER SESSION
Any ideas?Hello,
Which kind of application are you deploying?
What the application is doing with the database during deployment? (what j2ee components are you using that could access the DB during deployment)
Regards
Tugdual Grall -
I have the following problem:
After a failed deployment the deploy status of the project is failed, with the error:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
I'm using Oracle 10g Release 1 and Oracle Warehouse Builder 10g Release 1
I've read several threads already about the same error message, but none of the provided solutions worked for me. I've checked the tnsnames.ora files for the service names which should be correct. The runtime repository connection I've created should work because I'm able the start the editor for the runtime repository connection.
Anyone got any suggestions for what the problem could be?
MIS-aHello,
Have you looked at the TNSNAMES.ORA file in the ORACLE_HOME of the instance where your OWB Runtime is installed?
Check that the registered location (in Deployment Mgr) of your target matches the TNSNAMES.ORA entry and also matches the real target instance location.
I believe that the runtime environment instance's TNSNAMES.ORA is used to resolve the registered target location, not your design client TNSNAMES.ORA.
[Last minute addition: It might be the design repository instance you need to check, not the runtime repository - we have all in one instance, so I'm not sure exactly where the target location is resolved]
Regards, Hans Henrik -
Deployment error: ORA-01017: invalid username/password; logon denied
Hi,
I created a new target schema against an existing runtime owner user id and runtime access user id.
But deploying the mapping now gives error as follows:
<<ORA-01017: invalid username/password; logon denied>>
Can you please guide where the problem is?
Thanks & Regards,
LeninHi,
Just to add some more informations about this topic. I created one extra target schema for the same runtime user id/runtime access user. And then tried to deploy the mapping and got the above error. And again, I removed the older target schema by using "OWB Runtime Assistant". And then tried to deploy mapping again and got the same error again.
Can you please help me out in this case?
Thanks & Regards,
Lenin
Maybe you are looking for
-
When running on 8.4 i had a working config with the following scenario. I have 2 interfaces configured as the outside interface. One is connected to my internet connection The other one is connected to a host that has a public ip. The public host can
-
Import problem "Can't inport -38"
I teach a middle school class. We are trying to import a QuickTime video from a server. I have six QuickTime videos which are all the same, but they have different names. For example, one video is called "Shared Video1", then next "Shared Video2", an
-
Random disconnections... Without being notified?
I'm experiencing a very frustrating problem. I can never really seem to stay logged on to AIM for very long regardless of the client I'm using. Here's the kicker, though: I'm never notified that I have been logged off, or that I have lost my connecti
-
Adobe 11.0.09 update
After installing the 11.0.09 Standard Update. All documents are opening with just the document name bar visible. The File Menu and Toolbars and Document are collapsed and hidden.
-
Improving Efficiency of Spry Repeat Region
Hi, I'm using the haversine formula (to calculate distance between two points on a sphere). Ultimately I'm using the output to limit the number of results displayed per the code below. My question is why I have to run OPTION 1 instead of just running