ORA-28 error via perl wrapper of DBMS_DEBUG::get_value
Hi, I have built a perl wrapper for the DBMS_DEBUG package. It works to synchronize, recompile a procedure, set a breakpoint and step into a function into another package. When I call get_value, I recieve the helpful dbms_debug.error_exception which translates (not in the docs) to 'Internal Probe Exception'! Anyone have any ideas how I can get more info on this, or have a fix, or is there a later (than v2.4) version I can try, etc. etc.?
TIA for any help.
Hi, I have built a perl wrapper for the DBMS_DEBUG package. It works to synchronize, recompile a procedure, set a breakpoint and step into a function into another package. When I call get_value, I recieve the helpful dbms_debug.error_exception which translates (not in the docs) to 'Internal Probe Exception'! Anyone have any ideas how I can get more info on this, or have a fix, or is there a later (than v2.4) version I can try, etc. etc.?
TIA for any help.
Similar Messages
-
ORA-00604: error occurred at recursive SQL when calling proc via db_link
Hi,
I'm on 9.2.0.8 and got strange issue with simple test case
on source db:
CREATE OR REPLACE PROCEDURE ADMIN.gg_ref(out_tokens OUT SYS_REFCURSOR) is
BEGIN
OPEN out_tokens for select dummy from dual;
END ;
Now testing code localy:
SQL> var r refcursor
SQL> declare
2 output sys_refcursor;
3 begin
4 adminx.gg_ref(output);
5 :r:=output;
6 end;
7 /
PL/SQL procedure successfully completed.
SQL> print r
D
X
So its working.
I've got db_link to that db , and now call that proc via dblink from other 9.2.0.8 DB:
var r refcursor
1 declare
2 output sys_refcursor;
3 begin
4 admin.gg_ref@LINK_NAME(output);
5 :r:=output;
6* end;
SQL> /
declare
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-00900: invalid SQL statementWhats wrong with my code ?
Are there any restriction I'm not aware of ?
Regards
GregGGregG wrote:
What should my code look like now ?
Should I rewrite this as function returning index by collection or something ?You can use DBMS_SQL - but use the remote package and not the local one. This is a little bit more complex ito call interface than using a ref cursor, but is the very same thing on the server side. DBMS_SQL also provides a more comprehensive set of features than using the ref cursor interface.
The main issue though is additional coding - as DBMS_SQL is a lower level interface (a lot closer to the real Oracle Call Interface/OCI):
--// on remote database the procedure returns a DBMS_SQL cursor instead of a ref cursor
SQL> create or replace procedure FooProc( cur in out number, deptID number ) is
2 rc number;
3 begin
4 cur := DBMS_SQL.open_cursor;
5
6 DBMS_SQL.parse(
7 cur,
8 'select ename from emp where deptno = :deptID',
9 DBMS_SQL.native
10 );
11
12 DBMS_SQL.Bind_Variable( cur, 'deptID', deptID );
13
14 rc := DBMS_SQL.Execute( cur );
15 end;
16 /
Procedure created.
--// from the local database side we call this remote proc
SQL> declare
2 c number; --// instead of using sys_refcursor
3 empName varchar2(10); --// buffer to fetch column into
4 begin
5 FooProc@testdb( c, 10 ); --/ call the proc that creates the cursor
6
7 --// we need to define our fetch buffer for the 1st column in the
8 --// SQL projection of that cursor (10 byte fetch buffer for 1st column)
9 DBMS_SQL.define_column@testdb( c, 1, empName, 10 );
10
11 --// we now fetch from this cursor, but via the DBMS_SQL
12 --// interface
13 loop
14 --// fetch the row (exit when 0 rows are fetched)
15 exit when DBMS_SQL.Fetch_Rows@testdb( c ) = 0;
16
17 --// copy value of 1st column in row into the local PL/SQL buffer
18 DBMS_SQL.column_value@testdb( c, 1, empName );
19
20 --// record value it via dbms output
21 DBMS_OUTPUT.put_line( 'name='||empName||' deptID=10' );
22 end loop;
23
24 --// close it explicitly as you would a ref cursor
25 DBMS_SQL.Close_Cursor@testdb( c );
26 end;
27 /
name=CLARK deptID=10
name=KING deptID=10
name=MILLER deptID=10
PL/SQL procedure successfully completed.
SQL> -
AP INVOICE작성중 PO MATCH시 ORA-01403 ERROR.
제품 : FIN_AP
작성날짜 : 2004-10-25
AP INVOICE작성중 PO MATCH시 ORA-01403 ERROR.
========================================
Problem Description
AP Invoice작성시 Tax Code를 User의 코드로 선택후 PO Match를 하게 되면
아래와 같은 Error Message가 뜨면서 전표가 생성이 않됨.
Tax Code가 VAT일 경우에는 PO Match 가 됨.
APP-SQLAP-10000: ORA-01403: no data found occured in
ap_matching_update_info<-AP_MATCHING_PKG.ap_match ...
Solution Description
Bug 2866764 이며, Financial Familypack F를 적용하면 해결됩니다.
개별 patch로는 나온 것은 없으나, Code Fix solution은
나와 있는 것이 있으므로, Oracle Support Center에 연락을
주시면, Code Fix Soluion을 제공받을 수 있습니다.
@00. This is not a patch
@ Please try on a TEST environment first
@ Any issue raised from not implementing correctly, is not supported.
@ Implement on file(s): apmatchb.pls 115.63
@ Re-implement everytime file(s) apmatchb.pls version changes via ADPATCH
@ Re-implement until file apmatchb.pls version is 115.66 or higher.
@01. Backup (Save a copy) fle $AP_TOP/patch/115/sql/apmatchb.pls
@02. Use Text Editor to edit file $AP_TOP/patch/115/sql/apmatchb.pls
@ This is the source code for Package Body AP_MATCHING_PKG
@03. Find the source code for procedure ap_matching_update_info
@04. Within this proceudre, Find the following text:
@<<
@ elsif ( l_tax_type = 'USE') THEN
@ /* Added this condition for bug 2162881 */
@ l_tax_recovery_rate := '';
@>>
@05. Change to the following. Noice the changes marked with the bug number:
@ Notice the new code line added, marked with the bug number.
@<<
@ elsif ( l_tax_type = 'USE') THEN
@ /* Added this condition for bug 2162881 */
@ l_tax_recovery_rate := '';
@ recoveryoverride_tab(i) := 'N'; -- bug 2866764
@>>
@06. Save changes / Save file.
@07. Recereate the package body AP_MATCHING_PKG in the APPS schema
@ using the recently modified file
@ .- Open a SQL*Plus session and log on to the database as the APPS user
@ $ sqlplus apps/apps
@ .- Run the modified file
@ SQL(APPS)> start $AP_TOP/patch/115/sql/apmatchb.pls
@08. Check for invalidated DB objects and use ADADMIN to recompile the
@ APPS schema if necessary.
@ .- Run ADADMIN using he same user used to apply patches (i.e. applmgr)
@ .- Choose the option 2. "Maintain DataBase Objects Menu"
@ .- Now, choose option 6. "Compile Apps schema"
@09. Retest functionality.user9222525 wrote:
while create new vendor site . the error occurred as ‘validate_vendor_site ORA-01403’.ORACLE support said that's bug @ebs 12.1.1.Please see these docs.
Payment Workbench Error: ORA-01403 No Data Found (APXPAWKB.FMB) [ID 1303129.1]
ORA-01403: AP_VENDOR_PUB_PKG Procedure Validate_vendor [ID 553228.1]
When Entering Operating Unit (OU) for Supplier Gets Error ORA-01403 [ID 813205.1]
R12 Ora-01403 Error When Entering A New Uo For A Supplier [ID 843661.1]
CANNOT CREATE SUPPLIER SITE (ADDRESS) [ID 1069032.1]
but we can't apply the patch regarding of 'R12 Ora-01403 Error When Entering A New Uo For A Supplier [ID 843661.1].mht'What is the reason?
Thanks,
Hussein -
ORA-12709: error while loading create database character set after upgrade
Dear All
i m getting ORA-12709: error while loading create database character set, After upgraded the database from 10.2.0.3 to 11.2.0.3 in ebusiness suit env.
current application version 12.0.6
please help me to resolve it.
SQL> startup;
ORACLE instance started.
Total System Global Area 1.2831E+10 bytes
Fixed Size 2171296 bytes
Variable Size 2650807904 bytes
Database Buffers 1.0133E+10 bytes
Redo Buffers 44785664 bytes
ORA-12709: error while loading create database character set
-bash-3.00$ echo $ORA_NLS10
/u01/oracle/PROD/db/teche_st/11.2.0/nls/data/9idata
export ORACLE_BASE=/u01/oracle
export ORACLE_HOME=/u01/oracle/PROD/db/tech_st/11.2.0
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/perl/bin:$PATH
export PERL5LIB=$ORACLE_HOME/perl/lib/5.10.0:$ORACLE_HOME/perl/site_perl/5.10.0
export ORA_NLS10=/u01/oracle/PROD/db/teche_st/11.2.0/nls/data/9idata
export ORACLE_SID=PROD
-bash-3.00$ pwd
/u01/oracle/PROD/db/tech_st/11.2.0/nls/data/9idata
-bash-3.00$ ls -lh |more
total 56912
-rw-r--r-- 1 oracle oinstall 951 Jan 15 16:05 lx00001.nlb
-rw-r--r-- 1 oracle oinstall 957 Jan 15 16:05 lx00002.nlb
-rw-r--r-- 1 oracle oinstall 959 Jan 15 16:05 lx00003.nlb
-rw-r--r-- 1 oracle oinstall 984 Jan 15 16:05 lx00004.nlb
-rw-r--r-- 1 oracle oinstall 968 Jan 15 16:05 lx00005.nlb
-rw-r--r-- 1 oracle oinstall 962 Jan 15 16:05 lx00006.nlb
-rw-r--r-- 1 oracle oinstall 960 Jan 15 16:05 lx00007.nlb
-rw-r--r-- 1 oracle oinstall 950 Jan 15 16:05 lx00008.nlb
-rw-r--r-- 1 oracle oinstall 940 Jan 15 16:05 lx00009.nlb
-rw-r--r-- 1 oracle oinstall 939 Jan 15 16:05 lx0000a.nlb
-rw-r--r-- 1 oracle oinstall 1006 Jan 15 16:05 lx0000b.nlb
-rw-r--r-- 1 oracle oinstall 1008 Jan 15 16:05 lx0000c.nlb
-rw-r--r-- 1 oracle oinstall 998 Jan 15 16:05 lx0000d.nlb
-rw-r--r-- 1 oracle oinstall 1005 Jan 15 16:05 lx0000e.nlb
-rw-r--r-- 1 oracle oinstall 926 Jan 15 16:05 lx0000f.nlb
-rw-r--r-- 1 oracle oinstall 1.0K Jan 15 16:05 lx00010.nlb
-rw-r--r-- 1 oracle oinstall 958 Jan 15 16:05 lx00011.nlb
-rw-r--r-- 1 oracle oinstall 956 Jan 15 16:05 lx00012.nlb
-rw-r--r-- 1 oracle oinstall 1005 Jan 15 16:05 lx00013.nlb
-rw-r--r-- 1 oracle oinstall 970 Jan 15 16:05 lx00014.nlb
-rw-r--r-- 1 oracle oinstall 950 Jan 15 16:05 lx00015.nlb
-rw-r--r-- 1 oracle oinstall 1.0K Jan 15 16:05 lx00016.nlb
-rw-r--r-- 1 oracle oinstall 957 Jan 15 16:05 lx00017.nlb
-rw-r--r-- 1 oracle oinstall 932 Jan 15 16:05 lx00018.nlb
-rw-r--r-- 1 oracle oinstall 932 Jan 15 16:05 lx00019.nlb
-rw-r--r-- 1 oracle oinstall 951 Jan 15 16:05 lx0001a.nlb
-rw-r--r-- 1 oracle oinstall 944 Jan 15 16:05 lx0001b.nlb
-rw-r--r-- 1 oracle oinstall 953 Jan 15 16:05 lx0001c.nlb
Starting up:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options.
ORACLE_HOME = /u01/oracle/PROD/db/tech_st/11.2.0
System name: SunOS
Node name: proddb3.zakathouse.org
Release: 5.10
Version: Generic_147440-19
Machine: sun4u
Using parameter settings in server-side spfile /u01/oracle/PROD/db/tech_st/11.2.0/dbs/spfilePROD.ora
System parameters with non-default values:
processes = 200
sessions = 400
timed_statistics = TRUE
event = ""
shared_pool_size = 416M
shared_pool_reserved_size= 40M
nls_language = "american"
nls_territory = "america"
nls_sort = "binary"
nls_date_format = "DD-MON-RR"
nls_numeric_characters = ".,"
nls_comp = "binary"
nls_length_semantics = "BYTE"
memory_target = 11G
memory_max_target = 12G
control_files = "/u01/oracle/PROD/db/apps_st/data/cntrl01.dbf"
control_files = "/u01/oracle/PROD/db/tech_st/10.2.0/dbs/cntrl02.dbf"
control_files = "/u01/oracle/PROD/db/apps_st/data/cntrl03.dbf"
db_block_checksum = "TRUE"
db_block_size = 8192
compatible = "11.2.0.0.0"
log_archive_dest_1 = "LOCATION=/u01/oracle/PROD/db/apps_st/data/archive"
log_archive_format = "%t_%s_%r.dbf"
log_buffer = 14278656
log_checkpoint_interval = 100000
log_checkpoint_timeout = 1200
db_files = 512
db_file_multiblock_read_count= 8
db_recovery_file_dest = "/u01/oracle/fast_recovery_area"
db_recovery_file_dest_size= 14726M
log_checkpoints_to_alert = TRUE
dml_locks = 10000
undo_management = "AUTO"
undo_tablespace = "APPS_UNDOTS1"
db_block_checking = "FALSE"
session_cached_cursors = 500
utl_file_dir = "/usr/tmp"
utl_file_dir = "/usr/tmp"
utl_file_dir = "/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/outbound"
utl_file_dir = "/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/outbound/PROD_proddb3"
utl_file_dir = "/usr/tmp"
plsql_code_type = "INTERPRETED"
plsql_optimize_level = 2
job_queue_processes = 2
cursor_sharing = "EXACT"
parallel_min_servers = 0
parallel_max_servers = 8
core_dump_dest = "/u01/oracle/PROD/db/tech_st/10.2.0/admin/PROD_proddb3/cdump"
audit_file_dest = "/u01/oracle/admin/PROD/adump"
db_name = "PROD"
open_cursors = 600
pga_aggregate_target = 1G
workarea_size_policy = "AUTO"
optimizer_secure_view_merging= FALSE
aq_tm_processes = 1
olap_page_pool_size = 4M
diagnostic_dest = "/u01/oracle"
max_dump_file_size = "20480"
Tue Jan 15 16:16:02 2013
PMON started with pid=2, OS id=18608
Tue Jan 15 16:16:02 2013
PSP0 started with pid=3, OS id=18610
Tue Jan 15 16:16:03 2013
VKTM started with pid=4, OS id=18612 at elevated priority
VKTM running at (10)millisec precision with DBRM quantum (100)ms
Tue Jan 15 16:16:03 2013
GEN0 started with pid=5, OS id=18616
Tue Jan 15 16:16:03 2013
DIAG started with pid=6, OS id=18618
Tue Jan 15 16:16:03 2013
DBRM started with pid=7, OS id=18620
Tue Jan 15 16:16:03 2013
DIA0 started with pid=8, OS id=18622
Tue Jan 15 16:16:03 2013
MMAN started with pid=9, OS id=18624
Tue Jan 15 16:16:03 2013
DBW0 started with pid=10, OS id=18626
Tue Jan 15 16:16:03 2013
LGWR started with pid=11, OS id=18628
Tue Jan 15 16:16:03 2013
CKPT started with pid=12, OS id=18630
Tue Jan 15 16:16:03 2013
SMON started with pid=13, OS id=18632
Tue Jan 15 16:16:04 2013
RECO started with pid=14, OS id=18634
Tue Jan 15 16:16:04 2013
MMON started with pid=15, OS id=18636
Tue Jan 15 16:16:04 2013
MMNL started with pid=16, OS id=18638
DISM started, OS id=18640
ORACLE_BASE from environment = /u01/oracle
Tue Jan 15 16:16:08 2013
ALTER DATABASE MOUNT
ORA-12709 signalled during: ALTER DATABASE MOUNT...ORA-12709 signalled during: ALTER DATABASE MOUNT...Do you have any trace files generated at the time you get this error?
Please see these docs.
ORA-12709: WHILE STARTING THE DATABASE [ID 1076156.6]
Upgrading from 9i to 10gR2 Fails With ORA-12709 : Error While Loading Create Database Character Set [ID 732861.1]
Ora-12709 While Trying To Start The Database [ID 311035.1]
ORA-12709 when Mounting the Database [ID 160478.1]
How to Move From One Database Character Set to Another at the Database Level [ID 1059300.6]
Thanks,
Hussein -
ORA 00600 Error when using Mapviewer addJDBCTheme
Hello
I am receiveing the 600 error via my OC4J window when using mapviewers addJDBCTheme with the passTthrough boolean set to false (the query is rewitten by mapviewer to limit it to the results to the map view). If I perfrom the same query with passThrough set to true, no problems. I have a feeling this may relate to the index on my table. OC4J output for error below.
Any ideas appriciated.
Chris
Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.lbs.mapserver.oms] request.getRemoteUser = null
Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.lbs.mapserver.oms] request= <?xml version="1.0" standalone="yes"?>
<map_request
datasource="atrium2"
srid="81989"
width="500"
height="500"
bgcolor="#ffffff"
antialiase="true"
format="PNG_URL">
<center size="800.0">
<geoFeature>
<geometricProperty typeName="center">
<Point>
<coordinates>278872.6,187144.0</coordinates>
</Point>
</geometricProperty>
</geoFeature>
</center>
<themes>
<theme name="BUIDLING" user_clickable="false" />
<theme name="BLOCKS" user_clickable="false">
<jdbc_query
label_column="mbl_title"
spatial_column="spat_data"
label_style="TEXTBLACK"
render_style="TEST3"
jdbc_srid="81989"
datasource="atrium2"
asis="false">select spat_data, mbl_bka_id, mbl_title from WPE_SPATIAL_BLOCKS_VIEW_10G c
</jdbc_query>
</theme>
</themes>
</map_request>
Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.sdovis.JSDOGeometry] exception while getting srid from a geometry node: For input string: ""
Tue Aug 09 10:58:38 BST 2005 DEBUG [oracle.lbs.mapserver.core.MapperPool] getMapper(atrium2) begins...
Tue Aug 09 10:58:38 BST 2005 DEBUG [oracle.lbs.mapserver.core.MapperPool] getMapper() succeeded.
Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.sdovis.SRS] got srs object for :81989
Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.lbs.mapserver.core.RealWorker] adding additional themes...
Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.lbs.mapserver.core.RealWorker] adding a predefined theme BUIDLING
Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.sdovis.DBMapMaker] adding predefined theme [name=BUIDLING]
Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.lbs.mapserver.core.RealWorker] adding a JDBC Theme:
ThemeDescriptor=
name=BLOCKS
type=2
minScale=Infinity
maxScale=-Infinity
srid=81989
host=null
sid=null
port=null
user=null
mode=null
query=select spat_data, mbl_bka_id, mbl_title from WPE_SPATIAL_BLOCKS_VIEW_10G c
spatialColumn=spat_data
renderStyleName=TEST3
labelColumn=mbl_title
labelStyleName=TEXTBLACK
renderStyleDef=null
labelStyleDef=null
localThem=null
Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.sdovis.SRS] *** isGeodetic=false, unit=METER
Tue Aug 09 10:58:38 BST 2005 DEBUG [oracle.sdovis.DBMapMaker] LoadThemeData running thread: Thread-67
Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.sdovis.theme.pgtp] [ BUIDLING ]: 278472.6,186744.0,279272.6,187544.0
Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.sdovis.theme.pgtp] [ BUIDLING ]: SELECT ROWID, GEOLOC, 'PRISM_ADM:BROWN_LINE', null, 'null', -1 FROM SPAT_BUILDING WHERE MDSYS.SDO_FILTER(GEOLOC, MDSYS.SDO_GEOMETRY(2003, 81989, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
Tue Aug 09 10:58:38 BST 2005 DEBUG [oracle.sdovis.DBMapMaker] LoadThemeData running thread: Thread-68
Tue Aug 09 10:58:38 BST 2005 DEBUG [oracle.sdovis.theme.DGTP] [Master scale] 153.60000000000002 [Theme scale factor] 1.0
Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.sdovis.theme.DGTP] [DynGeomTheme] rewritten query: SELECT * FROM ( select spat_data, mbl_bka_id, mbl_title from WPE_SPATIAL_BLOCKS_VIEW_10G c ) WHERE MDSYS.SDO_FILTER(spat_data, MDSYS.SDO_GEOMETRY(2003, 81989, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(278472.6,186744.0,279272.6,187544.0)), 'querytype=WINDOW') = 'TRUE'
Tue Aug 09 10:58:38 BST 2005 DEBUG [oracle.sdovis.theme.pgtp] [ BUIDLING ] sql exec time: 15ms, total time loading 209 features: 125ms.
Tue Aug 09 10:58:53 BST 2005 WARN [oracle.sdovis.theme.DGTP] java.sql.SQLException: ORA-00600: internal error code, arguments: [kdsgrp1], [], [], [], [], [], [], []
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.fetch(TTC7Protocol.java:969)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2387)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2660)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:777)
at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:241)
at oracle.sdovis.Theme.prepareData(Theme.java:174)
at oracle.sdovis.DBMapMaker$LoadThemeData.run(DBMapMaker.java:1740)
Tue Aug 09 10:58:53 BST 2005 ERROR [oracle.sdovis.DBMapMaker] Message:null
Description: Nested exception is:
java.sql.SQLException: ORA-00600: internal error code, arguments: [kdsgrp1], [], [], [], [], [], [], []
java.sql.SQLException: ORA-00600: internal error code, arguments: [kdsgrp1], [], [], [], [], [], [], []
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.fetch(TTC7Protocol.java:969)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2387)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2660)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:777)
at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:241)
at oracle.sdovis.Theme.prepareData(Theme.java:174)
at oracle.sdovis.DBMapMaker$LoadThemeData.run(DBMapMaker.java:1740)
Tue Aug 09 10:58:53 BST 2005 INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 15250ms.
Tue Aug 09 10:58:53 BST 2005 FINEST [oracle.sdovis.RE] xfm: 0.625 0.0 0.0 -0.625 -174045.375 117215.0
Tue Aug 09 10:58:53 BST 2005 DEBUG [oracle.sdovis.VectorRenderer] time to render theme BUIDLING with 209 styled features: 15ms
Tue Aug 09 10:58:53 BST 2005 DEBUG [oracle.sdovis.VectorRenderer] time to render theme BLOCKS with 0 styled features: 0ms
Tue Aug 09 10:58:53 BST 2005 DEBUG [oracle.sdovis.VectorRenderer] time to label theme BLOCKS with 0 styled features: 0ms
Tue Aug 09 10:58:53 BST 2005 DEBUG [oracle.sdovis.VectorRenderer] time to label theme BUIDLING with 209 styled features: 0ms
Tue Aug 09 10:58:53 BST 2005 INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering: 15ms
Tue Aug 09 10:58:53 BST 2005 DEBUG [oracle.lbs.mapserver.core.MapperPool] freeMapper() begins...
Tue Aug 09 10:58:53 BST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] preparation time: 16ms
Tue Aug 09 10:58:53 BST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] querying/rendering time: 15265ms
Tue Aug 09 10:58:53 BST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] packing time: 31ms
Tue Aug 09 10:58:53 BST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] --------------- total time: 15312msChris,
Can you run this rewritten query
SELECT * FROM ( select spat_data, mbl_bka_id, mbl_title from WPE_SPATIAL_BLOCKS_VIEW_10G c ) WHERE MDSYS.SDO_FILTER(spat_data, MDSYS.SDO_GEOMETRY(2003, 81989, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(278472.6,186744.0,279272.6,187544.0)), 'querytype=WINDOW') = 'TRUE'
in sql*plus without any errors?
The asumptions is there is a spatial index on spat_data and all the geometries are valid.
Also there will be a trace file on the db server. That'll give more details on what the likely cause is.
Jayant -
Oracle10g Import:ORA-01119: error in creating database
I am trying to Import a Oracle10g dump into a Oracle 10g db server(SunOS).The server has enough space and so do the tablespace.
This is the import command i'm trying:
imp db/db@sid file=file.dmp ignore=y full=y
But it still posts the following error:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
Export file created by EXPORT:V10.02.01 via conventional path
Warning: the objects were exported by OPS$QZORA, not by you
import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses WE8ISO8859P1 character set (possible charset conversion)
export client uses UTF8 character set (possible charset conversion)
. importing SYSTEM's objects into SYSTEM
IMP-00017: following statement failed with ORACLE error 1119:
"CREATE TABLESPACE "NEW" BLOCKSIZE 8192 DATAFILE '/home/NEW01.d"
"bf' SIZE 2000M , '/home/NEW02.dbf' SIZE 3000M , '/u03/bm"
"qzdb/NEW03.dbf' SIZE 2000M , '/u03/bmqzdb/NEW04.dbf' SIZE 3000M "
" , '/home/NEW05.dbf' SIZE 2000M , '/home/NEW06.d"
"bf' SIZE 5900M , '/home/NEW07.dbf' SIZE 943718400 , '/u0"
"1/bmqzdb/NEW08.dbf' SIZE 734003200 , '/home/NEW09.dbf' SIZ"
"E 144703488 , '/home/NEW10.dbf' SIZE 144703488 , '/u01/b"
"mqzdb/NEW11.dbf' SIZE 81788928 , '/home/NEW12.dbf' SIZE 15"
"00M AUTOEXTEND ON NEXT 8192 MAXSIZE 2000M, '/home/NEW13.dbf"
"' SIZE 1048576000 AUTOEXTEND ON NEXT 8192 MAXSIZE 2000M EXTENT MANAG"
"EMENT LOCAL AUTOALLOCATE ONLINE PERMANENT SEGMENT SPACE MANAGEMENT AUTO"
IMP-00003: ORACLE error 1119 encountered
ORA-01119: error in creating database file '/home/NEW01.dbf'
ORA-27040: file create error, unable to create file
SVR4 Error: 2: No such file or directory
IMP-00000: Import terminated unsuccessfullyActually i dont want that to create any tablespaces.I have a tablespace created on my db.In fact i dont have the same (/home) path on my unix server.
I want the imp utility to ignore create tablespace command.I did give the IGNORE=Y on the imp command.
If i give fromuser,touser i can import but that does not go along with full=y.I have to do it table by table.It has also got sequences,types,synonyms etc
thanks in advance
shiva -
ORA-12154 Error - NET8 Connection Tester Works Though
I have copied over a tnsnames.ora file from another machine I know that works fine. It has one Oracle home.
When I try to connect via SQLPlus or Oracle DBA studio, I get told that it cannot resolve the service name and the ORA-12154 error. However, when I go into Net8 Assistant and test the connection, it work without an issue no matter what login/password I use, from a developers to the system login and password.
Any ideas?I have copied over a tnsnames.ora file from another machine I know that works fine. It has one Oracle home.
When I try to connect via SQLPlus or Oracle DBA studio, I get told that it cannot resolve the service name and the ORA-12154 error. However, when I go into Net8 Assistant and test the connection, it work without an issue no matter what login/password I use, from a developers to the system login and password.
Any ideas? -
Excluding ORA-00060 errors from Generic Alert Log Error in OEM
Hi,
I want to remove the alerts for ORA-00060 errors from OEM Alerts. In "Generic Alert Log Error" the current expression for Warning is ORA-0*(600?|7445|4[0-9][0-9][0-9])[^0-9]. How should I change this expression so that it will not send alerts for ORA-00060. I am not much aware of perl :-). Please help me with the expression.
Target Type=dbname
Host=host
Metric=Generic Alert Log Error
Metric Value=ORA-00060: Deadlock detected. More info in
Time/Line Number=Mon Nov 2 10:02:54 2009/134883
Timestamp=Nov 2, 2009 10:17:14 AM EST
Severity=Warning
Message=ORA-error stack (00060) logged in /eb_rdo0_p/oraadmin/pnoltp/bdump/alert_.log.
Notification Rule Name=Database Alert
Notification Rule Owner=SYSMAN
Notification Count=1
Thanks,
Varmathis is default monitored objects.
To stop monitoring for this object, clear the Critical and Warning threshold values and click Continue. -
Our application is being plagued by an ORA-02068 error.
We have two database servers that communicate via dblink (over a frame). One is on Solaris running 8i, the other NT running 7.3.4. THere is a pl/sql procedure on the solaris instance that calls a pl/sql procedure on the NT instance. Occasionally we get the following error:
ORA-02068: following severe error from CNQA.WORLD
where CNQA is our database link.
ORacle documents the err02068, 00000, "following severe error from %s%s"
// *Cause: A severe error (disconnect, fatal Oracle error) received from
// the indicated database link. See following error text.
// *Action: Contact the remote system administrator.
or as follows:
We do have a firewall that has been configured to allow sqlnet connectivity between Unix and NT.
The problem is intermittent. We have raised the number of open links, as well as sessions.
Any suggestions? Has anyone else experienced this problem?
Thanks in advance for any help!
nullHi,
I am also facing a similar problem.
Could you find any solutions. If so pls update . Thanks
Our application is being plagued by an ORA-02068 error.
We have two database servers that communicate via dblink (over a frame). One is on Solaris running 8i, the other NT running 7.3.4. THere is a pl/sql procedure on the solaris instance that calls a pl/sql procedure on the NT instance. Occasionally we get the following error:
ORA-02068: following severe error from CNQA.WORLD
where CNQA is our database link.
ORacle documents the err02068, 00000, "following severe error from %s%s"
// *Cause: A severe error (disconnect, fatal Oracle error) received from
// the indicated database link. See following error text.
// *Action: Contact the remote system administrator.
or as follows:
We do have a firewall that has been configured to allow sqlnet connectivity between Unix and NT.
The problem is intermittent. We have raised the number of open links, as well as sessions.
Any suggestions? Has anyone else experienced this problem?
Thanks in advance for any help!
null -
Hi,
I'm getting an intermittent ORA-00942 (Table or View Does Not Exist) error in Oracle 9i. We're getting it in several different packages, and they all have one thing in common.
They are all either joining to a table type that had previously been populated with a BULK COLLECT INTO or a temp table that was populate with a CAST (from the same table type) or has a TABLE CAST directly in the join.
This is the type:
CREATE OR REPLACE TYPE fe_id_tab AS TABLE OF INTEGER NOT NULL;
This is the table:
create global temporary table FE_TMP_ID
ID INTEGER not null
on commit delete rows;
Again, this is an intermittent error. It only happens occasionally, and when it does happen, if you immediately run the same query, it works fine.
Thanks,
Karinsmuthuku wrote:
The customer is getting the below error in the alert log intermittently when running utlrp script in 11.2.0.2
ORA-12012: error on auto execute of job "SYS"."UTL_RECOMP_SLAVE_24"
ORA-00942: table or view does not exist
As this happens in a production environment, the customer doesn't want to turn on the tracing but wants to know
if this is a problem with the data dictionary or someother issue. Any inputs appreciated.
Yes, it is a problem with data dictionay or some other issue.
do as below so we can know complete Oracle version & OS name.
Post via COPY & PASTE complete results of
SELECT * from v$version; -
I have a tabular form based on a view like:
select
t1.id,
t2.network_id,
t2.month_id,
t2.icp_ic,
t1.status,
t1.disc_comment
from
table1 t1,
table2 t2
where
t1.month_id (+) = t2.month_id and
t1.network_id (+) = t2.network_id and
t1.icp_id (+) = t2.icp_id
id is a surrogate key of table1 and there is a trigger to populate this on insert. There is also a unique index on table2 (month_id, network_id, icp_id). When I change the disc_comment column through the form and try to save I get an error:
Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01779: cannot modify a column which maps to a non key-preserved table
If I take out the outer join, it works fine. The problem is table1 will not have a row for every row in table 2, hence I need the outer join. Any ideas how I can get around this problem?
Regards
SadanandHi Andy,
Yes I am paginating the form and I am not getting a set of blank rows. What I mean by next set of records is - if the page is showing rows 11 to 20 and I enter a comment against row 15 and save, the form inserts the comment into the table via the INSTEAD OF trigger and the page automatically refreshes with rows 21 to 30 from the query. On the other hand, if I click Prev link and redisplay rows 11 to 20, change the comment and click on Save, the form updates the comment and refreshes the page with rows 11 to 20. If I update the comment again, it redisplays page with rows 11 to 20 and this is the behaviour I desire when I insert data. Remember that I am using outer join, so there will be a mix of inserts and updates of data. I hope my explanation is clear. I have tried removing the tabular form region and starting from scratch but that hasn't helped - maybe I will drop the page and recreate it.
As for checksum error, you are right - it disappears after I logout and login again.
Regards
Sadanand -
Hi all,
In my project, I use C# .net and Oracle 11g. I use ADO.NET OracleClob object in my C# code which will be passed to a procedure (procedure defined in a package) where I convert the input clob/wkt geometry into SDO_GEOMETRY using SDO_UTIL.FROM_WKTGEOMETRY and subsequently the GEOMETRY can be pushed into a table as shown below.
PROCEDURE insert_extent(p_key_id IN NUMBER, p_extent IN CLOB) AS
m_geom SDO_GEOMETRY;
BEGIN
m_geom := SDO_UTIL.FROM_WKTGEOMETRY(p_extent);
UPDATE TEMP SET GEOM = m_geom
WHERE IDS = p_key_id;
COMMIT;
END insert_extent;
The above code is working fine for small size clob inputs, but, I have encountered ORA-00932 error when my clob/wkt geometry was more than 30MB in size.
Can any one tell me what is the limitation of size of the clob to convert the CLOB to SDO_GEOMETRY and is there any limitaion on SDO_GEOMETRY datatype object to write the geometry into a table as well via insert/update statement.
Also share your thoughts on how to resolve the issue.
Please let me know if further information is required and thanks for the help in advance.
Regards,
KumarMDSYS.SDO_ORDINATE_ARRAY in sdo_geometry can hold 1048576 numbers:
desc MDSYS.SDO_ORDINATE_ARRAY
MDSYS.SDO_ORDINATE_ARRAY VARRAY(1048576) OF NUMBER -
Export Results ORA-00936 Error Reported
In an attempt to extract all of a package's source code in one file as well as work in a file-oriented fashion (which other posters have commented is not well supported), I issued a select dbms_metadata.get_ddl(...) from dual. This generated the output I wanted in the worksheet results. However, the ORA-00936 error is thrown when I try to export this as text to overwrite my (checked out from source control) file. My only recourse then becomes to copy the result, open my file (outside SQL-D) and replace what's there (which does work, by the way).
There was another post on this issue in a prior version where the error was attributed to double quotes around aliases, but I'm still getting the error (see Re: Export query results error, v. 5 / 1343This is a bug with how SQL Developer does it's export (not that I could find it logged on MetaLink).
When you export a query, SQL Developer writes a wrapper select around your query to drive the export. In an example of what you are trying to do, it converts the following query (I added an alias to see if that helped, but it didn't):
select dbms_metadata.get_ddl('PACKAGE', 'MY_PKG') my_ddl from dual;
to (based on the trace file with sql_trace switched on):
select * from (select from ( select dbms_metadata.get_ddl('PACKAGE', 'MY_PKG') my_ddl from dual));
Your immediate options are to continue with your current workaround, switch to a query on DBA_SOURCE for this export, or cope with the way SQL Developer currently does it's file based development.
As far as getting this fixed (hopefully before 1.1), you would either need to log an SR on MetaLink or hope that one of the SQL Developer team logs a bug based on this thread. -
ORA-25228 error occurs when Foreign JMS Server connecting to the Oracle AQ
Hi,
I configure of a Foreign JMS Server that uses the Oracle JDBC Driver to connect to the AQ Topic. I use OSB messaging proxy service as a JMS client to connect the Foreign JMS Server. After the launch, I get the following error:
####<Jan 30, 2013 4:51:49 AM MSK> <Error> <EJB> <EPRUSARW0520> <osb_server1> <RequestEJB7826682746890400115XX35047bed.13c85602eea.X7f53> <<anonymous>> <> <0000Jm8w2Es6qI_5xRh8iW1H1sMk0001sD> <1359507109078> <BEA-010079> <An error occurred while attempting to receive a message from JMS for processing by a message-driven bean: oracle.jms.AQjmsException: JMS-120: Dequeue failed
Nested exception: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at line 11
ORA-25228: timeout or end-of-fetch during message dequeue from MDM.ALL_NSI
The exception is : oracle.jms.AQjmsException: JMS-120: Dequeue failed
at oracle.jms.AQjmsError.throwEx(AQjmsError.java:315)
at oracle.jms.AQjmsConsumer.jdbcDequeue(AQjmsConsumer.java:1620)
at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:1035)
at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:960)
at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:938)
at oracle.jms.AQjmsConsumer.receive(AQjmsConsumer.java:790)
at weblogic.deployment.jms.WrappedMessageConsumer.receive(WrappedMessageConsumer.java:201)
at weblogic.ejb.container.internal.JMSMessagePoller$1.run(JMSMessagePoller.java:262)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.ejb.container.internal.JMSConnectionPoller.doPrivilegedJMSAction(JMSConnectionPoller.java:2752)
at weblogic.ejb.container.internal.JMSMessagePoller.processOneMessage(JMSMessagePoller.java:257)
at weblogic.ejb.container.internal.JMSMessagePoller.pollContinuously(JMSMessagePoller.java:351)
at weblogic.ejb.container.internal.JMSMessagePoller.pollForParent(JMSMessagePoller.java:483)
at weblogic.ejb.container.internal.JMSMessagePoller.run(JMSMessagePoller.java:499)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at line 11
ORA-25228: timeout or end-of-fetch during message dequeue from MDM.ALL_NSI
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:397)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
at oracle.jdbc.driver.T4Caqdq.processError(T4Caqdq.java:497)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
at oracle.jdbc.driver.T4Caqdq.doOAQDQ(T4Caqdq.java:183)
at oracle.jdbc.driver.T4CConnection.doDequeue(T4CConnection.java:4704)
at oracle.jdbc.driver.PhysicalConnection.dequeue(PhysicalConnection.java:17863)
at oracle.jdbc.driver.PhysicalConnection.dequeue(PhysicalConnection.java:17949)
at oracle.jdbc.OracleConnectionWrapper.dequeue(OracleConnectionWrapper.java:1624)
at weblogic.jdbc.wrapper.XAConnection_oracle_jdbc_driver_LogicalConnection.dequeue(Unknown Source)
at weblogic.jdbc.wrapper.JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection.dequeue(Unknown Source)
at oracle.jms.AQjmsConsumer.jdbcConnectionDequeueCheck25242(AQjmsConsumer.java:1713)
at oracle.jms.AQjmsConsumer.jdbcDequeue(AQjmsConsumer.java:1295)
... 13 moreHowever, when I put message to AQ topic, the OSB proxy receives and processes it. But SQLException occurs every five seconds and pollute logs.
Request help to resolve this.
Thanks in advance.
Regards
Alexander.Maybe this can help: http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::p11_question_id:4018285967344
-
How to catch PL/SQL: ORA-04052 error?
I need to execute a procedure that select remote objects but the remote db is a RAC DB and I only have access to one of the nodes, the remote RAC have load balancing enabled and the remote DBA can’t create a DB Service for my connection, so, I have to re-run the execution of my procedure until it connects successful to the remote DB through a db link, but I can’t catch the error ORA-12541: TNS:no listener.
Someone knows how to catch the error??
set serveroutput on
declare
function F_DATE return sysdate
is
ld_return date;
begin
begin
select sysdate into ld_return from dual@dbl_bnvalores;
exception
when others then
ld_return := f_date;
end;
return ld_return;
end F_DATE;
begin
dbms_output.put_line('Remote sysdate: '||f_date);
end;
Error at line 2
ORA-06550: line 2, column 26:
PLS-00562: a function must return a type.
ORA-06550: line 7, column 42:
PL/SQL: ORA-04052: error occurred when looking up remote object BNSAFI.DUAL@DBL_BNVALORES
ORA-00604: error occurred at recursive SQL level 1
ORA-12541: TNS:no listener
ORA-06550: line 7, column 7:
PL/SQL: SQL Statement ignoredI could confirm that you would never branch to the exception in case of no listener!
So another possibility that comes to mind is to enclose the remote select in an execute immediate and only execute it if you could establish a connection via UTL_TCP:
Something along those lines:
michaels> DECLARE
conn UTL_TCP.connection;
l_date DATE;
no_listner_excep EXCEPTION;
PRAGMA EXCEPTION_INIT (no_listner_excep, -29260);
BEGIN
conn := UTL_TCP.open_connection ('fleet', 1569);
EXECUTE IMMEDIATE 'select sysdate from dual@fleet_new'
INTO l_date;
UTL_TCP.close_connection (conn);
DBMS_OUTPUT.put_line (l_date);
EXCEPTION
WHEN no_listner_excep
THEN
DBMS_OUTPUT.put_line (SQLERRM (SQLCODE));
END;
ORA-29260: network error: TNS:no listener
PL/SQL procedure successfully completed.
Maybe you are looking for
-
Replacement for dvi to vga adapter for late 2008 17"Macbook pro
Hello, I have a 17" inch late 2008 mack pro. The apple dvi to vga adapter cable is not working anymore. I can seem to find a replacement for it. I have tried the generic dvi to vga adapter (image attached). This does not work. Please advise
-
Can I change the geographic location in a title?
I am using the Modern Theme in iMovie 11 for Mac to edit videos taken with an iPhone 5. The theme is automatically displaying the filming location on the title but is showing the filming location as "Great Britain". I can't seem to edit this. So, sor
-
Passing data to table control in screen exit - IW33 (IWO000018)
Hi Experts, I am stuck in middle of a screen exit. Request your kind help on this. Requirement scenario: - To add an additional tab named "Estimated Costs" in transaction IW31, IW32, IW33. This tab will include a table control with 4 columns: - Opera
-
How can an user defined Transaction type in Inventory be configured in IB?
Need to know how to make an user defined transaction to update the status in IB automatically. i.e. suppose there is an user defined transaction "XYZ". I need to update the instance stause of an item to "CANCELLED" once that transaction happens on th
-
Hi All, I was wondering if requester need to be given any special authorization to search users in LDAP? Because, I have noticed that a requester can not search users from LDAP. However, another user who is a super user in GRC system and has SAP_ALL