ORA-06553: PLS-908 when calling 10g remote procedure from 11g database
Hi,
I have 2 instances: 11g (11.1.0.7) and 10g (10.2.0.4). When I try to call 10g (remote) procedure from 11g database, there is errors:
ORA-04052: error occurred when looking up remote object CUSTOMER.PRL_PK2_GENERAL@CUSTOMER_LINK
ORA-06541: PL/SQL: compilation error - compilation aborted
ORA-06553: PLS-908: The stored format ofCUSTOMER.PRL_PK2_GENERAL@CUSTOMER_LINK is not supported...
But, if I call the same procedure from another 10g instance, it's OK.
How can I fix the problem?
Thx,
qtpham
As you can see ,it seems like the workaround that was mentioned there is currently the only way to remove this ORA.
Workaround: Remove the function call(s) from the called subroutine's
package's spec.
Similar Messages
-
Error when calling a stored procedure from a SQL Script
Apologies if this is a really dumb question but I can't seem to call a procedure in package from a SQL script. I have a simple package.procedure containing a loop to populate a table. I would like to include a call to this procedure from my database install script, that also includes my CREATE and INSERT statements. I run the script using "@install_databae" and the CREATE and INSERT statements run fine. The script gives an error when it reaches the line below:
exec lazarus.PopulateGridPositions;
and gives the error.....
BEGIN lazarus.PopulateGridPositions; END;
ERROR at line 1:
ORA-04063: package body "LAZARUS.LAZARUS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "LAZARUS.LAZARUS"
ORA-06512: at line 1
The procedure and package have both compiled without errors and the statement on its own works fine in SQL*Plus.
I've obviously missed some fundamental concept with scripts and SQL. Please can anybody help me?Histon FTM wrote:
ORA-04063: package body "LAZARUS.LAZARUS" has errors Above, obviously conflicts with the statement that follows:
>
The procedure and package have both compiled without errors and the statement on its own works fine in SQL*Plus.I suggest you take a look in the USER_ERRORS view to see, what the errors are.
And just checking:
You have schema called LAZARUS, which holds a package named LAZARUS, which holds a procedure called POPULATEGRIDPOSITIONS?
Edited by: Toon Koppelaars on Oct 1, 2009 5:55 PM -
How to call MSSQL stored procedure from oracle database
MSSQL and Oracle databases are linked thru ODBC link using Oracle HSODBC.
I can query MSSQL table or view from Oracle Database using standard notation for acessing remote objects schema.object@dblink_name...
Can anybody give me syntax for calling MSSQL stored procedure thru ODBC database link?
I tried syntax exec schema.stored_procedure@dblink_name but it doesn't work...i'm getting schema.stored_procedure must be declared error...
Tnx,in advance!
Dejan BoticaOracle database 10gR2.
MSSQL2000 database.
For example query:
select * from dbo.Tbl_Test@kron@dw_jamnica; works fine...
...while for example exec dbo.Test@kron@dw_jamnica;
reports error:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBO.TEST@KRON@DW_JAMNICA' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Table Tbl_Test and procedure Test exists in MSSQL instance.
Regards,
Dejan -
Help on ORA-06550 & PLS-00363 Error while running a procedure from a packag
Greeting All,
I ran the following procedure from a package on a command line in sqlplus:
SQL> exec QUALITY_ASSURANCE.COPY_SW_RESOURCES(2009,2010,9508);Where '2009' is the old fiscal year, '2010' is the new fiscal year and '9508' is the error code passed from the calling program. But, I received the following error messages:
ERROR at line 1:
ORA-06550: line 1, column 53:
PLS-00363: expression '9508' cannot be used as an assignment target
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Any thoughts, suggestions and/or advice to resolve these errors.
Thanks in advance.Orchid wrote:
Justin,
Thanks for your response and information. Yes, Theoa was correct the 3rd parameter is an OUT variable, and it is a numeric field. The procedure was called by a form as follows:
QUALITY_ASSURANCE.COPY_SW_RESOURCES(:BLK_CONTROL.FROMFY,:BLK_CONTROL.TOFY,V_ERR);But the form does not work so I am trying to isolate the problem by running the procedure by itself in sqlplus to make sure there is no problem with the procedure.
Yesterday, I was able to run the procedure in Toad for Oracle to a successful completion by providing the 3 parameters: (2009, 2010, null). Just wonder why I cannot run the same procedure with the same parameters on a command line in sqlplus as follows:
exec QUALITY_ASSURANCE.COPY_SW_RESOURCES(2009,2010,null);So, if I understand your suggestion correctly, in order to run the procedure with the 3 parameter successfully in sqlplus,
I have to declare the 3rd parameter in PL/SQL. That is to create a PL/SQL file as suggested and run the file, correct? CORRECT! -
Segmentation fault when calling dbms_alert.register() procedure from OCCI
I am trying to call the dbms_alert.register() from the OCCI but I get segmentation fault when I run the program, here is the code snippet. I am gettin segmentation fault immediately after calling setSQL() method.
Environment *occiEnvironment_;
Connection *occiConnection_ ;
string userName("SCOTT");
string userPasswd("tiger");
string url("");
occiEnvironment_ = Environment::createEnvironment();
try{
occiConnection_ = occiEnvironment_->createConnection(userName,userPasswd,url);
Statement *occiStatement1;
cout << "Before setSQL" << endl;
occiStatement1->setSQL("BEGIN dbms_alert.register(:1); END;");
cout << "After setSQL" << endl;
string alert1("MY_ALERT");
occiStatement1->setString(1,alert1);
occiStatement1->execute();
catch (SQLException ea)
cout << ea.what();
}Thanks for the reply, now I dont see segmentation fault.
I tried to exted the code further to wait for the registered events, I added the following code, I do get and event but then get the exception:
Statement *occiStatement1 = occiConnection_->createStatement();
Statement *occiStatement2 = occiConnection_->createStatement();
string alert, msg;
int status;
occiStatement1->setSQL("BEGIN dbms_alert.register(:1); END;");
string alert1("MY_ALERT");
occiStatement1->setString(1,alert1);
occiStatement1->execute();
occiStatement2->setSQL("BEGIN dbms_alert.waitany(:alert,:msg,:status); END;");
occiStatement2->registerOutParam(1, OCCICHAR, sizeof(alert));
occiStatement2->registerOutParam(2, OCCICHAR, sizeof(msg));
occiStatement2->registerOutParam(3, OCCIINT, sizeof(int));
occiStatement2->execute();
===========================================================
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SYS.DBMS_ALERT", line 252
ORA-06512: at line 1
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SYS.DBMS_ALERT", line 252
ORA-06512: at line 1
*** glibc detected *** free(): invalid pointer: 0x08619c48 ***
Aborted -
Security Sandbox Violation when calling a remote service from a worker
From my application, I make calls to a BlazeDS server, that works fine.
I added a worker that calls the same services on the same server. But then, only for the calls from the worker, I have a Security Sandbox Violation error. I launch the application from FB in debug mode.
This is the message :
Error: [strict] Ignoring policy file at http://xxxxxxxxxxxx/crossdomain.xml due to incorrect syntax. See http://www.adobe.com/go/strict_policy_files to fix this problem.
*** Security Sandbox Violation ***
Connection to http://xxxxxxxxxxxxxx/appstore-admin/messagebroker/amfpolling halted - not permitted from file:///D:/Projects/appstoreClientsNext/MultiAppstoreAdmin/bin-debug/MultiAppstoreAdmin.swf
Error: Request for resource at http://xxxxxxxxxxxxx/appstore-admin/messagebroker/amfpolling by requestor from file:///D:/Projects/appstoreClientsNext/MultiAppstoreAdmin/bin-debug/MultiAppstoreAdmin.swf is denied due to lack of policy file permissions.
What should I do to allow the worker to make remote calls ?I made some progress on this. There are two different cases :
1) The service you want to access has a crossdomain.xml file
All the workers can access the service without a problem.
2) The service you want to access doesn't have a crossdomain.xml file
Whether you launch from FB in debug mode or you put your application on the same server you are trying to access, only the primordial worker will access the service, the other workers will encounter a security error.
I believe this is a bug. Shouldn't a worker have the same access privileges as the primordial worker ? -
ORA-06553: PLS-306: wrong number or types of arguments in call to 'EDN_DEQU
Hi,
I have installed Oracle fusion 11g on windows vista SP1 system. I have followed all the steps provided in the Oracle fusion installation guide.
After installation when i tried to start the SOA server i'm continously getting the below warning message in the log file.
[2009-11-27T03:18:23.203+05:30] [soa_server1] [WARNING] [SOA-31013] [oracle.integration.platform.blocks.event.saq] [tid: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@291d84] [userId: <anonymous>] [ecid: 0000IKmTpBfB5Ewr0CyWMF1B3jQf00000B,0] [APP: soa-infra] Error handling message (rolling back).[[
java.sql.SQLException: ORA-06553: PLS-306: wrong number or types of arguments in call to 'EDN_DEQUEUE_OAOO_DELIVERY'
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:191)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:950)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:3858)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:98)
at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.readOAOODelivery(SAQBusinessEventBus.java:1222)
at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.handleSingleOAOODelivery(SAQBusinessEventBus.java:690)
at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.handleQueueEvents(SAQBusinessEventBus.java:614)
at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.access$000(SAQBusinessEventBus.java:76)
at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus$1.run(SAQBusinessEventBus.java:279)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:77)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:171)
at java.lang.Thread.run(Thread.java:619)
I have restarted everything and tried again which resulted in the same scenario.
Anyone,Please help me to troubleshoot this and walk me through this issue.Thanks in advance!.Hi to all,
I have the same problem after a fresch installation of the SOA SUite on a Windows XP.
After both the admin server and the SOA Server for the domain started correctly then the huge amount of errors
<ORA-06553: PLS-306: ....>
is preventing any work on the dual core PC.
Who can help ?
best regards
############## traces SOA_server console ###############
<Dec 16, 2009 10:09:10 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Dec 16, 2009 10:09:10 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Dec 16, 2009 10:09:10 AM CET> <Warning> <Server> <BEA-002611> <Hostname "venus", maps to multiple IP addresses: 192.168
.0.52, 192.168.0.41>
<Dec 16, 2009 10:09:10 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.0.41:800
1 for protocols iiop, t3, ldap, snmp, http.>
<Dec 16, 2009 10:09:10 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.0.52:8001 f
or protocols iiop, t3, ldap, snmp, http.>
<Dec 16, 2009 10:09:10 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 127.0.0.1:8001 f
or protocols iiop, t3, ldap, snmp, http.>
<Dec 16, 2009 10:09:10 AM CET> <Notice> <WebLogicServer> <BEA-000330> <Started WebLogic Managed Server "soa_server1" for
domain "domain1" running in Production Mode>
INFO: WLSFabricKernelInitializer$1.handleNotification ......received server running notification. proceeding with compo
site deployments
INFO: WLSFabricKernelInitializer$2.run --------->deploying composite model: default/HelloWorldComposite!1.0*53efe7eb-0cc
6-4fd4-a4c7-72429e842d89
<Dec 16, 2009 10:09:13 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Dec 16, 2009 10:09:13 AM CET> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
INFO: SSLSocketFactoryManagerImpl.getKeystoreLocation SOA Keystore location: C:/Oracle/MIDDLE~1/HOME_1~1/USER_P~1/domain
s/domain1/config/fmwconfig/default-keystore.jks
INFO: SSLSocketFactoryManagerImpl.getKeystorePassword Obtained null or empty keystore password
INFO: SSLSocketFactoryManagerImpl.getKeyPassword Obtained null or empty key password
INFO: SSLSocketFactoryManagerImpl.getSSLSocketFactory SOA-20160
INFO: DeploymentEventPublisher.invoke Publishing deploy event for default/HelloWorldComposite!1.0*53efe7eb-0cc6-4fd4-a4c
7-72429e842d89
INFO: WLSFabricKernelInitializer$2.run -------> Done deploying composites. took 1 seconds.
Dec 16, 2009 10:09:16 AM oracle.integration.platform.blocks.event.saq.SAQBusinessEventBusMessages errorHandlingMessage
WARNING: Error handling message (rolling back).
java.sql.SQLException: ORA-06553: PLS-306: wrong number or types of arguments in call to 'EDN_DEQUEUE_OAOO_DELIVERY'
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:191)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:950)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:3858)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:98)
at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.readOAOODelivery(SAQBusinessEventBus.java:12
22)
at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.handleSingleOAOODelivery(SAQBusinessEventBus
.java:690)
at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.handleQueueEvents(SAQBusinessEventBus.java:6
14)
at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.access$000(SAQBusinessEventBus.java:76)
at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus$1.run(SAQBusinessEventBus.java:279)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:77)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:171)
at java.lang.Thread.run(Thread.java:619)
################ traces WebLogic admin server ######################
starting weblogic with Java version:
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode)
Starting WLS with line:
C:\Oracle\MIDDLE~1\HOME_1~1\JDK160~1\bin\java -client -Xms512m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m -Dweblo
gic.Name=AdminServer -Djava.security.policy=C:\Oracle\MIDDLE~1\HOME_1~1\WLSERV~1.3\server\lib\weblogic.policy -Xverify:
none -da -Dplatform.home=C:\Oracle\MIDDLE~1\HOME_1~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\HOME_1~1\WLSERV~1.3\serve
r -Dweblogic.home=C:\Oracle\MIDDLE~1\HOME_1~1\WLSERV~1.3\server -Ddomain.home=C:\Oracle\MIDDLE~1\HOME_1~1\USER_P~1\doma
ins\domain1 -Doracle.home=C:\Oracle\Middleware\home_11gR1\Oracle_SOA1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.
Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\Oracle\Middleware\home_11gR1\Oracle_SOA1\modules\or
acle.jrf_11.1.1\jrocket_optfile.txt -Doracle.security.jps.config=C:\Oracle\MIDDLE~1\HOME_1~1\USER_P~1\domains\domain1\co
nfig\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.alternateTypesDirectory=C
:\Oracle\Middleware\home_11gR1\Oracle_SOA1\modules\oracle.ossoiap_11.1.1,C:\Oracle\Middleware\home_11gR1\Oracle_SOA1\mod
ules\oracle.oamprovider_11.1.1 -Dsso.filter.enable=true -Doracle.security.jps.policy.migration.validate.principal=false
-Dsoa.archives.dir=C:\Oracle\Middleware\home_11gR1\Oracle_SOA1\soa -Dsoa.instance.home=C:\Oracle\MIDDLE~1\HOME_1~1\USE
R_P~1\domains\domain1 -Dtangosol.coherence.clusteraddress=227.7.7.7 -Dtangosol.coherence.log=jdk -Djavax.xml.soap.Messag
eFactory=oracle.j2ee.ws.saaj.soap.MessageFactoryImpl -Dcom.sun.management.jmxremote -Djava.protocol.handler.pkgs="oracle
.mds.net.protocol|oracle.fabric.common.classloaderurl.handler|oracle.fabric.common.uddiurl.handler" -Dweblogic.transacti
on.blocking.commit=true -Dweblogic.transaction.blocking.rollback=true -Dem.oracle.home=C:\Oracle\Middleware\home_11gR1\O
racle_SOA1 -Djava.awt.headless=true -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.lo
gErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\HOME_1~1\patch_wls1031\profiles\default\sysext_manifest_classpa
th;C:\Oracle\MIDDLE~1\HOME_1~1\patch_oepe1031\profiles\default\sysext_manifest_classpath weblogic.Server
<Dec 16, 2009 10:02:02 AM CET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Clie
nt VM Version 11.0-b16 from Sun Microsystems Inc.>
<Dec 16, 2009 10:02:03 AM CET> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.1.0 Thu Jun 11 00:26:56
EDT 2009 1227385 >
<Dec 16, 2009 10:02:07 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Dec 16, 2009 10:02:07 AM CET> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Dec 16, 2009 10:02:08 AM CET> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\home_11g
R1\user_projects\domains\domain1\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be
written to this file.>
<Dec 16, 2009 10:02:17 AM CET> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Dec 16, 2009 10:02:34 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Dec 16, 2009 10:02:34 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Dec 16, 2009 10:02:47 AM CET> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.se
curity.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application em is not versioned.>
Dec 16, 2009 10:03:12 AM org.apache.beehive.netui.util.logging.Logger error
SEVERE: ServletContainerAdapter manager not initialized correctly.
Dec 16, 2009 10:03:30 AM org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl init
WARNING: Configurator services already initialized.
ADF Library non-OC4J post-deployment (millis): 78
<Dec 16, 2009 10:03:42 AM CET> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Do
main level Diagnostic Service successfully.>
<Dec 16, 2009 10:03:43 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Dec 16, 2009 10:03:43 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Dec 16, 2009 10:03:43 AM CET> <Warning> <Server> <BEA-002611> <Hostname "venus", maps to multiple IP addresses: 192.168
.0.52, 192.168.0.41>
<Dec 16, 2009 10:03:43 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 127.0.0.1:7001 f
or protocols iiop, t3, ldap, snmp, http.>
<Dec 16, 2009 10:03:43 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.0.41:700
1 for protocols iiop, t3, ldap, snmp, http.>
<Dec 16, 2009 10:03:43 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.0.52:7001 f
or protocols iiop, t3, ldap, snmp, http.>
<Dec 16, 2009 10:03:43 AM CET> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server "AdminServer" for d
omain "domain1" running in Production Mode>
<Dec 16, 2009 10:03:43 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Dec 16, 2009 10:03:43 AM CET> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
############################################################################################### -
Error w/ UPDATE in Stored Procedure - ORA-06553 PLS-306
I get the following error when executing my stored proc. from a Perl script:
DBI ERROR: ORA-06553: PLS-306: wrong number or types of arguments in call to 'UPDATE_USER_PROJMGR' (DBD ERROR: OCIStmtExecute),
QUERY: DBI::st=HASH(0x238cd4)Now, it's passing the correct number of values, the UPDATE stmt stores them in the proper order and the procedure when created showed it was done so with no errors.
What value could be out of whack with Oracle here? I don't get it. If anyone sees what I'm doing wrong here, please suggest it.
Thanks!
Here's my stored proc.
CREATE OR REPLACE PROCEDURE UPDATE_USER_PROJMGR
(dp_regleg IN DEFAULT_PROJECT_USER.REG_LEGAL%type,
dp_netcred IN DEFAULT_PROJECT_USER.NETCRED_LOSS%type,
dp_expreduc IN DEFAULT_PROJECT_USER.EXPENSE_REDUC_CKB%type,
dp_stratgoal IN DEFAULT_PROJECT_USER.STRAT_GOALS%type,
dp_audcompl IN DEFAULT_PROJECT_USER.AUDIT_COMPL%type,
dp_revgen IN DEFAULT_PROJECT_USER.REV_GEN%type,
dp_cacs IN DEFAULT_PROJECT_USER.CACS%type,
dp_custit IN DEFAULT_PROJECT_USER.CUSTOMIT%type,
dp_custimpact IN DEFAULT_PROJECT_USER.CUST_IMPACT%type,
dp_callmgt IN DEFAULT_PROJECT_USER.CALL_MGT%type,
dp_calltrk IN DEFAULT_PROJECT_USER.CALL_TRACK%type,
dp_citilink IN DEFAULT_PROJECT_USER.CITILINK%type,
dp_desktop IN DEFAULT_PROJECT_USER.DESKTOP%type,
dp_dialer IN DEFAULT_PROJECT_USER.DIALER%type,
dp_dri IN DEFAULT_PROJECT_USER.DRI%type,
dp_engr IN DEFAULT_PROJECT_USER.ENGINEER%type,
dp_img IN DEFAULT_PROJECT_USER.IMAGING%type,
dp_ipdt IN DEFAULT_PROJECT_USER.IPDT%type,
dp_mainfram IN DEFAULT_PROJECT_USER.MAINFR%type,
dp_miscoth IN DEFAULT_PROJECT_USER.MISC_OTHER%type,
dp_mortserv IN DEFAULT_PROJECT_USER.MORTSERV%type,
dp_mortweb IN DEFAULT_PROJECT_USER.MORTWEB%type,
dp_nonmortserv IN DEFAULT_PROJECT_USER.NON_MORTSERV%type,
dp_origplat IN DEFAULT_PROJECT_USER.ORIG_PLAT%type,
dp_qualmapping IN DEFAULT_PROJECT_USER.QUAL_MAP%type,
dp_datawarehse IN DEFAULT_PROJECT_USER.DATAWARE_REPTS%type,
dp_servappvend IN DEFAULT_PROJECT_USER.SERV_APP_VDR%type,
dp_sbend IN DEFAULT_PROJECT_USER.SOUTHBEND%type,
dp_websvcg IN DEFAULT_PROJECT_USER.WEB_SVCG%type,
dp_projmgr IN DEFAULT_PROJECT_PROJMGR.PROJ_MGR%type,
dp_status IN DEFAULT_PROJECT_PROJMGR.STATUS%type,
dp_projtype IN DEFAULT_PROJECT_PROJMGR.IT_PROJ_TYPE%type,
dp_projnum IN DEFAULT_PROJECT_PROJMGR.IT_PROJNUMBER%type,
defprodid IN NUMBER)
IS BEGIN
-- UPDATE STATEMENT
UPDATE DEFAULT_PROJECT_USER SET
REG_LEGAL = dp_regleg, NETCRED_LOSS = dp_netcred,EXPENSE_REDUC_CKB = dp_expreduc, STRAT_GOALS = dp_stratgoal, AUDIT_COMPL = dp_audcompl,
REV_GEN = dp_revgen,CACS = dp_cacs, CUSTOMIT = dp_custit, CUST_IMPACT = dp_custimpact,CALL_MGT = dp_callmgt,
CALL_TRACK = dp_calltrk,CITILINK = dp_citilink,DESKTOP = dp_desktop,DIALER = dp_dialer,DRI = dp_dri,
ENGINEER = dp_engr,IMAGING = dp_img,IPDT = dp_ipdt,MAINFR = dp_mainfram,MISC_OTHER = dp_miscoth,MORTSERV = dp_mortserv,
MORTWEB = dp_mortweb,NON_MORTSERV = dp_nonmortserv,ORIG_PLAT = dp_origplat,QUAL_MAP = dp_qualmapping,DATAWARE_REPTS = dp_datawarehse,
SERV_APP_VDR = dp_servappvend,SOUTHBEND = dp_sbend,WEB_SVCG = dp_websvcg
WHERE DEFPROJ_ID = defprodid;
UPDATE DEFAULT_PROJECT_PROJMGR SET
PROJ_MGR = dp_projmgr,STATUS = dp_status,IT_PROJ_TYPE = dp_projtype,IT_PROJNUMBER = dp_projnum
WHERE DEFPROJ_ID = defprodid;
COMMIT;
END UPDATE_USER_PROJMGR;
/Here's my Perl script callable stmt:
my $sth2 = $dbh->prepare(q{CALL UPDATE_USER_PROJMGR(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)});
$sth2->execute($reglegal,$netcredloss,$expreduc,$stratgoal,$audcomp,$revgen,$cacs,$custit,$custimp,$callmgt,$calltrkl,$citlink,$deskt,$dialer,$dri,$engineering, $imaging,$ipdt,$mframe,$miscoth,$mortserv,$mortweb,$nonmortserv,$origpltfrm,$qualmap,$dataware,$servapp,$sbdev,$websvcg,$projmgr,$status,$itprojtype,$itprojnum)or do {
print('err', "<img src='../spacer.gif' width='1' height='150'>ERROR: Could not execute SQL! Error: " . $dbh->errstr);
};and the values getting passed:
Holly Spradlin
Withdrawn
PRF
1222
Y
Y
N
N
Y
Y
Y
N
Y
N
N
N
Y
N
N
N
N
N
Y
Y
Y
N
N
N
N
N
N
N
NI get no compile errors or anything until I submit the form to update.
Any help would be appreciated...if I get it solved, I'll reply right away - thanks.try manually executing the procedure to check for the
errors
SQL> execute UPDATE_USER_PROJMGR('Holly
Spradlin','Withdrawn','PRF',1222,'Y','Y','N','N','Y',
Y','Y','N','Y','N','N','N','Y','N','N','N','N','N','Y'
,'Y','Y','N','N','N','N','N','N','N','N');3360 is right you have only supplied 33 parameters
while your procedures requires 34 parameters.ok, did this and did get the error:
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'UPDATE_USER_PROJMGR'
ORA-06550: line 1, column 7:but I wonder why I can't specify the ID value as my sequence's currval - ?
Let me doublecheck my sequence.
OK, I got it!!! thanks, guys, for all your help!!
I just needed to back to the callable statement in the perl script itself and add the last ID param.
Thanks for pointing that out!!
Message was edited by:
user515689 -
ORA-06553: PLS-123: Program too large
Hi,
I have 2 databases, the development database (9i) and pruction database (10g). I have the same programs on the databases, but when I try to execute the package1.program1 for 3000 records in 10g, result in a error:
ORA-06540: PL/SQL Compilation error
ORA-06553: PLS-123: Program too large
9i is OK.
The program package1.program1 have a lot of DYNAMIC-SQL.
I need help. (Sorry for my English)
Thanks,
IvanHi please check this,
Select * from dba_objects where object_name = 'DBMS_STANDARD';
The standard package may be invalid.
reran catproc.sql This caused the dbms_standard package to become valid once again.
HTH,
Thomas. -
ORA-06553: PLS-307 Error
Hi all,
I'm new to ERP and when I try to view or update information from Extra Information Type the below error appears:
APP-FND-01564: ORACLE error 6553 in FDFGDF
Cause: FDFGDF failed due to ORA-06553: PLS-307: too many declarations of 'DATE_TO_DISPLAYDT' match this call
any help will be appreciated ..
Thanks ..hi,
thanks for the advice but would you tell me how to get this Doc ID fro Oracle support site .. I do have an account but no idea where is the metalink docs.
Thanks .. -
ORA-04052: error occurred when looking up remote object SYS.DBMS_SNAPSHOT
Hello everyone,
When I tried to create a materialized view with refresh fast mode, I encountered following error message.
The MV log has been created on my_table like this:
create materialized view log on my_table
tablespace data3
with rowid, sequence
including new values;
The database link has been created like this:
CREATE PUBLIC DATABASE LINK my_db
CONNECT TO myname
IDENTIFIED BY mypassword
USING 'my_db';
Could anybody please let me know why I can not create MV with refresh fast? What I did wrong?
Thanks in advance!!!
MYDB>select count(*) from my_table@my_db;
COUNT(*)
5
Elapsed: 00:00:00.01
MYDB>create materialized view my_mv
2 tablespace data4
3 build immediate
4 refresh fast with rowid
5 as
6 select * from my_table@my_db
select * from my_table@my_db
ERROR at line 6:
ORA-04052: error occurred when looking up remote object SYS.DBMS_SNAPSHOT@my_db
ORA-00604: error occurred at recursive SQL level 2
ORA-06544: PL/SQL: internal error, arguments: [55916], [], [], [], [], [], [], []
ORA-06553: PLS-801: internal error [55916]
ORA-02063: preceding 2 lines from my_db
Elapsed: 00:00:00.29
MYDB>create materialized view my_mv
2 tablespace data4
3 build immediate
4 as
5 select * from my_table@my_db;
Materialized view created.
Elapsed: 00:00:00.20No, you cannot apply a patch to XE. Basically the XE internal code is the same as for any other edition. That means is there a bug, you have it in XE,too. To get patches you need a licence for metalink/My Oracle Support. But even you would have one, it wouldn't help you, because Oracle does not provide patches for XE.
That's the 'price' you have to pay for this free edition.
Werner -
Error while running package ORA-06553: PLS-553 character set name is not re
Hi all.
I have a problem with a package, when I run it returns me code error:
ORA-06552: PL/SQL: Compilation unit analysis terminated
ORA-06553: PLS-553: character set name is not recognized
The full context of the problem is this:
Previously I had a developing data base, then was migrated to a new server. After that I started to receive the error, so I began to check for the solution.
My first move was compare the “old database” with the “new database”, so I check the nls parameters, and this was the result:
select * from nls_database_parameters;
Result from the old
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET US7ASCII
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_RDBMS_VERSION 10.2.0.1.0
Result from the new
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET US7ASCII
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_RDBMS_VERSION 10.2.0.1.0
As the result was identical, I decided to look for more info in the log file of the new database. What I find was this:
Database Characterset is US7ASCII
Threshold validation cannot be done before catproc is loaded.
Threshold validation cannot be done before catproc is loaded.
alter database character set INTERNAL_CONVERT WE8MSWIN1252
Updating character set in controlfile to WE8MSWIN1252
Synchronizing connection with database character set information
Refreshing type attributes with new character set information
Completed: alter database character set INTERNAL_CONVERT WE8MSWIN1252
alter database character set US7ASCII
ORA-12712 signalled during: alter database character set US7ASCII...
alter database character set US7ASCII
ORA-12712 signalled during: alter database character set US7ASCII...
Errors in file e:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_3132.trc:
RegardsOhselotl wrote:
Hi all.
I have a problem with a package, when I run it returns me code error:
ORA-06552: PL/SQL: Compilation unit analysis terminated
ORA-06553: PLS-553: character set name is not recognized
The full context of the problem is this:
Previously I had a developing data base, then was migrated to a new server. After that I started to receive the error, so I began to check for the solution.
My first move was compare the “old database” with the “new database”, so I check the nls parameters, and this was the result:
select * from nls_database_parameters;
Result from the old
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET US7ASCII
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_RDBMS_VERSION 10.2.0.1.0
Result from the new
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET US7ASCII
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_RDBMS_VERSION 10.2.0.1.0
As the result was identical, I decided to look for more info in the log file of the new database. What I find was this:
Database Characterset is US7ASCII
Threshold validation cannot be done before catproc is loaded.
Threshold validation cannot be done before catproc is loaded.
alter database character set INTERNAL_CONVERT WE8MSWIN1252
Updating character set in controlfile to WE8MSWIN1252
Synchronizing connection with database character set information
Refreshing type attributes with new character set information
Completed: alter database character set INTERNAL_CONVERT WE8MSWIN1252
*********************************************************************This is an unsupported method to change the characterset of a database - it has caused the corruption of your database beyond repair. Hopefully you have a backup you can recover from. Whoever did this did not know what they were doing.
alter database character set US7ASCII
ORA-12712 signalled during: alter database character set US7ASCII...
alter database character set US7ASCII
ORA-12712 signalled during: alter database character set US7ASCII...
Errors in file e:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_3132.trc:
RegardsThe correct way to change the characterset of a database is documented - http://docs.oracle.com/cd/B19306_01/server.102/b14225/ch11charsetmig.htm#sthref1476
HTH
Srini -
R12
DB 10.2.0.2
We are unable to view, enter or update some information.
Steps required to reproduce the problem 1. Open extra information type.
2. go to standard " Iqama Details" EIT
3.Below Error appears
APP-FND-01564: ORACLE error 6553 in FDFGDF
Cause: FDFGDF failed due to ORA-06553: PLS-307: too many declarations of 'DATE_TO_DISPLAYDT' match this call.
Thanks
Edited by: user11969485 on Jul 9, 2011 5:54 AMAre you using Hijri calender for the Iqama details?
--Yes
Actually what I happen it was working before but after applying patches (R12.AD.A.delta.4 and R12.ATG_PF.A.delta.4) it is not working.
If you still have the same issue, I would suggest you log a SR.
--I have already raised the SR but they will not support for customization. As below they updated.
“Unfortunately we don't support customizations, hence we can't assist you with this issue.
If the issue occurs on the seeded form (without any customizations), let us know and we will assist.
Otherwise please contact consultancy .
We can only advise you recompile forms, check the sql you have written, and the key flexfield segments”
FYI I have already compiled the forms but issue is still same.
Many thanks, -
Ora-06553: pls-707 error
Hi all,
There was 8.1.5 of oracle 8i installed. Later I removed 8.1.5 and installed
8.1.7 on the same pc. I am using the same database which was created at the time
of installation of 8.1.5. Now when I am connecting to the database the following
error message is appearing :
ORA-06553: PLS-707 unsupported construct or internal error [2603]
Error accessing package DBMS_APPLICATION_INFO
Due to the above error I am unable to run some of my pl/sql codes from forms.
Please, advise me how to solve the problem.
Thanks,
Firoz AliThis should fix it
> cd %oracle_home%\rdbms\admin
>svrmgr sys/<password>@dbname
SVRMGR> @standard
Statement processed.
Statement processed.
Statement processed.
SVRMGR> @UTLRP
if this doesn't work then do this
SVRMGR> @catalog
good luck -
Hi,
on 10gR2 , on WIN 2003 server :
C:\>sqlplus repadmin/***@CEL2.WORLD
SQL*Plus: Release 10.2.0.4.0 - Production on Tue Jun 22 09:54:18 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionsAnd then :
CONNECT repadmin/******@CEL1.WORLD
BEGIN
DBMS_REPCAT.ADD_MASTER_DATABASE (
gname => 'REPG',
master => 'CEL2.WORLD',
use_existing_objects => TRUE,
copy_rows => FALSE,
propagation_mode => 'ASYNCHRONOUS');
END;
BEGIN
ERROR at line 1:
ORA-04052: error occurred when looking up remote object [email protected]
ORA-00604: error occurred at recursive SQL level 2
ORA-12545: Connect failed because target host or object does not exist
ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 4271
ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 2156
ORA-06512: at "SYS.DBMS_REPCAT", line 146
ORA-06512: at line 2Thank for help.Thank you. I think it is a problem with dB_LINK.
SQL> select db_link from dba_db_links;
DB_LINK
CEL2.WORLD
CEL2.WORLD
SQL> select count(*) from [email protected];
select count(*) from [email protected]
ERROR at line 1:
ORA-12505: TNS:listener does not currently know of SID given in connect
descriptor
SQL> select count(*) from SCOTT.EMP@CEL2;
select count(*) from SCOTT.EMP@CEL2
ERROR at line 1:
ORA-02019: connection description for remote database not foundI can not see how to correct it ?
Thanks.
Maybe you are looking for
-
i had broken my previous ipod, so i went to get a new one, and they told me that i would be able to get them from itunes free, but when i go back it continues to ask for billing info.
-
I thought it would be convenient for 3 windows to open automatically in one browser. It slows my laptop down and I want to be able to click on Firefox and have just one window open. Any ideas how to fix?
-
Run a query multiple times in the same report for different nodes in Hier
Hi, I have created a query as per my requirements. But my issue is I need to run the report for all the profit centers in a hierarchy. Right now I enter a node value of the hierarchy in the variable and I get the result. But I want to run it for each
-
I'm using 16 instrement tracks and I get the message: CoreAudio: Disk is too slow or System Overload. (-10009) Can I get rid of this? I already have my battery settings at best performance. I have 768 MB of Memory on my iBook G4 1.33.
-
Phantom Frame Appears Between Two Clips Updated Question
I can't edit my other question anymore, so here's a follow-up. When I move from edit point to edit point, there does appear to be one between the two clips. I hit Select using the dropdown menu, but the options to cut or delete are grayed out afterwa