Setup Streams Fails ORA-23616
Run the following to setup streams but it failing.
BEGIN
DBMS_STREAMS_ADM.maintain_schemas
(schema_names => 'hr',
source_directory_object => NULL,
destination_directory_object => NULL,
source_database => 'orcl1',
destination_database => 'orcl2',
perform_actions => TRUE,
--script_name => 'stream_hr_schema.sql',
--script_directory_object => 'STREAM_SCRIPTS',
capture_name => 'capture_hr,
capture_queue_table => 'rep_capture_queue_table',
capture_queue_name => 'rep_capture_queue',
capture_queue_user => NULL,
propagation_name => 'prop_hr',
apply_name => 'apply_hr',
apply_queue_table => 'rep_dest_queue_table',
apply_queue_name => 'rep_dest_queue',
apply_queue_user => NULL,
--log_file => 'exp_hr.log',
bi_directional => TRUE,
include_ddl => TRUE,
instantiation => DBMS_STREAMS_ADM.instantiation_schema_network
END;
ERROR:
BEGIN
ERROR at line 1:
ORA-23616: Failure in executing block 177 for script
2A2A7AFA67CB73C3E0440003BA5D101D
ORA-06512: at "SYS.DBMS_RECOVERABLE_SCRIPT", line 560
ORA-06512: at "SYS.DBMS_RECOVERABLE_SCRIPT", line 583
ORA-06512: at "SYS.DBMS_STREAMS_MT", line 2201
ORA-06512: at "SYS.DBMS_STREAMS_MT", line 7486
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 2624
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 2685
ORA-06512: at line 2
strange error. what is wrong with this script..
1 BEGIN
2 DBMS_STREAMS_ADM.MAINTAIN_SCHEMAS(
3 schema_names => 'TAX',
4 SOURCE_DIRECTORY_OBJECT => null,
5 DESTINATION_DIRECTORY_OBJECT => null,
6 source_database => 'STRMSRC',
7 destination_database => 'STRMTRGT',
8 capture_name => 'A1_TAX_CAPTURE',
9 capture_queue_table => 'A1_TAX_CAPTURE_QT',
10 capture_queue_name => 'A1_TAX_CAPTURE_Q',
11 capture_queue_user => null,
12 apply_name => 'A2_TAX_APPLY',
13 apply_queue_table => 'A2_TAX_APPLY_QT',
14 apply_queue_name => 'A2_TAX_APPLY_Q',
15 apply_queue_user => null,
16 propagation_name => 'prop_tax',
17 log_file => 'exp.log',
18 bi_directional => false,
19 include_ddl => true,
20 instantiation => dbms_streams_adm.instantiation_schema_network,
21 perform_actions => false,
22 script_name => 'tax_schema_replication.sql',
23 script_directory_object => 'admin' );
24* END;
SQL> /
BEGIN
ERROR at line 1:
ORA-02019: connection description for remote database not found
ORA-06512: at "SYS.DBMS_STREAMS_MT", line 903
ORA-06512: at "SYS.DBMS_STREAMS_MT", line 7444
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 2624
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 2685
ORA-06512: at line 2
SQL> select * from global_name@STRMTRGT;
GLOBAL_NAME
TAXTEST.LITTON.C_BASS.COM
Similar Messages
-
Hi,
I encountered the following error while trying to setup streams replication at the database level using dbms_streams_adm.maintain_global.
Can help please?
Thanks. Desmond
begin
ERROR at line 1:
ORA-23616: Failure in executing block 6 for script
E00C49DDDB27C899E040A8C04C0119DA with
ORA-06550: line 21, column 3:
PL/SQL: ORA-00942: table or view does not exist
ORA-06550: line 21, column 3:
PL/SQL: SQL Statement ignored
ORA-06550: line 23, column 3:
PL/SQL: ORA-00942: table or view
ORA-06512: at "SYS.DBMS_RECOVERABLE_SCRIPT", line 659
ORA-06512: at "SYS.DBMS_RECOVERABLE_SCRIPT", line 682
ORA-06512: at "SYS.DBMS_STREAMS_MT", line 2427
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 3004
ORA-06512: at line 2
SQL> select forward_block
from dba_recoverable_script_blocks
where script_id = 'E00C49DDDB27C899E040A8C04C0119DA'
and block_num = 6; 2 3 4
FORWARD_BLOCK
-- Datapump FULL MODE IMPORT
DECLARE
h1 NUMBER := NULL;
SQL>
SQL> select * from dba_recoverable_script_errors;
SCRIPT_ID BLOCK_NUM ERROR_NUMBER
ERROR_MESSAGE
ERROR_CRE
E00C49DDDB27C899E040A8C04C0119DA 6 -6550
ORA-06550: line 21, column 3:
PL/SQL: ORA-00942: table or view does not exist
ORA-06550: line 21, column 3:
PL/SQL: SQL Statement ignored
ORA-06550: line 23, column 3:
PL/SQL: ORA-00942: table or view
SCRIPT_ID BLOCK_NUM ERROR_NUMBER
ERROR_MESSAGE
ERROR_CRE
26-JUN-13
E00C49DDDB27C899E040A8C04C0119DA 6 -6550
ORA-06550: line 21, column 3:
PL/SQL: ORA-00942: table or view does not exist
ORA-06550: line 21, column 3:
PL/SQL: SQL Statement ignored
SCRIPT_ID BLOCK_NUM ERROR_NUMBER
ERROR_MESSAGE
ERROR_CRE
ORA-06550: line 23, column 3:
PL/SQL: ORA-00942: table or view
26-JUN-13
E00C49DDDB27C899E040A8C04C0119DA 6 -6550
ORA-06550: line 21, column 3:
PL/SQL: ORA-00942: table or view does not exist
SCRIPT_ID BLOCK_NUM ERROR_NUMBER
ERROR_MESSAGE
ERROR_CRE
ORA-06550: line 21, column 3:
PL/SQL: SQL Statement ignored
ORA-06550: line 23, column 3:
PL/SQL: ORA-00942: table or view
26-JUN-13The error indicated that it stopped in "datapump FULL MODE IMPORT".
Further check in the destination DB, found that the "database directory objects" is missing. This folder in the OS is required for the data pump export utility to work.
Solution:
Do this in downstream DB
1. create directory streams_dp_dir as '/u01/streams_dp_dir';
FORWARD_BLOCK
-- Datapump FULL MODE IMPORT
DECLARE
h1 NUMBER := NULL; -
Oracle Streams ORA-23616: Failure in executing block 167 for script
oracle : Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
os : linux i686 i686 i386 GNU/Linux
application : testing streams for schema ROOT
1. Both the databases INDCTRAK, INDDTRAK are in archive.
2. DB link created
CREATE DATABASE LINK dbl_INDDTRAK CONNECT TO strmadmin IDENTIFIED BY strmadmin USING 'INDDTRAK';
3. tbs created
CREATE TABLESPACE streams_tbs datafile '/u02/oradata/INDDTRAK/streams01.dbf' size 100m;
4 user created
CREATE USER strmadmin IDENTIFIED BY strmadmin DEFAULT TABLESPACE streams_tbs TEMPORARY TABLESPACE temp
QUOTA UNLIMITED ON streams_tbs;
5. All req. grants
GRANT CONNECT, RESOURCE, DBA ,Select_CATALOG_ROLE,
SELECT ANY DICTIONARY TO strmadmin;
6. grants
BEGIN
DBMS_STREAMS_AUTH.GRANT_ADMIN_PRIVILEGE (Grantee => 'strmadmin',Grant_privileges => true);
END;
PL/SQL procedure successfully completed.
7. Created directory
CREATE OR REPLACE DIRECTORY ADMIN AS '/u02/oradata/INDDTRAK/streams';
step 2-7 executed without errors
8.run with perform_actions as false
SQL> BEGIN
2 DBMS_STREAMS_ADM.MAINTAIN_SCHEMAS(
3 schema_names =>'ROOT',
4 source_directory_object =>'ADMIN',
5 destination_directory_object =>'ADMIN',
6 source_database => 'INDCTRAK',
7 destination_database => 'INDDTRAK',
8 perform_actions => false,
9 script_name => 'schema_replication.sql',
10 script_directory_object => 'admin',
11 dump_file_name => 'ROOT.DMP',
12 capture_name => 'capture_ROOT',
13 capture_queue_table => 'rep_capture_queue_table',
14 capture_queue_name => 'rep_capture_queue',
15 capture_queue_user => null,
16 propagation_name => 'prop_ROOT',
17 apply_name => 'apply_ROOT',
18 apply_queue_table => 'rep_dest_queue_table',
19 apply_queue_name => 'rep_dest_queue',
20 apply_queue_user => null,
21 log_file => 'exp.log',
22 bi_directional => false,
23 include_ddl => true,
24 instantiation => dbms_streams_adm.instantiation_schema_network);
25 END;
26 /
9. when running perform_actions true getting error
SQL> BEGIN
2 DBMS_STREAMS_ADM.MAINTAIN_SCHEMAS(
3 schema_names =>'ROOT',
4 source_directory_object =>'ADMIN',
5 destination_directory_object =>'ADMIN',
6 source_database => 'INDCTRAK',
7 destination_database => 'INDDTRAK',
8 perform_actions => TRUE,
9 script_name => 'schema_replication.sql',
10 script_directory_object => 'admin',
11 dump_file_name => 'ROOT.DMP',
12 capture_name => 'capture_ROOT',
13 capture_queue_table => 'rep_capture_queue_table',
14 capture_queue_name => 'rep_capture_queue',
15 capture_queue_user => null,
16 propagation_name => 'prop_ROOT',
17 apply_name => 'apply_ROOT',
18 apply_queue_table => 'rep_dest_queue_table',
19 apply_queue_name => 'rep_dest_queue',
20 apply_queue_user => null,
21 log_file => 'exp.log',
22 bi_directional => false,
23 include_ddl => true,
24 instantiation => dbms_streams_adm.instantiation_schema_network);
25 END;
26 /
BEGIN
ERROR at line 1:
ORA-23616: Failure in executing block 167 for script
4D2E52386C84C1CAE040A8C0FC015222
ORA-06512: at "SYS.DBMS_RECOVERABLE_SCRIPT", line 560
ORA-06512: at "SYS.DBMS_RECOVERABLE_SCRIPT", line 583
ORA-06512: at "SYS.DBMS_STREAMS_MT", line 7673
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 2606
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 2667
ORA-06512: at line 2
10 errors
SQL> select * from dba_recoverable_script_errors;
SCRIPT_ID BLOCK_NUM ERROR_NUMBER
ERROR_MESSAGE
ERROR_CRE
4D2E52386C84C1CAE040A8C0FC015222 167 -39001
ORA-39001: invalid argument value
ORA-06512: at "SYS.DBMS_RECO_SCRIPT_INVOK", line 130
ORA-06512: at "SYS.DBMS_STREAMS_RPC", line 447
14-MAY-08
I could not find much explanation on net.
pl. help in case it is already solved.Hi,
we are implementing datavault on an existing 11g DB.The database is up and running fine , but DBCA shows this error when I am trying to configure datavault using DBCA.
I have created a spfile from the same pfile, and Db does not show any error while coming up or shutting down. The issue comes only while using DBCA. I shall try minimizing the parameters and try again.
Thanks
Pankaj -
If anyone is able to solve this they are a genius (or I am doing something very stupid!)
I am trying to reinstall CS5.5 Master Collection from DVD media on Windows 7 64 bit PC but setup.exe fails due to a msxml3.dll error.
Following a big bundle of recent Windows 7 updates, I started getting 'bad image' msxml3.dll error messages when opening any CS5.5 master collection program (Eg Premiere / Photoshop / Illustrator / Dreamweaver). Following advice on some threads here I tried uninstalling and then using the Adobe CC Cleaner Tool to clean up install, then reinstalling from my original DVD media.
Whenever I try using run setup.exe from installtion disc 1 the installing fails due to 'Missing files'. I have also tried dowloading trial versions and runing setup.exe fro mthe downloaded files but i still get the same message.
I have searched the forum and others have experienced this error but none of the solutions I have found seem to be working for me - as many seem to relate to download installations whereas I am installing from original DVD media (which worked fine before on the same PC)
These are the FATAL messages from the PDApp log
12/11/2014 15:29:27 [FATAL] PIM - Failed to Create XML instance : DOMDocument40 ADXML::initWithXMLPath Error:80040154
12/11/2014 15:29:27 [FATAL] Setup - Could not initialize ADXML object
12/11/2014 15:29:27 [FATAL] Setup - Unable to initialize. Error parsing setup.xml file
The PDApp troubleshooting seems to indicate that this is caused by error in downloads but I am getting it with both original media DVD and downloads.
I have also tried using my logon (which has admin privileges) and under our main admin account - and I get the same errors.
Is a clean install of Windows 7 + CS5.5 my only option?
Any help / info / advice / solutions very much appreciated! I have spent the last 2 days trying to sort this out and seem to be getting nowhere.
Thanks.Thanks for the reply kglad - much appreciated.
I have already tried that option (along with downloading files) as it was one of the solutions mentioned on other threads, but that also failed.
Any other ideas? -
Hi
I have a stored procedure that uses the XMLQuery function (SELECT XMLQuery( '......' RETURNING CONTENT) FROM dual; ) to extract data from 3 different tables and store the xml file in XML DB. This store procedure was running fine for a long time until 2 weeks ago where I started seeing the following error:
Database Error: DBD::Oracle::db do failed: ORA-04030: out of process memory when trying to allocate 92 bytes (koh dur heap d,qmxtkWriteXobToOpn:heap)
Currently I have 16,000 records. I am not sure what is going on, the size of the previous successful output xml file is about 2M. I also noticed when the stored procedure runs with 3G of system memory available, it basically used up all the memory and cpu time. The store proc consistently dies after 3.5 hour and spits out the ORA-04030 out of process memory error.
Does anyone have any suggestion what to look for or what parameters I need to set? ThanksUnless your database is strictly a DSS-type of database, your AWR report exposes loads of issues with it. And I think none of the time during the AWR window was spent on database. Look at the DB time (with all those multi cores) compared with the elapsed time of the AWR.
As you are on 11g, why not make use of MEMORY_TARGET (a single parameter to manage both SGA and PGA)? If you are already on it, ignore this as I can't see it anywhere. If not, get rid of SGA_TARGET and PGA_AGGREGATE_TARGET and replace it with a single MEMORY_TARGET parameter. However you may have a minimum threshold set for different SGA pools so that they won't shrink beyond that point.
Having said that, setting MEMORY_TARGET is not a guarantee to avoid ORA-4030. Just a single bad PL/SQL code could go and exploit the untunable part of your process memory and even go and blow up the physical memory. If you are using FORALL and BULK load, see if you can cut it down into few chunks rather than running as a single process.
What does your V$PGASTAT say? -
Error message when opening itunes, quicktime streaming failed to load...
I downloaded itunes, installed it, and when I try to open I get the message "quicktime streaming failed to load because it was already loaded" Then it closes. Anyone know what's going on?
Windows XPokay ... let's try a careful standalone QT 7.1 reinstall.
download and save a copy of the QT 7.1 standalone installer to your hard drive. (we'll run the install from there rather than online.) switch off antivirus and antispyware applications prior to the install.
Quicktime 7.1 Standalone Installer
if that install goes through okay, does your itunes launch properly again?
(if you get an error message on the QT standalone reinstall, let us know what it says. include error message numbers if you're getting any.)
love, b -
"Quicktime Streaming failed to load because of an unknown error"
iTunes and Quicktime will not load, install, or uninstall because of at some point the popup message "Quicktime Streaming failed to load because of an unknown error" appears. Succesive reboots and removal of SpyBot (which may have denied access to Quicktime because of a registry setting, which of course may still be the cause of the problem...) have not fixed the problem. Any ideas?
I have struggled with the same problem for the last few years and could not find any adequate answers. Being a person who likes to run his PC clean and mean, I had stopped all those Apple Itunes / Quicktime applets and deleted Itunes application as I preferred other Media players & converters. Recently my Nokia 6300 phone suite would send me the same error every song I moved from PC to phone. The clue was that I had chosen Optimised AAC format instead of stock standard MP3. Working on this hunch, I re-activated Apple's Software Update from the Scheduled Tasks items of Control Panel to update Quicktime, Itunes and Safari. Now I have AppleMobileDeviceService.exe, iPodService.exe, iTunesHelper.exe all running and I do not get the error anymore. There is also the Bonjour (DNSResponder.exe) service to be considered. See:-
http://www.tombraiderforums.com/showthread.php?t=122420
http://digg.com/apple/iTunes5Disasters -
ORA-29273: HTTP request failed ORA-12535: TNS:operation timed out
SQL*Plus: Release 11.2.0.3.0
Solaris 10 SPARC
Hi,
I get the following error when trying to make an HTTP request. Below is the snippet of code I run. I get the error after exactly 60 seconds(default timeout?). I searched through the forums and found many similar errors but nothing that helped me resolve this issue. The problem does not exist in the rest of our environments, only our test environment.
Help is greatly appreciated. Thanks.
DECLARE
p_mid_tier VARCHAR2 (500);
responsestr VARCHAR2 (500);
BEGIN
SELECT *****
INTO p_mid_tier
FROM *****
WHERE profile_type = '*****';
UTL_HTTP.set_wallet ('file://$ORACLE_HOME/network/admin/wallets');
UTL_HTTP.set_transfer_timeout (6000);
UTL_HTTP.set_response_error_check (TRUE);
responsestr :=
UTL_HTTP.request (
UTL_URL.ESCAPE (p_mid_tier || '*****'));
DBMS_OUTPUT.put_line (responsestr);
END;
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1722
ORA-12535: TNS:operation timed out
ORA-06512: at line 151001371 wrote:
SQL*Plus: Release 11.2.0.3.0
Solaris 10 SPARC
Hi,
I get the following error when trying to make an HTTP request. Below is the snippet of code I run. I get the error after exactly 60 seconds(default timeout?). I searched through the forums and found many similar errors but nothing that helped me resolve this issue. The problem does not exist in the rest of our environments, only our test environment.
Help is greatly appreciated. Thanks.
DECLARE
p_mid_tier VARCHAR2 (500);
responsestr VARCHAR2 (500);
BEGIN
SELECT *****
INTO p_mid_tier
FROM *****
WHERE profile_type = '*****';
UTL_HTTP.set_wallet ('file://$ORACLE_HOME/network/admin/wallets');
UTL_HTTP.set_transfer_timeout (6000);
UTL_HTTP.set_response_error_check (TRUE);
responsestr :=
UTL_HTTP.request (
UTL_URL.ESCAPE (p_mid_tier || '*****'));
DBMS_OUTPUT.put_line (responsestr);
END;
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1722
ORA-12535: TNS:operation timed out
ORA-06512: at line 15
the most frequent cause for TIMEOUT is a FireWall on or between client & server.
when was last time this worked without error?
what changed since then? -
Connection failing : ORA-12154
Hello everybody,
I have a connexion via Oracle SQL Developper that works fine to an Oracle database.
I should like to write an interface via an office tool, probably Ms-Access, to that database.
I could create an ODBC connexion in the user DSN in the administration tools of Windows (XP Pro), and the test button gives me a message that says the connection is successful.
Now, when I try to create a linked table to Oracle in the Access base, I am invited to type the password (saving the password will come afterwards in the order of importance), and then an error message tells me :
ODBC -- l'appel a échoué
[Oracle][ODBC][Ora]ORA-12154: TNS : l'identificateur de connexion indiqué n'a pas pu être résolu
(#12154)[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed IM006 0 [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed(#0)
The 2 first lines could be translated like that :
ODBC -- the call failed
ORA-12154: TNS : the connection identificator that was given could not be resolved.
So, I searched for the number of the error, and as an answer I got this :
http://www.oracle.com/technetwork/topics/dotnet/odt-faq-085407.html#ORA-12154:_TNS:could_not_resolve_the
(attempt to use the link functionnality in the forum failed)
Second attempt :
[http://www.oracle.com/technetwork/topics/dotnet/odt-faq-085407.html#ORA-12154:_TNS:could_not_resolve_the|http://www.oracle.com/technetwork/topics/dotnet/odt-faq-085407.html#ORA-12154:_TNS:could_not_resolve_the]
I had made two attempts to install the .Net driver (including Oracle Provider for OLE DB 11.2.0.1.0), as during the first one I saw "installation suspended", and I had time to click on abort before understanding this was normal.
So, I have copied TNSNAMES.ORA to the directory
C:\app\(my name)\product\11.2.0\client_2\Network\Admin
I deleted folder C:\app\(my name)\product\11.2.0\client_1
as this seems to be duplicated.
I am afraid I still get the same results, so if somebody has a clear idea about this, it will be welcomed.
Edited by: user13498894 on 17 déc. 2010 17:40Bingo ! This was the correct thing to verify.
This morning I begun by creating a linked table to the Oracle base, and it ran without any difficulty. I was even invited to check a box to save the password.
So, this is what I guess : when SQL Developper is not used during a certain time, the connection is reinitialized, you have to close the product and reopen it. I wonder whether the account of authorized connections, at a time, would not fail to be reinitialized when doing that, thus preventing to open further connections. SQL developper can open its connection again, but other products then fail to open theirs.
It seams to be a path to explore.
I wonder whether I am supposed to close the topic : I could create my linked tables, nevertheless probably it would be interesting to have an in-depth view of how to reinitialize a connection properly when a time-out prevents it to run any more.
Anyway this seems necessary to answer user13502634's question.
Any idea about what documentation to read about it ?
Edited by: Neptune on 21 déc. 2010 15:14 -
ORA-20011: Approximate NDV failed: ORA-31000: Resource Error in Oracle 11g
Hi Friends,
I am using Oracle 11.2.0.1 on linux (x64) and i am getting the following messages in Alert Log / Trace Log.
Please let me know the fix.
Alert Log:
GATHER_STATS_JOB encountered errors. Check the trace file.
Errors in file /u01/app/oracle/diag/rdbms/oraht01/oraht01/trace/oraht01_j001_30852.trc:
ORA-20011: Approximate NDV failed: ORA-31000: Resource '' is not an XDB schema document
ORA-06512: at "XDB.XDB$ACL_PKG_INT", line 18
Trace File entries:
----- Guard Frame Metadata Dump -----
----- Java Stack -----
ORA-20011: Approximate NDV failed: ORA-31000: Resource '' is not an XDB schema document
ORA-06512: at "XDB.XDB$ACL_PKG_INT", line 18
*** 2013-01-21 22:00:36.397
GATHER_STATS_JOB: GATHER_TABLE_STATS('"XDB"','"XDB$ACL"','""', ...)
ORA-20011: Approximate NDV failed: ORA-31000: Resource '' is not an XDB schema document
ORA-06512: at "XDB.XDB$ACL_PKG_INT", line 18
Regards,
DBHi Friends,
Thanks for the info but the referred Thread and the Metalink Notes : 1290722.1 or 1305127.1 doesn't help me.
Trace File :
*** 2013-01-21 22:00:29.760
*** SESSION ID:(28.36753) 2013-01-21 22:00:29.760
*** CLIENT ID:() 2013-01-21 22:00:29.760
*** SERVICE NAME:(SYS$USERS) 2013-01-21 22:00:29.760
*** MODULE NAME:(DBMS_SCHEDULER) 2013-01-21 22:00:29.760
*** ACTION NAME:(ORA$AT_OS_OPT_SY_1144) 2013-01-21 22:00:29.760
SQL> SELECT JOB_NAME,STATUS,ADDITIONAL_INFO FROM DBA_SCHEDULER_JOB_RUN_DETAILS WHERE JOB_NAME = 'ORA$AT_OS_OPT_SY_1144';
JOB_NAME
STATUS
ADDITIONAL_INFO
ORA$AT_OS_OPT_SY_1144
SUCCEEDED
The job show completed but i want to avoid this issue in the Alert.
Regards,
DB -
ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing
Hi,
I am trying to update an already existing Sales Order through PO Change Inbound 860. When i am performing changes in the line quantity and scheduled ship date with operation code as "Update" then it is successfully updating the Order and also we are able to generate the POAck for the updated sales order lines. But when i am rejecting one of the PO change lines by checking rejected flag, then order is getting imported successfully(I mean sales order is getting updated successfully) but during the POAck Generation i.e. 865 its raising "*ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00103: Warning: document structure does not match DTD Error at line 1*" at XML Gateway. we are using XML Gateway to process the orders, can somebody help me to get rid of this issue. Thanks in advance.
Thanks,
Sunil ChauhanHi Kishan
Thanks for the reply.
Because this is an outbound transaction so i can not provide you the XML file as we are facing issue to generate the same. Also we are using oracle seeded PO outbound Ack map.
In addition i can provide you the DTD file.
<!-- ==================================================== -->
<!ENTITY % RESOURCES SYSTEM "oagis_resources.dtd">
%RESOURCES;
<!-- ==================================================== -->
<!ELEMENT ACKNOWLEDGE_PO_008 (CNTROLAREA, DATAAREA+)>
<!ATTLIST VERB
value CDATA #FIXED "ACKNOWLEDGE"
>
<!ATTLIST NOUN
value CDATA #FIXED "PO"
>
<!ATTLIST REVISION
value CDATA #FIXED "008"
>
<!ELEMENT DATAAREA (ACKNOWLEDGE_PO)
>
<!ELEMENT ACKNOWLEDGE_PO (POORDERHDR, POORDERLIN*)
>
<!ELEMENT POORDERHDR ((%DATETIME.DOCUMENT;)?, (%OPERAMT.EXTENDED.T;)?, POID, POTYPE, ACKREQUEST?, CONTRACTB?, CONTRACTS?, DESCRIPTN?, NOTES*, OPRAMTAUTH?, PORELEASE?, TAXWHEXMPT?, USERAREA?, ACKHEADER, ATTCHREF*, CHARGE*, PARTNER*, POTERM*)
>
<!ELEMENT ACKHEADER (SENDER, (%DATETIME.PROMDELV;)?, (%DATETIME.PROMSHIP;)?, ACKCODE, DESCRIPTN?, NOTES*, SALESORDID?, USERAREA?)
>
<!ELEMENT POTERM (DESCRIPTN?, TERMID?, ((DAYOFMONTH, PROXMONTH) | DAYSNUM), ((%OPERAMT.EXTENDED.T;) | (%QUANTITY.PERCENT;)), USERAREA?)
>
<!ELEMENT POORDERLIN ((%QUANTITY.ORDERED;), (%DATETIME.NEEDDELV;)?, (%OPERAMT.UNIT.T;)?, POLINENUM, DRAWING?, HAZRDMATL?, ITEMRV?, ITEMRVX?, NOTES*, PACKING?, POLNSTATUS?, TAXWHEXMPT?, ((DESCRIPTN, ITEM?, ITEMX?, UPC?) | (ITEM, ITEMX?, UPC?) | (ITEMX, UPC?) | (UPC)), USERAREA?, ACKLINE*, ATTCHREF*, CHARGE*, DISTRIBUTN*, PARTNER*, POTERM*, POSUBLINE*, POLINESCHD*)
>
<!ELEMENT ACKLINE ((%DATETIME.PROMDELV;)?, (%DATETIME.PROMSHIP;)?, (%QUANTITY.ORDERED;)?, ACKCODE, NOTES*, SALESORDID?, USERAREA?)
>
<!ELEMENT POSUBLINE ((%QUANTITY.ITEM;), DRAWING?, ITEMRV?, ITEMRVX?, PSBLINENUM?, ((DESCRIPTN, ITEM?, ITEMX?, UPC?) | (ITEM, ITEMX?, UPC?) | (ITEMX, UPC?) | (UPC)), USERAREA?)>
<!ELEMENT POLINESCHD ((%DATETIME.NEEDDELV;), (%QUANTITY.ORDERED;), DESCRIPTN?, PSCLINENUM?, USERAREA?)
>
Thanks,S
--Sunil -
ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing L
Hi There,
I am trying to load XML data [Given Below] into a table using "Load XML Data" option.
<?xml version="1.0"?>
<ROWSET>
<ROW>
<ID>13</ID>
<TYPE_SEQ>8</TYPE_SEQ>
<TYPE>B749</TYPE>
<TYPE_DESC>B758</_TYPE_DESC>
<EFFECTIVE_FROM>2099-01-01</EFFECTIVE_FROM>
<EFFECTIVE_TO>2099-01-01</EFFECTIVE_TO>
<CREATED_BY>958344</CREATED_BY>
<CREATED_ON>2099-01-01</CREATED_ON>
<UPDATED_BY>172283</UPDATED_BY>
<UPDATED_ON>2099-01-01</UPDATED_ON>
</ROW>
</ROWSET>
It throws the following error.
ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00222: error received from SAX callback function
Can any one advice the solution please.
-Sudheer.Hi Sudheer,
This is caused by the date format you are using. Probably it is not matching with your NLS settings. Check your NLS settings, what the date format is, and use that in the XML.
Check it with this code:
SELECT XMLELEMENT("date", sysdate) FROM dual;Make sure, you have your NLS_DATE settings in the same format.
Check it with:
SELECT * FROM v$nls_parameters WHERE parameter = 'NLS_DATE_FORMAT'And then make sure it is the same by setting for example:
ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD';Greetings,
Rutger -
Crystal Reports 2008 Setup Has Failed
Post Author: MWheeler
CA Forum: Upgrading and Licensing
I get a setup error as soon as I hit "install" on the English upgrade to 2008 on my Windows Xp Sp2 machine. I am running XI developer edition on this machine. The Window title for the error message is "Crystal Reports 2008 Setup Error" and the text is "Crystal Reports 2008 Setup has failed. If this continues contact http:
support.businessobjects.com". I tried to open a Support case on this, but the Create a Case screen didn't have anyplace to enter any data at all and ended up just timing out.I have got the same error message.
I was unable to uninstall the program from the control panel.
Try to install Windows Installer CleanUp software, and uninstall with this program the previous version on Crystal Reports.
http://download.microsoft.com/download/e/9/d/e9d80355-7ab4-45b8-80e8-983a48d5e1bd/msicuu2.exe -
Windows OS authentication fails ORA-1017 after renaming AD user
When a user is renamed in Active Directory, they can no longer connect to the Oracle DB thru OS authentication. There is no OID/DIP integration.
sqlnet.ora
SQLNET.AUTHENTICATION_SERVICES = (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME)
NAMES.DEFAULT_DOMAIN = cal.com.br
create user "CAL\RENATOH" IDENTIFIED EXTERNALLY
GRANT CREATE SESSION TO "CAL\RENATOH"
AD User CAL\RENATOH can connect to DB as 'sqlplus /'
But after renaming AD User CAL\RENATOH to CAL\RENATOH1 and dropping DB user CAL\RENATOH and creating DB user CAL\RENATOH1
drop user "CAL\RENATOH";
create user "CAL\RENATOH1" IDENTIFIED EXTERNALLY;
Now OS authentication 'sqlplus /' fails 'ORA-01017: invalid username/password; logon denied'
Once I recreate the DB user with old AD user name 'CAL\RENATOH', OS authentication succeeds.
create user "CAL\RENATOH" IDENTIFIED EXTERNALLY;
==========
C:\Windows\system32>set username
USERNAME=RENATOH1
C:\Windows\system32>sqlplus /@rmlab001
SQL*Plus: Release 11.1.0.6.0 - Production on Tue Jul 3 15:16:46 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning and OLAP options
SQL> select SYS_CONTEXT('USERENV','OS_USER') from dual;
SYS_CONTEXT('USERENV','OS_USER')
CAL\RENATOH
=================
Why the Database is still looking for old AD user name?
Does Oracle cache information about OS authenticated users?Hi,
Have you added the NPS server to the RAS and IAS Servers
security group in AD DS?
The NPS server needs permission to read the dial-in properties of user accounts during the authorization process.
Try to add a loal user on the NPS server, then test with the local user. If it works, it means that there is something wrong between NPS and DC.
If the issue persists, it means that the configuration between NPS and NAS is wrong.
Steven Lee
TechNet Community Support -
Security setup operations failed: creating system keys
I have just downgraded my T60 laptop from Vista to windows xp using the lenovo CD's.
Everything seems to be working well, except that each time I boot up the computer, the lenovo security setup software runs. If I follow the menus all the way through, I get to the following error on the last screen:
"your security settings have been configured however, one or more setup operations failed: creating system keys"
There was also a message that previously briefly flashed during the bootup (on the "bios" screen?) which stated that the system was designed to use fingerprints to protect something or other, but this was not enabled. However: I then ran all updates for windows xp and for lenovo drivers etc. This message has now gone away (and unfortunately I didn't write it down).
I'm guessing the failure to "create system keys" results in the software running each time I boot up.
Another possibility: I have not yet enabled the symantec security, as I intend to uninstall it and use other virus protection software. Could this be causing the"failure to create system keys"?
(The fingerprint reader works fine, and reads my fingerprint at the windows logon screen.)
**UPDATE**: uninstalled symantec security software, and this had no effect.
Message Edited by orson_m on 12-29-2008 02:47 PMI have just downgraded my T60 laptop from Vista to windows xp using the lenovo CD's.
Everything seems to be working well, except that each time I boot up the computer, the lenovo security setup software runs. If I follow the menus all the way through, I get to the following error on the last screen:
"your security settings have been configured however, one or more setup operations failed: creating system keys"
There was also a message that previously briefly flashed during the bootup (on the "bios" screen?) which stated that the system was designed to use fingerprints to protect something or other, but this was not enabled. However: I then ran all updates for windows xp and for lenovo drivers etc. This message has now gone away (and unfortunately I didn't write it down).
I'm guessing the failure to "create system keys" results in the software running each time I boot up.
Another possibility: I have not yet enabled the symantec security, as I intend to uninstall it and use other virus protection software. Could this be causing the"failure to create system keys"?
(The fingerprint reader works fine, and reads my fingerprint at the windows logon screen.)
**UPDATE**: uninstalled symantec security software, and this had no effect.
Message Edited by orson_m on 12-29-2008 02:47 PM
Maybe you are looking for
-
Set Default User settings in BRF Plus
Hi All, We want to set some default setting for a set of the users for BRFPlus gui. For Example: 1. We want to display row no in the decision table as the first column for all users. 2. In the decision table, we want some columns ( from result sectio
-
Connecting my laptop to my Panasonic plasma TV
Hey everybody. I am trying to connect my laptop to my TV with a HDMI cord. I've changes my TV to be on the right channel, I've pressed Fn+ F5 but nothing works. I've been told that I need to go into the video card settings in order to press clone / m
-
Violation of PRIMARY KEY constraint
Hello, I have the following table in my oracle database : create table FLTRPTDATA esn VARCHAR2(10) default 'ALL' not null, periodid NUMBER not null, yearid NUMBER default 2007 not null, reportid NUMBER not null, entryid NUMBER not null, operatorid VA
-
Newly activated Dep Areas-How values computed
Hi Gurus, We have just activated a new Dep area 61. This area 61 is a difference from 01 and 60 Areas. We just noticed that the ordinary depreciation for area 61 started only for Period 4 amounting to 15.56. Period 01 to 3 is not there. In Area
-
On a two Node cluster, the result of running "crs_stat - t" on the first node for gsd is shown as listed below Name Type Target State Host ora.node1.gsd application ONLINE OFFLINE on the second node for gsd is shown as listed below: Name Type Target