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
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 -
I am getting error "ORA-12899: value too large for column".
I am getting error "ORA-12899: value too large for column" after upgrading to 10.2.0.4.0
Field is updating only through trigger with hard coded value.
This happens randomly not everytime.
select * from v$version
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Linux: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
Table Structure
desc customer
Name Null? Type
CTRY_CODE NOT NULL CHAR(3 Byte)
CO_CODE NOT NULL CHAR(3 Byte)
CUST_NBR NOT NULL NUMBER(10)
CUST_NAME CHAR(40 Byte)
RECORD_STATUS CHAR(1 Byte)
Trigger on the table
CREATE OR REPLACE TRIGGER CUST_INSUPD
BEFORE INSERT OR UPDATE
ON CUSTOMER FOR EACH ROW
BEGIN
IF INSERTING THEN
:NEW.RECORD_STATUS := 'I';
ELSIF UPDATING THEN
:NEW.RECORD_STATUS := 'U';
END IF;
END;
ERROR at line 1:
ORA-01001: invalid cursor
ORA-06512: at "UPDATE_CUSTOMER", line 1320
ORA-12899: value too large for column "CUSTOMER"."RECORD_STATUS" (actual: 3,
maximum: 1)
ORA-06512: at line 1
Edited by: user4211491 on Nov 25, 2009 9:30 PM
Edited by: user4211491 on Nov 25, 2009 9:32 PMSQL> create table customer(
2 CTRY_CODE CHAR(3 Byte) not null,
3 CO_CODE CHAR(3 Byte) not null,
4 CUST_NBR NUMBER(10) not null,
5 CUST_NAME CHAR(40 Byte) ,
6 RECORD_STATUS CHAR(1 Byte)
7 );
Table created.
SQL> CREATE OR REPLACE TRIGGER CUST_INSUPD
2 BEFORE INSERT OR UPDATE
3 ON CUSTOMER FOR EACH ROW
4 BEGIN
5 IF INSERTING THEN
6 :NEW.RECORD_STATUS := 'I';
7 ELSIF UPDATING THEN
8 :NEW.RECORD_STATUS := 'U';
9 END IF;
10 END;
11 /
Trigger created.
SQL> insert into customer(CTRY_CODE,CO_CODE,CUST_NBR,CUST_NAME,RECORD_STATUS)
2 values('12','13','1','Mahesh Kaila','UPD');
values('12','13','1','Mahesh Kaila','UPD')
ERROR at line 2:
ORA-12899: value too large for column "HPVPPM"."CUSTOMER"."RECORD_STATUS"
(actual: 3, maximum: 1)
SQL> insert into customer(CTRY_CODE,CO_CODE,CUST_NBR,CUST_NAME)
2 values('12','13','1','Mahesh Kaila');
1 row created.
SQL> set linesize 200
SQL> select * from customer;
CTR CO_ CUST_NBR CUST_NAME R
12 13 1 Mahesh Kaila I
SQL> update customer set cust_name='tst';
1 row updated.
SQL> select * from customer;
CTR CO_ CUST_NBR CUST_NAME R
12 13 1 tst Urecheck your code once again..somewhere you are using record_status column for insertion or updation.
Ravi Kumar -
Starting Oracle 11gr2 Im getting Error: ORA-03135: connection lost contact
Hi Guys!
Thanks for your advises. I still working toward a resolution.
But I encountered another issue from Enterp Manager :
ERROR : Please correct the following error: Connection string must be specified.
My connection has this format:
//using connection string attributes to connect to Oracle Database
con.ConnectionString = "User Id=scott;Password=tiger;Data Source=oracle";
con.Open();
Console.WriteLine("Connected to Oracle" + con.ServerVersion);
Please tell me what is wrong here. Thanks. Dan.
Hi all !
I need help please for resolving the following :
Problem:
Im having frequent disconnection after abnormal shutdown due to power failure.
starting Oracle 11gr2 Im getting Error: ORA-03135: connection lost contact
Im on Laptop running Linux Centos 6.3 Host.
and Im running Oracle 11gr2 on Oracle Enterprise Linux in VMware (Guest).
When attempting login from the Oracle Enterprise Manager Database Control
I got Error: "Your username and/or password are invalid."
The alert.log is at the bottom
[test@localhost ~]$ xhost +
access control disabled, clients can connect from any host
[test@localhost ~]$
[test@localhost ~]$ su - root
Password:
[root@localhost ~]#
[root@localhost ~]# su - oracle
[oracle@localhost ~]$
[oracle@localhost ~]$ export ORACLE_SID=db11gr2
[oracle@localhost ~]$
[oracle@localhost ~]$ echo $ORACLE_HOME
/u01/app/oracle/product/11.2.0/db_1
[oracle@localhost ~]$
[oracle@localhost ~]$ echo $ORACLE_BASE
/u01/app/oracle
[oracle@localhost ~]$
[oracle@localhost ~]$ echo $ORACLE_SID
db11gr2
[oracle@localhost ~]$
[oracle@localhost ~]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-DEC-2013 12:23:07
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 04-DEC-2013 12:23:08
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "db11gr2" has 1 instance(s).
Instance "db11gr2", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@localhost ~]$
[oracle@localhost ~]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://localhost.localdomain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ............... started.
Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/localhost.localdomain_db11gr2/sysman/log
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:26:38 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> shutdown abort;
ORACLE instance shut down.
SQL>
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
ORA-00600: internal error code, arguments: [4194], [: no
SQL> startup;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL>
SQL>
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:59:23 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
Database opened.
SQL>
SQL>
ERROR at line 1:
ORA-03135: connection lost contact
Process ID: 8973
Session ID: 1 Serial number: 5
SQL> startup;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL>
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:12:03 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
Database opened.
SQL>
SQL> select STATUS, DATABASE_STATUS from v$instance;
STATUS DATABASE_STATUS
OPEN ACTIVE
SQL>
SQL> SELECT * FROM v$instance;
ERROR:
ORA-03114: not connected to ORACLE
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:17:37 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
Database opened.
SQL>
SQL> SELECT * FROM v$instance;
INSTANCE_NUMBER INSTANCE_NAME
HOST_NAME
VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_WAIT
LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO
1 db11gr2
localhost.localdomain
11.2.0.1.0 04-DEC-13 OPEN NO 1 STOPPED
ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
SQL>
alert log file
[oracle@localhost ~]$
[oracle@localhost ~]$ adrci
ADRCI: Release 11.2.0.1.0 - Production on Wed Dec 4 17:09:47 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
ADR base = "/u01/app/oracle"
adrci> set editor emacs
adrci> show alert
Choose the alert log from the following homes to view:
1: diag/rdbms/unknown/DB11G
2: diag/rdbms/db11gr2/db11gr2
3: diag/tnslsnr/localhost/listener
Q: to quit
Please select option: 2
*** glibc detected *** adrci: malloc(): memory corruption: 0x09de7160 ***
======= Backtrace: =========
/lib/libc.so.6[0x1d42dd]
/lib/libc.so.6(__libc_malloc+0x67)[0x1d5e97]
/lib/ld-linux.so.2[0x331f8a]
/lib/ld-linux.so.2[0x33215a]
/lib/ld-linux.so.2[0x32e3ce]
/lib/libc.so.6[0x272550]
/lib/libc.so.6(_dl_sym+0x1a)[0x2728fa]
/lib/libdl.so.2[0x110e08]
/lib/ld-linux.so.2[0x331e66]
/lib/libdl.so.2[0x1112cc]
/lib/libdl.so.2(dlsym+0x63)[0x110d93]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(sskgds_save_text_start_end+0x47)[0xa0fb37]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(skgdsinit+0xb7)[0xa0a909]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x15edea8]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(kgdsdsts+0x26)[0x15ef8c2]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStackWFlag+0x102)[0x198961a]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStack+0x2d)[0x198950d]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1989250]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdFillIncCtx+0x72)[0x1989088]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexPopulateIncCtx+0x67)[0x1994d25]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexProcessError+0x75)[0x1996437]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x19601c5]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgePostErrorDirect+0x650)[0x1960b3c]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c58fb6]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x183c44e]
[0x3bb440]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1cf7966]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrlrReadAlertMsg+0x562)[0x1cf7126]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrxae_alert_ext+0x2d4)[0xbbcf44]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb9f25c]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch_real+0x23f)[0xb9bc1f]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch+0xee)[0xb9b520]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb53c3e]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrip_relation_iterator+0x16c)[0xb531bc]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripricm_rltniter_wcbf_mt+0x1f7)[0xb52709]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripritc_rltniter_wcbf+0xe6)[0xb585f2]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query+0x3f2)[0x1abe62c]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query_wcmd+0x36f)[0x1abf053]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3e116]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3f5b7]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c4e2ae]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvciec_exec_cmd+0x4a2)[0x1c4d640]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvci_main_int+0x43b)[0x1c59e61]
adrci[0x8048c5b]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmcall+0x363)[0x1496ec3]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmpmai+0x15c)[0x1497904]
adrci[0x8048aa5]
/lib/libc.so.6(__libc_start_main+0xdc)[0x17fe9c]
adrci[0x8048811]
======= Memory map: ========
00110000-00112000 r-xp 00000000 08:03 5925240 /lib/libdl-2.5.so
00112000-00113000 r-xp 00001000 08:03 5925240 /lib/libdl-2.5.so
00113000-00114000 rwxp 00002000 08:03 5925240 /lib/libdl-2.5.so
00114000-00139000 r-xp 00000000 08:03 5925284 /lib/libm-2.5.so
00139000-0013a000 r-xp 00024000 08:03 5925284 /lib/libm-2.5.so
0013a000-0013b000 rwxp 00025000 08:03 5925284 /lib/libm-2.5.so
0013b000-0014f000 r-xp 00000000 08:03 5925246 /lib/libpthread-2.5.so
0014f000-00150000 r-xp 00013000 08:03 5925246 /lib/libpthread-2.5.so
00150000-00151000 rwxp 00014000 08:03 5925246 /lib/libpthread-2.5.so
00151000-00153000 rwxp 00151000 00:00 0
00153000-00166000 r-xp 00000000 08:03 5925301 /lib/libnsl-2.5.so
00166000-00167000 r-xp 00012000 08:03 5925301 /lib/libnsl-2.5.so
00167000-00168000 rwxp 00013000 08:03 5925301 /lib/libnsl-2.5.so
00168000-0016a000 rwxp 00168000 00:00 0
0016a000-002a9000 r-xp 00000000 08:03 5925233 /lib/libc-2.5.so
002a9000-002aa000 --xp 0013f000 08:03 5925233 /lib/libc-2.5.so
002aa000-002ac000 r-xp 0013f000 08:03 5925233 /lib/libc-2.5.so
002ac000-002ad000 rwxp 00141000 08:03 5925233 /lib/libc-2.5.so
002ad000-002b0000 rwxp 002ad000 00:00 0
002b0000-002b1000 r-xp 00000000 08:03 3905250 /usr/lib/libaio.so.1.0.1
002b1000-002b2000 rwxp 00000000 08:03 3905250 /usr/lib/libaio.so.1.0.1
002b2000-002bb000 r-xp 00000000 08:03 5925256 /lib/libnss_files-2.5.so
002bb000-002bc000 r-xp 00008000 08:03 5925256 /lib/libnss_files-2.5.so
002bc000-002bd000 rwxp 00009000 08:03 5925256 /lib/libnss_files-2.5.so
002bd000-002c8000 r-xp 00000000 08:03 5925425 /lib/libgcc_s-4.1.2-20080825.so.1
002c8000-002c9000 rwxp 0000a000 08:03 5925425 /lib/libgcc_s-4.1.2-20080825.so.1
00324000-0033e000 r-xp 00000000 08:03 5925219 /lib/ld-2.5.so
0033e000-0033f000 r-xp 00019000 08:03 5925219 /lib/ld-2.5.so
0033f000-00340000 rwxp 0001a000 08:03 5925219 /lib/ld-2.5.so
003bb000-003bc000 r-xp 003bb000 00:00 0 [vdso]
003bc000-01fc3000 r-xp 00000000 08:03 4984633 /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
01fc3000-020a7000 rwxp 01c07000 08:03 4984633 /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
020a7000-020c1000 rwxp 020a7000 00:00 0
025b1000-027ce000 r-xp 00000000 08:03 5006042 /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
027ce000-027fc000 rwxp 0021d000 08:03 5006042 /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
027fc000-027fe000 rwxp 027fc000 00:00 0
08048000-08049000 r-xp 00000000 08:03 1407670 /u01/app/oracle/product/11.2.0/db_1/bin/adrci
08049000-0804a000 rw-p 00000000 08:03 1407670 /u01/app/oracle/product/11.2.0/db_1/bin/adrci
09d62000-09e0d000 rw-p 09d62000 00:00 0 [heap]
b7e00000-b7e21000 rw-p b7e00000 00:00 0
b7e21000-b7f00000 ---p b7e21000 00:00 0
b7f68000-b7f90000 rw-p b7f68000 00:00 0
bfc54000-bfc6d000 rwxp bffe5000 00:00 0 [stack]
bfc6d000-bfc6e000 rw-p bfffe000 00:00 0
starting Oracle 11gr2 Im getting Error: ORA-03135: connection lost contact
Im on Laptop running Linux Centos 6.3 Host.
and Im running Oracle 11gr2 on Oracle Enterprise Linux in VMware (Guest).
Im having frequent disconnection after abnormal shutdown due to power failure.
When attempting login from the Oracle Enterprise Manager Database Control
I got Error: "Your username and/or password are invalid."
[test@localhost ~]$ xhost +
access control disabled, clients can connect from any host
[test@localhost ~]$
[test@localhost ~]$ su - root
Password:
[root@localhost ~]#
[root@localhost ~]# su - oracle
[oracle@localhost ~]$
[oracle@localhost ~]$ export ORACLE_SID=db11gr2
[oracle@localhost ~]$
[oracle@localhost ~]$ echo $ORACLE_HOME
/u01/app/oracle/product/11.2.0/db_1
[oracle@localhost ~]$
[oracle@localhost ~]$ echo $ORACLE_BASE
/u01/app/oracle
[oracle@localhost ~]$
[oracle@localhost ~]$ echo $ORACLE_SID
db11gr2
[oracle@localhost ~]$
[oracle@localhost ~]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-DEC-2013 12:23:07
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 04-DEC-2013 12:23:08
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "db11gr2" has 1 instance(s).
Instance "db11gr2", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@localhost ~]$
[oracle@localhost ~]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://localhost.localdomain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ............... started.
Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/localhost.localdomain_db11gr2/sysman/log
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:26:38 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> shutdown abort;
ORACLE instance shut down.
SQL>
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
ORA-00600: internal error code, arguments: [4194], [: no
SQL> startup;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL>
SQL>
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:59:23 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
Database opened.
SQL>
SQL>
ERROR at line 1:
ORA-03135: connection lost contact
Process ID: 8973
Session ID: 1 Serial number: 5
SQL> startup;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL>
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:12:03 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
Database opened.
SQL>
SQL> select STATUS, DATABASE_STATUS from v$instance;
STATUS DATABASE_STATUS
OPEN ACTIVE
SQL>
SQL> SELECT * FROM v$instance;
ERROR:
ORA-03114: not connected to ORACLE
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:17:37 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
Database opened.
SQL>
SQL> SELECT * FROM v$instance;
INSTANCE_NUMBER INSTANCE_NAME
HOST_NAME
VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_WAIT
LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO
1 db11gr2
localhost.localdomain
11.2.0.1.0 04-DEC-13 OPEN NO 1 STOPPED
ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
SQL>
alert log file
[oracle@localhost ~]$
[oracle@localhost ~]$ adrci
ADRCI: Release 11.2.0.1.0 - Production on Wed Dec 4 17:09:47 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
ADR base = "/u01/app/oracle"
adrci> set editor emacs
adrci> show alert
Choose the alert log from the following homes to view:
1: diag/rdbms/unknown/DB11G
2: diag/rdbms/db11gr2/db11gr2
3: diag/tnslsnr/localhost/listener
Q: to quit
Please select option: 2
*** glibc detected *** adrci: malloc(): memory corruption: 0x09de7160 ***
======= Backtrace: =========
/lib/libc.so.6[0x1d42dd]
/lib/libc.so.6(__libc_malloc+0x67)[0x1d5e97]
/lib/ld-linux.so.2[0x331f8a]
/lib/ld-linux.so.2[0x33215a]
/lib/ld-linux.so.2[0x32e3ce]
/lib/libc.so.6[0x272550]
/lib/libc.so.6(_dl_sym+0x1a)[0x2728fa]
/lib/libdl.so.2[0x110e08]
/lib/ld-linux.so.2[0x331e66]
/lib/libdl.so.2[0x1112cc]
/lib/libdl.so.2(dlsym+0x63)[0x110d93]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(sskgds_save_text_start_end+0x47)[0xa0fb37]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(skgdsinit+0xb7)[0xa0a909]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x15edea8]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(kgdsdsts+0x26)[0x15ef8c2]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStackWFlag+0x102)[0x198961a]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStack+0x2d)[0x198950d]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1989250]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdFillIncCtx+0x72)[0x1989088]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexPopulateIncCtx+0x67)[0x1994d25]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexProcessError+0x75)[0x1996437]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x19601c5]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgePostErrorDirect+0x650)[0x1960b3c]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c58fb6]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x183c44e]
[0x3bb440]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1cf7966]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrlrReadAlertMsg+0x562)[0x1cf7126]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrxae_alert_ext+0x2d4)[0xbbcf44]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb9f25c]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch_real+0x23f)[0xb9bc1f]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch+0xee)[0xb9b520]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb53c3e]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrip_relation_iterator+0x16c)[0xb531bc]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripricm_rltniter_wcbf_mt+0x1f7)[0xb52709]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripritc_rltniter_wcbf+0xe6)[0xb585f2]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query+0x3f2)[0x1abe62c]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query_wcmd+0x36f)[0x1abf053]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3e116]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3f5b7]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c4e2ae]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvciec_exec_cmd+0x4a2)[0x1c4d640]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvci_main_int+0x43b)[0x1c59e61]
adrci[0x8048c5b]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmcall+0x363)[0x1496ec3]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmpmai+0x15c)[0x1497904]
adrci[0x8048aa5]
/lib/libc.so.6(__libc_start_main+0xdc)[0x17fe9c]
adrci[0x8048811]
======= Memory map: ========
00110000-00112000 r-xp 00000000 08:03 5925240 /lib/libdl-2.5.so
00112000-00113000 r-xp 00001000 08:03 5925240 /lib/libdl-2.5.so
00113000-00114000 rwxp 00002000 08:03 5925240 /lib/libdl-2.5.so
00114000-00139000 r-xp 00000000 08:03 5925284 /lib/libm-2.5.so
00139000-0013a000 r-xp 00024000 08:03 5925284 /lib/libm-2.5.so
0013a000-0013b000 rwxp 00025000 08:03 5925284 /lib/libm-2.5.so
0013b000-0014f000 r-xp 00000000 08:03 5925246 /lib/libpthread-2.5.so
0014f000-00150000 r-xp 00013000 08:03 5925246 /lib/libpthread-2.5.so
00150000-00151000 rwxp 00014000 08:03 5925246 /lib/libpthread-2.5.so
00151000-00153000 rwxp 00151000 00:00 0
00153000-00166000 r-xp 00000000 08:03 5925301 /lib/libnsl-2.5.so
00166000-00167000 r-xp 00012000 08:03 5925301 /lib/libnsl-2.5.so
00167000-00168000 rwxp 00013000 08:03 5925301 /lib/libnsl-2.5.so
00168000-0016a000 rwxp 00168000 00:00 0
0016a000-002a9000 r-xp 00000000 08:03 5925233 /lib/libc-2.5.so
002a9000-002aa000 --xp 0013f000 08:03 5925233 /lib/libc-2.5.so
002aa000-002ac000 r-xp 0013f000 08:03 5925233 /lib/libc-2.5.so
002ac000-002ad000 rwxp 00141000 08:03 5925233 /lib/libc-2.5.so
002ad000-002b0000 rwxp 002ad000 00:00 0
002b0000-002b1000 r-xp 00000000 08:03 3905250 /usr/lib/libaio.so.1.0.1
002b1000-002b2000 rwxp 00000000 08:03 3905250 /usr/lib/libaio.so.1.0.1
002b2000-002bb000 r-xp 00000000 08:03 5925256 /lib/libnss_files-2.5.so
002bb000-002bc000 r-xp 00008000 08:03 5925256 /lib/libnss_files-2.5.so
002bc000-002bd000 rwxp 00009000 08:03 5925256 /lib/libnss_files-2.5.so
002bd000-002c8000 r-xp 00000000 08:03 5925425 /lib/libgcc_s-4.1.2-20080825.so.1
002c8000-002c9000 rwxp 0000a000 08:03 5925425 /lib/libgcc_s-4.1.2-20080825.so.1
00324000-0033e000 r-xp 00000000 08:03 5925219 /lib/ld-2.5.so
0033e000-0033f000 r-xp 00019000 08:03 5925219 /lib/ld-2.5.so
0033f000-00340000 rwxp 0001a000 08:03 5925219 /lib/ld-2.5.so
003bb000-003bc000 r-xp 003bb000 00:00 0 [vdso]
003bc000-01fc3000 r-xp 00000000 08:03 4984633 /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
01fc3000-020a7000 rwxp 01c07000 08:03 4984633 /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
020a7000-020c1000 rwxp 020a7000 00:00 0
025b1000-027ce000 r-xp 00000000 08:03 5006042 /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
027ce000-027fc000 rwxp 0021d000 08:03 5006042 /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
027fc000-027fe000 rwxp 027fc000 00:00 0
08048000-08049000 r-xp 00000000 08:03 1407670 /u01/app/oracle/product/11.2.0/db_1/bin/adrci
08049000-0804a000 rw-p 00000000 08:03 1407670 /u01/app/oracle/product/11.2.0/db_1/bin/adrci
09d62000-09e0d000 rw-p 09d62000 00:00 0 [heap]
b7e00000-b7e21000 rw-p b7e00000 00:00 0
b7e21000-b7f00000 ---p b7e21000 00:00 0
b7f68000-b7f90000 rw-p b7f68000 00:00 0
bfc54000-bfc6d000 rwxp bffe5000 00:00 0 [stack]
bfc6d000-bfc6e000 rw-p bfffe000 00:00 0Hi,
Please check Oracle support id : Troubleshooting ORA-3135 Connection Lost Contact (Doc ID 787354.1) -
Getting Error ORA-01422&ORA-06512 while clicking distributions of invoice
Hi,
I am Getting Error ORA-01422&ORA-06512 when i query the invoice and click on the All distributions.
However i am getting this error only for some invoices and not for all.
Any suggestion on this is highly appreciated.
Regards,
ShreyansHi,
What is the application release? If you are on R12, please refer to these documents.
Note: 580014.1 - R12 Invoices FAQs - (16. Why do the Errors ORA-01422 and ORA-06512 Show when Clicking on the [All Distributions] Button?)
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=580014.1
Note: 559199.1 - Error ORA-01422 ORA-06512 Raises when Click On [All Distributions] Button
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=559199.1
Regards,
Hussein -
Getting error ORA-01033 : Oracle Initialization or shutdown in progress
Getting error ORA-01033 : Oracle Initialization or shutdown in progress
Tried to login with different users and could login thru one user. when given the command shuddown immediate, gave the error :
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
When given the command startup, gave the error :
ORACLE instance started.
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
Database mounted.
ORA-00322: log 1 of thread 1 is not current copy
ORA-00312: online log 1 thread 1: 'C:\ORACLE\ORADATA\LDESK\REDO01.LOG'
Please guide
Regards,
MeenalORA-00322: log string of thread string is not current copy
Cause: Check of log file header at database open found that an online log appears to be an incorrectly restored backup.
Action: Restore correct file or reset logs.
As already mentioned,your redo seems to be corrupted.Are you in archivelog mode with a good copy of backup with you?
Aman.... -
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 ; -
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. -
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:
gotgrizObviously 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 -
While logging I am getting error ORA-12154:
I am getting this error, while logging.
ERROR:
ORA-12154: TNS:could not resolve service namePls Wat I need to do,hi coolguy,
my sqlnet.ora file is
# SQLNET.ORA Network Configuration File: C:\oracle\ora92\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)and my tnsnames.ora file is
# TNSNAMES.ORA Network Configuration File: C:\oracle\ora92\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
EXTPROC_CONNECTION_DATA.ASTSERVER40.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
SANDB.ASTSERVER40.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ast16)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sandb)
INST1_HTTP.ASTSERVER40.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ast16)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
)and my computer name:
Full computer name: ast16.astserver40.com
Domain : astserver40.comand I tested in command prompt, with tnsping which is mentioned you I am getting this error
C:\>tnsping sandb
TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 21-NOV-20
07 11:20:22
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
C:\oracle\ora92\network\admin\sqlnet.ora
TNS-03505: Failed to resolve namewhere's the problem....
Message was edited by:
user594309 -
I have an issue where myself and another user are unable to upload a csv file to my application using the "File Browse" page item in V4.1.1. I get the following error, "Error ORA-01403: no data found".
This function was working perfectly last week prior to the upgrade of our APEX to V4.1.1 from V3. Other users are still able to upload the csv file, so the PL/SQL behind it must be ok.
So here is where I am up to with testing.
Tested the upload using my login on my PC – Fail
Tested the upload using my login on another PC – Fail
Tested the upload using other user’s login on my PC – Success
Tested the upload using other user’s login on another PC - Success
Any help would be greatly appreciated.
Cheers,
GregThe offending piece of code was in a block of script that I used from an online sample when I was first setting up this upload script. A colleague had the same issue in another application and rewrote the script to resolve the issue, see below.
I'm still perplexed as to why the majority of users could run it ok, and there were only 2 of us that it errored on. But now it's working for all, and I can go back to building some cool stuff in V4.1.1.00.23.
-- Read data from wwv_flow_files
select blob_content into v_blob_data
from wwv_flow_files
where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USERID)
and id = (select max(id) from wwv_flow_files where updated_by = :APP_USERID);
-- Rewritten to the following, which works.
select blob_content into v_blob_data
from wwv_flow_files
where id = (select ID from wwv_flow_files
where UPDATED_BY = :APP_USERID
and LAST_UPDATED = (select max(LAST_UPDATED) from wwv_flow_files where UPDATED_BY = :APP_USERID)); -
Hi,
I'm trying to extract schema DDL from a database (10.2.0.4.0 - 64bit Enterprise Edition on Solaris 10). I run the query below and get an ORA-00907: missing right parenthesis error.
SELECT DBMS_METADATA.GET_DDL( REPLACE(object_type,' ','_') AS object_type, object_name) FROM user_objects WHERE object_type NOT IN ('TABLE_PARTITION','INDEX_PARTITION','LOB');
This is the output when running the above in sqlplus worksheet
select DBMS_METADATA.GET_DDL( REPLACE(object_type,' ','_') as object_type, object_name) FROM user_objects where object_type not in ('TABLE_PARTITION','INDEX_PARTITION','LOB')
ERROR at line 1:
ORA-00907: missing right parenthesis
removing the where clause gives the following:
select DBMS_METADATA.GET_DDL( REPLACE(object_type,' ','_') as object_type, object_name) FROM user_objects
ERROR at line 1:
ORA-00907: missing right parenthesis
Any pointers would be gratefully received. I know I could get the DDL out using exp/imp but I want to understand why I'm getting the missing parenthesis error.
cheers,
EwanSELECT DBMS_METADATA.GET_DDL( REPLACE(object_type,' ','_') AS object_type, object_name) FROM user_objects WHERE object_type NOT IN You don't need an alias here. Get rid of " AS object_type" and it should work.
-
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
Maybe you are looking for
-
I have a MBP(early 2011) I have an HDML cable from TV to Adaptor. It worked great fro a while now nothing. I zapped the PRAM- no luck
-
Which is better OS X Lion or OS X Snow Leopard?
What is the difference between the two softwares? What Does Each have to offer? I have OS X Lion, but I want to know about OS X Snow Leopard. Is it a good idea to get OS X Snow Leopard if I already have OS X Lion?
-
Time and Date - Clock Widget missing from home scr...
What is the solution for missing clock widget from home screen after Anna update from Nokia Care !!! Reinstalled from Nokia Suite, still clock missing - any solution.
-
Hey guys, question; I've produced a 3 minute piece that is to be viewed on a large screen at a conference of about 5,000. Is there typically another process involved in preparing the video to be viewed in that capcity? Thanks in advance!
-
Potential Problem in migration from 8.1.5 to 9i - Help!!
Hi, We are in the process of migrating our Oracle 8.1.5 Server to Oracle 9i. Till now we have not faced any issue. Came to know that the logic for sort is opposite as in the case of 8.5x and above releases. This should not have any issues in our case