Impossible to run RCU from Oracle DB 12 c
Greetings,
Try to run the RCU 11.1.1.7 against DB 12.1.0.1. After the creation of storage spaces, in the "Repository creation Utility - Create" dialog box, the following error message is generated:
ORA-65096: invalid user or role common name.
File c:\...\mds_user.sql
Statement: CREATE USER & & 1 IDENTIFIED BY * DEFAULT TABLESPACE & & TEMPORARY TABLESPACE 3 & & 4
However, the compatibility matrix indicates that DB 12 c is compatible with the following SOA 11.1.1.7. What could be the problem here?
Kind regards
Nicolas
Hello
The correct UCR for oracle database 12 c is in the Oracle fusion middleware infrastructure.
Steps are in this link: obtaining and execution of repository creation Utility - 12 c (12.1.2)
Tags: Fusion Middleware
Similar Questions
-
Is it possible to get the query Details of the old run from oracle?
Is it possible to get the query Details of the old run from oracle? I mean, I wanted to know the details of a request executed work, I know the time taken by the query to run? Is it possible to know?
Yes, it is possible to obtain, provided you use enterprise edition version + additional license *. A few tables to get information of are:
dba_hist_sqltext
dba_hist_sqlstat
dba_hist_snapshot
dba_hist_sql_plan
dba_hist_active_sess_history
-
DBMS_SCHEDULER - trying to create and run a UNIX shell script from Oracle
How can I run Script Shell Unix from Oracle using DBMS_SCHEDULER?
After reading many examples online, I finished the 3 steps below.
Create program, create jobs, run task. On my 3rd stage, I get the following error.
How can I make sure that the work was created?
ORA-27475: "APPS. POSPAY_FILE_CHECK_JOB' must be work
(1) create the program
(2) create jobsBEGIN dbms_scheduler.create_program( program_name => 'POSPAY_FILE_CHECK_PROG', program_type => 'EXECUTABLE', program_action => '/home/ldcgroup/ldccbc/POSPAY_USC2_CHECK.sh', number_of_arguments => 0, enabled => TRUE, comments => 'Test Program' ); END;
(3) the job (not calendar, I'll run this a concurrent request of EBS)BEGIN DBMS_SCHEDULER.CREATE_JOB ( job_name => 'POSPAY_CHECK_FILE_JOB', program_name => 'POSPAY_CHECK_FILE_PROG', enabled => TRUE); END; /
BEGIN DBMS_SCHEDULER.run_job ( job_name => 'POSPAY_FILE_CHECK_JOB'); END; /
Of [documentation | http://download.oracle.com/docs/cd/E11882_01/server.112/e10595/scheduse002.htm#i1009668]
The job is created disabled. You must enable it with DBMS_SCHEDULER.ENABLE before the Scheduler will automatically run it. Jobs are set to be automatically dropped by default after they complete. Setting the auto_drop attribute to FALSE causes the job to persist.
-
Installation of the UCR switches from Oracle database 11g
UCR-6083: impossible - check requirement prerequisites for the selected item: SOAINFRA
Refer to the journal of the RCUS to D:\SOA1114\rcuHome\rcu\log\logdir.2011-04-05_12-12\rcu.log for more details.
RCU - 6107:DB prerequisites for Init Param failed: process
Current value is 40. It must be greater than or equal to 200.
RCU - 6092:Component validation selection failed. Please refer to connect to D:\SOA1114\rcuHome\rcu\log\logdir.2011-04-05_12-12\rcu.log for more details.
during the selection of the components, I selected soa infrastructure and I continued. but she stopped when checking for prerequisites.
pls find my file rcu.log as below.
--------------------------------------------------------------------------------------------------------------------
2011-04-05 12:12:11.694 NOTIFICATION rcu: oracle.sysman.assistants.common.util.LoggingManager::initialize: dir Log is not exist. Creation logdir:D:\SOA1114\rcuHome\/rcu/log\logdir.2011-04-05_12-12
2011-04-05 12:12:11.704 NOTIFICATION rcu: oracle.sysman.assistants.common.util.LoggingManager::initialize: Log file does not exist. Creation of journal file:D:\SOA1114\rcuHome\/rcu/log\logdir.2011-04-05_12-12\rcu.log
2011-04-05 12:12:11.704 NOTIFICATION rcu: oracle.sysman.assistants.common.util.LoggingManager::initialize: LOG_LEVEL_IS - NOTIFICATION: 1
2011-04-05 12:12:11.704 NOTIFICATION rcu: oracle.sysman.assistants.common.util.LoggingManager::initialize: hostname: PC161826
2011-04-05 12:12:11.704 NOTIFICATION rcu: oracle.sysman.assistants.common.util.LoggingManager::initialize: OSINFO: x 86 Windows 7 6.1
2011-04-05 12:12:11.714 NOTIFICATION rcu: oracle.sysman.assistants.common.util.LoggingManager::initialize: JREINFO: 1.6.0_21 D:\SOA1114\rcuHome\jdk\jre
2011-04-05 12:12:11.714 NOTIFICATION rcu: oracle.sysman.assistants.common.util.LoggingManager::initialize: username: 249141
2011-04-05 12:12:11.714 NOTIFICATION rcu: oracle.sysman.assistants.common.util.LoggingManager::initialize: USERDIR: D:\SOA1114\rcuHome\BIN
2011-04-05 12:12:11.714 NOTIFICATION rcu: oracle.sysman.assistants.common.util.LoggingManager::initialize: user country: U.S.
2011-04-05 12:12:11.714 NOTIFICATION rcu: oracle.sysman.assistants.common.util.LoggingManager::initialize: the user's language: en
2011-04-05 12:12:11.714 NOTIFICATION rcu: oracle.sysman.assistants.common.util.LoggingManager::initialize: Java class path: D:\SOA1114\rcuHome\\jlib\rcu.jar;D:\SOA1114\rcuHome\\jlib\share.jar;D:\SOA1114\rcuHome\\jlib\help-share.jar;D:\SOA1114\rcuHome\\jlib\ohj.jar;D:\SOA1114\rcuHome\\jlib\orai18n-mapping.jar;D:\SOA1114\rcuHome\\lib\xmlparserv2.jar;D:\SOA1114\rcuHome\\jdbc\lib\ojdbc5.jar;D:\SOA1114\rcuHome\\jdbc\lib\ojdbc14.jar;D:\SOA1114\rcuHome\\jlib\jewt4.jar;D:\SOA1114\rcuHome\\jlib\ojdl.jar;D:\SOA1114\rcuHome\\modules\oracle.odl_11.1.1\ojdl.jar;D:\SOA1114\rcuHome\\jlib\SchemaVersion.jar;D:\SOA1114\rcuHome\\jlib\wldb2.jar;D:\SOA1114\rcuHome\\jlib\wlsqlserver.jar;D:\SOA1114\rcuHome\\jlib\wlbase.jar;D:\SOA1114\rcuHome\\jlib\wlutil.jar;D:\SOA1114\rcuHome\\ jlib\fmwgenerictoken.jar;D:\SOA1114\rcuHome\\jlib\com.bea.core.weblogic.workmanager_1.9.0.0.jar;D:\SOA1114\rcuHome\\jlib\oracle_ice.jar;D:\SOA1114\rcuHome\\jlib\rcuhelppages.jar;D:\SOA1114\rcuHome\\assistants\opca\jlib\opca.jar;D:\SOA1114\rcuHome\\portal\jlib\ptlshare.jar;D:\SOA1114\rcuHome\\jlib\ldapjclnt11.jar;D:\SOA1114\rcuHome\\jlib\commons-collections-3.1.jar;D:\SOA1114\rcuHome\\jlib\commons-dbcp-1.2.1.jar;D:\SOA1114\rcuHome\\jlib\commons-logging.jar;D:\SOA1114\rcuHome\\jlib\commons-pool-1.2.jar;D:\SOA1114\rcuHome\\jlib\quartz-1.6.0.jar;D:\SOA1114\rcuHome\\jlib\xml.jar;D:\SOA1114\rcuHome\\jlib\jta.jar;D:\SOA1114\rcuHome\\jlib\iam-platform-utils.jar;D:\SOA1114\rcuHome\\jlib\iam-platform-authz-service.jar;D:\SOA1114\rcuHome\\jlib\iam-features-identity.zip;D:\SOA1114\rcuHome\\jlib\ iam-features-configservice.zip;D:\SOA1114\rcuHome\\jlib\jps-api.jar;D:\SOA1114\rcuHome\\jlib\jps-common.jar;D:\SOA1114\rcuHome\\jlib\jps-ee.jar;D:\SOA1114\rcuHome\\jlib\jps-internal.jar;D:\SOA1114\rcuHome\\jlib\jps-manifest.jar;D:\SOA1114\rcuHome\\jlib\MicroSM.jar;D:\SOA1114\rcuHome\\jlib\javax.persistence_1.0.0.0_1-0-2.jar;D:\SOA1114\rcuHome\\jlib\org.eclipse.persistence_1.0.0.0_1-1-0.jar;D:\SOA1114\rcuHome\\jlib\identitystore.jar;D:\SOA1114\rcuHome\\jlib\jps-unsupported-api.jar;D:\SOA1114\rcuHome\\jlib\pd-internal.jar
2011-04-05 12:12:11.714 NOTIFICATION rcu: oracle.sysman.assistants.common.util.LoggingManager::initialize: Java library path: D:\SOA1114\rcuHome\jdk\jre\bin; ; C:\Windows\Sun\Java\bin; C:\Windows\System32; C:\Windows;D:\SOA1114\rcuHome\\bin; C:\oraclexe\app\oracle\product\10.2.0\server\bin; C:\Windows\System32; C:\Windows; C:\Windows\System32\Wbem; C:\Windows\system32\WindowsPowerShell\v1.0\
2011-04-05 12:12:11.714 NOTIFICATION rcu: oracle.sysman.assistants.rcu.Rcu::execute: launch RCU.
2011-04-05 12:12:11.714 NOTIFICATION rcu: oracle.sysman.assistants.rcu.Rcu::execute: InteractiveRCUModel of creation
2011-04-05 12:12:12.224 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.xmldata.RepositoryConfigManager: < init >: rather than DTD: D:\SOA1114\rcuHome\/rcu/config/
2011-04-05 12:12:12.224 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.xmldata.RepositoryConfigManager: < init >: ComponentInfo xml location: D:\SOA1114\rcuHome\/rcu/config/ComponentInfo.xml
2011-04-05 12:12:12.224 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.xmldata.RepositoryConfigManager: < init >: xml storage location: D:\SOA1114\rcuHome\/rcu/config/Storage.xml
2011-04-05 12:12:12.224 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.xmldata.RepositoryConfigManager: < init >: DTD Validation: true
2011-04-05 12:12:12.234 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.RCUCommandLineParser::process: processing command line...
2011-04-05 12:12:57.107 NOTIFICATION rcu: oracle.sysman.assistants.common.dbutil.jdbc.JDBCEngine::connect: the connection to the database: user: sys, role: SYSDBA, connectString: (description = (address = (host = localhost)(protocol=tcp) (port = 1521)) (connect_data = (service_name = XE) (server = dedicated)))
\rcuHome\/RCU/integration//EPM/registry/RepositoryConfig.XML is valid
2011-04-05 12:12:58.267 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.xmldata.RepositoryConfigManager::parseStorageData: XML Document: D:\SOA1114\rcuHome\/rcu/config/Storage.xml is valid
2011-04-05 12:12:58.467 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: turnaround time for initialization of configuration metadata repository: 640 milliseconds
2011-04-05 12:12:58.467 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: execution of task: get the properties of the specified database
2011-04-05 12:12:58.467 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.validation.PrereqEvaluator::executePrereqTask: Prereq taskId = PREREQ_QUERY_DATABASE
2011-04-05 12:12:58.517 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: lead time to get the properties of the specified database: 50 milliseconds
2011-04-05 12:12:58.517 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: execution of task: obligation of verification for the specified database
2011-04-05 12:12:58.517 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.validation.PrereqEvaluator::executePrereqTask: Prereq taskId = PREREQ_GLOBAL_CHECK
2011-04-05 12:12:59.967 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: lead time for the requirement of verification for the specified database: 1450 milliseconds
2011-04-05 12:12:59.967 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: task execution: run before create operations
2011-04-05 12:12:59.967 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.CustomCompManager::getActionList: CustomCompManager.getActionList: CUSTOM_COMP_PRELOAD_SETUP
2011-04-05 12:12:59.977 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.AbstractCompTask::execute: ValidationRule result was false. Jump action: oracle.ias.version.SchemaVersionUtil:utilCreateRegistryAndCopyData
2011-04-05 12:12:59.977 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.AbstractCompTask::execute: ValidationRule result was false. Jump action: oracle.ias.version.SchemaVersionUtil:utilCreateRegistryTable
2011-04-05 12:12:59.977 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: lead time to run before the operations of creation: 10 milliseconds
2011-04-05 12:14:15.656 NOTIFICATION rcu: oracle.sysman.assistants.common.task.ProgressPanel::progressToNextTask: waiting for delegate be visible
2011-04-05 12:14:15.666 NOTIFICATION rcu: oracle.sysman.assistants.common.task.ProgressPanel::progressToNextTask: waiting for delegate be visible
2011-04-05 12:14:15.676 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: execution of task: Metadata Services
2011-04-05 12:14:15.676 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.validation.PrereqEvaluator::executePrereqTask: Prereq taskId = MDS
2011-04-05 12:14:15.676 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.validation.PrereqEvaluator::executePrereqTask: from prereq check component
2011-04-05 12:14:15.706 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: turnaround time for metadata Services: 30 milliseconds
2011-04-05 12:14:15.706 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: execution of task: SOA Infrastructure
2011-04-05 12:14:15.706 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.validation.PrereqEvaluator::executePrereqTask: Prereq taskId = SOAINFRA
2011-04-05 12:14:15.706 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.validation.PrereqEvaluator::executePrereqTask: from prereq check component
2011-04-05 12:14:15.706 rcu ERROR: oracle.sysman.assistants.rcu.backend.task.PrereqTask::execute: Prereq evaluation failed
Refer to the journal of the RCUS to D:\SOA1114\rcuHome\rcu\log\logdir.2011-04-05_12-12\rcu.log for more details.
at oracle.sysman.assistants.rcu.backend.validation.PrereqEvaluator.executePrereqTask(PrereqEvaluator.java:642)
at oracle.sysman.assistants.rcu.backend.task.PrereqTask.execute(PrereqTask.java:68)
at oracle.sysman.assistants.rcu.backend.task.ActualTask.run(TaskRunner.java:306)
at java.lang.Thread.run(Thread.java:619)
2011-04-05 12:14:31.806 rcu ERROR: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: UCR failed
oracle.sysman.assistants.common.task.TaskExecutionException: UCR-6083: impossible - check requirement prerequisites for the selected item: SOAINFRA
Refer to the journal of the RCUS to D:\SOA1114\rcuHome\rcu\log\logdir.2011-04-05_12-12\rcu.log for more details.
RCU - 6107:DB prerequisites for Init Param failed: process
Current value is 40. It must be greater than or equal to 200.
at oracle.sysman.assistants.rcu.backend.task.PrereqTask.execute(PrereqTask.java:76)
at oracle.sysman.assistants.rcu.backend.task.ActualTask.run(TaskRunner.java:306)
at java.lang.Thread.run(Thread.java:619)RCU - 6107:DB prerequisites for Init Param failed: process
Current value is 40. It must be greater than or equal to 200.Please increase the DB process parameter properly. Please see-
http://www.Oracle.com/technetwork/middleware/soasuite/overview/quickstartguidesoasuite11gr1ps3-313245.PDF
Run under SQL before starting the RCU-
SQL > alter system reset sessions scope = spfile sid ='* ';
SQL > change processes control system = 300 scope = spfile;
SQL > shutdown immediate
SQL > startupKind regards
AnujPublished by: Anuj Dwivedi on April 5, 2011 13:24
-
Import all the objects from Oracle Designer to SDDM 4.1.1
Hello
I installed SDDM 4.1.1.888 and you import from designer 10.1
I'm looking to import all the Designer items at a time.
Steps to follow:
1 / import from Oracle Designer model
2 / select connection
3 / Select Global shared activities
4 / Select an Application (in my case: SIS)
5 / Select all Tables (2022), views (919), sequences (274) and areas (49)
6 / finishing
After about 5-10 minutes, I get an error saying "there are errors in the import - check the log file ', then ' failed to generate design. See the log file for details.
The log file (this is the last part of the file):
2015-08-10 15:16:16, 932 [Thread-34] WARN ODOForeignKey - ODOForeignKey.generate () - cannot get the Index of the Table: SCC_CAT_RV
2015-08-10 15:16:16, 933 [Thread-34] WARN ODOForeignKey - ODOForeignKey.generate () - cannot get the Index of the Table: SCC_CAT_RV
2015-08-10 15:16:16, 934 [Thread-34] WARN ODOForeignKey - ODOForeignKey.generate () - cannot get the Index of the Table: SCC_CAT_RV
2015-08-10 15:16:16, 935 [Thread-34] WARN ODOForeignKey - ODOForeignKey.generate () - cannot get the Index of the Table: SCC_CAT_RV
2015-08-10 15:16:16, 936 [Thread-34] WARN ODOForeignKey - ODOForeignKey.generate () - cannot get the Index of the Table: SCC_DA_RV
2015-08-10 15:16:16, 937 [Thread-34] WARN ODOForeignKey - ODOForeignKey.generate () - cannot get the Index of the Table: SCC_RV
2015-08-10 15:16:16, 970 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:16, 970 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:16, 970 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 033 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 033 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 033 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 033 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 034 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 034 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 034 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 034 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 034 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 034 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 128 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 128 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 243 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 243 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 244 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 244 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 260 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 260 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 288 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 288 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 288 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:17, 288 [Thread-34] ERROR DesignObject - exception listener caused:
java.lang.ClassCastException
2015-08-10 15:16:18, 465 [Thread-34] ERROR ODExtractionHandler - error when importing the repository Designer
java.lang.ClassCastException
2015-08-10 15:16:24, 900 [Thread-34] ERROR ODExtractionController - impossible to rearrange the Tables
java.lang.ClassCastException
2015-08-10 15:16:32, 699 [Thread-34] ERROR ODExtractionController - error generating Design: Untitled_1
java.lang.ClassCastException
If I import only the points of view, import works fine. If I import just the Tables, import works fine.
However, if I import the Tables and views I seem to lose the most sous-vues. If I import views and Tables, the sequence numbers are not transferred and a half subviews are missing. I can't win.
Any help would be appreciated.
Thank you
Jenny
Hi Jenny,
If I can import successfully with the old version, shouldn't I be able with the newest one?
As David said, you have a problem with the key foreign and probably views involved in the definition of the FK. DM 4.0.3 is not supported for FKs views. 4.1 DM has this support and try to import definitions from the repository of the designer.
So, if you can import with DM 4.0.3 and you are satisfied with the result then import with 4.0.3 and start using DM 4.1.
Philippe
-
Hi, after all stages of extraction of data from oracle to oracle during the execution of command "start extract ext1" his error giving this handler does not run both source and target, can you please help me. Thank you
Hello
The setting should be as below, and not only the port number should be...
PORT 7809
Kind regards
Veera
-
I have tried the code
DECLARE
lv_url VARCHAR2 (1000): = ' http://shenzhoufellowship.org/main2/files/old/SpecialTopics/TheLoveDare.pdf';
lc_return BLOB;
lhttp_url httpuritype.
Varriables - declared to have written the LOB to pdf file-
l_file UTL_FILE. TYPE_DE_FICHIER;
l_buffer RAW (32767).
l_amount directory: = 32767;
l_pos INTEGER: = 1;
l_blob BLOB;
l_blob_len INTEGER.
BEGIN
-create URIs
lhttp_url: = httpuritype.createuri (lv_url);
-get the PDF document
lc_return: = lhttp_url.getblob ();
-Open the destination file.
l_file: = UTL_FILE. FOPEN ('MBO_INPUT_DIR', 'MBD.zip', 'wb');
-Get the total length of the BLOB
l_blob_len: = DBMS_LOB.getlength (lc_return);
-Pieces of the BLOB to read and write to the file
-full up.
While l_pos < l_blob_len LOOP
DBMS_LOB. READ (lc_return, l_amount, l_pos, l_buffer);
UTL_FILE.put_raw (l_file, l_buffer, FALSE);
l_pos: = l_pos + l_amount;
END LOOP;
-Closes the file.
UTL_FILE. FCLOSE (l_file);
EXCEPTION
WHILE OTHERS THEN
-Close the file if something goes wrong.
IF UTL_FILE.IS_OPEN (l_file) THEN
UTL_FILE. FCLOSE (l_file);
END IF;
LIFT;
END;
But make a mistake like:
Error report-
ORA-29273: HTTP request failed
ORA-06512: at "SYS." UTL_HTTP", line 1130
ORA-12535: TNS:operation expired
ORA-06512: at line 37 level
29273 00000 - "the HTTP request failed.
* Cause: The UTL_HTTP package cannot run the HTTP request.
* Action: Use get_detailed_sqlerrm to check the detailed error message.
Correct the error and restart the HTTP request.
Please suggest a solution. Is it possible to download a zip file with the same code?
[oracle@localhost ~]$ sqlplus scott/tiger SQL*Plus: Release 11.2.0.1.0 Production on Mon Apr 6 13:59:09 2015 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> --My Database version SQL> ---------------------- SQL> SELECT * FROM v$version; BANNER -------------------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production PL/SQL Release 11.2.0.1.0 - Production CORE 11.2.0.1.0 Production TNS for Linux: Version 11.2.0.1.0 - Production NLSRTL Version 11.2.0.1.0 - Production SQL> ed Wrote file afiedt.buf 1 DECLARE 2 lv_url VARCHAR2(500) := 'http://shenzhoufellowship.org/main2/files/old/SpecialTopics/TheLoveDare.pdf'; 3 lc_return BLOB; 4 lhttp_url httpuritype; 5 ---Varriables declared for writing the LOB to pdf file -- 6 l_file UTL_FILE.FILE_TYPE; 7 l_buffer RAW(32767); 8 l_amount BINARY_INTEGER := 32767; 9 l_pos INTEGER := 1; 10 l_blob BLOB; 11 l_blob_len INTEGER; 12 BEGIN 13 --create uri 14 lhttp_url := httpuritype.createuri(lv_url); 15 --get the PDF document 16 lc_return := lhttp_url.getblob(); 17 -- Open the destination file. 18 l_file := UTL_FILE.FOPEN('SAUBHIK', 'TheLoveDare.pdf', 'wb'); 19 --Get the total length of the BLOB 20 l_blob_len := DBMS_LOB.getlength(lc_return); 21 -- Read chunks of the BLOB and write them to the file 22 -- until complete. 23 WHILE l_pos < l_blob_len LOOP 24 DBMS_LOB.READ(lc_return, l_amount, l_pos, l_buffer); 25 UTL_FILE.put_raw(l_file, l_buffer, FALSE); 26 l_pos := l_pos + l_amount; 27 END LOOP; 28 -- Close the file. 29 UTL_FILE.FCLOSE(l_file); 30 EXCEPTION 31 WHEN OTHERS THEN 32 -- Close the file if something goes wrong. 33 IF UTL_FILE.IS_OPEN(l_file) THEN 34 UTL_FILE.FCLOSE(l_file); 35 END IF; 36 RAISE; 37* END; 38 / DECLARE * ERROR at line 1: ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1130 ORA-24247: network access denied by access control list (ACL) ORA-06512: at line 36 SQL> conn sys as sysdba Enter password: Connected. SQL> ed Wrote file afiedt.buf 1 BEGIN 2 DBMS_NETWORK_ACL_ADMIN.CREATE_ACL(acl => 'love.xml', 3 description => 'Love ACL', 4 principal => 'SCOTT', 5 is_grant => true, 6 privilege => 'connect'); 7 DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(acl => 'love.xml', 8 principal => 'SCOTT', 9 is_grant => true, 10 privilege => 'resolve'); 11 DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL(acl => 'love.xml', 12 host => 'shenzhoufellowship.org'); 13 commit; 14* END; 15 / PL/SQL procedure successfully completed. SQL> conn scott/tiger Connected. SQL> ed Wrote file afiedt.buf 1 DECLARE 2 lv_url VARCHAR2(500) := 'http://shenzhoufellowship.org/main2/files/old/SpecialTopics/TheLoveDare.pdf'; 3 lc_return BLOB; 4 lhttp_url httpuritype; 5 ---Varriables declared for writing the LOB to pdf file -- 6 l_file UTL_FILE.FILE_TYPE; 7 l_buffer RAW(32767); 8 l_amount BINARY_INTEGER := 32767; 9 l_pos INTEGER := 1; 10 l_blob BLOB; 11 l_blob_len INTEGER; 12 BEGIN 13 --create uri 14 lhttp_url := httpuritype.createuri(lv_url); 15 --get the PDF document 16 lc_return := lhttp_url.getblob(); 17 -- Open the destination file. 18 l_file := UTL_FILE.FOPEN('SAUBHIK', 'TheLoveDare.pdf', 'wb'); 19 --Get the total length of the BLOB 20 l_blob_len := DBMS_LOB.getlength(lc_return); 21 -- Read chunks of the BLOB and write them to the file 22 -- until complete. 23 WHILE l_pos < l_blob_len LOOP 24 DBMS_LOB.READ(lc_return, l_amount, l_pos, l_buffer); 25 UTL_FILE.put_raw(l_file, l_buffer, FALSE); 26 l_pos := l_pos + l_amount; 27 END LOOP; 28 -- Close the file. 29 UTL_FILE.FCLOSE(l_file); 30 EXCEPTION 31 WHEN OTHERS THEN 32 -- Close the file if something goes wrong. 33 IF UTL_FILE.IS_OPEN(l_file) THEN 34 UTL_FILE.FCLOSE(l_file); 35 END IF; 36 RAISE; 37* END; 38 / PL/SQL procedure successfully completed. SQL> exit Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options [oracle@localhost ~]$ cd saubhik/ [oracle@localhost saubhik]$ pwd /home/oracle/saubhik [oracle@localhost saubhik]$ ls -l *.pdf -rw-r--r-- 1 oracle oinstall 60055 Apr 6 14:03 TheLoveDare.pdf [oracle@localhost saubhik]$
I love this pdf file. I would like to read this and mean while if you get an error then please post in its entirety and also think that it is an Oracle error or network.
-
How to access the web service from Oracle?
Database version: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
I'm making a call to a web service through a procedure/function...
I tried to use
But it's me ORA-29272: HTTP request failedCREATE OR REPLACE PROCEDURE Call_Rest_Webservice AS t_Http_Req Utl_Http.Req; t_Http_Resp Utl_Http.Resp; t_Request_Body VARCHAR2(30000); t_Respond VARCHAR2(30000); t_Start_Pos INTEGER := 1; t_Output VARCHAR2(2000); BEGIN /*Construct the information you want to send to the webservice. Normally this would be in a xml structure. But for a REST- webservice this is not mandatory. The webservice i needed to call excepts plain test.*/ t_Request_Body := 'the data you want to send to the webservice'; /*Telling Oracle where the webservice can be found, what kind of request is made and the version of the HTTP*/ t_Http_Req := Utl_Http.Begin_Request('**webservice address**', 'GET', 'HTTP/1.1'); /*In my case the webservice used authentication with a username an password that was provided to me. You can skip this line if it's a public webservice.*/ --Utl_Http.Set_Authentication(t_Http_Req, 'username', 'password'); /*Describe in the request-header what kind of data is send*/ Utl_Http.Set_Header(t_Http_Req, 'Content-Type', 'text/xml charset=UTF-8'); /*Describe in the request-header the lengt of the data*/ Utl_Http.Set_Header(t_Http_Req, 'Content-Length', Length(t_Request_Body)); /*Put the data in de body of the request*/ Utl_Http.Write_Text(t_Http_Req, t_Request_Body); /*make the actual request to the webservice en catch the responce in a variable*/ t_Http_Resp := Utl_Http.Get_Response(t_Http_Req); /*Read the body of the response, so you can find out if the information was received ok by the webservice. Go to the documentation of the webservice for what kind of responce you should expect. In my case it was: <responce> <status>ok</status> </responce> */ Utl_Http.Read_Text(t_Http_Resp, t_Respond); /*Some closing?1 Releasing some memory, i think....*/ Utl_Http.End_Response(t_Http_Resp); END;
ORA-06512: at "SYS." UTL_HTTP", line 1029
ORA-12545: Connect failed because target host or object does not exist
But I can connect to the web server by going on * webservice address * through my browser.
Is there an ACL must be open in order to have this capacity? I asked my s/n, but she asked me that I will need to give its name to username/password / ip in order to open an ACL...
However there is no name to username/password required during a tour of the web service...
Any help would be much appreciated...
Thank you
Published by: 986006 on March 4, 2013 08:38Y.L wrote:
This is because the database could not connect to the specified server. Bad host name or IP address specified. Inability to resolve the hostname to an IP address. Firewall blocking. Etc.
The host name, I put here can be visit through my browser. I think that it is not question of the host server... So, it could be a firewall on my side of the database which must be opened in order to visit the host?
The "web browser" (your PL/SQL using UTL_HTTP code) code is running on the Oracle database server. He needs the same type of network access that has your browser on your PC. (firewalls open, authentication of the proxy if necessary, etc.).
On 11g. Not on 10g.
I saw the code example you post from the link you provided... those who only works on 11 g?
If we can work on 10g, which package or what are the steps I need to follow in order to have that works on me?The code I posted works on both versions. My comment was regards the ACLs. No ACLs exist on 10g. If you only need to execute privs on the affected packages (e.g., UTL_HTTP, etc.).
ACL were introduced with 11g - 11g, you also need the ADMINISTRATOR to create an ACL for you which will allow access to the UTL_HTTP network so now.
-
Connection to Microsoft SQL Server 2008 from Oracle 11 g
Hello
I'm working on a requirement to connect from Oracle 11 g DB for Microsoft SQL Server 2008. After serching for the options available on the web I found the follwing link
Connectivity ODBC - http://www.dbapool.com/Articles/06280701.html using UNIX ODBC and FreeTDS
I have configured everying as stated in the article, but I'm stuck to test the connection.
Isql both tsql not working and giving the below error.
locale is "" fr_FR. UTF-8 ".
locale charset is 'UTF-8 '.
using the set of characters by default "UTF-8".
Error 20009 (9 severity):
Unable to connect: Adaptive Server is unavailable or does not exist
Operating system error 111, 'connection refused '.
There was a problem connecting to the server
$ isql - v mstest
[S1000] [unixODBC] [FreeTDS] [SQL Server] Unable to connect to the data source
[S 08, 01] [unixODBC] [FreeTDS] [SQL Server] Impossible to connect: Adaptive Server is unavailable or does not exist
[ISQL] ERROR: Not impossible not SQLConnect
Here are my files.
FreeTDS.conf
[MSTEST]
Host = 19.x.x.x
#instance = xxx
port = 614xx
TDS version = 8.0
ODBC.ini
[MSTEST]
Driver = TDS
Description = MS SQL Test
Trace = Yes
Trace file = /tmp/mstest_odbc_ini.log
Server = 19.x.x.x
#Servername = xxxx
Address = 19.x.x.x
Database = multilingual
TDS_version = 8.0
Port = 614xx
odbcinst.ini
[TDS]
Description = FreeTDS driver
Driver = /usr/local/lib/libtdsodbc.so
Setup = /usr/local/lib/libtdsodbc.so
Trace = Yes
Trace file = /tmp/freetd.log
FileUsage = 1
Has anyone tried this before... Any help is very appreciated.
Thank you
Steve.I tried and it worked. What's in your trace files? You specified two different, both files in / tmp. Journal will be in one of them. Please, view the contents of the log file. In addition, the problem may be with the SQL Server. ODBC 20009 error is "error of numerical value": http://www.wiki-errors.com/err.php?wiki=20009
-
Request from oracle to MySql using dblink read all rows in the table
Hello
I use the heterogeneous connectivity between oracle 10204 to the Mysql database.
I have a database of link on the side of the oracle.
I request a table in MySql with 10 million rows.
His is not serious if I am running:
' Select * from ' CDR_Accounts"@mysql where 'id '= 7675405;
or
Select * from 'CDR_Accounts"@mysql;
There is an index on the column id.
It seems that the Mysql is feteching all rows in the table, all data is transferred to oracle on the dblink and only after the required lines are back to the client.
The /etc/odbcinst.ini file is as follows:
Please advice[odbcprd:oracle@odbc /software/oracle]$ cat /etc/odbcinst.ini [myodbc3] Description = Mysql connector to mysql version 3.5 Driver = /software/oracle/MysqlOdbc/3.52/lib/libmyodbc3-3.51.25.so Driver64 = /usr/lib Setup = /software/oracle/MysqlOdbc/3.52/lib/libmyodbc3S-3.51.25.so Setup64 = /usr/lib UsageCount = 1 CPTimeout = 3600 CPReuse =
Thank youInitialization of gateway open tha file located in $ORACLE_HOME/hs/admin called init .ora and change HS_FDS_TRACE_LEVEL to HS_FDS_TRACE_LEVEL =
WE. ATTENTION:
Do not forget t turn off after all your tests. -
Should it run on an Oracle Server?
This is probably a stupid question, but I need to ask.
Can run a server Oracle 11 g on Windows 7 (or XP being the place I work for really that anal and backward) instead of a Windows Server?
And don't tell me to use Linux or Unix, or any other OS (because the place that I work for is really anal and backward) - also, they run even let us Windows Server, where my question.
So can I have my database installed on a non-server system and still access it as if it were on a server? If Oracle does support this type of configuration? I tried to find a list specific to the requirements of the OS, but all that I can not find a.
Thanks for the help.DBelt wrote:
We can get any version of Windows 7 is required (except a server version). So, just to clairify - if we are running the correct version of Windows 7 we can run an Oracle database as if it were on a server and access them from other work stations a network? Here's the scenario: back-end Oracle database using Microsoft Access front end on a network through ODBC databases.In addition, is Oracle 11 g supported on XP systems?
Is there a document somewhere that deals with the specific requirements of OS?
Discover the leading Oracle® Database Setup Guide 11 g Release 2 (11.2) for Microsoft Windows.
: p -
DB Link from Oracle to SQL Server error
Dear friends,
I need met some select on tables that are in SQL Server 2005 from Oracle 10 g.
I followed the steps:
http://www.DBA-Oracle.com/t_heterogeneous_database_connections_sql_server.htm
I could ping TNS who is successful, but only when I run a select I get this error.
ERROR on line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Cannot retrieve the text of the message NETWORK/NCR 65535
ORA-02063: preceding 2 lines of SQLS
I checked my dsn name is in small caps completely everywhere where it is used (since its proposed in many sites).
Please guide me.
I'm looking for really come to a solution.
Kind regards
Nithsimilar use to Setup ODBC and datasource
http://www.databasejournal.com/features/Oracle/article.php/3442661/making-a-connection-from-Oracle-to-SQL-Server.htm
and then create server link in sql server after testing WLAN with oracle -
SOS! -Error to load data from Oracle 11 g to Essbase using ODI
Hi all.
I want to load data from oracle database to essbase using ODI.
I have set up correctly the Hyperion essbase physical and logical topology manager and got the structure ESSBASE BASIC app DEMO.
The problem is.
1. when I try see data right click on the table of essbase.
va.sql.SQLException: driver must be specified
at com.sunopsis.sql.SnpsConnection.a (SnpsConnection.java)
at com.sunopsis.sql.SnpsConnection.testConnection (SnpsConnection.java)
at com.sunopsis.sql.SnpsConnection.testConnection (SnpsConnection.java)
at com.sunopsis.graphical.frame.b.jc.bE (jc.java)
at com.sunopsis.graphical.frame.bo.bA (bo.java)
at com.sunopsis.graphical.frame.b.ja.dl (ja.java)
to com.sunopsis.graphical.frame.b.ja. < init > (ja.java)
to com.sunopsis.graphical.frame.b.jc. < init > (jc.java)
I got the answer of partisan Oracle it's ok, just omit it. The second problem will appear.
2 create an interface between the oracle and essbase database, click on the option ' staging of deffirent from the area of the "(ce qui signifie que la mise en scène est créé à la base de données oracle) target, and using IKM SQL for Hyperion Essbase (metadata), run this interface".
org.apache.bsf.BSFException: exception of Jython:
Traceback (innermost last):
"< String >" file, line 61, in there?
com.hyperion.odi.essbase.ODIEssbaseException: invalid value specified [RULES_FILE] for the load option [null]
at com.hyperion.odi.essbase.ODIEssbaseMetaWriter.validateLoadOptions (unknown Source)
at com.hyperion.odi.essbase.AbstractEssbaseWriter.beginLoad (unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)
at java.lang.reflect.Method.invoke (unknown Source)
at org.python.core.PyReflectedFunction.__call__ (PyReflectedFunction.java)
at org.python.core.PyMethod.__call__ (PyMethod.java)
at org.python.core.PyObject.__call__ (PyObject.java)
at org.python.core.PyInstance.invoke (PyInstance.java)
to org.python.pycode._pyx1.f$ 0 (< string >: 61)
to org.python.pycode._pyx1.call_function (< string >)
at org.python.core.PyTableCode.call (PyTableCode.java)
at org.python.core.PyCode.call (PyCode.java)
at org.python.core.Py.runCode (Py.java)
at org.python.core.Py.exec (Py.java)
I am very confused by it. Someone give me a solution or other docs.
Ethan.Hello
You say that you are loading, but you chose the KM for the loading of metadata?
If you load metadata then you must provide a rules file, if you are loading and then choose the KM - IKM SQL for Hyperion Essbase (DATA)Ok?
See you soon
John
http://John-Goodwin.blogspot.com/ -
Hi, I m a bit new in LabVIEW and I'd like to ask a few questions...
-There is a possibility to run Labview projects or to set them off from a batch file or if the exist and the ability to control labview or run it from an external application?
-One API PI or raspberry beaglebone exists for LabVIEW?
-Power supply Wich can recommend you control with LabVIEW? (some chip solution witn 0 - 30v / 0 - 3A DC)
Thank you very much for your advice!
Best regards
Elena
Elena,
I know raspberry, so no comment on that.
For the rest:
-Do you want to create tools for developers? If so, we must look in the API of project VI and VI server. If this isn't the case, please compile your application LV as executable and call this one using a batch file.
-LV prefer specific supplies. LV is a programming language. There are several power supply providers (including OR) which provide directly the LV API for their power supplies. So, essentially, the approach is:
1. choose food that serves your needs.
2. check if the power supply has a standard interface for programming (such as Ethernet, GPIB, or if the power supply is PXI, is already providing a programming interface!)
3. check if the LV API (so-called "instrument driver") is available for the device. In the case of a PXI system, get you a device driver (for example NI DCPower).
4. check if the LV samples are available (for example in the Finder for example LV once you have installed the driver).
Norbert
-
Hello
I was wondering if you could help me.
I'm trying to find out how to export a .sql file, I created from Oracle Application Express of SQL Server Management 2012? I'm not very technical, but it seems that the Oracle code does not work with SQL Management Studio when I drag the file inside.
I need the database Oracle express and its data to enter in SQL Management Studio, so any help would be much appreciated!
Thank you.
Hello
Your question is beyond the scope of this community.
Please repost your question in the SQL Server TechNet Forums.
https://social.technet.Microsoft.com/forums/SQLServer/en-us/home?category=SQLServer
See you soon.
Maybe you are looking for
-
How to fix iTunes?. It no longer starts. I reinstalled 10.3 and updated 10.6.8 repaired, repaired disk permissions, but it still does not boot to the top. TIA Pietrowiak
-
With the new version of Firefox, I'm no longer able to participate in the auction or follow them on line. Some are Artfact.comand Zip.comof the auction. What should I do? I can get them using IE.
-
Toshiba Bulletin Board warns about the security of the poor
Hi all. I noticed that since I have my laptop (L500-1XL) who on a daily basis, a message appears, then disappears, but a sign is left on the security of the members of the Bulletin warning of red section, and if I pass the pointer over it, it says "p
-
Read the serial number in LabVIEW of USB-8476 LIN Module
Is it possible to read the serial number of a USB-8476 module in LabVIEW. I am building a system that will use 10 of these modules in a single system and I want to be able to verify this LINX = serial No.: ABC. I'm afraid that a 'user' will disconnec
-
A6000 more Twitter icon disappeared after update of Lollipop
After updating my phone crashed. He resurrected himself, when I rebooted several times. Now the Twitter icon has disappeared. I can start it by typing Twitter on Google widget, I can also launch it from Google through my Apps. How can I get the icon