ORA-30689: improper value for ORA_DEBUG_JDWP
I'm setting up PL/SQL debugging from an ASP.Net application. I've followed all of the steps from cshay's blog. I am able to debug and connect directly from the Oracle Explorer. My problem occurs when I run debug and try to step through from the .Net code.
Some things to Note:
We have a central library that uses .Net Reflection and the System.Data.OracleClient to instatiate connections and condense some SQL querying processes so that we don't have to parameterize and write full queries in the application over and over again. I cannot change this library.
The error listed above appears when I have the following setup:
* Oracle Application Debugging is checked
* VS 2005 asp.net web app
* Using the development (local) webserver
* Exception Details: System.Data.OracleClient.OracleException: ORA-30689: improper value for ORA_DEBUG_JDWP
* Process explorer properties say that the ORA_DEBUG_JDWP variable is set to host=machineName;port=49152
* web app comes up in http://localhost:xxxx
* When I ping machineName, I get my ip address
* When I ping localhost, I get the local ip 127.0.0.1
* Oracle db 9.2.0.6
* The error occurs when my application first trys to obtain a connection to the database (just a select statement and only when I have OADebuggin turned on)
Any help on this would be appreciated. Otherwise, I'll have to figure out why my SQL Developer instance won't debug correctly.
Thank you.
shellie
Thanks for the quick response Christian.
1) Are you using ODAC 11g beta?
Yes I downloaded it yesterday. In Visual studio in 'about' I have:
Oracle Developer Tools for Visual Studio .NET 11.1.0.5.10 Beta
Oracle Developer Tools for Visual Studio .NET Copyright (c) 2005, 2007
2) Are you setting ORA_DEBUG_JDWP anywhere? If so, what are you setting it to?
No I am not setting it anywhere. I used process explorer and when I debug it is set to my IP address (i.e. the host of my dev environment on W2K3 and not the Unix Server hosting Oracle) and port 49152.
I've also logged on the to Unix server and from there telneted into my W2K3 server on port 49512 and got a "JDWP-handshake" response so the network looks fine.
So ... #1 is Yes and #2 is No. So I followed your instructions ... and I got some expert oracle and unix assistance when i got the following ...
There is nothing in any trc file that has anything like "kqaccd: ORA_DEBUG_JDWP". A grep "DEBUG" *.trc shows nothing anywhere.
Another bit of info .... I get a ORA_DEBUG_JDWP type of error from time to time. Seems mainly to be on connections to databases that I've connected to before. If I close VS2005 and re-open VS2005 - everything is back to normal.
I can step into and run s.p. directly from VS2005 so that's something.
(Also another thing I noticed is that even though I'm logged own as the schema owner I can not change/re-order columns in an index as they are greyed out. Also - and this is not good as I would like developers to be able to optimise their queries - you can not scroll through the list of columns in an index if the list of columns is larger than the list box. I can live without the former but the later is highly desirable.)
Thanks for your help with this Christian. (I really like ODT and can see it becoming indespensible very quickly).
Cheers,
Chris.
Similar Messages
-
ORA-23460: missing value for column column name in resolution method
Hi All,
We have implemented bi-directional replication via oracle streams..Oracle 10g 10.2.0.4
We are getting following error in conflict resolution .ORA-23460: missing value for column "ASSIGNED_APPL_USER_ID" in resolution method "<method>" for
"TMADMIN"."PATIENT_VISITS"."REP_UPDATE" ORA-01403: no data found .
Above column ASSIGNED_APPL_USER_ID is NULL column ,We are using MAXIMUM resolution method for update conflict handler .We tried many times on toad the same scenarios and working fine.
We have set supplemental logging on primay and unique columns.
I found many docs on internet and they all said add supplemental logging on all columns.
We did set up like this ...:
DECLARE
COLS DBMS_UTILITY.NAME_ARRAY;
BEGIN
cols(1) := 'STUDY_ID';
cols(2) := 'KENDLE_STUDY_SUB_ID';
cols(3) := 'SITE_ID';
cols(4) := 'PATIENT_ID';
cols(5) := 'VISIT_NUMBER';
cols(6) := 'VISIT_TYPE';
cols(7) := 'VISIT_DATE';
cols(8) := 'CRF_COLLECTION_DATE';
cols(9) := 'DT_CREATED';
cols(10) := 'DT_MODIFIED';
cols(11) := 'MODIFIED_BY';
cols(12) := 'MONITOR_VISIT_DATE';
cols(13) := 'UNSCHEDULED_VISIT_REASON';
cols(14) := 'LAST_SCHEDULED_VISIT_NUMBER';
cols(15) := 'VISIT_DATE_IN_TRIALBASE';
cols(16) := 'PROJECTED_VISIT_DATE';
cols(17) := 'SEND_CERTIFIED_LETTER_YN';
cols(18) := 'ASSIGNED_APPL_USER_ID';
cols(19) := 'DATE_CERTIFIED_LETTER_SENT';
cols(20) := 'DURATION_OF_CALL_IN_MINUTES';
cols(21) := 'COMPLETED_APPL_USER_ID';
cols(22) := 'CALL_STATUS';
cols(23) := 'VISIT_HYPERLINK';
cols(24) := 'NEXT_CALL_DATE';
cols(25) := 'DT_PMNT_REQUESTED_TO_SPONSOR';
cols(26) := 'VISIT_DATE_NAP_YN';
cols(27) := 'MONITOR_VISIT_DATE_NAP_YN';
cols(28) := 'CRF_COLLECTION_DATE_NAP_YN';
cols(29) := 'IMPORTED_SUBJECT_VISIT_DATE';
cols(30) := 'REMINDER_SENT_DATE';
DBMS_APPLY_ADM.SET_UPDATE_CONFLICT_HANDLER(
OBJECT_NAME =>'TMADMIN.PATIENT_VISITS',
METHOD_NAME =>'MAXIMUM',
RESOLUTION_COLUMN =>'DT_MODIFIED',
COLUMN_LIST =>cols);
END;
DT_MODIFIED is our resolution columns......
Any help would be appreciate...
Thanks in advance.
Thanks,
Nick.You should post this question the Oracle Server forums.
Good luck!
Warm regards.
ashok -
Hi Gurus,
I am trying to mask the secured column from the table for one specified user, Here is the detail of DB and code which I am using to apply the security:
DB Version: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0
Security Function:
create or replace function kr_sec_function_papf(p_object_schema IN VARCHAR2,
p_object_name VARCHAR2)
return varchar2
as
p_nid varchar2(200);
whoami varchar2(100);
begin
if SYS_CONTEXT('USERENV', 'SESSION_USER') = 'VPDTEST'
then
p_nid := 'national_identifier = national_identifier';
return (p_nid);
else
p_nid := '1=2';
return (p_nid);
end if;
end kr_sec_function_papf;
Code to Add Policy:
BEGIN
DBMS_RLS.ADD_POLICY(
object_schema => 'APPS',
object_name => 'PER_ALL_PEOPLE_F',
policy_name => 'secure_emp',
policy_function => 'kr_sec_function_papf',
statement_types => 'SELECT',
sec_relevant_cols=>'NATIONAL_IDENTIFIER',
sec_relevant_cols_opt=>DBMS_RLS.ALL_ROWS);
END;
I am getting error while executing the above plsql block, Error is:
ORA-28104: input value for sec_relevant_cols is not valid
ORA-06512: at "SYS.DBMS_RLS", line 20
ORA-06512: at line 2
Any one please help me to resolve the issue.
Thanks in Advance.
~Krishna Nand SinghHi Every one,
I got this issue resolved.
The issue is with parameter object_schema => 'APPS' , the object schema name is 'HR' and APPS has synonym with the same name.
The Correct code should be:
BEGIN
DBMS_RLS.ADD_POLICY(
object_schema => 'HR',
object_name => 'PER_ALL_PEOPLE_F',
policy_name => 'secure_emp',
policy_function => 'kr_sec_function_papf',
statement_types => 'SELECT',
sec_relevant_cols=>'NATIONAL_IDENTIFIER',
sec_relevant_cols_opt=>DBMS_RLS.ALL_ROWS);
END;
Thanks,
Krishna Nand Singh -
ORA-48108: invalid value given for the diagnostic_dest init.ora parameter
Hi All,
I am trying to start my oracle 11g database on windows 7 PC and i am getting below exception
SQL> startup mount
ORA-48108: invalid value given for the diagnostic_dest init.ora parameter
ORA-48140: the specified ADR Base directory does not exist [d:\oracle\app\product\11.2.0\dbhome_1\database\<oracle_base>]
ORA-48187: specified directory does not exist
OSD-00002: additional error information
O/S-Error: (OS 123) The filename, directory name, or volume label syntax is incorrect.
SQL>
Earlier it was working fine. For learning purpose, i have created spfile using pfile and after that i got this issue.
Please help.
Regards,
Sunilsunil907 wrote:
Hi,
I have provided diagnostic_dest folder location (physical path). Now i am getting some different kind of error on startup.
SQL> startup
ORACLE instance started.
Total System Global Area 1068937216 bytes
Fixed Size 2182592 bytes
Variable Size 616563264 bytes
Database Buffers 444596224 bytes
Redo Buffers 5595136 bytes
ORA-00205: error in identifying control file, check alert log for more info
Please help
What does your own research of 'ORA-00205' indicate?
the text of the error message is pretty self explanatory .. it couldn't find the control file.
The control files are specified by the "control_files" initialilzation paramter. When you get this error, the instance has started but was unable to mount the control file. since the init file (spfile) was processed and the instance started you can easily see what it thinks are the control files.
oracle:fubar$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Tue Jul 16 12:51:37 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 835104768 bytes
Fixed Size 2217952 bytes
Variable Size 490735648 bytes
Database Buffers 339738624 bytes
Redo Buffers 2412544 bytes
ORA-00205: error in identifying control file, check alert log for more info
SQL> show parameter control
NAME TYPE VALUE
control_file_record_keep_time integer 7
control_files string /u01/app/oracle/oradata/FUBAR/
controlfile/o1_mf_8ybx4t7w_.ct
x, /u01/app/oracle/flash_recov
ery_area/FUBAR/controlfile/o1_
mf_8ybx4tom_.ctl
control_management_pack_access string NONE
SQL>
So what did you do in fixing your original problem that caused your control_files parameter to go south? -
ORA-01401: inserted value too large for column from 9i to 8i
Hi All,
Am trying to get the data from 9.2.0.6.0 to 8.1.7.0.0.
The character sets in both of them are as follows
9i
NLS_NCHAR_CHARACTERSET : AL16UTF16
NLS_CHARACTERSET : AL32UTF8
8i
NLS_NCHAR_CHARACTERSET : UTF8
NLS_CHARACTERSET : UTF8
And the structure of the Table in 9i which am trying to pull is as follows.
SQL> desc xyz
Name Null? Type
PANEL_SITE_ID NOT NULL NUMBER(15)
PANELIST_ID NUMBER
CHECKSUM VARCHAR2(150)
CONTACT_PHONE VARCHAR2(100)
HH_STATUS NUMBER
HH_STATUS_DT DATE
HH_RECRUITMENT_PHONE VARCHAR2(100)
HH_RECRUITMENT_DT DATE
FIRST_NET_USAGE_DT DATE
INSTALL_DT DATE
FNAME VARCHAR2(4000)
LNAME VARCHAR2(4000)
EMAIL_ADDRESS VARCHAR2(200)
EMAIL_VALID NUMBER
PASSWORD VARCHAR2(4000)
And by connecting to one of the 8i schema am running the following script
CREATE TABLE GPMI.GPM_HOUSEHOLDBASE_FRMP AS
SELECT PANEL_SITE_ID,
PANELIST_ID,
LTRIM(RTRIM(CHECKSUM)) CHECKSUM,
LTRIM(RTRIM(CONTACT_PHONE)) CONTACT_PHONE,
HH_STATUS, HH_STATUS_DT,
LTRIM(RTRIM(HH_RECRUITMENT_PHONE)) HH_RECRUITMENT_PHONE,
HH_RECRUITMENT_DT,
FIRST_NET_USAGE_DT,
INSTALL_DT, LTRIM(RTRIM(FNAME)) FNAME,
LTRIM(RTRIM(LNAME)) LNAME,
LTRIM(RTRIM(EMAIL_ADDRESS)) EMAIL_ADDRESS,
EMAIL_VALID,
PASSWORD
FROM [email protected];
Am gettinh the following error.
Can anyone of you fix this one.
PASSWORD
ERROR at line 14:
ORA-01401: inserted value too large for column
Thanks in Advance
SudarshanAdditionally I found this matrix, which explains your problem:
UTF8 (1 to 3 bytes) AL32UTF8 (1 to 4 bytes)
MIN MAX MIN MAX
CHAR 2000 666 2000 500
VARCHAR2 4000 1333 4000 1000 */
For column PASSWORD the maximum length is used (4000). UTF8 uses maximal 3 bytes for a character, while AL32UTF8 may use up to 4 characters. So a column defined in AL32UTF8 may contain characters, which do not fit in a corresponding UTF8 character. -
Checkbox and ORA-20507: Invalid numeric value #:# for column
Hi All,
I'm facing problems Checkboxes in a form.
I created a form and report on a table. one of the fields on the form is a checkbox and when ever I want to create a new record or update with more than one value for the checkkbox I obtain the following error:
ORA-20507: Invalid numeric value #:# for column COLUMN_NAME Where by #:# is numbers
I think the error occurs at the processes of get_pk and process_row_of_......
how should I change the processes to accommodate the checkbox values.
Kind regards
MelHi Roel,
Colunm = number
LOV Definition
select product display, prod_num return from product_category_vw
where prod_num not in (select p.prod_num from product_user_tb p, user_tb u
where p.user_num = u.user_number
and u.user_name = :APP_USER)
ORDER BY 1column = number
LOV Definition
select school d, sch_id r from school_tbRegards
Mel -
'ORA-01401 inserted value too large for column' - 9i
I am migrating a java application from 8i to 9i. The application is writing data to a oracle 8i database without any problem.
When the underlying database source is switched to oracle 9i database(same databaseschema as 8i) by pointing to 9i instance , the application is
encountering the error: 'ORA-01401 inserted value too large for column' when trying to insert a particular field. The fileld is declared as varchar2(400) in the both the database.
The debug output from application also shows that the column data being inserted as 10 characters.The insert statement from SQLPLUS works fine. So it's looks like an issue with the JDBC driver for the 9i server. I am wondering if anyone has observed such strange behavior.
Thanks
VijayVijay,
Are you using OCI driver ? There is a known issue with OCI driver when using setFixedCHAR before an INSERT statement. This problem only happens with a string of length zero. There is no known issue with THIN Driver. This is fixed in Oracle9i Release 2.
regards
Debu Panda
Oracle -
ORA-01841 Error when value for date col is NULL in .dat (using SQL Loader)
Hello Gurus,
I have some data in .dat file which needs to be loaded into oracle table. I am using SQL * Loader to do the job. Although "NULLIF col_name =BLANKS" works for character datatype, but when value for date col is NULL then I get ORA-01841 error. I have to make NULL for all rows withour value for date column
Early reply will be highly appreciated
FarooqHi,
May be this problem is not with the NULLIF. The value for the date column is not in proper date format.
create table:
create table kk (empno number, ename varchar2(20), deptno number, hiredate date)
Control file:
LOAD DATA
INFILE 'd:\kk\empdata.dat'
insert into TABLE kk ( empno position (1:2) integer external,
ename position(4:5) char NULLIF ename=BLANKS,
deptno position (7:8) integer external NULLIF deptno=BLANKS,
hiredate position (10:20) date NULLIF hiredate=BLANKS)
data file:
10 KK 01-jan-2005
20 10
SELECT * FROM KK;
EMPNO ENAME DEPTNO HIREDATE
10 KK 01-JAN-05
20 10
Verify the data file.
Hope it will help -
EXEC SQL Error: ORA-01401: Inserted value too large for column
Getting this SQL Error: ORA-01401: Inserted value too large for column..on an EXEC SQL Insert statement when writing to an
external Oracle DB from SAP.
On further analysis..it appears that this happens to the fields..when the string length matches the field length.
Example: Plant field is defined as char(4) on the SAP side and it is a Varchar2(4) on the Oracle side.
When a value like '1015' is passed thru a variable in the insert statement then this ORA-01401 error pops up.
No error:
- if the value '1015' is passed directly in the insert statement to the external table (or)
- when a value with 3 chars or less(like the first three chars..101) is passed thru a variable defined as 'Plant(4) type c'.
- when using EXEC sql within SAP
- when reading from the external db table
This was working ok until the Oracle Patch P9147110 was installed recently.
Any suggestions !Hello Dvas,
what's the characterset of your external database?
What's the column definition in your external database (byte or character based)?
If you use a characeterset like UTF8 it is possible, that one character needs more than one byte and then you will run into such kind of issues if the definition is too small.
Regards
Stefan -
Snapshot refresh error: ora-01401 inserted value too large for column
I have an error ora-01401 "Inserted value too large for column" when I try to do a refresh on a group at the materialized view site.
My model is 1 master replicating to a readonly materialized view site. I have 2 refresh groups for separate sets of tables. 1 refresh group work fine...the other I got the above error.
I have doubled the rbs and system tablespace without any help thinking that I must be running out of default rollback segment space.
Anyone has this before?The error is related to a field, not to any tablespace. This normaly happens to me when I change the lenght or resolution of a field in the base tables. The structure changes don't "flow" to the materialized view! I must "regenerate" them. Normally droping and creating it again to make them receive the new lenght of that field.
Sometimes, when the field changed is not part of any primary key I have changes directly the field in the materialized view as if it was a normal table.
Hope this helps
Luis -
Getting error ORA-01401: inserted value too large for column
Hello ,
I have Configured the scenario IDOC to JDBC .In the SXMB_MONI am getting the succes message .But in the Adapter Monitor am getting the error message as
ORA-01401: inserted value too large for column and the entries also not inserted in to the table.I hope this is because of the date format only.In Oracle table date field has defined in the format of '01-JAN-2005'.I am also passing the date field in the same format only for INVOICE_DATE and INVOICE_DUE_DATE.Please see the target structure .
<?xml version="1.0" encoding="UTF-8" ?>
- <ns:INVOICE_INFO_MT xmlns:ns="http://sap.com/xi/InvoiceIDoc_Test">
- <Statement>
- <INVOICE_INFO action="INSERT">
- <access>
<INVOICE_ID>0090000303</INVOICE_ID>
<INVOICE_DATE>01-Dec-2005</INVOICE_DATE>
<INVOICE_DUE_DATE>01-Jan-2005</INVOICE_DUE_DATE>
<ORDER_ID>0000000000011852</ORDER_ID>
<ORDER_LINE_NUM>000010</ORDER_LINE_NUM>
<INVOICE_TYPE>LR</INVOICE_TYPE>
<INVOICE_ORGINAL_AMT>10000</INVOICE_ORGINAL_AMT>
<INVOICE_OUTSTANDING_AMT>1000</INVOICE_OUTSTANDING_AMT>
<INTERNAL_USE_FLG>X</INTERNAL_USE_FLG>
<BILLTO>0004000012</BILLTO>
<SHIPTO>40000006</SHIPTO>
<STATUS_ID>O</STATUS_ID>
</access>
</INVOICE_INFO>
</Statement>
</ns:INVOICE_INFO_MT>
Please let me know what are all the possible solution to fix the error and to insert the entries in the table.
Thanks in Advance!Hi muthu,
// inserted value too large for column
When your oracle insertion throws this error, it implies that some value that you are trying to insert into the table is larger than the allocated size.
Just check the format of your table and the respective size of each field on your oracle cleint by using the command,
DESCRIBE <tablename> .
and then verify it with the input. I dont think the problem is with the DATE format because if it is not a valid date format, you would have got on error like
String Literal does not match type
Hope this helps,
Regards,
Bhavesh -
Startup nomont problem- ORA-07446: sdnfy: bad value '' for paramete
what i am doing wrong?
SQL> startup nomount pfile=/oracle/product/9.2.0.6/dbs/initncersp.ora;
ORA-00444: background process "PMON" failed while starting
ORA-07446: sdnfy: bad value '' for parameter .
-rw-r--r-- 1 oracle dba 466 Jan 21 11:11 initncersp.ora
oracle:tulppwradb02:ncersp>pwd
/oracle/product/9.2.0.6/dbs
oracle:tulppwradb02:ncersp>vi initncersp.ora
"initncersp.ora" 127 lines, 3788 characters
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
# Archive
log_archive_dest='/archive_nmarket/ncersp'
log_archive_format='arch.ncersp.%s_%t.log'
log_archive_start=true
# Cache and I/O
db_block_size=8192
db_cache_size=25165824
db_file_multiblock_read_count=16
db_files = 400
# Cursors and Library Cache
open_cursors=500
# Database Identification
db_domain=""
db_name=ncersp
# Global Naming -- enforce that a dblink has same name as the db it connects to
global_names = TRUE
# Diagnostics and Statistics
background_dump_dest=/oracle/admin/ncersp/bdump
core_dump_dest=/oracle/admin/ncersp/cdump
user_dump_dest=/oracle/admin/ncersp/udump
timed_statistics=TRUE
# File Configuration
control_files=("/db01/oradata/ncersp/ncerspcontrol01.ctl","/db01/oradata/ncersp/ncerspcontrol02.ctl","/db01/oradata/ncer
sp/ncerspcontrol03.ctl")
# Instance Identification
instance_name=ncersp
# Job Queues
job_queue_processes=0 #zero during maintenance
# Optimizer
hash_join_enabled=TRUE
#query_rewrite_enabled=TRUE
#query_rewrite_integrity='trusted'
#star_transformation_enabled=FALSE
# Pools
java_pool_size=51200
large_pool_size=8388608
shared_pool_size=55343360
# Processes and Sessions
processes=100
# Redo Log and Recovery
fast_start_mttr_target=300
# Security and Auditing
remote_login_passwordfile='EXCLUSIVE'
audit_trail=DB
# Sort, Hash Joins, Bitmap Indexes
pga_aggregate_target=25165824
sort_area_size=1024000
# Need Varification for below paramaters by Primary DBA
# Miscellaneous
aq_tm_processes=1
compatible=9.2.0.0.0
log_buffer=32768
log_checkpoint_interval = 10000
log_checkpoints_to_alert=TRUE
max_dump_file_size='10240'
os_roles=FALSE
remote_os_roles=FALSE
os_authent_prefix=''
# System Managed Undo and Rollback Segments
undo_management=AUTO
undo_retention=10800
undo_tablespace=UNDOTBS1
#utl_file_dir='*'
# OLD DB PARAMETERS
#db_block_buffers=550
#resource_limit=true
#parallel_max_servers = 5 # SMALL
#global_names = TRUE
#job_queue_interval = 60Is this correct:
os_authent_prefix=''
I believe if you want to set this to null, you need to use double quotes, (as in os_authent_prefix="")
Ref: http://www.dba-oracle.com/security/local_os_authentication.htm
==============================================
To disable this feature, place the following lines in the initialization file, or change the lines to the following if they already exist and bounce the database.
os_authent_prefix = ""
remote_os_authent = FALSE -
ORA-35563: Multiple values exist for an attribute of this dimension member
After following the tutorial Building OLAP Cubes I was trying to make a cube with aggregation down to the day instead of down to the month.
I created a times table pretty similar to the one used in the tutorial:
CREATE TABLE EVENT_TIMES (
HOUR_KEY DATE NOT NULL,
DAY_ID VARCHAR2(10),
DAY_NAME VARCHAR2(10),
DAY_END_DATE DATE,
DAY_TIME_SPAN NUMBER,
MONTH_ID VARCHAR2(30) NOT NULL,
MONTH_NAME VARCHAR2(40),
MONTH_END_DATE DATE,
MONTH_TIME_SPAN NUMBER,
YEAR_ID VARCHAR2(30) NOT NULL,
YEAR_NAME VARCHAR2(40),
YEAR_END_DATE DATE,
YEAR_TIME_SPAN NUMBER
As you can see, instead of a DAY_KEY like in the tutorial, I now use an HOUR_KEY.
This is a sample of the data I inserted in this table:
select to_char(hour_key,'YYYYMMDDHH24MISS'),DAY_ID,DAY_NAME,DAY_END_DATE,DAY_TIME_SPAN,MONTH_ID,MONTH_NAME,MONTH_END_DATE,MONTH_TIME_SPAN,YEAR_ID,YEAR_NAME,YEAR_END_DATE,YEAR_TIME_SPAN from event_times;
TO_CHAR(HOUR_KEY,'YYYYMMDDHH24MISS') DAY_ID DAY_NAME DAY_END_DATE DAY_TIME_SPAN MONTH_ID MONTH_NAME MONTH_END_DATE MONTH_TIME_SPAN YEAR_ID YEAR_NAME YEAR_END_DATE YEAR_TIME_SPAN
20140104050000 Y2014M1D4 Y2014M1D4 04-JAN-14 1 Y2014M1 Y2014M1 31-JAN-14 31 Y2014 Y2014 31-DEC-14 365
20140104060000 Y2014M1D4 Y2014M1D4 04-JAN-14 1 Y2014M1 Y2014M1 31-JAN-14 31 Y2014 Y2014 31-DEC-14 365
I then created my TIME dimension with DAY as the lowest level.
When I try the maintain cube option it fails at the 'LOAD NO SYNCH' step with the rejected records having an error message that says:
ORA-35563: (XSRWLD17) Multiple values exist for an attribute of this dimension member.
To me, this is a very cryptic message and the only explanation I find online is:
Cause
Multiple source table rows containing different values for a dimension attribute were found. Only the first of the multiple rows has been loaded.
Action
Fix the mapping or remove the rows with conflicting attribute values..
This confuses me. In the tutorial the lowest level was day and the TIMES table contained 1 record for each day.
In my example, the lowest level is hour and the TIMES table contains 1 record for each hour.
Which attribute has multiple values? And which values?
The rejected records (101) are not very clear:
ALIAS_1 = 'MONTH_Y2014M1' AND ALIAS_3 = to_date('31JAN14') AND ALIAS_4 = 31 AND ALIAS_5 = 'Y2014M1' AND ALIAS_6 = 'Y2014M1' AND ALIAS_7 = 'YEAR_Y2014'
If anyone can help point me in the right direction, it would be greatly appreciated.I have seen this recently. The issue is with the dimension load itself. You have a hour level record table but the rules relating to hierarchy/attribute values etc are checked/reinforced during the load and this error comes up sometimes.
I would guess that the issue seems to be with your month level information present in the higher level month columns. There are many records corresponding to a single month in ur case, month of Y2014M1. Information relating to Month level member Jan 2014 or member MONTH_Y2014M1 is present in these records: 31 (days) *24 (hours) = 744 records. The data in these 744 records for columns - MONTH_ID, MONTH_NAME, MONTH_END_DATE, MONTH_TIME_SPAN need to be exactly the same in order for the single member MONTH_Y2014M1 to have month attributes loaded with valid values.
For e.g: if records #1 to #743 contain month_timespan=31 but for some unknown reason record #744 contains month_timespan=30 then this error will come up. OLAP does not know which value to load (31 or 30), and only 1 value can be loaded onto the month level member corresponding to month Y2014M1.
A quick check of the data should give you the answer. Typically there may be some mistake/invalid assumptions made with the boundary records (in your case, check for values for records corresponding to hour=0 or hour=23/24) which is causing the issue.
HTH
Shankar -
Exporting Page fails with ORA-1401 inserted value too large for column
Hi Everyone,
I have a client what is getting the following error when
attempting to export a page using pageexp.cmd. A simple page
works for them but there main page does not. Here is the error:
Extracting Portal Page Data for Export...
begin
ERROR at line 1:
ORA-01401: inserted value too large for column
ORA-06512: at "PORTAL30.WWUTL_POB_EXPORT", line 660
ORA-06512: at "PORTAL30.WWUTL_POB_EXPORT", line 889
ORA-06512: at line 5
Has anyone seen this before?
Is there any way we can narrow down why this occurs?
There is no logging on this export option and the stored
procedures used are wrapped.
Any ideas?
Thanks
Oracle Portal Version: 3.0.9.8.0we had this problem.
We talked to some oracle person who said some portlets on a page had trouble exporting.
Sure enough after we deleted all the portlets (one at a time to determine which one was giving us the problem. Turned out none of ours worked) the page exported and imported just fine.
Hopefully this is being worked on... -
Oracle 10g R2 for Windows ignores init.ora and registry values
Hello,
I have a strange issue. I try to set some parameters for Oracle but it doesn't seem to work.
Here the story:
I created the DB with the DBCA under windows and set my init parameter at frist creation with 3 important values:
OS_AUTHENT_PREFIX = ""
REMOTE_OS_AUTHENT=TRUE
remote_login_passwordfile=EXCLUSIVE
this values are in the Registry and the init.ora and the init.ora.7192011143454 in ORAHOME_DB/scripts and pfile
I've now changed these parameters in the init.ora and registry to:
OS_AUTHENT_PREFIX = ""
REMOTE_OS_AUTHENT=FALSE
remote_login_passwordfile=EXCLUSIVE
and restarted the whole system - after the restart I checked the value for REMOTE_OS_AUTHENT:
show parameter remote_os_authent
NAME TYPE VALUE
remote_os_authent boolean TRUE
It keeps true. But why it keeps true why I can't change this value anymore after the DBCA?
Do I miss something?
Thanks
Edited by: ioGLNX on 22.08.2011 04:18show parameter spfile;
NAME TYPE VALUE
spfile string C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\SPFILEMACSCURR.ORA
NAME TYPE VALUE
I have created a new spfile from my init.ora with:
create spfile='C:\oracle\product..toMyInstanceDbs\ioglnx.ora' from pfile='C:\pathToPfile\DBHOME\scripts\init.ora'
So the problems as it seem to me to instrcut oracle to use my new spfile...in Windows.
Maybe you are looking for
-
Experts, I can see the file in AL11 and i can view the contents of it , but i was just observing is there anyway i can download the file from there. All answers would be duly appreciated and rewarded with points. Thanks, Nandita
-
Hi expert,Delivery save as Draft.
Hi, I want to Add Delivery as Draft automatically using coding when i click on Add button on delivery. Thanks Rajkumar Gupta Edited by: Rajkumar Gupta on May 29, 2010 4:58 AM
-
Error when trying to edit layout
Hi all, I'm using Oracle BI Publisher 11.1.1. I have a report with a standard layout - created via the layout wizard. The report is working fine but when i tried to edit the layout I receive the following error: failed to load:io/designer/inline-prev
-
How many concurrent streams can my server handle?
I am trying to serve streaming video over a 10 mb network and using Adobe® Flash® Media Streaming Server 3.5. Here are the specs on the video. Video: Codec: On2 VP6 320x240px frame rate: 30fps 400 kbps (VBR) keyframe distance: 15 Audio: Mono channel
-
Noise reduction problems LR3.4
I have some problems with the noise reduction. 1. When watching photos in library mode the noise reduction is not working. Switching to development shows the correct image with nr removed. 2. When using the brush (reducing exposure on face) on an ima