7.3 to 10gR2
Friends,
i have oracle 7.3 on SCO Unix and want to migrate to 10gR2 on HP-UX,
is it possible to export from 7.3 and import in 10gR2? or i have to first import to some mediateor version?
Thanks & Regards
Sohil
Yes it is possible to imprt directly from 7.2 to 10g rel2
I have done in AIX 5.3
dont import with full=y option do with schema option
fromuser='username touser='username'
Similar Messages
-
Question: 10gR2 database can not see the 11gR2 ASM diskgroup?
Hi there,
env:
uname -rm
2.6.18-92.1.22.el5xen x86_64
Single server(non-RAC)
note: we don't want to upgrade 10gr2 database into 11gR2 yet. But we created the 11gR2 ASM, then a 11gr2 database on ASM, and plan to migrate datafile in 10gR2 database to 11gR2 ASM
1. oracle 10gR2 installed first version: 10.2.0.3.0
2. then install 11gR2 Grid Infrastructure, and created ASM (version 11gr2)
$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Tue Oct 19 10:30:56 2010
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 Automatic Storage Management option
SQL> col name form a15
SQL> col COMPATIBILITY form a15
SQL> col DATABASE_COMPATIBILITY form a15
SQL> l
1* select name , STATE, COMPATIBILITY, DATABASE_COMPATIBILITY from v$asm_diskgroup
SQL> /
NAME STATE COMPATIBILITY DATABASE_COMPAT
ORCL_DATA1 MOUNTED 11.2.0.0.0 10.1.0.0.0
ORA_DATA MOUNTED 10.1.0.0.0 10.1.0.0.0
3. in 10gR2 database
sqlplus /
SQL*Plus: Release 10.2.0.3.0 - Production on Tue Oct 19 12:12:31 2010
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning and Data Mining options
SQL> select * from v$asm_diskgroup;
no rows selected
4. pin the node into css
# /u01/app/product/11.2.0/grid/bin/crsctl pin css -n mynodename
CRS-4000: Command Pin failed, or completed with errors.
Question: 10gR2 database can not see the 11gR2 ASM diskgroup?
please help
Thanks
ScottWhat is the output of
olsnodes -t -n
Also, see unix error log and ohasd error log if you find anything in that -
Upgrade 8.0.5 to 10gR2
is 10gR2 32bit certified to run in IBM RS6000 with AIX 4.3 or 5L OS?
Can you provide procedure to upgrade 8.0.5 db to 10gr2
from IBM G40 w/ AIX 4.3 OS to IBM RS6000 w/ AIX 5L OSJust refer Oracle® Database Upgrade Guide 10g Release 2 (10.2) , it will give you all details
http://download.oracle.com/docs/cd/B19306_01/server.102/b14238/toc.htm
- Virag Sharma
http://virag.sharma.googlepages.com
http://viragsharma.blogspot.com/ -
Upgrade 8.0.5 to 10gR2 & changing Characterset
Can you please advise on the following,,
I would like to upgrade 8.0.5 db(AR8iso8859p6) to 10g (AR8mswin1256) what is the best way to avoid character conversion ? O/s-Solaris
(1)
Exp from 8.0.5(ar8iso8859p6) and IMP in 9i (AR8MSWIN1256)
then EXP 9i (AR8MSWIN1256) & IMP in 10g (AR8MSWIN1256)
OR
(2)at 8.0 db
SVRMGR> STARTUP MOUNT;
SVRMGR> ALTER SYSTEM ENABLE RESTRICTED SESSION;
SVRMGR> ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
SVRMGR> ALTER SYSTEM SET AQ_TM_PROCESSES=0;
SVRMGR> ALTER DATABASE OPEN;
SVRMGR> AALTER DATABASE NATIONAL CHARACTER SET ar8mswin1256;
SVRMGR> SHUTDOWN IMMEDIATE;
SVRMGR> STARTUP;
then exp & imp in 9i and then to 10g.
OR
(3)
ThanksThe only supported way is option (1) that you describe (using exp/imp). The intermediate version could be 8.1.7.4 instead of 9i - see the 10gR2 Upgrade Guide at http://download.oracle.com/docs/cd/B19306_01/server.102/b14238/preup.htm#i1007814
HTH
Srini -
I have a form that was compiled under 10gR1 DS and launches fine, but after compiling it under 10gR2 DS it is not responding in the same manner as 10gR1 to an if statement in the code checking to see if it is connected to an ORACLE database.
In the 10gR1 version of the form
The check to see if the form was connected to an oracle database would return false after EXIT_FORM(NO_VALIDATE);
And this is what was expected to happen with the 10gR2 version of the form.
But in the 10gR2 version of the form
After the EXIT_FORM(NO_VALIDATE); statement
the if GET_APPLICATION_PROPERTY(DATASOURCE) = 'ORACLE' statment returns a true and causes the form to break because its not connected to the database anymore but the code in this if statement contains sql against database tables
How come only for DS 10gR2 after the EXIT_FORM(NO_VALIDATE); statement
the get_application_property(DATASOURCE) = 'ORACLE' is true, Even though its not connected to the database anymore?
Thanks,
MichelleHI...i have a similiar problem. we recently migration to 10g and still using oracle forms 6i. Problem is that i have a logon for which check the datasource to determine the status of the login user.
If the user, currently is expired or logged out, it should remeber a message otherwise if the datasource is not oracle then show unable to connect on log out.
On the form, there is a on_logon trigger..
if i do a show message, i can see that if the user is expired it will not pickup the datasource, instead it is null, logging out the user.
please have a look at the code below:
logon(:login.user_name,:login.password||'@'||:login.instance_name,false);
v_datasource := get_application_property(DATASOURCE);
if v_datasource = 'ORACLE' then
begin
select account_status
into v_status
from dba_users
where username = v_username;
if v_status like 'LOCKED%' then
v_message := 'This users account is locked - contact support';
end if;
if v_status like 'EXPIRED%' then
:global.user_name := v_username;
:global.new_password := 'N';
:global.old_password := v_password;
call_form('c_passmnt', hide, do_replace, no_query_only);
if :global.new_password = 'N' then
v_message := 'Password not changed - contact support';
else
:login.user_name := v_old_username;
:login.password := :global.new_password_new;
logout; SYNCHRONIZE;
logon(:login.user_name,:login.password||'@'||:login.instance_name,true);
end if;
end if; -
Oracle 10gR2 WebService Call-In & Call-Out via PL/SQL (Step-by-Step Guide)
Hi Everyone,
This guide is for those of you who tried to Call-In and Call-Out WebService via Oracle 10gR2 using PL/SQL but failed a couple of times, re-installed a couple of times and retry, got it to work but don't know what made it work scenarios.
Hope this helps ;-)
Thanks,
Henry Wu
Instructions on how to use Oracle10gR2 Webservice Call-Out feature (Oracle JAX-RPC DII - Dynamic Invocation (DII) APIs)
PREREQUISITE
=================================================================
1. Download Oracle Database 10g Release 2 (10.2.0.1.0) (ZIP, ~655MB)
http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201winsoft.html
http://download.oracle.com/otn/nt/oracle10g/10201/10201_database_win32.zip
1.1 Choose Enterprise Edition
2. Download 10.1.3.1 Callout Utility for 10g (R1 +R2) RDBMS (ZIP, ~13MB)
http://download.oracle.com/technology/sample_code/tech/java/jsp/dbws-callout-utility-10131.zip
2.1 Extract to C:\oracle\product\10.2.0\db_1\dbws_callout_utility_10131
3. Download OC4J Standalone - Oracle Containers for J2EE (OC4J) 10g Release 3 (10.1.3.3) (ZIP, ~93MB; Pure Java—runs on all certified platforms)
http://www.oracle.com/technology/software/products/ias/index.html (Download Site)
http://download.oracle.com/otn/java/oc4j/101330/oc4j_extended_101330.zip
3.1 Extract to C:\oracle\product\10.2.0\db_1\oc4j_extended_101330
STEP-BY-STEP PROCEDURES
=================================================================
1. Prepare the database
1.1 Connect to SYS account (or any account that can connect as SYSDBA)
1.2 alter system set shared_pool_size=96M scope=both
1.3 alter system set java_pool_size=80M scope=both
1.4 ALTER USER SCOTT ACCOUNT UNLOCK;
1.5 ALTER USER SCOTT IDENTIFIED BY "tiger";
1.6 ALTER USER SCOTT QUOTA UNLIMITED ON USERS;
1.7 GRANT PUBLIC TO SCOTT;
1.8 GRANT Create Public Synonym TO SCOTT;
2. Load Oracle SOAP client to SCOTT (for Oracle 10g Release 2 Database)
2.1 Commands
2.1.1 Open command prompt (cmd.exe)
2.1.2 loadjava -u scott/tiger -r -v -f -genmissing -s -grant public C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\webservices\lib\soap.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\lib\dms.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\jlib\javax-ssl-1_1.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\lib\servlet.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\lib\mail.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\lib\activation.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\lib\http_client.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\lib\ejb.jar
2.1.3 It will take around 3 minutes and you will see "something" like the following when it completes (count may not be exact) :
Classes Loaded: 909
Resources Loaded: 75
Sources Loaded: 0
Published Interfaces: 0
Classes generated: 0
Classes skipped: 0
Synonyms Created: 984
Errors: 0
2.1.3 Close this command prompt
3. Load Oracle JAX-RPC client to SYS (for Oracle 10g Release 2 Database)
3.1 Commands
3.1.1 Open command prompt (cmd.exe)
3.1.2 loadjava -u sys/oracle -r -v -f -genmissing -s -grant public C:\oracle\product\10.2.0\db_1\dbws_callout_utility_10131\sqlj\lib\dbwsclientws.jar C:\oracle\product\10.2.0\db_1\dbws_callout_utility_10131\sqlj\lib\dbwsclientdb102.jar
3.1.2.1 It will take around 15 minutes and you will see "something" like following when it completes (count may not be exact) :
Classes Loaded: 4027
Resources Loaded: 81
Sources Loaded: 0
Published Interfaces: 0
Classes generated: 61
Classes skipped: 0
Synonyms Created: 4108
Errors: 0
3.1.3 Close this command prompt
4. Execute UTL_DBWS packages to SYS (for Oracle 10g Release 2 Database)
4.1 Commands
4.1.1 Connect to SYS account only
4.1.2 Execute the following (in TOAD you should execute them as Script, press the "thunder" button)
4.2.1 @"C:\oracle\product\10.2.0\db_1\dbws_callout_utility_10131\sqlj\lib\utl_dbws_decl.sql"
4.2.2 @"C:\oracle\product\10.2.0\db_1\dbws_callout_utility_10131\sqlj\lib\utl_dbws_body.sql"
4.2.3 CREATE PUBLIC SYNONYM utl_dbws FOR sys.utl_dbws;
5. Call-out a free Web Service using SCOTT
5.1 Commands
5.1.1 Connect to user SCOTT with password of TIGER
5.1.2 Copy and Paste the following "Anonymous Block" (sample #1) and execute it :
5.1.2.1 It sould return "PL/SQL DII client return ===> Redwood City"
declare
service_ utl_dbws.SERVICE;
call_ utl_dbws.CALL;
service_qname utl_dbws.QNAME;
port_qname utl_dbws.QNAME;
operation_qname utl_dbws.QNAME;
string_type_qname utl_dbws.QNAME;
retx ANYDATA;
retx_string VARCHAR2(1000);
retx_double number;
retx_len number;
params utl_dbws.ANYDATA_LIST;
l_input_params utl_dbws.anydata_list;
l_result ANYDATA;
l_namespace VARCHAR2(1000);
begin
-- open internet explorer and navigate to http://webservices.imacination.com/distance/Distance.jws?wsdl
-- search for 'targetNamespace' in the wsdl
l_namespace := 'http://webservices.imacination.com/distance/Distance.jws';
-- search for 'service name' in the wsdl
service_qname := utl_dbws.to_qname(l_namespace, 'DistanceService');
-- this is just the actual wsdl url
service_ := utl_dbws.create_service(HTTPURITYPE('http://webservices.imacination.com/distance/Distance.jws?wsdl'), service_qname);
-- search for 'portType name' in the wsdl
port_qname := utl_dbws.to_qname(l_namespace, 'Distance');
-- search for 'operation name' in the wsdl
-- there will be a lot, we will choose 'getCity'
operation_qname := utl_dbws.to_qname(l_namespace, 'getCity');
-- bind things together
call_ := utl_dbws.create_call(service_, port_qname, operation_qname);
-- default is 'FALSE', so we make it 'TRUE'
utl_dbws.set_property(call_, 'SOAPACTION_USE', 'TRUE');
-- search for 'operation soapAction' under <wsdl:operation name="getCity">
-- it is blank, so we make it ''
utl_dbws.set_property(call_, 'SOAPACTION_URI', '');
-- search for 'encodingstyle' under <wsdl:operation name="getCity">
utl_dbws.set_property(call_, 'ENCODINGSTYLE_URI', 'http://schemas.xmlsoap.org/soap/encoding/');
-- search for 'binding style'
utl_dbws.set_property(call_, 'OPERATION_STYLE', 'rpc');
-- search for 'xmlns:xs' to know the value of the first parameter
-- under <wsdl:message name="getCityResponse"> you will see the line <wsdl:part name="getCityReturn" type="xsd:string" />
-- thus the return type is 'string", removing 'xsd:'
string_type_qname := utl_dbws.to_qname('http://www.w3.org/2001/XMLSchema', 'string');
-- in the line <wsdl:operation name="getCity" parameterOrder="zip">
-- the parameterOrder is 'zip', thus we put in 'zip'
-- the 'ParameterMode.IN' is used to specify that we will be passing an "In Parameter" to the web service
-- the 'ParameterMode.IN' is a constant variable in the sys.utl_dbws package
utl_dbws.add_parameter(call_, 'zip', string_type_qname, 'ParameterMode.IN');
utl_dbws.set_return_type(call_, string_type_qname);
-- supply the In Parameter for the web service
params(0) := ANYDATA.convertvarchar('94065');
-- invoke the web service
retx := utl_dbws.invoke(call_, params);
-- access the returned value and output it to the screen
retx_string := retx.accessvarchar2;
dbms_output.put_line('PL/SQL DII client return ===> ' || retx_string);
-- release the web service call
utl_dbws.release_service(service_);
end;
5.1.3 Copy and Paste the following "Anonymous Block" (sample #2) and execute it :
5.1.3.1 It should return "PL/SQL DII client return ===> twelve thousand three hundred and forty five"
declare
service_ utl_dbws.SERVICE;
call_ utl_dbws.CALL;
service_qname utl_dbws.QNAME;
port_qname utl_dbws.QNAME;
operation_qname utl_dbws.QNAME;
string_type_qname utl_dbws.QNAME;
retx ANYDATA;
retx_string VARCHAR2(1000);
retx_double number;
retx_len number;
params utl_dbws.ANYDATA_LIST;
l_input_params utl_dbws.anydata_list;
l_result ANYDATA;
l_namespace VARCHAR2(1000);
begin
-- open internet explorer and navigate to http://www.dataaccess.com/webservicesserver/numberconversion.wso?WSDL
-- search for 'targetNamespace' in the wsdl
l_namespace := 'http://www.dataaccess.com/webservicesserver/';
-- search for 'service name' in the wsdl
service_qname := utl_dbws.to_qname(l_namespace, 'NumberConversion');
-- this is just the actual wsdl url
service_ := utl_dbws.create_service(HTTPURITYPE('http://www.dataaccess.com/webservicesserver/numberconversion.wso?WSDL'), service_qname);
-- search for 'portType name' in the wsdl
port_qname := utl_dbws.to_qname(l_namespace, 'NumberConversionSoap');
-- search for 'operation name' in the wsdl
-- there will be a lot, we will choose 'NumberToWords'
operation_qname := utl_dbws.to_qname(l_namespace, 'NumberToWords');
-- bind things together
call_ := utl_dbws.create_call(service_, port_qname, operation_qname);
-- default is 'FALSE', so we make it 'TRUE'
utl_dbws.set_property(call_, 'SOAPACTION_USE', 'TRUE');
-- search for 'operation soapAction' under <operation name="NumberToWords">
-- it is blank, so we make it ''
utl_dbws.set_property(call_, 'SOAPACTION_URI', '');
-- search for 'encodingstyle'
-- cannot find xml tag 'encodingstyle', so we just use the following as the generic encoding style
utl_dbws.set_property(call_, 'ENCODINGSTYLE_URI', 'http://schemas.xmlsoap.org/soap/encoding/');
-- search for 'binding style'
-- although 'document' was used, it produced an error, thus we will use 'rpc'
-- this value is generally only 'document' or 'rpc'
utl_dbws.set_property(call_, 'OPERATION_STYLE', 'rpc');
-- search for 'xmlns:xs' to know the value of the first parameter
-- under <xs:element name="NumberToWords"> you will see the line <xs:element name="ubiNum" type="xs:unsignedLong" />
-- thus the return type is 'unsignedlong', removing 'xs:'
-- however, upon testing, using 'unsignedlong' produced an error, while 'string' did not, so we will use 'string'
string_type_qname := utl_dbws.to_qname('http://www.w3.org/2001/XMLSchema', 'string');
-- under <xs:element name="NumberToWords"> you will see the line <xs:element name="ubiNum" type="xs:unsignedLong" />
-- the element name is 'ubiNum', thus we put in 'ubiNum'
-- the 'ParameterMode.IN' is used to specify that we will be passing an "In Parameter" to the web service
-- the 'ParameterMode.IN' is a constant variable in the utl_dbws package
utl_dbws.add_parameter(call_, 'ubiNum', string_type_qname, 'ParameterMode.IN');
utl_dbws.set_return_type(call_, string_type_qname);
-- supply the In Parameter for the web service
params(0) := ANYDATA.convertvarchar('12345');
-- invoke the web service
retx := utl_dbws.invoke(call_, params);
-- access the returned value and output it to the screen
retx_string := retx.accessvarchar2;
dbms_output.put_line('PL/SQL DII client return ===> ' || retx_string);
-- release the web service call
utl_dbws.release_service(service_);
end;
NOTES AND REFERENCES
=================================================================
This detailed step-by-step guide was produced with the following guide http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm
I could still not load Oracle JAX-RPC client to SCOTT (step 4) as it produces an error. See the following for more details :
http://forums.oracle.com/forums/thread.jspa?threadID=633219&tstart=0
Also, I could not consume some of the other free Web Services out there for reasons I don't know, hope someone can help clarify. See the following for more details :
http://forums.oracle.com/forums/thread.jspa?threadID=630733&tstart=0
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Instructions on how to use Oracle10gR2 Webservice Call-In feature
PREREQUISITE
=================================================================
1. Download Oracle Database 10g Release 2 (10.2.0.1.0) (ZIP, ~655MB)
http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201winsoft.html
http://download.oracle.com/otn/nt/oracle10g/10201/10201_database_win32.zip
1.1 Choose Enterprise Edition
2. Download OC4J Standalone - Oracle Containers for J2EE (OC4J) 10g Release 3 (10.1.3.3) (ZIP, ~93MB; Pure Java—runs on all certified platforms)
http://www.oracle.com/technology/software/products/ias/index.html (Download Site)
http://download.oracle.com/otn/java/oc4j/101330/oc4j_extended_101330.zip
2.1 Extract to C:\oracle\product\10.2.0\db_1\oc4j_extended_101330
STEP-BY-STEP PROCEDURES
=================================================================
1. Connect to SYS account and create user STORE
CREATE USER store IDENTIFIED BY store;
GRANT connect, resource TO store;
2. Connect to Oracle using the user STORE and password STORE
CONNECT store/store;
3. Execute the following objects for this excercise
CREATE SEQUENCE order_sq;
CREATE TABLE product_types (
product_type_id INTEGER
CONSTRAINT product_types_pk PRIMARY KEY,
name VARCHAR2(10) NOT NULL
CREATE TABLE products (
product_id INTEGER
CONSTRAINT products_pk PRIMARY KEY,
product_type_id INTEGER
CONSTRAINT products_fk_product_types
REFERENCES product_types(product_type_id),
name VARCHAR2(30) NOT NULL,
description VARCHAR2(50),
price NUMBER(5, 2)
CREATE TABLE customers (
customer_id INTEGER
CONSTRAINT customers_pk PRIMARY KEY,
first_name VARCHAR2(10) NOT NULL,
last_name VARCHAR2(10) NOT NULL,
dob DATE,
phone VARCHAR2(12)
CREATE TABLE orders (
order_id INTEGER
CONSTRAINT orders_pk PRIMARY KEY,
product_id INTEGER
CONSTRAINT purchases_fk_products
REFERENCES products(product_id),
customer_id INTEGER
CONSTRAINT purchases_fk_customers
REFERENCES customers(customer_id),
quantity INTEGER NOT NULL
INSERT INTO customers (
customer_id, first_name, last_name, dob, phone
) VALUES (
1, 'John', 'Brown', '01-JAN-1965', '800-555-1211'
INSERT INTO product_types (
product_type_id, name
) VALUES (
1, 'Book'
INSERT INTO products (
product_id, product_type_id, name, description, price
) VALUES (
1, 1, 'Modern Science', 'A description of modern science', 19.95
COMMIT;
CREATE OR REPLACE PACKAGE dbfunc AS
FUNCTION place_order (
p_product_id INTEGER,
p_customer_id INTEGER,
p_quantity INTEGER
RETURN VARCHAR2;
END dbfunc;
CREATE OR REPLACE PACKAGE BODY dbfunc AS
FUNCTION place_order (
p_product_id INTEGER,
p_customer_id INTEGER,
p_quantity INTEGER
RETURN VARCHAR2 IS
v_customer_count INTEGER;
v_product_count INTEGER;
v_order_id INTEGER;
BEGIN
-- count the number of products with the
-- supplied p_product_id (should be 1 if the product exists)
SELECT COUNT(*)
INTO v_product_count
FROM products
WHERE product_id = p_product_id;
IF v_product_count = 0 THEN
RETURN 'No such product';
END IF;
-- count the number of customers with the
-- supplied p_customer_id (should be 1)
SELECT COUNT(*)
INTO v_customer_count
FROM customers
WHERE customer_id = p_customer_id;
IF v_customer_count = 0 THEN
RETURN 'No such customer';
END IF;
-- get the next value from orders_sq
SELECT order_sq.nextval
INTO v_order_id
FROM dual;
-- place the order
INSERT INTO orders (
order_id, product_id, customer_id, quantity
) VALUES (
v_order_id, p_product_id, p_customer_id, p_quantity
COMMIT;
RETURN 'Order placed with id of ' || v_order_id;
EXCEPTION
WHEN OTHERS THEN
ROLLBACK;
RETURN 'Order not placed';
END place_order;
END dbfunc;
4. Install and Configure OC4J
4.1 Change Directory
4.1.1 Open command prompt (cmd.exe)
4.1.2 CD C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\bin
4.2 Configure Environment variables (type in command prompt)
4.2.1 set JAVA_HOME=C:\oracle\product\10.2.0\db_1\jdk
4.2.2 set ORACLE_HOME=C:\oracle\product\10.2.0\db_1\oc4j_extended_101330
4.3 Starting OC4J for the first time
4.3.1 oc4j -start
4.3.2 If this is not your first time to "start" oc4j, go to step 4.3.4
4.3.3 Set oc4jadmin password (use the password "oracle" w/o the quotation marks)
08/03/21 17:13:54 Set OC4J administrator's password (password text will not be displayed as it is entered)
Enter password:
Confirm password:
Confirm password: The password for OC4J administrator "oc4jadmin" has been set.
08/03/21 17:14:01 The OC4J administrator "oc4jadmin" account is activated.
4.3.4 OC4J has started if you see the message :
08/03/21 17:14:16 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
4.3.5 Leave this command prompt open
4.4 Configure Data Source
4.4.1 Open a new command prompt via the cmd.exe command
4.4.2 type "hostname" and then press enter
4.4.3 Keep this command prompt open for later use
4.4.4 Open Windows Explorer and navigate to the folder C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\config
4.4.5 Open the file data-sources.xml
4.4.6 Modify and Save the file so that it will look something like the following :
4.4.6.1 Note that "hpv2710us" is my hostname found in step 4.4.2
4.4.6.2 Note that "ORCLDEV" is the name of my Oracle Instance. (Default installation uses ORCL only)
<connection-pool name="Example Connection Pool">
<connection-factory factory-class="oracle.jdbc.pool.OracleDataSource"
user="store"
password="store"
url="jdbc:oracle:thin:@//hpv2710us:1521/ORCLDEV">
</connection-factory>
</connection-pool>
4.4.7 Close the text editor
4.4.8 Close the Windows Explorer
4.4.9 Close this command prompt (type exit)
5. Publishing a PL/SQL Package as a Database Web Service
5.1 Create the config.xml file
5.1.1 Open Notepad.exe
5.1.2 Copy and Paste the following :
5.1.2.1 Note that "hpv2710us" is my hostname found in step 4.4.2
5.1.2.2 Note that "ORCLDEV" is the name of my Oracle Instance. (Default installation uses ORCL only)
<web-service>
<display-name>PLSQL Web Service</display-name>
<description>PLSQL Sample</description>
<destination-path>./dbfunc.ear</destination-path>
<temporary-directory>/tmp</temporary-directory>
<context>/plsqlsample</context>
<stateless-stored-procedure-java-service>
<jar-generation>
<schema>store/store</schema>
<db-url>jdbc:oracle:thin:@hpv2710us:1521:ORCLDEV</db-url>
<prefix>db.func.place.order</prefix>
<db-pkg-name>dbfunc</db-pkg-name>
</jar-generation>
<uri>/dbfunc</uri>
<database-JNDI-name>jdbc/OracleDS</database-JNDI-name>
</stateless-stored-procedure-java-service>
<wsdl-gen>
<wsdl-dir>wsdl</wsdl-dir>
<option name="force">true</option>
<option name="httpServerURL">http://localhost:8888</option>
</wsdl-gen>
<proxy-gen>
<proxy-dir>proxy</proxy-dir>
<option name="include-source">true</option>
</proxy-gen>
</web-service>
5.1.3 Save file as config.xml in the directory C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\config
5.1.3.1 Note it should be config.xml and not config.txt
5.1.4 Close the text editor
5.2 Publish dbfunc Oracle Package as a Web Service
5.2.1 Open a new command prompt via the cmd.exe command
5.2.2 CD C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home
5.2.3 mkdir ear
5.2.4 CD ear
5.2.5 set ORACLE_HOME=C:\oracle\product\10.2.0\db_1\oc4j_extended_101330
5.2.6 set CLASSPATH=.;%ORACLE_HOME%\webservices\lib\wsdl.jar;%ORACLE_HOME%\lib\xmlparserv2.jar;%ORACLE_HOME%\soap\lib\soap.jar
5.2.7 java -jar %ORACLE_HOME%\webservices\lib\WebServicesAssembler.jar -config C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\config\config.xml
Please wait ...
STORE.DBFUNC
5.2.8 java -jar %ORACLE_HOME%\j2ee\home\admin_client.jar deployer:oc4j:localhost:23791 oc4jadmin oracle -deploy -file C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\ear\dbfunc.ear -deploymentName dbfunc
08/03/21 17:46:23 Notification ==>Application Deployer for dbfunc COMPLETES. Operation time: 296 msecs
5.2.9 java -jar %ORACLE_HOME%\j2ee\home\admin_client.jar deployer:oc4j:localhost:23791 oc4jadmin oracle -bindWebApp -appname dbfunc -webModuleName dbfunc_web
5.2.10 java -jar %ORACLE_HOME%\j2ee\home\admin_client.jar deployer:oc4j:localhost:23791 oc4jadmin oracle -bindAllWebApps -appname dbfunc
5.2.11 Close this command prompt (type exit)
6. Test dbfunc Web Service
6.1 Restart OC4J
6.1.1 Open the command prompt you used to start OC4J in step 4.1.1/4.3.1
6.1.2 In the keyboard, hit Ctrl+C
6.1.2.1 Type "Y" and then hit Enter
08/03/21 18:02:51 Shutting down OC4J...
Terminate batch job (Y/N)? Y
6.1.2.2 Note that the command prompt should still be open
6.1.2.2.1 If you accidentally closed the command prompt just do the following
6.1.2.2.1.1 Do 4.1.1 to 4.2.2 and then proceed to 6.1.3
6.1.3 oc4j -start
Starting OC4J from C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home...
08/03/21 18:07:57 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
6.1.4 Leave this command prompt open
6.2 Use the Web Service to "Order an Item"
6.2.1 Connect to Oracle using the user STORE and password STORE
6.2.2 select * from orders
6.2.2.1 Zero row should return
6.2.3 Open Internet Explorer
6.2.4 Navigate to http://localhost:8888/plsqlsample/dbfunc
6.2.5 Input the following :
6.2.5.1 param0 value: 1
6.2.5.2 param1 value: 1
6.2.5.3 param2 value: 10
6.2.6 Click the Invoke button
6.2.7 A pop-up window will appear having the following contents :
<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <SOAP-ENV:Body>
- <ns1:placeOrderResponse xmlns:ns1="http://db.func.place.order/dbfunc.wsdl" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<return xsi:type="xsd:string">Order placed with id of 1</return>
</ns1:placeOrderResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
6.2.8 Go back to SQLPLUS or Toad and execute "select * from orders" again
6.2.8.1 There should be one row
ORDER_ID, PRODUCT_ID, CUSTOMER_ID, QUANTITY
1, 1, 1, 10
NOTES AND REFERENCES
=================================================================
This detailed step-by-step guide was produced with the following article by Jason Price http://www.oracle.com/technology/pub/articles/price_10gws.htmlSuccess!!!
I had to grant this permissions:
call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.lang.RuntimePermission', 'getClassLoader', '' );
call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.lang.RuntimePermission', 'accessClassInPackage.sun.util.calendar', '' );
call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.lang.RuntimePermission', 'setFactory', '' )
call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.util.PropertyPermission', 'HTTPClient.socket.idleTimeout', 'write' );
call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.net.SocketPermission', 'localhost', 'resolve' );
call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.net.SocketPermission', '127.0.0.1:8084', 'connect,resolve' );
As I wrote earlier, WS_TEST is my user into which I load JAX-RPC client. Note that, if you load JAX-RPC client into user another than SYS, you have NOT to use -s -grant public option (wassam wrote about this too). Another thing is that I (finally) didn't load OC4J. To consume WebService I use utl_dbws.invoke(call_Handle CALL, request SYS.XMLTYPE) function.
voytec001 -
10gR2 installation problem on HP-UX 11.31 on Itanium
Oracle 10gR2 installation on a HP-UX 11.31 Itanium just hangs at the "./runInstaller -ignoreSysPrereqs &". OraInstall log shows "-ignoreSysPrereqs" as the last line & the installation doesn't move at all. Any ideas, why ?
Hello,
I didn't had this problem with the same binaries last year on hp-ux 11iv3 but i have it now.
The things that changed is the OS (last HP-UX version, always 11iv3 but patched) and the hardware but i am not in charge of them and have no time to investigate.
The solution provided (use of the JVM from the OS) is OK for me.
UPDATE : after consulting the Doc 780102.1 on Metalink, we can see that the bug is due to the installation of the September 2008 update of HPUX 11iv3, the solution given is to set jvmloc option.
Regards.
Edited by: Dba Z on Jul 23, 2009 12:54 AM -
Oracle 10gR2 installation problem on Solaris (sparc-64 bit)
Hi All,
I am unable to install Oracle 10gR2 on Solaris, I cannot understand what is wrong could u anybody help me that,
Regards
Harpreet SinghI also have a similar problem, when I insert the key in my car sometimes it does not start. I cannot understand what is wrong could you help me?
Otherwise, It's been raining lately and our crystal ball's are somewhat foggy; therefore we cannot guess what is you problem. -
We have a 3 node 10gR2 cluster. The middle tier is using XA drivers. They are connecting to the database via a load balanced service where all nodes are preferred. DTP for the service is also set to No.
Does anyone know if this setup could be problematic?
We recently had some very odd behavior occur where we could we could not connect to one of the nodes and had to forcefully reboot the entire server to get it back. We found out after the fact that the middle tier was configured for XA.
Any insight/experience is appreciated.
Thanks,
Jarred>
We recently had some very odd behavior occur where we could we could not connect to one of the nodes and had to forcefully reboot the entire server to get it back. We found out after the fact that the middle tier was configured for XA.
Thanks,
Jarred
Any specific error message when the application can't connect to any of the nodes?
Cheers -
Slow performance Designer 10g (on 10gR2 database)
We are busy testing Designer 10g version 10.1.2.5 (windows XP) on 10gR2 64 bit database (Sun solaris) . The repository was migrated from Designer 6.0.
But the performance/response is rather slow. Example: At first, opening a server model diagram took 2 minutes or more. By searching the forum we found the tip for the "alter system set OPTIMIZER_SECURE_VIEW_MERGING = false;". That made a big difference.
But now we still have response problems: Expanding the treeview for the list of tables, views or snapshots takes much longer then in Designer 6.0.
Also opening for example Design Editor takes longer then one normally expects, allthough some delay can be expected because we have a lot of applications (100) in the repository.
Is it because it is now written in Java, or are more database optimizations possible?
Paul.Have you computed statistics using the Repository Administration Utility (RAU)? The default percentage of 20% is usually good enough, but you could go higher.
Do a View Objects in RAU and check for missing, disabled or invalid objects. If you find any, there are ways to correct the situation, mostly under the Recreate button.
Make sure that no-one else is using the repository, then press the Recreate button in RAU and use the selection labeled: Truncate Temporary Tables. Sometimes these tables get too full and can impact performance.
Under the Options menu in RAU, there is an item labeled: Enable Performance Enhancements. To be honest with you, I've never noticed this item before, and I don't know for sure what it does. Then again, I've never had any serious performance problems in Designer. It might be worth your while to back up your repository, then turn this on. -
10gR2 OUI failure on Windows XP Pro SP3
I had 10g Express edition running successfully but wanted to move up to 10g Standard / Enterprise.
I am running Windows XP Professional with Service Pack 3 and my computer has an AMD Athlon 64 X2 Dual Core Processor.
I have downloaded the windows 32bit version of 10gR2 (10201_database_win32.zip).
When I run the setup.exe it runs a cmd shell for 15 seconds or so but then has a fatal error and closes.
By then it has displayed the following:
Starting Oracle Universal Installer...
No pre-requiste checks found in oraparam.ini, no system pre-requiste checks will be executed.
Preparing to launch Oracle Universal Installer from C:\DOCUME~1\user\LOCALS~1\Temp\OraInstall2008-05-15_10-05-35AM. Please wait ...Then I get:
oui.exe has encountered a problem and needs to close.
We are sorry for the inconvenience.and get the option to send a report to Microsoft.
I have checked that the file size and cksum values match those on the download page. They do.
I have now uninstalled the Express version in case that was getting in the way somehow. It made no difference.
I have checked the certification details and it seems to be OK.
Anyone got any ideas?Hi,
I'm experiencing I believe exactly the same thing. I start oui from a directory with no spaces, and with a temp directory path that also contains no spaces (set TEMP=c:\temp before running setup). The following appears in a new console window, and after a few seconds, the console window closes with no additional information. I do have XP/SP3 -- has anyone seen this situation and solved it and/or can anyone confirm that SP3 is the issue? Thanks.
Starting Oracle Universal Installer...
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
Preparing to launch Oracle Universal Installer from c:\temp\OraInstall2008-10-20_08-06-43AM.
Please wait ...
Regards,
Gordon
Edited by: user523239 on Oct 20, 2008 5:14 AM -
JRE Error : while Install oracle 10gR2 on Windows Server 2003
Hello,
I am trying to install a Oracle 10gR2 on windows server 2003.
I have unziped the files and when I run the oui.exe it gives the below error:
cannot find any matches for wildcard specification "../stage/components/oracle.swd.jre/1.5.0.0./1/DataFiles/*.jar
Error : JRE missing in Scratch Path
I tried changing the oraparmaini file but it did not allow to make any changes.
Not sure if its looking for any particular java files.
What should i edit ,to specify the java location.
ThanksWhat exactly did you unzip? This error occurs if there are several zip-files extracted to different target locations. But - if I remember correctly - 10gR2 database is only one zip-file, so you should not face this issue. JRE for OUI is part of the downloaded software,so you don't need to specify a location for JRE, OUI knows where to find this.
Werner -
Unable to install Database 10gR2 on Windows 2003
Hi,
I have Windows 2003 EE with Sp2 installed. I am trying to install Oracle Database 10gR2 but i get error when i click setup.exe.
The error is
*Error in Writing to directory C:\TEMP. Oracle Universial Installer needs you to have permission in this area to install. Installation cannot continue. Please make sure TEMP is set to a valid writable directory.*
Kindly please help me on this.I am logged in as admin user and c:\temp is writable. However, i would also like to present one observation that i have made.
My Windows 2003 environment variable is as below
TEMP = %USERPROFILE%\Local Settings\Temp
TMP = %USERPROFILE%\Local Settings\Temp
When i use this parameter setting the error shows different path.
Error in Writing to directory E:\DOCUME~1\ADMINI~1\LOCAL~1\TEMP. Oracle Universial Installer needs you to have permission in this area to install. Installation cannot continue. Please make sure TEMP is set to a valid writable directory.
But when i change the TEMP paramaters to (i.e i add ";" at the end) then error show different path.
TEMP = %USERPROFILE%\Local Settings\Temp *;*
TMP = %USERPROFILE%\Local Settings\Temp *;*
Error in Writing to directory C:\TEMP. Oracle Universial Installer needs you to have permission in this area to install. Installation cannot continue. Please make sure TEMP is set to a valid writable directory.
Not sure why this is happening and i believe Windows 2003 SP2 new security policy is restricting me to access the TEMP directory on E:\ drive -
Installation of oracle 10gR2 on Windows Vista Home Premium 64 bit OS
can we install oracle 10gR2 on Windows Vista Home Premium 64 bit OS ???
While doing sqlplus from command prompt,
it's giving error like
'SP2-1503 Unable to initialise Oracle Call interface'
'SP2-0152 Oracle may not be functioning Properly'
How to troubleshoot the above errors,
Has anybody tried it ???
Plz assist.No Oracle product is certified against any Windows Home OS.
As Vista was released after Oracle 10gR2, 10gR2 is not certified against any edition of Vista.
You need to downgrade to XP, or install Linux.
Sybrand Bakker
Senior Oracle DBA -
Oracle 10gR2 RAC EE 10.2.0.5 problem with one node.
Hi, I have an Oracle Rac 10gR2 10.2.0.5 EE on SLES 10 on ibm ppc. My problem is that in crs don't appear that database is start in one instance. However the database is start when I use srvctl or sqlplus
crsctl query crs softwareversion
CRS active version on the cluster is [10.2.0.5.0]
crsctl query crs activeversion
CRS active version on the cluster is [10.2.0.5.0]
oracle@agripa:/u01/oracle/app/product/102_64/crs/bin> ./srvctl config database
ELIO3
oracle@agripa:/u01/oracle/app/product/102_64/crs/bin> ./srvctl status database -d ELIO3
La instancia ELIO32 se está ejecutando en el nodo julia
La instancia ELIO31 no se está ejecutando en el nodo agripa
agripa:/u01/oracle/app/product/102_64/crs/bin # ./crs_stat -t
Nombre Tipo Destino Estado Host
ora....31.inst application ONLINE OFFLINE
ora....32.inst application ONLINE ONLINE julia
ora.ELIO3.db application ONLINE ONLINE julia
ora....PA.lsnr application ONLINE OFFLINE
ora....PA.lsnr application ONLINE OFFLINE
ora.agripa.gsd application ONLINE OFFLINE
ora.agripa.ons application ONLINE OFFLINE
ora.agripa.vip application ONLINE ONLINE agripa
ora....IA.lsnr application ONLINE ONLINE julia
ora.julia.gsd application ONLINE ONLINE julia
ora.julia.ons application ONLINE ONLINE julia
ora.julia.vip application ONLINE ONLINE julia
oracle@agripa:/u01/oracle/app/product/102_64/app/bin> ./srvctl start instance -d ELIO3 -i ELIO31
PRKP-1001 : Error al iniciar la instancia ELIO31 en el nodo agripaThis command show an error, however the database is up.
oracle@agripa:/u01/oracle/app/product/102_64/app/bin> sqlplus / as sysdba
SQL*Plus: Release 10.2.0.5.0 - Production on Mié Sep 26 09:32:25 2012
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
Conectado a:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
SQL> select * from v$active_instances;
INST_NUMBER INST_NAME
2 julia:ELIO32
4 agripa:ELIO31
SQL>But crs, don't show it.
agripa:/u01/oracle/app/product/102_64/crs/bin # ./crs_stat -t
Nombre Tipo Destino Estado Host
ora....31.inst application ONLINE OFFLINE
ora....32.inst application ONLINE ONLINE julia
ora.ELIO3.db application ONLINE ONLINE julia
ora....PA.lsnr application ONLINE OFFLINE
ora....PA.lsnr application ONLINE OFFLINE
ora.agripa.gsd application ONLINE OFFLINE
ora.agripa.ons application ONLINE OFFLINE
ora.agripa.vip application ONLINE ONLINE agripa
ora....IA.lsnr application ONLINE ONLINE julia
ora.julia.gsd application ONLINE ONLINE julia
ora.julia.ons application ONLINE ONLINE julia
ora.julia.vip application ONLINE ONLINE juliaSome logs...
oracle@agripa:/u01/oracle/app/product/102_64/app/log/agripa/racg> cat ora.ELIO3.ELIO31.inst.log
2012-09-26 09:35:45.108: [ COMMCRS][53473856]clsc_connect: (0x40002a0a6c0) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=ora_crsqs))
2012-09-26 09:36:15.150: [ RACG][173648] [2346][173648][ora.ELIO3.ELIO31.inst]: end for resource = ora.ELIO3.ELIO31.inst, action = rundetach, status = -1, time = 300.600s
agripa:/u01/oracle/app/product/102_64/crs/bin # ls -ltrach /var/tmp/.oracle/
total 512
srwxrwxrwx 1 oracle oinstall 0 2012-09-24 08:28 sagripaDBG_CSSD
srwxrwxrwx 1 oracle oinstall 0 2012-09-24 08:28 sOracle_CSS_LclLstnr_crs_3
srwxrwxrwx 1 oracle oinstall 0 2012-09-24 08:28 sOCSSD_LL_agripa_crs
srwxrwxrwx 1 oracle oinstall 0 2012-09-24 08:28 sagripaDBG_EVMD
srwxrwxrwx 1 oracle oinstall 0 2012-09-24 08:28 sCagripa_crs_evm
srwxrwxrwx 1 oracle oinstall 0 2012-09-24 08:28 sAagripa_crs_evm
srwxrwxrwx 1 oracle oinstall 0 2012-09-24 09:46 s#3633.2
srwxrwxrwx 1 oracle oinstall 0 2012-09-24 09:46 s#3633.1
srwxrwxrwx 1 oracle oinstall 0 2012-09-24 10:00 s#11308.1
srwxrwxrwx 1 oracle oinstall 0 2012-09-24 10:03 s#11308.2
drwxrwxrwt 8 root root 232 2012-09-26 09:24 ..
srwxrwxrwx 1 oracle oinstall 0 2012-09-26 09:30 sora_racg_ELIO3_agripa
srwxrwxrwx 1 oracle oinstall 0 2012-09-26 09:35 sSYSTEM.evm.acceptor.auth
srwxrwxrwx 1 root root 0 2012-09-26 09:35 sagripaDBG_CRSD
srwxrwxrwx 1 root root 0 2012-09-26 09:40 sCRSD_UI_SOCKET
srwxrwxrwx 1 root root 0 2012-09-26 09:45 sora_crsqs
srwxrwxrwx 1 root root 0 2012-09-26 09:45 sprocr_local_conn_0_PROC
srwxrwxrwx 1 oracle oinstall 0 2012-09-26 09:45 sOCSSD_LL_agripa_
drwxrwxrwt 2 root root 640 2012-09-26 09:45 .
oracle@agripa:/u01/oracle/app/product/102_64/app/log/agripa/racg> cat imon_ELIO3.log
2012-09-26 09:30:41.047: [ RACG][173648] [1100][173648][ora.ELIO3.ELIO31.inst]: racgimon started
2012-09-26 09:31:06.174: [ RACG][70660672] [1100][70660672][ora.ELIO3.ELIO31.inst]:
SQL*Plus: Release 10.2.0.5.0 - Production on Wed Sep 26 09:30:42 2012
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
Enter user-name: Connected to an idle instance.
SQL> ORACLE instance started.
Total System Global Area 8589934592 bytes
2012-09-26 09:31:06.174: [ RACG][70660672] [1100][70660672][ora.ELIO3.ELIO31.inst]: Fixed Size 2109992 bytes
Variable Size 1358958040 bytes
Database Buffers 7214202880 bytes
Redo Buffers 14663680 bytes
Base de datos montada.
Base de datos abierta.
2012-09-26 09:31:06.174: [ RACG][70660672] [1100][70660672][ora.ELIO3.ELIO31.inst]: SQL> Desconectado de Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
2012-09-26 09:31:06.404: [ RACG][70660672] [1100][70660672][ora.ELIO3.ELIO31.inst]: clsrcexecut: env _USR_ORA_PFILE=/u01/oracle/app/product/102_64/crs/racg/tmp/ora.ELIO3.ELIO31.inst.ora
2012-09-26 09:31:06.404: [ RACG][70660672] [1100][70660672][ora.ELIO3.ELIO31.inst]: clsrcexecut: cmd = /u01/oracle/app/product/102_64/app/bin/racgeut -e _USR_ORA_DEBUG=0 -e ORACLE_SID=ELIO31 540 /u01/oracle/app/product/102_64/app/bin/racgmdb -q
2012-09-26 09:31:06.404: [ RACG][70660672] [1100][70660672][ora.ELIO3.ELIO31.inst]: clsrcexecut: rc = 3, time = 0.230s
2012-09-26 09:31:07.196: [ OCRMSG][70660672]prom_rpc: CLSC send failure..ret code 11
2012-09-26 09:31:07.196: [ OCRMSG][70660672]prom_rpc: possible OCR retry scenario
2012-09-26 09:31:07.254: [ OCRAPI][70660672]procr_open: Node Failure. Attempting retry #0
2012-09-26 09:31:07.528: [ OCRCLI][70660672]oac_reconnect_server: Could not connect to server. clsc ret 9
2012-09-26 09:31:07.584: [ OCRAPI][70660672]procr_open: Node Failure. Attempting retry #1
2012-09-26 09:31:07.847: [ OCRCLI][70660672]oac_reconnect_server: Could not connect to server. clsc ret 9
2012-09-26 09:31:07.904: [ OCRAPI][70660672]procr_open: Node Failure. Attempting retry #2
2012-09-26 09:31:08.178: [ OCRCLI][70660672]oac_reconnect_server: Could not connect to server. clsc ret 9
2012-09-26 09:31:08.235: [ OCRAPI][70660672]procr_open: Node Failure. Attempting retry #3
2012-09-26 09:31:08.488: [ OCRCLI][70660672]oac_reconnect_server: Could not connect to server. clsc ret 9
2012-09-26 09:31:08.544: [ OCRAPI][70660672]procr_open: Node Failure. Attempting retry #4
2012-09-26 09:31:08.808: [ OCRCLI][70660672]oac_reconnect_server: Could not connect to server. clsc ret 9
2012-09-26 09:31:08.865: [ OCRAPI][70660672]procr_open: Node Failure. Attempting retry #5
2012-09-26 09:31:08.971: [ RACG][70660672] [1100][70660672][ora.ELIO3.ELIO31.inst]: clsrcsetenvvar: set env var 'ORACLE_CONFIG_HOME' to be '/u01/oracle/app/product/102_64/crs/'
2012-09-26 09:31:09.767: [ RACG][70660672] [1100][70660672][ora.ELIO3.ELIO31.inst]: clsrcqryapi: crs_qstat error
2012-09-26 09:36:14.709: [ OCRMSG][148804160]prom_rpc: CLSC send failure..ret code 11
2012-09-26 09:36:14.709: [ OCRMSG][148804160]prom_rpc: possible OCR retry scenario
2012-09-26 09:36:14.768: [ OCRAPI][148804160]procr_open: Node Failure. Attempting retry #0
agripa:/u01/oracle/app/product/102_64/crs/bin # ./crs_getperm ora.ELIO3.ELIO32.inst
Nombre: ora.ELIO3.ELIO32.inst
owner:oracle:rwx,pgrp:oinstall:rwx,other::r--,
agripa:/u01/oracle/app/product/102_64/crs/bin # ./crs_getperm ora.ELIO3.ELIO31.inst
Nombre: ora.ELIO3.ELIO31.inst
owner:oracle:rwx,pgrp:oinstall:rwx,other::r--,I try to stop instance with srvctl but instance don't stop.
oracle@agripa:/u01/oracle/app/product/102_64/app/bin> ./srvctl stop instance -d ELIO3 -i ELIO31
oracle@agripa:/u01/oracle/app/product/102_64/app/bin> sqlplus / as sysdba
SQL*Plus: Release 10.2.0.5.0 - Production on Mié Sep 26 09:42:24 2012
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
Conectado a:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
SQL>How can I fix it?
How can I do to srvctl works fine and crs show that database is start??
Thanks you very much!!!My database in another node (julia) was started with sqlplus
sqlplus / as sysdba
startup open;The crsd.log appears the follow
2012-09-24 11:36:56.798: [ CRSMAIN][174064]0CRS Daemon Started.
2012-09-24 11:36:56.798: [ CRSMAIN][363782720]0Starting runCommandServer for (UI = 1, E2E = 0). 0
2012-09-24 11:36:56.798: [ CRSMAIN][365879872]0Starting runCommandServer for (UI = 1, E2E = 0). 1
2012-09-26 09:30:40.776: [ CRSRES][380703296]0startRunnable: setting CLI values
2012-09-26 09:30:40.814: [ CRSRES][380703296]0Attempting to start `ora.ELIO3.ELIO31.inst` on member `agripa`
2012-09-26 09:30:54.931: [ default][174064][ENTER]0
Oracle Database 10g CRS Release 10.2.0.5.0 Production Copyright 1996, 2004, Oracle. All rights reserved
2012-09-26 09:30:54.931: [ default][174064]0CRS Daemon Starting
2012-09-26 09:30:54.932: [ CRSMAIN][174064]0Checking the OCR device
2012-09-26 09:30:54.935: [ CRSMAIN][174064]0Connecting to the CSS Daemon
2012-09-26 09:30:55.238: [ CLSVER][174064]0Active Version from OCR:10.2.0.5.0
2012-09-26 09:30:55.238: [ CLSVER][174064]0Active Version and Software Version are same
2012-09-26 09:30:55.238: [ CRSMAIN][174064]0Initializing OCR
2012-09-26 09:30:55.254: [ OCRRAW][174064]proprioo: for disk 0 (/u01/oracle/1020_64/voting1/ocr), id match (1), my id set (1616921495,1352295226) total id sets (1), 1st set (1616921495,1352295226), 2nd set (0,0) my votes (1), total votes (2)
2012-09-26 09:30:55.254: [ OCRRAW][174064]proprioo: for disk 1 (/u01/oracle/1020_64/voting2/ocr), id match (1), my id set (1616921495,1352295226) total id sets (1), 1st set (1616921495,1352295226), 2nd set (0,0) my votes (1), total votes (2)
2012-09-26 09:30:55.286: [ CRSD][174064]0ENV Logging level for Module: allcomp 0
2012-09-26 09:30:55.289: [ CRSD][174064]0ENV Logging level for Module: default 0
2012-09-26 09:30:55.292: [ CRSD][174064]0ENV Logging level for Module: COMMCRS 0
2012-09-26 09:30:55.294: [ CRSD][174064]0ENV Logging level for Module: COMMNS 0
2012-09-26 09:30:55.297: [ CRSD][174064]0ENV Logging level for Module: CRSUI 0
2012-09-26 09:30:55.300: [ CRSD][174064]0ENV Logging level for Module: CRSCOMM 0
2012-09-26 09:30:55.303: [ CRSD][174064]0ENV Logging level for Module: CRSRTI 0
2012-09-26 09:30:55.306: [ CRSD][174064]0ENV Logging level for Module: CRSMAIN 0
2012-09-26 09:30:55.309: [ CRSD][174064]0ENV Logging level for Module: CRSPLACE 0
2012-09-26 09:30:55.312: [ CRSD][174064]0ENV Logging level for Module: CRSAPP 0
2012-09-26 09:30:55.315: [ CRSD][174064]0ENV Logging level for Module: CRSRES 0
2012-09-26 09:30:55.317: [ CRSD][174064]0ENV Logging level for Module: CRSOCR 0
2012-09-26 09:30:55.320: [ CRSD][174064]0ENV Logging level for Module: CRSTIMER 0
2012-09-26 09:30:55.323: [ CRSD][174064]0ENV Logging level for Module: CRSEVT 0
2012-09-26 09:30:55.326: [ CRSD][174064]0ENV Logging level for Module: CRSD 0
2012-09-26 09:30:55.329: [ CRSD][174064]0ENV Logging level for Module: CLUCLS 0
2012-09-26 09:30:55.332: [ CRSD][174064]0ENV Logging level for Module: CLSVER 0
2012-09-26 09:30:55.335: [ CRSD][174064]0ENV Logging level for Module: OCRRAW 0
2012-09-26 09:30:55.338: [ CRSD][174064]0ENV Logging level for Module: OCROSD 0
2012-09-26 09:30:55.341: [ CRSD][174064]0ENV Logging level for Module: CSSCLNT 0
2012-09-26 09:30:55.343: [ CRSD][174064]0ENV Logging level for Module: OCRAPI 0
2012-09-26 09:30:55.346: [ CRSD][174064]0ENV Logging level for Module: OCRUTL 0
2012-09-26 09:30:55.349: [ CRSD][174064]0ENV Logging level for Module: OCRMSG 0
2012-09-26 09:30:55.352: [ CRSD][174064]0ENV Logging level for Module: OCRCLI 0
2012-09-26 09:30:55.355: [ CRSD][174064]0ENV Logging level for Module: OCRCAC 0
2012-09-26 09:30:55.358: [ CRSD][174064]0ENV Logging level for Module: OCRSRV 0
2012-09-26 09:30:55.360: [ CRSD][174064]0ENV Logging level for Module: OCRMAS 0
2012-09-26 09:30:55.360: [ CRSMAIN][174064]0Filename is /u01/oracle/app/product/102_64/crs/crs/init/agripa.pid
[ clsdmt][299713088]Listening to (ADDRESS=(PROTOCOL=ipc)(KEY=agripaDBG_CRSD))
2012-09-26 09:30:55.383: [ CRSMAIN][174064]0Using Authorizer location: /u01/oracle/app/product/102_64/crs/crs/auth/
2012-09-26 09:30:55.401: [ CRSMAIN][174064]0Initializing RTI
2012-09-26 09:30:55.436: [CRSTIMER][316899904]0Timer Thread Starting.
2012-09-26 09:30:55.438: [ CRSRES][174064]0Parameter SECURITY = 1, running in USER Mode
2012-09-26 09:30:55.438: [ CRSMAIN][174064]0Initializing EVMMgr
2012-09-26 09:30:55.526: [ CRSMAIN][174064]0CRSD locked during state recovery, please wait.
2012-09-26 09:30:56.003: [ CRSRES][174064]0ora.agripa.vip check shows ONLINE
2012-09-26 09:30:56.121: [ CRSMAIN][174064]0CRSD recovered, unlocked.
2012-09-26 09:30:56.122: [ CRSMAIN][174064]0QS socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=ora_crsqs))
2012-09-26 09:30:56.122: [ CRSMAIN][174064]0QS socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=ora_crsqs))
2012-09-26 09:30:56.130: [ CRSMAIN][174064]0CRSD UI socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=CRSD_UI_SOCKET))
2012-09-26 09:30:56.133: [ CRSMAIN][174064]0E2E socket on: (ADDRESS=(PROTOCOL=tcp)(HOST=agripa-priv)(PORT=49896))
2012-09-26 09:30:56.133: [ CRSMAIN][174064]0Starting Threads
2012-09-26 09:30:56.134: [ CRSMAIN][174064]0CRS Daemon Started.
2012-09-26 09:30:56.134: [ CRSMAIN][362721856]0Starting runCommandServer for (UI = 1, E2E = 0). 0
2012-09-26 09:30:56.134: [ CRSMAIN][364819008]0Starting runCommandServer for (UI = 1, E2E = 0). 1
2012-09-26 09:31:08.582: [ default][174064][ENTER]0
Oracle Database 10g CRS Release 10.2.0.5.0 Production Copyright 1996, 2004, Oracle. All rights reserved
2012-09-26 09:31:08.582: [ default][174064]0CRS Daemon Starting
2012-09-26 09:31:08.583: [ CRSMAIN][174064]0Checking the OCR device
2012-09-26 09:31:08.585: [ CRSMAIN][174064]0Connecting to the CSS Daemon
2012-09-26 09:31:08.885: [ CLSVER][174064]0Active Version from OCR:10.2.0.5.0
2012-09-26 09:31:08.885: [ CLSVER][174064]0Active Version and Software Version are same
2012-09-26 09:31:08.885: [ CRSMAIN][174064]0Initializing OCR
2012-09-26 09:31:08.891: [ OCRRAW][174064]proprioo: for disk 0 (/u01/oracle/1020_64/voting1/ocr), id match (1), my id set (1616921495,1352295226) total id sets (1), 1st set (1616921495,1352295226), 2nd set (0,0) my votes (1), total votes (2)
2012-09-26 09:31:08.891: [ OCRRAW][174064]proprioo: for disk 1 (/u01/oracle/1020_64/voting2/ocr), id match (1), my id set (1616921495,1352295226) total id sets (1), 1st set (1616921495,1352295226), 2nd set (0,0) my votes (1), total votes (2)
2012-09-26 09:31:08.934: [ CRSD][174064]0ENV Logging level for Module: allcomp 0
2012-09-26 09:31:08.937: [ CRSD][174064]0ENV Logging level for Module: default 0
2012-09-26 09:31:08.940: [ CRSD][174064]0ENV Logging level for Module: COMMCRS 0
2012-09-26 09:31:08.942: [ CRSD][174064]0ENV Logging level for Module: COMMNS 0
2012-09-26 09:31:08.945: [ CRSD][174064]0ENV Logging level for Module: CRSUI 0
2012-09-26 09:31:08.948: [ CRSD][174064]0ENV Logging level for Module: CRSCOMM 0
2012-09-26 09:31:08.964: [ CRSD][174064]0ENV Logging level for Module: CRSRTI 0
2012-09-26 09:31:08.970: [ CRSD][174064]0ENV Logging level for Module: CRSMAIN 0
2012-09-26 09:31:08.973: [ CRSD][174064]0ENV Logging level for Module: CRSPLACE 0
2012-09-26 09:31:08.976: [ CRSD][174064]0ENV Logging level for Module: CRSAPP 0
2012-09-26 09:31:08.979: [ CRSD][174064]0ENV Logging level for Module: CRSRES 0
2012-09-26 09:31:08.982: [ CRSD][174064]0ENV Logging level for Module: CRSOCR 0
2012-09-26 09:31:08.985: [ CRSD][174064]0ENV Logging level for Module: CRSTIMER 0
2012-09-26 09:31:08.988: [ CRSD][174064]0ENV Logging level for Module: CRSEVT 0
2012-09-26 09:31:08.991: [ CRSD][174064]0ENV Logging level for Module: CRSD 0
2012-09-26 09:31:08.994: [ CRSD][174064]0ENV Logging level for Module: CLUCLS 0
2012-09-26 09:31:08.997: [ CRSD][174064]0ENV Logging level for Module: CLSVER 0
2012-09-26 09:31:08.999: [ CRSD][174064]0ENV Logging level for Module: OCRRAW 0
2012-09-26 09:31:09.002: [ CRSD][174064]0ENV Logging level for Module: OCROSD 0
2012-09-26 09:31:09.005: [ CRSD][174064]0ENV Logging level for Module: CSSCLNT 0
2012-09-26 09:31:09.008: [ CRSD][174064]0ENV Logging level for Module: OCRAPI 0
2012-09-26 09:31:09.011: [ CRSD][174064]0ENV Logging level for Module: OCRUTL 0
2012-09-26 09:31:09.014: [ CRSD][174064]0ENV Logging level for Module: OCRMSG 0
2012-09-26 09:31:09.017: [ CRSD][174064]0ENV Logging level for Module: OCRCLI 0
2012-09-26 09:31:09.020: [ CRSD][174064]0ENV Logging level for Module: OCRCAC 0
2012-09-26 09:31:09.023: [ CRSD][174064]0ENV Logging level for Module: OCRSRV 0
2012-09-26 09:31:09.026: [ CRSD][174064]0ENV Logging level for Module: OCRMAS 0
2012-09-26 09:31:09.026: [ CRSMAIN][174064]0Filename is /u01/oracle/app/product/102_64/crs/crs/init/agripa.pid
[ clsdmt][303034944]Listening to (ADDRESS=(PROTOCOL=ipc)(KEY=agripaDBG_CRSD))
2012-09-26 09:31:09.057: [ CRSMAIN][174064]0Using Authorizer location: /u01/oracle/app/product/102_64/crs/crs/auth/
2012-09-26 09:31:09.072: [ CRSMAIN][174064]0Initializing RTI
2012-09-26 09:31:09.094: [CRSTIMER][319812160]0Timer Thread Starting.
2012-09-26 09:31:09.096: [ CRSRES][174064]0Parameter SECURITY = 1, running in USER Mode
2012-09-26 09:31:09.096: [ CRSMAIN][174064]0Initializing EVMMgr
2012-09-26 09:31:09.198: [ CRSMAIN][174064]0CRSD locked during state recovery, please wait.
2012-09-26 09:31:09.728: [ CRSRES][174064]0ora.agripa.vip check shows ONLINE
2012-09-26 09:31:09.846: [ CRSMAIN][174064]0CRSD recovered, unlocked.
2012-09-26 09:31:09.847: [ CRSMAIN][174064]0QS socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=ora_crsqs))
2012-09-26 09:31:09.847: [ CRSMAIN][174064]0QS socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=ora_crsqs))
2012-09-26 09:31:09.855: [ CRSMAIN][174064]0CRSD UI socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=CRSD_UI_SOCKET))
2012-09-26 09:31:09.858: [ CRSMAIN][174064]0E2E socket on: (ADDRESS=(PROTOCOL=tcp)(HOST=agripa-priv)(PORT=49896))
2012-09-26 09:31:09.859: [ CRSMAIN][174064]0Starting Threads
2012-09-26 09:31:09.859: [ CRSMAIN][174064]0CRS Daemon Started.
2012-09-26 09:31:09.859: [ CRSMAIN][364917312]0Starting runCommandServer for (UI = 1, E2E = 0). 0
2012-09-26 09:31:09.859: [ CRSMAIN][367014464]0Starting runCommandServer for (UI = 1, E2E = 0). 1
2012-09-26 09:35:44.874: [ default][174064][ENTER]0
Oracle Database 10g CRS Release 10.2.0.5.0 Production Copyright 1996, 2004, Oracle. All rights reserved
2012-09-26 09:35:44.874: [ default][174064]0CRS Daemon Starting
2012-09-26 09:35:44.875: [ CRSMAIN][174064]0Checking the OCR device
2012-09-26 09:35:44.877: [ CRSMAIN][174064]0Connecting to the CSS Daemon
2012-09-26 09:35:45.186: [ CLSVER][174064]0Active Version from OCR:10.2.0.5.0
2012-09-26 09:35:45.186: [ CLSVER][174064]0Active Version and Software Version are same
2012-09-26 09:35:45.186: [ CRSMAIN][174064]0Initializing OCR
2012-09-26 09:35:45.201: [ OCRRAW][174064]proprioo: for disk 0 (/u01/oracle/1020_64/voting1/ocr), id match (1), my id set (1616921495,1352295226) total id sets (1), 1st set (1616921495,1352295226), 2nd set (0,0) my votes (1), total votes (2)
2012-09-26 09:35:45.202: [ OCRRAW][174064]proprioo: for disk 1 (/u01/oracle/1020_64/voting2/ocr), id match (1), my id set (1616921495,1352295226) total id sets (1), 1st set (1616921495,1352295226), 2nd set (0,0) my votes (1), total votes (2)
2012-09-26 09:35:45.236: [ CRSD][174064]0ENV Logging level for Module: allcomp 0
2012-09-26 09:35:45.242: [ CRSD][174064]0ENV Logging level for Module: default 0
2012-09-26 09:35:45.245: [ CRSD][174064]0ENV Logging level for Module: COMMCRS 0
2012-09-26 09:35:45.247: [ CRSD][174064]0ENV Logging level for Module: COMMNS 0
2012-09-26 09:35:45.250: [ CRSD][174064]0ENV Logging level for Module: CRSUI 0
2012-09-26 09:35:45.253: [ CRSD][174064]0ENV Logging level for Module: CRSCOMM 0
2012-09-26 09:35:45.256: [ CRSD][174064]0ENV Logging level for Module: CRSRTI 0
2012-09-26 09:35:45.259: [ CRSD][174064]0ENV Logging level for Module: CRSMAIN 0
2012-09-26 09:35:45.262: [ CRSD][174064]0ENV Logging level for Module: CRSPLACE 0
2012-09-26 09:35:45.265: [ CRSD][174064]0ENV Logging level for Module: CRSAPP 0
2012-09-26 09:35:45.269: [ CRSD][174064]0ENV Logging level for Module: CRSRES 0
2012-09-26 09:35:45.273: [ CRSD][174064]0ENV Logging level for Module: CRSOCR 0
2012-09-26 09:35:45.276: [ CRSD][174064]0ENV Logging level for Module: CRSTIMER 0
2012-09-26 09:35:45.279: [ CRSD][174064]0ENV Logging level for Module: CRSEVT 0
2012-09-26 09:35:45.282: [ CRSD][174064]0ENV Logging level for Module: CRSD 0
2012-09-26 09:35:45.285: [ CRSD][174064]0ENV Logging level for Module: CLUCLS 0
2012-09-26 09:35:45.288: [ CRSD][174064]0ENV Logging level for Module: CLSVER 0
2012-09-26 09:35:45.291: [ CRSD][174064]0ENV Logging level for Module: OCRRAW 0
2012-09-26 09:35:45.293: [ CRSD][174064]0ENV Logging level for Module: OCROSD 0
2012-09-26 09:35:45.297: [ CRSD][174064]0ENV Logging level for Module: CSSCLNT 0
2012-09-26 09:35:45.300: [ CRSD][174064]0ENV Logging level for Module: OCRAPI 0
2012-09-26 09:35:45.302: [ CRSD][174064]0ENV Logging level for Module: OCRUTL 0
2012-09-26 09:35:45.305: [ CRSD][174064]0ENV Logging level for Module: OCRMSG 0
2012-09-26 09:35:45.308: [ CRSD][174064]0ENV Logging level for Module: OCRCLI 0
2012-09-26 09:35:45.311: [ CRSD][174064]0ENV Logging level for Module: OCRCAC 0
2012-09-26 09:35:45.314: [ CRSD][174064]0ENV Logging level for Module: OCRSRV 0
2012-09-26 09:35:45.318: [ CRSD][174064]0ENV Logging level for Module: OCRMAS 0
2012-09-26 09:35:45.318: [ CRSMAIN][174064]0Filename is /u01/oracle/app/product/102_64/crs/crs/init/agripa.pid
[ clsdmt][303034944]Listening to (ADDRESS=(PROTOCOL=ipc)(KEY=agripaDBG_CRSD))
2012-09-26 09:35:45.341: [ CRSMAIN][174064]0Using Authorizer location: /u01/oracle/app/product/102_64/crs/crs/auth/
2012-09-26 09:35:45.361: [ CRSMAIN][174064]0Initializing RTI
2012-09-26 09:35:45.391: [CRSTIMER][319812160]0Timer Thread Starting.
2012-09-26 09:35:45.393: [ CRSRES][174064]0Parameter SECURITY = 1, running in USER Mode
2012-09-26 09:35:45.393: [ CRSMAIN][174064]0Initializing EVMMgr
2012-09-26 09:35:45.481: [ CRSMAIN][174064]0CRSD locked during state recovery, please wait.
2012-09-26 09:35:45.956: [ CRSRES][174064]0ora.agripa.vip check shows ONLINE
2012-09-26 09:35:46.097: [ CRSMAIN][174064]0CRSD recovered, unlocked.
2012-09-26 09:35:46.098: [ CRSMAIN][174064]0QS socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=ora_crsqs))
2012-09-26 09:35:46.098: [ CRSMAIN][174064]0QS socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=ora_crsqs))
2012-09-26 09:35:46.105: [ CRSMAIN][174064]0CRSD UI socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=CRSD_UI_SOCKET))
2012-09-26 09:35:46.109: [ CRSMAIN][174064]0E2E socket on: (ADDRESS=(PROTOCOL=tcp)(HOST=agripa-priv)(PORT=49896))
2012-09-26 09:35:46.109: [ CRSMAIN][174064]0Starting Threads
2012-09-26 09:35:46.109: [ CRSMAIN][174064]0CRS Daemon Started.
2012-09-26 09:35:46.109: [ CRSMAIN][364896832]0Starting runCommandServer for (UI = 1, E2E = 0). 0
2012-09-26 09:35:46.109: [ CRSMAIN][366993984]0Starting runCommandServer for (UI = 1, E2E = 0). 1
2012-09-26 09:36:09.889: [ CRSRES][381674048]0CRS-1002: Resource 'ora.ELIO3.db' is already running on member 'julia'
2012-09-26 09:47:41.288: [ CRSRES][379576896]0ora.ELIO3.ELIO31.inst target set to OFFLINE before stop action
2012-09-26 09:47:41.288: [ CRSRES][379576896]0StopResource: setting CLI values
2012-09-26 09:47:41.355: [ CRSRES][379576896]0Target set to OFFLINE for `ora.ELIO3.ELIO31.inst`
2012-09-26 09:47:42.266: [ CRSRES][379576896]0`ora.ELIO3.ELIO31.inst` is already OFFLINE.
2012-09-26 09:47:43.278: [ CRSRES][379576896]0`ora.ELIO3.ELIO31.inst` is already OFFLINE.
2012-09-26 09:47:44.286: [ CRSRES][379576896]0`ora.ELIO3.ELIO31.inst` is already OFFLINE.
2012-09-26 09:47:45.298: [ CRSRES][379576896]0`ora.ELIO3.ELIO31.inst` is already OFFLINE.PD: Excuseme for the long text about crsd.log, but I don't know how can I attach a file.
Thanks you very much!!. -
XQuery performance in Oracle 10gR2
Hello
I'm actually trying to measure the performances of XQuery FLOWR queries on Oracle 10gR2. For that, I've created a simple table with one integer field (ID) and one XMLType field. This XMLType field contains 10000 documents. The size of these documents varies between 2Kb and 14Kb approximately.
A simple XQuery like below (without "WHERE" or complexe "RETURN" clause) runs quite well and I get the query results in a resonable time.
SELECT xtab.COLUMN_VALUE
FROM contractXDraft, XMLTABLE(
'declare namespace ctxCD="contractX/contractXDraft";for $x in /ctxCD:contractXDraft
return
<response>
Hello
</response>'
PASSING OBJECT_VALUE) xtab;
On the other hand, if a add a "WHERE" clause to filter the results, the query execute time become very long (~hours...) and I must always abort the query execution by killing the "oracle" process because the page file memory used by this process increase linearly ! Here below is represented a such query :
SELECT xtab.COLUMN_VALUE
FROM contractXDraft, XMLTABLE(
'declare namespace ctxCD="contractX/contractXDraft";for $x in /ctxCD:contractXDraft
where $x/ctxCD:ReferenceDetails/ctxCD:ContractHeaderDetails/ctxCD:ContractNumber = "19163-contract657-2.xml"
return
<response>
Hello
</response>'
PASSING OBJECT_VALUE) xtab;
These above queries are executed on a server dedicated for these tests. This server is a Pentium IV 3.2 GHz with 1GB of RAM and Windows 2003 Server Enterprise SP1 is installed on it.
I want to know if someone can give me an explanation about this huge difference of execution time between the two queries above ?? Is it a syntax mistake ? Is it an hardware problem ?
Thank you very much for your help !!
Regards
MDMD,
Sounds like your XMLType field is using unstructured storage (i.e., LOB-based) instead of the structured storage (i.e., O-R based). You can check out the XML DB online doc (http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb01int.htm#BABECDCF) to learn more about the differences between the two. Essentially, without any associated indexes, using XQuery over unstructured storage will result in a full table scan, which can be very slow when there are large number of rows.
Regards,
Geoff
Maybe you are looking for
-
Glossary tab doesn't display and Glossary pop ups don't work
TCS 3.5 (FrameMaker 10, RoboHelp HTML, version 9) Windows XP version 5.1 sp3 Internet Explorer 8.0 My apologizes if this should be in a different forum. Also, from searching I have found that the problem is usually that the DLL has not been loaded -
-
E-Mail Alerts Configuration in PI ... BSP error
Hi All Am configuring alert framework. Process till getting them in Alert Inbox is done. Now I wanna direct the alerts to my e-mail ID. Steps that i am doing : 1. E-Mail ID added in SU01. 2. SCOT configuration is done. 3. Now under Alert Inbox(RWB) w
-
My contact list is not recognize in IMessage
When I attempt to send a message but does not recognize my contacts,it states that they are not register
-
Write in the access manager cache
Hi, I use AM 2004Q2 with the portal server. I also use IDM to manage portal identites. From IDM, I want to change portal LDAP attributes. Precisely, I want to change the value of the attribute of sunPortalDesktopDpDocumentUser. So from IDM, I make a
-
CALL BAPI Function with SuperUser ID
I need to call a BAPI function 'BAPI_MATERIAL_MAINTAINDATA_RT' using a Super User ID. Can someone guide me on the syntax? Call 'BAPI_MATERIAL_MAINTAINDATA_RT' Desitination .... I need to know how to put in the superuser-ID. Thanks