Oracle setExecuteBatch() func

So within my code I have setup an execute batch to be run every 5000 queries. Using the setExecuteBatch() method specific to the oracle api, like so:
((OraclePreparedStatement)broker.pstmt).setExecuteBatch(5000);
broker.pstmt.executeUpdate();
So when I call executeUpdate() on a preparedstatement execution will only occur when the batch has 5000 records in it.
However, if let's say the query 1000 within the 5000 query batch is incorrect and Oracle is executing the batch a SQLException will be triggered.
Is there a way to know exactly where within the batch this error has occured ? I.e which of those 5000 queries is erroneous.

From the JDBC 3.0 Specification - Final Release
(jdbc-3_0-fr-spec.pdf) available for downloading from the Sun site:
15.1.3 Handling Failures during Execution
A JDBC driver may or may not continue processing the
remaining commands in a batch once execution of a command fails.
However, a JDBC driver must always provide the same behaviour with a
particular data source. For example, a driver
cannot continue processing after a failure for one batch and not
continue processing for another batch.
If a driver stops processing after the first failure, the array
returned by the method BatchUpdateException.getUpdateCounts will always
contain fewer entries than there were statements in the batch. Since
statements are executed in the order that they are added to the batch,
if the array contains N elements, this means that the first N elements
in the batch were processed successfully when executeBatch was called.
When a driver continues processing in the presence of failures, the
number of elements in the array returned by the method
BatchUpdateException.getUpdateCounts always equals the number of
commands in the batch. When a BatchUpdateException object is thrown and
the driver continues processing after a failure, the array of update
counts will contain the following BatchUpdateException constant:
* Statement.EXECUTE_FAILED � the command failed to execute successfully.
This value is also returned for commands that could not be processed
for some reason�such commands fail implicitly.

Similar Messages

  • Automated Testcase for XQuery

    Hi,
    I am using Oracle JDeveloper 11g Release 1.
    Can you please tell me how to write automated test cases for XQuery.
    I found one tutorial on net (http://oracamp.com/automatic-xquery-unit-tests-osb-projects-0), tried executing the same steps as mentioned with the same examples.
    But getting exceptions while trying to do so.
    I am not sure whether it is a problem with jar or something else.
    Please let me know how to proceed further.
    I am getting the following exception -
    oracle.xquery.XQException: XPTY0004: It is a type error if, during the static analysis phase, an expression is found to have a static type that is not appropriate for the context in which the expression occurs, or during the dynamic evaluation phase, the dynamic type of a value does not match a required type as specified by the matching rules in 2.5.4 SequenceType Matching.
    Detail: Encounter a type error during the static type checking phase
    oracle.xquery.exec.StaticTypingVisitor.raiseStaticTypeError(StaticTypingVisitor.java:1888)
    oracle.xquery.exec.StaticTypingVisitor.handleError(StaticTypingVisitor.java:1903)
    oracle.xquery.exec.StaticTypingVisitor.handleError(StaticTypingVisitor.java:1897)
    oracle.xquery.exec.StaticTypingVisitor.normalizeParameter(StaticTypingVisitor.java:348)
    oracle.xquery.exec.StaticTypingVisitor.visitFunctionDefn(StaticTypingVisitor.java:2615)
    oracle.xquery.func.FunctionDefn.staticTypeChecking(FunctionDefn.java:154)
    oracle.xquery.exec.QueryState.staticTypingFnDecls(QueryState.java:1022)
    oracle.xquery.PreparedXQuery.staticTyping(PreparedXQuery.java:511)
    oracle.xquery.PreparedXQuery.prepare(PreparedXQuery.java:434)
    oracle.xquery.PreparedXQuery.executeQuery(PreparedXQuery.java:544)
    oracle.xquery.PreparedXQuery.executeQuery(PreparedXQuery.java:562)
    unittest.XQUnit.runQuery(XQUnit.java:123)
    unittest.XQUnit.testXQuery(XQUnit.java:83)
    unittest.AchternaamTest.testTransformation1(AchternaamTest.java:11)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    junit.framework.TestCase.runTest(TestCase.java:168)
    junit.framework.TestCase.runBare(TestCase.java:134)
    junit.framework.TestResult$1.protect(TestResult.java:110)
    junit.framework.TestResult.runProtected(TestResult.java:128)
    junit.framework.TestResult.run(TestResult.java:113)
    junit.framework.TestCase.run(TestCase.java:124)
    junit.framework.TestSuite.runTest(TestSuite.java:243)
    junit.framework.TestSuite.run(TestSuite.java:238)
    Thanks,
    Deepthi

    Hello,
    I am still looking into this, but upon closer examination here is the situation, basically as reported.
    The test calls set_thread_count which sizes the memory. In __env_attach(), (dbenv->thr_max is used to size the region. So you are correct, the higher the value used in set_thread_count, the larger the size of the region will be. Eventually that memory will be depleted, and __env_alloc_size() returns ENOMEM, after multiple calls to system(db_stat). __env_alloc_free() is not called. This is the part I am still investigating.
    The test uses system to fork a separate processes for db_stat and the failing stack is:
    lt-db_stat: assert failure: ../dist/../env/env_failchk.c/426: "ret == 0"
    lt-db_stat: __os_stack+0x2b
    lt-db_stat: __os_abort+0x1d
    lt-db_stat: __db_assert+0x47
    lt-db_stat: __env_set_state+0x53c
    lt-db_stat: __env_attach_regions+0x38b
    lt-db_stat: __env_open+0x154
    lt-db_stat: __env_open_pp+0x334
    lt-db_stat: lt-db_stat
    So db_stat is opening an environment, attaching to its region, and then __env_set_state() calls __env_alloc(). It is __env_alloc() which fails with ENOMEM after some point when there is no more space to be allocated from the shared region. And I'm still looking into that space would be returned to the shared region.
    Thanks,
    Sandra

  • 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.html

    Success!!!
    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

  • Maximum open_cusors exceed error in oracle

    I am returning resultset object from many of my functions.After I run a few programmes i get "maximum no of cursors exceeded in oracle" error. I am not closing Statement obj also i am not closing reultset obj.Which one is to be closed to remove the above error. Also wont garbage collection of the statement which created the resultset in the called function cause my result to cease in existence . Also if i try to use getStatement() in the calling function i get a " operation not allowed " error
    What is the solution to my problem
    public Statement getStates(){
    Connection conn = null;
    SharedConnectionPool moConnPool = SharedConnectionPool.getInstance();
    ResultSet rsStateMast = null;
    ResultSet returnRSStateMast = null;
    Statement stmtStateMast = null;
    try{
    //Get state details
    conn = moConnPool.getConnection();
    stmtStateMast = conn.createStatement();
    String msStateMastQuery = "select csm_state_code, csm_state_name from cms_state_mast where csm_cntry_code = " + this.miCountryCode + "order by csm_state_name";
    moLogFile.writeToLog(CLASS_NAME,35,msStateMastQuery);
    rsStateMast = stmtStateMast.executeQuery(msStateMastQuery);
    returnRSStateMast = rsStateMast;
    // stmtStateMast.close();
    if (returnRSStateMast != null){
    return stmtStateMast;
    }//end of if
    }//end of try
    catch(SQLException sqe){
    throw new CMSException("Some SQL Exception occured " + sqe.toString(),sqe);
    }//end of catch
    finally{
    moConnPool.free(conn);
    return stmtStateMast;
    }//end of finally
    }//end of getStates
    Above is the function I am using
    I realise that my problem would be solved if I pass Statement to or from the function .
    But the problem is the I am more than halfway through the project and the chaging all functions in the above manner will be too time consuming . Is there no other solution ? . Why does the getStatement() method in ResultSet give a "method not supported Exception".
    Also will the statement obj in the called function be eligible for garbage collection ? Because that will close my ResultSet.
    I have already increased the limit of open cursors.
    What I want to know is ,whether closing all resultSets will sufficient for closing the open_cursors in Oracle or is it necessary to close all statements to close the open_cursors.
    In short whether cursors are related to statements or are they related to Resultsets.
    Also I want to know why are my resultSets and statements not getting garbage collected.Because if they would get Garbage collected then they would get closed ,and thus the open_cursors would be closed too.
    But then if the statement in the called func gets garbage collected while the resultSet object is still in use , then the resultSet would become null and a null pointer Exception will be thrown.
    Considering all this, do you feel it is mandatory for me to pass statements between the functions ? or is there any other awy out?
    Also why am i getting an "operation not allowed" exception when I try to use the function rs.getStatement() in order to get the parent statement so that it can be closed in the calling function.

    I am returning resultset object from many of my
    functions.After I run a few programmes i get "maximum
    no of cursors exceeded in oracle" error. I am not
    closing Statement obj also i am not closing reultset
    obj.Which one is to be closed to remove the above
    error. Also wont garbage collection of the statement
    which created the resultset in the called function
    cause my result to cease in existence . Also if i try
    to use getStatement() in the calling function i get a
    " operation not allowed " error
    What is the solution to my problem
    public Statement getStates(){
    Connection conn = null;
    SharedConnectionPool moConnPool =
    SharedConnectionPool.getInstance();
    ResultSet rsStateMast = null;
    ResultSet returnRSStateMast = null;
    Statement stmtStateMast = null;
    try{
    //Get state details
    conn = moConnPool.getConnection();
    stmtStateMast = conn.createStatement();
    String msStateMastQuery = "select csm_state_code,
    csm_state_name from cms_state_mast where
    csm_cntry_code = " + this.miCountryCode + "order by
    csm_state_name";
    moLogFile.writeToLog(CLASS_NAME,35,msStateMastQuery);
    rsStateMast =
    stmtStateMast.executeQuery(msStateMastQuery);
    returnRSStateMast = rsStateMast;
    // stmtStateMast.close();
    if (returnRSStateMast != null){
    return stmtStateMast;
    }//end of if
    }//end of try
    catch(SQLException sqe){
    throw new CMSException("Some SQL Exception occured " +
    sqe.toString(),sqe);
    }//end of catch
    finally{
    moConnPool.free(conn);
    return stmtStateMast;
    }//end of finally
    }//end of getStates
    Above is the function I am using
    I realise that my problem would be solved if I pass
    Statement to or from the function .Yes, you should close the statement. I used to have the same problem, and close the statement can fix it.
    >
    But the problem is the I am more than halfway through
    the project and the chaging all functions in the above
    manner will be too time consuming . Is there no other
    solution ? . Why does the getStatement() method in
    ResultSet give a "method not supported Exception".
    Also will the statement obj in the called function be
    eligible for garbage collection ? Because that will
    close my ResultSet.
    Afraid not, as connection object may hold a reference to it, and connection objects are in a pool, so the statement object will be there as long as the connection object's there.
    >
    I have already increased the limit of open cursors.
    What I want to know is ,whether closing all resultSets
    will sufficient for closing the open_cursors in Oracle
    or is it necessary to close all statements to close
    the open_cursors.
    Well, I don't know the inside code, but, as I experienced, the problem is you openned too many statement (conn.createStatement()), because you are using a connection pool, you may re-use a connection object many times, this is kind of like this:
    conn.createStatement();
    conn.createStatement();
    ..//a lot of themso you opened too many statement, and I suspect this is the problem according to my testing.
    In short whether cursors are related to statements or
    are they related to Resultsets.
    If you close the statement, the result set of it will be closed as well, but I don't think close result set could close statement.
    Also I want to know why are my resultSets and
    statements not getting garbage collected.Because if
    they would get Garbage collected then they would get
    closed ,and thus the open_cursors would be closed
    too.
    As I mentioned above, because you're using a connection pool, and unless you explicitly close statement object, its reference my be hold by the connection object and won't be garbage collected.
    But then if the statement in the called func gets
    garbage collected while the resultSet object is still
    in use , then the resultSet would become null and a
    null pointer Exception will be thrown.
    The statement is still there.
    Considering all this, do you feel it is mandatory for
    me to pass statements between the functions ? or is
    there any other awy out?
    Usually, you should return a collection (like HashTable or Vector etc.) instead of the result set, so, you can have one point control over the statement and result set object. But in you case, you have to track each statement object and close it.
    Also why am i getting an "operation not allowed"
    exception when I try to use the function
    rs.getStatement() in order to get the parent statement
    so that it can be closed in the calling function.
    This is not supported, at least in the libarary you're using.

  • Issues with Oracle VM Server 3.2.2

    We're beginning to use Oracle VM Server 3.2.2 but we're having several different issues. Any help would be appreciated
    1) Attempting to start a VM, the VM doesn't always start correctly. Console is giving us the following (when using xm create):
    --- 8< cut >8 ---
    PCI: Warning: Cannot find a gap in the 32bit address range
    PCI: Unassigned devices with 32bit resource registers may break!
    i8042: No controller found
    drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
    G
    --- 8< cut >8 ---
    At this point, the VM hangs and doesn't go any further.
    If we use "xl create" we get a different set of messages:
    --- 8< cut >8 ---
    xc: error: do_evtchn_op: HYPERVISOR_event_channel_op failed: -1: Internal error
    xc: error: do_evtchn_op: HYPERVISOR_event_channel_op failed: -1: Internal error
    xc: error: panic: xc_dom_boot.c:159: xc_dom_boot_mem_init: can't allocate low memory for domain: Out of memory
    libxl: error: libxl_dom.c:207:libxl__build_pv xc_dom_boot_mem_init failed: No such process
    cannot (re-)build domain: -3
    libxl: error: libxl.c:711:libxl_domain_destroy non-existant domain 94
    --- 8< cut >8 ---
    It's odd that we're getting Out of memory errors as these systems have 192gb of ram and at the time have 180gb or so free.
    total_memory : 196582
    free_memory : 185336
    2) When the VM does finally start, it's unable to restart gracefully. From /var/log/xen/xend.log we're seeing a message saying the system restarted too fast if we reboot it within a minute:
    --- 8< cut >8 ---
    [2013-06-03 18:16:23 4471] ERROR (XendDomainInfo:2265) VM XXXXXXXXX restarting too fast (Elapsed time: 41.631991 seconds). Refusing to restart to avoid loops.
    --- 8< cut >8 ---
    We've never had this before using previous versions of Oracle VM Server, but this was back in Xen 3 days. Is this time a tunable anywhere?
    If the system has been up for a bit and we reboot we get this error:
    --- 8< cut >8 ---
    [2013-06-03 18:52:59 4471] INFO (XendDomainInfo:2148) Domain has shutdown: name=nc1-ma-np-yum id=108 reason=reboot.
    [2013-06-03 18:52:59 4471] DEBUG (XendDomainInfo:3145) XendDomainInfo.destroy: domid=108
    [2013-06-03 18:52:59 4471] DEBUG (XendDomainInfo:1951) XendDomainInfo.handleShutdownWatch
    [2013-06-03 18:53:00 4471] DEBUG (XendDomainInfo:2473) Destroying device model
    [2013-06-03 18:53:00 4471] DEBUG (XendDomainInfo:2480) Releasing devices
    [2013-06-03 18:53:00 4471] DEBUG (XendDomainInfo:128) XendDomainInfo.create_from_dict({'vcpus_params': {}, 'PV_args': '', 'features': '', 'cpus': [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159], [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159]], 'paused': 0, 'domid': 108, 'shutdown': 0, 'superpages': 0, 'VCPUs_live': 1, 'PV_bootloader': '', 'PV_bootloader_args': '', 'actions_after_crash': 'restart', 'vbd_refs': [], 'PV_ramdisk': '', 'memory_dynamic_min': 2147483648L, 'name_label': 'nc1-ma-np-yum', 'VCPUs_at_startup': 1, 'HVM_boot_params': {}, 'platform': {'tsc_mode': 0, 'nomigrate': 0}, 'PV_kernel': '', 'console_refs': ['e77fed2f-3447-b1a3-73a7-d0d69a00f4e9'], 'online_vcpus': 1, 'acpi_s3': 0, 'blocked': 0, 'acpi_s4': 0, 'on_xend_stop': 'ignore', 'pool_name': 'Pool-0', 'memory_static_min': 0, 'HVM_boot_policy': '', 'description': '', 'shutdown_reason': 1, 'VCPUs_max': 2, 'start_time': 1370284783.6600001, 'memory_static_max': 2148532224L, 'expose_host_uuid': 0, 'actions_after_shutdown': 'destroy', 'crashed': 0, 'memory_dynamic_max': 2147483648L, 'actions_after_suspend': '', 'is_a_template': False, 'cpu_time': 9.7732988130000003, 'is_control_domain': False, 'uuid': '92ee0de0-f6fe-49e0-be0c-a18d1a4a233b', 'memory_sharing': 0, 'shadow_memory': 0, 'target': 0, 'vcpu_avail': 3, 'on_xend_start': 'ignore', 'other_config': {}, 'auto_power_on': False, 'running': 0, 'actions_after_reboot': 'restart', 'vif_refs': [], 'vtpm_refs': [], 'devices': {'e77fed2f-3447-b1a3-73a7-d0d69a00f4e9': ('console', {'other_config': {}, 'protocol': 'vt100', 'uuid': 'e77fed2f-3447-b1a3-73a7-d0d69a00f4e9', 'location': '2'})}, 'dying': 0})
    [2013-06-03 18:53:00 4471] DEBUG (XendDomainInfo:2570) XendDomainInfo.constructDomain
    [2013-06-03 18:53:00 4471] DEBUG (XendDomain:476) Adding Domain: 109
    [2013-06-03 18:53:00 4471] DEBUG (XendDomainInfo:2908) XendDomainInfo.initDomain: 109 256
    [2013-06-03 18:53:00 4471] ERROR (XendDomainInfo:3318) Had a bootloader specified, but no disks are bootable
    [2013-06-03 18:53:00 4471] ERROR (XendDomainInfo:496) VM start failed
    Traceback (most recent call last):
    File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 482, in start
    XendTask.log_progress(31, 60, self._initDomain)
    File "/usr/lib64/python2.4/site-packages/xen/xend/XendTask.py", line 209, in log_progress
    retval = func(*args, **kwds)
    File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2910, in _initDomain
    self._configureBootloader()
    File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 3319, in _configureBootloader
    raise VmError(msg)
    VmError: Had a bootloader specified, but no disks are bootable
    [2013-06-03 18:53:00 4471] DEBUG (XendDomainInfo:3145) XendDomainInfo.destroy: domid=109
    [2013-06-03 18:53:00 4471] DEBUG (XendDomainInfo:2478) No device model
    [2013-06-03 18:53:00 4471] DEBUG (XendDomainInfo:2480) Releasing devices
    [2013-06-03 18:53:00 4471] ERROR (XendDomainInfo:133) Domain construction failed
    Traceback (most recent call last):
    File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 131, in create_from_dict
    vm.start()
    File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 482, in start
    XendTask.log_progress(31, 60, self._initDomain)
    File "/usr/lib64/python2.4/site-packages/xen/xend/XendTask.py", line 209, in log_progress
    retval = func(*args, **kwds)
    File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2910, in _initDomain
    self._configureBootloader()
    File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 3319, in _configureBootloader
    raise VmError(msg)
    VmError: Had a bootloader specified, but no disks are bootable
    [2013-06-03 18:53:00 4471] ERROR (XendDomainInfo:2304) Failed to restart domain 108.
    Traceback (most recent call last):
    File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2286, in _restart
    new_dom = XendDomain.instance().domain_create_from_dict(
    File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 1017, in domain_create_from_dict
    dominfo = XendDomainInfo.create_from_dict(config_dict)
    File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 131, in create_from_dict
    vm.start()
    File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 482, in start
    XendTask.log_progress(31, 60, self._initDomain)
    File "/usr/lib64/python2.4/site-packages/xen/xend/XendTask.py", line 209, in log_progress
    retval = func(*args, **kwds)
    File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2910, in _initDomain
    self._configureBootloader()
    File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 3319, in _configureBootloader
    raise VmError(msg)
    VmError: Had a bootloader specified, but no disks are bootable
    --- 8< cut >8 ---
    So definitely, any help would be appreciated.
    Mel

    This issue related to hardware of Oracle VM Servers installed on, please check hardware requirement in OVM 3.2.3 document again.
    Best wishes,
    Heng
    Edited by: Vandy_Kh on Jun 3, 2013 7:46 PM

  • Problem with RollBack in  Oracle Batching

    Hi all,
    This is Adhil. I am facing a problem with Oracle Batching in java.
    I am using java 1.5 and Oracle 10 g.
    I have a below standalone code to test the Oracle Batching (Assume that i have the 2 tables with zero records ).
    with the batch size set as 10, I am trying add 2 records in each table.
    Now I rise divideByZero error exception manually and trying to rollback the connection in catch statement . But couldn't rollback the connection. I see the 2 records added in both of my tables.
    The same code when i set the batchsize 2 and trying to insert 10 records ,I could rollback and no rows get inserted.
    Since I am going to get the no of insert from user in runtime , my rollback may fail in any combinations as in my first case(with batch size 10 and if the no of insert is 2).
    import java.io.*;
    import java.util.*;
    import java.sql.*;
    import oracle.jdbc.*;
    public class BatchTest{
         public static void main(String args[]) throws Exception{
              Connection conn = null;
              conn = new BatchTest().createConnection();
              new BatchTest().insertdata(conn);
         public Connection createConnection() throws Exception{
                   Properties props =new Properties();
                   props.load(ClassLoader.getSystemResourceAsStream("connection.properties"));
                   String connectionString = (String)props.get("connection");
                   String username = (String)props.get("username");
                   String password = (String)props.get("password");
                   Class.forName("oracle.jdbc.driver.OracleDriver");
                   Connection connection = DriverManager.getConnection(connectionString, username, password);
                   return connection;
         public void insertdata(Connection dbConnection){
              PreparedStatement psCnt =null;
              PreparedStatement psImp =null;
              try{
              dbConnection.setAutoCommit(false);
              psCnt = dbConnection.prepareStatement("insert into CHKCNT values (?,?)");
              psImp = dbConnection.prepareStatement("insert into CHKIMP values (?,?)");
              ((OraclePreparedStatement)psCnt).setExecuteBatch (10);
              ((OraclePreparedStatement)psImp).setExecuteBatch (10);
              int x=0;
              for(int i=1;i<=2;i++){
                        psCnt.setInt(1,i);
                        psCnt.setString(2,"Jack");
                        psImp.setInt(1,i);
                        psImp.setString(2,"John");
                        psImp.executeUpdate();
                        psCnt.executeUpdate();
              if(true) x=10/0;
              dbConnection.commit();
              }catch(Exception e){
                   try{
                   dbConnection.rollback();
                   dbConnection.close();
                   }catch(Exception ex){
                   e.printStackTrace();
              }finally{
                   try{
                        psCnt.close();
                   }catch(Exception ee){
                   ee.printStackTrace();
    Can anyone suggest me a way to make my rollback work.
    Thanks in advance.
    -adhil.J

    Hi all,
    This is Adhil. I am facing a problem with Oracle Batching in java.
    I am using java 1.5 and Oracle 10 g.
    I have a below standalone code to test the Oracle Batching (Assume that i have the 2 tables with zero records ).
    with the batch size set as 10, I am trying add 2 records in each table.
    Now I rise divideByZero error exception manually and trying to rollback the connection in catch statement . But couldn't rollback the connection. I see the 2 records added in both of my tables.
    The same code when i set the batchsize 2 and trying to insert 10 records ,I could rollback and no rows get inserted.
    Since I am going to get the no of insert from user in runtime , my rollback may fail in any combinations as in my first case(with batch size 10 and if the no of insert is 2).
    import java.io.*;
    import java.util.*;
    import java.sql.*;
    import oracle.jdbc.*;
    public class BatchTest{
         public static void main(String args[]) throws Exception{
              Connection conn = null;
              conn = new BatchTest().createConnection();
              new BatchTest().insertdata(conn);
         public Connection createConnection() throws Exception{
                   Properties props =new Properties();
                   props.load(ClassLoader.getSystemResourceAsStream("connection.properties"));
                   String connectionString = (String)props.get("connection");
                   String username = (String)props.get("username");
                   String password = (String)props.get("password");
                   Class.forName("oracle.jdbc.driver.OracleDriver");
                   Connection connection = DriverManager.getConnection(connectionString, username, password);
                   return connection;
         public void insertdata(Connection dbConnection){
              PreparedStatement psCnt =null;
              PreparedStatement psImp =null;
              try{
              dbConnection.setAutoCommit(false);
              psCnt = dbConnection.prepareStatement("insert into CHKCNT values (?,?)");
              psImp = dbConnection.prepareStatement("insert into CHKIMP values (?,?)");
              ((OraclePreparedStatement)psCnt).setExecuteBatch (10);
              ((OraclePreparedStatement)psImp).setExecuteBatch (10);
              int x=0;
              for(int i=1;i<=2;i++){
                        psCnt.setInt(1,i);
                        psCnt.setString(2,"Jack");
                        psImp.setInt(1,i);
                        psImp.setString(2,"John");
                        psImp.executeUpdate();
                        psCnt.executeUpdate();
              if(true) x=10/0;
              dbConnection.commit();
              }catch(Exception e){
                   try{
                   dbConnection.rollback();
                   dbConnection.close();
                   }catch(Exception ex){
                   e.printStackTrace();
              }finally{
                   try{
                        psCnt.close();
                   }catch(Exception ee){
                   ee.printStackTrace();
    Can anyone suggest me a way to make my rollback work.
    Thanks in advance.
    -adhil.J

  • Unable to start Oracle Reports Server for 10g version 10.1.2.3.0

    Attention Oracle Reports Team or anyone else:
    I am unable to start the Oracle Reports Server for 10g version 10.1.2.3.0 of the Application Server.
    I have included the trace files see below. I marked the text in bold that might indicate the issues.
    Any help will be greatly appreciated. Thank you.
    Reports engine rwEng trace file:+
    [2010/7/8 10:11:51:626] Debug 50103 (RWEngine:init): args[0]=name=rwEng-0
    [2010/7/8 10:11:51:627] Debug 50103 (RWEngine:init): args[1]=server=myreportserver
    [2010/7/8 10:11:51:627] Debug 50103 (RWEngine:init): args[2]=ORACLE_HOME=/myoraclehomepath
    [2010/7/8 10:11:51:627] Debug 50103 (RWEngine:init): args[3]=engineimplclass=oracle.reports.engine.EngineImpl
    [2010/7/8 10:11:51:627] Debug 50103 (RWEngine:init): args[4]=traceopts=trace_all
    [2010/7/8 10:11:51:628] Debug 50103 (RWEngine:init): args[5]=tracefile=/myoraclehomepath/reports/logs/rwEng-0.trc
    [2010/7/8 10:11:51:628] Debug 50103 (RWEngine:init): args[6]=tracemode=trace_append
    [2010/7/8 10:11:51:628] Debug 50103 (RWEngine:init): args[7]=cacheDir=/myoraclehomepath/reports/cache
    [2010/7/8 10:11:51:628] Debug 50103 (RWEngine:init): args[8]=server_ior="/tmp/myreportserver_xxxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:11:51:678] Info 50128 (RWEngine:init): orb init succeeded
    [2010/7/8 10:11:52:108] Info 55007 (EngineImpl:loadLibrary): Load librw.so succeeded
    [2010/7/8 10:11:52:108] Debug 50103 (EngineImpl:init): useDataCache = null
    [2010/7/8 10:11:52:108] Debug 50103 (EngineImpl:init): ignoreDataParameter = null
    [2010/7/8 10:11:52:115] Debug 50103 (EngineImpl:EngineImpl): start CInitEngine()
    [2010/7/8 10:11:52:115] Debug 50103 (EngineImpl:EngineImpl): commandline[0] = rw
    [2010/7/8 10:11:52:115] Debug 50103 (EngineImpl:EngineImpl): commandline[1] = ora_rw20_3tng
    [2010/7/8 10:11:52:115] Debug 50103 (EngineImpl:EngineImpl): commandline[2] = myreportserver
    [2010/7/8 10:11:52:115] Debug 50103 (EngineImpl:EngineImpl): commandline[3] = /myoraclehomepath/reports/cache
    [2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[4] = null
    [2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[5] = null
    [2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[6] = trace_all
    [2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[7] = /myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc
    [2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[8] = trace_append
    [2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[9] = null
    [2010/7/8 10:11:52:117] Debug 50103 (EngineImpl:EngineImpl): commandline[10] = null
    [2010/7/8 10:11:52:117] Debug 50103 (EngineImpl:EngineImpl): commandline[11] = null
    *[2010/7/8 10:11:58:329] Error 50103 (C Engine): 10:11:58 ERR REP-3000: Internal error starting Oracle Toolkit.*
    *[2010/7/8 10:11:58:329] Error 50103 (C Engine): 10:11:58 ERR REP-3000: Internal error starting Oracle Toolkit.*
    [2010/7/8 10:11:58:330] (C Engine)
    [2010/7/8 10:11:58:330] (C Engine)
                   | Reports Builder Profiler statistics |
    [2010/7/8 10:11:58:330] (C Engine)
    [2010/7/8 10:11:58:330] (C Engine)
    TOTAL ELAPSED Time: 6.06 seconds
    [2010/7/8 10:11:58:331] (C Engine)
    Reports Time: 6.06 seconds
    [2010/7/8 10:11:58:331] (C Engine) (100.00% of TOTAL)
    [2010/7/8 10:11:58:331] (C Engine)
    ORACLE Time: 0.00 seconds
    [2010/7/8 10:11:58:331] (C Engine) ( 0.00% of TOTAL)
    [2010/7/8 10:11:58:331] (C Engine)
    UPI: 0.00 seconds
    [2010/7/8 10:11:58:332] (C Engine)
    SQL: 0.00 seconds
    [2010/7/8 10:11:58:332] (C Engine)
    TOTAL CPU Time used by process: 1.08 seconds
    [2010/7/8 10:11:58:340] Debug 50103 (EngineImpl:EngineImpl): CInitEngine returns 3000
    [2010/7/8 10:11:59:129] Debug 50103 (RWEngine:init): args[0]=name=rwEng-0
    [2010/7/8 10:11:59:130] Debug 50103 (RWEngine:init): args[1]=server=myreportserver
    [2010/7/8 10:11:59:130] Debug 50103 (RWEngine:init): args[2]=ORACLE_HOME=/myoraclehomepath
    [2010/7/8 10:11:59:130] Debug 50103 (RWEngine:init): args[3]=engineimplclass=oracle.reports.engine.EngineImpl
    [2010/7/8 10:11:59:130] Debug 50103 (RWEngine:init): args[4]=traceopts=trace_all
    [2010/7/8 10:11:59:131] Debug 50103 (RWEngine:init): args[5]=tracefile=/myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc
    [2010/7/8 10:11:59:131] Debug 50103 (RWEngine:init): args[6]=tracemode=trace_append
    [2010/7/8 10:11:59:131] Debug 50103 (RWEngine:init): args[7]=cacheDir=/myoraclehomepath/reports/cache
    [2010/7/8 10:11:59:131] Debug 50103 (RWEngine:init): args[8]=server_ior="/tmp/myreportserver_xxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:11:59:179] Info 50128 (RWEngine:init): orb init succeeded
    [2010/7/8 10:11:59:593] Info 55007 (EngineImpl:loadLibrary): Load librw.so succeeded
    [2010/7/8 10:11:59:593] Debug 50103 (EngineImpl:init): useDataCache = null
    [2010/7/8 10:11:59:594] Debug 50103 (EngineImpl:init): ignoreDataParameter = null
    [2010/7/8 10:11:59:597] Debug 50103 (EngineImpl:EngineImpl): start CInitEngine()
    [2010/7/8 10:11:59:598] Debug 50103 (EngineImpl:EngineImpl): commandline[0] = rw
    [2010/7/8 10:11:59:598] Debug 50103 (EngineImpl:EngineImpl): commandline[1] = ora_rw20_3tng
    [2010/7/8 10:11:59:598] Debug 50103 (EngineImpl:EngineImpl): commandline[2] = myreportserver
    [2010/7/8 10:11:59:598] Debug 50103 (EngineImpl:EngineImpl): commandline[3] = /myoraclehomepath/reports/cache
    [2010/7/8 10:11:59:598] Debug 50103 (EngineImpl:EngineImpl): commandline[4] = null
    [2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[5] = null
    [2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[6] = trace_all
    [2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[7] = /myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc
    [2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[8] = trace_append
    [2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[9] = null
    [2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[10] = null
    [2010/7/8 10:11:59:600] Debug 50103 (EngineImpl:EngineImpl): commandline[11] = null
    *[2010/7/8 10:12:5:757] Error 50103 (C Engine): 10:12:05 ERR REP-3000: Internal error starting Oracle Toolkit.*
    *[2010/7/8 10:12:5:758] Error 50103 (C Engine): 10:12:05 ERR REP-3000: Internal error starting Oracle Toolkit.*
    [2010/7/8 10:12:5:758] (C Engine)
    [2010/7/8 10:12:5:758] (C Engine)
                   | Reports Builder Profiler statistics |
    [2010/7/8 10:12:5:758] (C Engine)
    [2010/7/8 10:12:5:759] (C Engine)
    TOTAL ELAPSED Time: 6.06 seconds
    [2010/7/8 10:12:5:759] (C Engine)
    Reports Time: 6.06 seconds
    [2010/7/8 10:12:5:759] (C Engine) (100.00% of TOTAL)
    [2010/7/8 10:12:5:759] (C Engine)
    ORACLE Time: 0.00 seconds
    [2010/7/8 10:12:5:760] (C Engine) ( 0.00% of TOTAL)
    [2010/7/8 10:12:5:760] (C Engine)
    UPI: 0.00 seconds
    [2010/7/8 10:12:5:760] (C Engine)
    SQL: 0.00 seconds
    [2010/7/8 10:12:5:760] (C Engine)
    TOTAL CPU Time used by process: 1.01 seconds
    [2010/7/8 10:12:5:769] Debug 50103 (EngineImpl:EngineImpl): CInitEngine returns 3000
    [2010/7/8 10:12:6:475] Debug 50103 (RWEngine:init): args[0]=name=rwEng-0
    [2010/7/8 10:12:6:475] Debug 50103 (RWEngine:init): args[1]=server=myreportserver
    [2010/7/8 10:12:6:475] Debug 50103 (RWEngine:init): args[2]=ORACLE_HOME=/myoraclehomepath
    [2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[3]=engineimplclass=oracle.reports.engine.EngineImpl
    [2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[4]=traceopts=trace_all
    [2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[5]=tracefile=/myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc
    [2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[6]=tracemode=trace_append
    [2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[7]=cacheDir=/myoraclehomepath/reports/cache
    [2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[8]=server_ior="/tmp/myreportserver_xxxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:12:6:523] Info 50128 (RWEngine:init): orb init succeeded
    [2010/7/8 10:12:6:942] Info 55007 (EngineImpl:loadLibrary): Load librw.so succeeded
    [2010/7/8 10:12:6:942] Debug 50103 (EngineImpl:init): useDataCache = null
    [2010/7/8 10:12:6:942] Debug 50103 (EngineImpl:init): ignoreDataParameter = null
    [2010/7/8 10:12:6:946] Debug 50103 (EngineImpl:EngineImpl): start CInitEngine()
    [2010/7/8 10:12:6:946] Debug 50103 (EngineImpl:EngineImpl): commandline[0] = rw
    [2010/7/8 10:12:6:946] Debug 50103 (EngineImpl:EngineImpl): commandline[1] = ora_rw20_3tng
    [2010/7/8 10:12:6:946] Debug 50103 (EngineImpl:EngineImpl): commandline[2] = myreportserver
    [2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[3] = /myoraclehomepath/reports/cache
    [2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[4] = null
    [2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[5] = null
    [2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[6] = trace_all
    [2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[7] = /myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc
    [2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[8] = trace_append
    [2010/7/8 10:12:6:948] Debug 50103 (EngineImpl:EngineImpl): commandline[9] = null
    [2010/7/8 10:12:6:948] Debug 50103 (EngineImpl:EngineImpl): commandline[10] = null
    [2010/7/8 10:12:6:948] Debug 50103 (EngineImpl:EngineImpl): commandline[11] = null
    *[2010/7/8 10:12:13:91] Error 50103 (C Engine): 10:12:13 ERR REP-3000: Internal error starting Oracle Toolkit.*
    *[2010/7/8 10:12:13:91] Error 50103 (C Engine): 10:12:13 ERR REP-3000: Internal error starting Oracle Toolkit.*
    [2010/7/8 10:12:13:91] (C Engine)
    [2010/7/8 10:12:13:92] (C Engine)
                   | Reports Builder Profiler statistics |
    [2010/7/8 10:12:13:92] (C Engine)
    [2010/7/8 10:12:13:92] (C Engine)
    TOTAL ELAPSED Time: 6.05 seconds
    [2010/7/8 10:12:13:92] (C Engine)
    Reports Time: 6.05 seconds
    [2010/7/8 10:12:13:92] (C Engine) (100.00% of TOTAL)
    [2010/7/8 10:12:13:93] (C Engine)
    ORACLE Time: 0.00 seconds
    [2010/7/8 10:12:13:93] (C Engine) ( 0.00% of TOTAL)
    [2010/7/8 10:12:13:93] (C Engine)
    UPI: 0.00 seconds
    [2010/7/8 10:12:13:93] (C Engine)
    SQL: 0.00 seconds
    [2010/7/8 10:12:13:93] (C Engine)
    TOTAL CPU Time used by process: 1.02 seconds
    *[2010/7/8 10:12:13:102] Debug 50103 (EngineImpl:EngineImpl): CInitEngine returns 3000*
    reports engine rwURLEng trace file:+
    *** 2010/7/8 10:11:47:306 -- Reading server config file /myoraclehomepath/reports/conf/myreportserver.conf
    *** 2010/7/8 10:11:47:307 -- <server version="10.1.2.3.0">
    <cache class="oracle.reports.cache.RWCache">
    <property name="cacheSize" value="50"/>
    <!--property name="cacheDir" value="your cache directory"/-->
    <!--property name="maxCacheFileNumber" value="max number of cache files"/-->
    <!--property name="ignoreParameters" value="parameter names to be ignored in constructing cache key, separated by comma ','"/-->
    </cache>
    <!--Please do not change the id for reports engine.-->
    <!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="4" minEngine="1" engLife="50" maxIdle="30" callbackTimeOut="90000">
    <!--property name="sourceDir" value="your reports source directory"/-->
    <!--property name="tempDir" value="your reports temp directory"/-->
    </engine>
    <engine id="rwURLEng" class="oracle.reports.urlengine.URLEngineImpl" initEngine="1" maxEngine="4" minEngine="1" engLife="50" maxIdle="30" callbackTimeOut="90000"/>
    <!--security id="rwSec" class="oracle.reports.server.RWSecurity">
    <property name="securityUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    <property name="oidEntity" value="reportsApp_myhostname_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"/>
    </security-->
    <!--destination destype="oraclePortal" class="oracle.reports.server.DesOraclePortal">
    <property name="portalUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    </destination-->
    <destination destype="ftp" class="oracle.reports.plugin.destination.ftp.DesFTP">
    <!--property name="proxy" value="proxyinfo.xml"/-->
    </destination>
    <destination destype="WebDav" class="oracle.reports.plugin.destination.webdav.DesWebDAV">
    <!--property name="proxy" value="proxyinfo.xml"/-->
    </destination>
    <!-- By default server will use rwnetwork.conf as network config file
    Use this element to override the same -->
    <!--networkConfig file="rwnetwork.conf"></networkConfig-->
    <job jobType="report" engineId="rwEng" securityId="rwSec"/>
    <job jobType="rwurl" engineId="rwURLEng" securityId="rwSec"/>
    <notification id="mailNotify" class="oracle.reports.server.MailNotify">
    <property name="succnotefile" value="succnote.txt"/>
    <property name="failnotefile" value="failnote.txt"/>
    </notification>
    <!--notification id="wfNotify" class="oracle.reports.server.WorkflowNotify">
    <property name="connStr" value="%WF_DB_USERNAME%/%WF_DB_PASSWORD%@%WF_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    </notification-->
    <log option="noJob"/>
    <!--jobStatusRepository class="oracle.reports.server.JobRepositoryDB">
    <property name="repositoryConn" value="repo_db_username/repo_db_password@repo_db_tnsname" confidential="yes" encrypted="no"/>
    </jobStatusRepository-->
    <trace traceOpts="trace_all" traceMode="trace_append"/>
    <connection maxConnect="20" idleTimeOut="15">
    <orbClient id="RWClient" publicKeyFile="clientpub.key"/>
    </connection>
    <queue maxQueueSize="1000"/>
    <!--jobRecovery auxDatFiles="yes"/-->
    <!--
    The value of the 'identifier' element is encrypted and is of the form SERVERACCESSKEY_USER/SERVERACCESSKEY_PASSWORD
    SERVERACCESSKEY_USER and SERVERACCESSKEY_PASSWORD in <server>.conf and targets.xml
    file should match for Reports EM pages to display data correctly.
    Corresponding entries of username and password in targets.xml:
    <Property NAME="Password" VALUE="SERVERACCESSKEY_PASSWORD" ENCRYPTED="FALSE"/>
    <Property NAME="UserName" VALUE="SERVERACCESSKEY_USER" ENCRYPTED="FALSE"/>
    -->
    <!--pluginParam name="mailServer">stmail.oracle.com</pluginParam-->
    <!--pluginParam name="proxy" type="file">proxyinfo.xml</pluginParam-->
    <pluginParam name="xmlpds" type="file">xmlpds.conf</pluginParam>
    <pluginParam name="jdbcpds" type="file">jdbcpds.conf</pluginParam>
    <pluginParam name="textpds" type="file">textpds.conf</pluginParam>
    </server>
    *** 2010/7/8 10:11:47:308 -- Reports Server is starting up
    *** 2010/7/8 10:11:51:982 -- Reports Server started up engine rwURLEng-0
    *** *2010/7/8 10:12:13:175 -- Shutting down engine rwURLEng-0*
    *** *2010/7/8 10:12:13:177 -- Reports Server shut down engine rwURLEng-0*
    *** 2010/7/8 10:12:13:178 -- Server is shutting down
    Why does the rwURLEng engine start up and then immediately shut down?+
    reports server trace file:+
    [2010/7/8 10:11:47:276] Debug 50103 (EnvironmentUtility:getEnvironment): XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
    [2010/7/8 10:11:47:277] Debug 50103 (EnvironmentUtility:getEnvironment): NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
    [2010/7/8 10:11:47:277] Debug 50103 (EnvironmentUtility:getEnvironment): DEBUG_SLFIND=/myapppath/log/mydebuglogfile.log
    [2010/7/8 10:11:47:277] Debug 50103 (EnvironmentUtility:getEnvironment): DISPLAY=myhostname:0.0
    [2010/7/8 10:11:47:277] Debug 50103 (EnvironmentUtility:getEnvironment): LD_LIBRARY_PATH=/myoraclehomepath/jdk/jre/lib/sparc:/myoraclehomepath/lib:/myoraclehomepath/opmn/lib:/myoraclehomepath/lib32
    [2010/7/8 10:11:47:278] Debug 50103 (EnvironmentUtility:getEnvironment): NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    [2010/7/8 10:11:47:278] Debug 50103 (EnvironmentUtility:getEnvironment): ORACLE_CONFIG_HOME=/myoraclehomepath
    [2010/7/8 10:11:47:278] Debug 50103 (EnvironmentUtility:getEnvironment): ORACLE_HOME=/myoraclehomepath
    [2010/7/8 10:11:47:278] Debug 50103 (EnvironmentUtility:getEnvironment): ORA_NLS33=/myoraclehomepath/ocommon/nls/admin/data
    [2010/7/8 10:11:47:283] Debug 50103 (EnvironmentUtility:getEnvironment): PATH=/myoraclehomepath/jdk/bin:/myoraclehomepath/bin:/myoraclehomepath/jdk/bin:/myoraclehomepath/bin:/myoraclehomepath/dcm/bin:/myoraclehomepath/bin:/myoraclehomepath/Apache/Apache/bin:/myoraclehomepath/opmn/bin:/myoraclehomepath/dcm/bin:/bin:/usr/bin:/etc:/usr/ccs/bin:/usr/local/bin:/usr/ucb:/usr/sbin:/export/home/oracle:/usr/bin:/bin
    [2010/7/8 10:11:47:283] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_CLASSPATH=/myoraclehomepath/reports/jlib/rwbuilder.jar:/myoraclehomepath/reports/jlib/rwrun.jar:/myoraclehomepath/jlib/zrclient.jar:/myoraclehomepath/j2ee/home/oc4j.jar:/myoraclehomepath/j2ee/home/lib/ojsp.jar:/myoraclehomepath/reports/jlib/oraclebarcode.jar
    [2010/7/8 10:11:47:283] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_DEFAULT_DISPLAY=NO
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_NO_DUMMY_PRINTER=TRUE
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_PATH=/myapppath/bin:/myapppath/util/bin:/myoraclehomepath/guicommon/tk/admin/TTF:/myoraclehomepath/reports/templates:/myoraclehomepath/reports/samples/demo:/myoraclehomepath/reports/integ:/myoraclehomepath/reports/printers
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_TMP=/tmp
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): RW=/myoraclehomepath/reports
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): SHELL=/usr/bin/ksh
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): TK_DEBUG_POSTSCRIPT=Func/L/Mem
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): TK_ICON=/myoraclehomepath/reports/plugins/resource
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): TMP=/tmp
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): TNS_ADMIN=/myapppath
    [2010/7/8 10:11:47:285] Debug 50103 (EnvironmentUtility:getEnvironment): TZ=US/Eastern
    [2010/7/8 10:11:47:285] Debug 50103 (EnvironmentUtility:getEnvironment): X_LD_LIBRARY_PATH_64=/myoraclehomepath/lib
    [2010/7/8 10:11:47:285] Debug 50103 (EnvironmentUtility:getEnvironment): NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    [2010/7/8 10:11:47:285] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_TMP=/tmp
    [2010/7/8 10:11:47:308] Info 56025 (RWServer:startServer): Reports Server is starting up
    [2010/7/8 10:11:47:503] Debug 50103 (JobManager:start): Using Maximum Job Retry value = 0
    [2010/7/8 10:11:47:526] Info 65000 (Multicast:init): Communication channel initialized
    [2010/7/8 10:11:47:528] Debug 50103 (Multicast:registerReceiver): Packet handler registered
    [2010/7/8 10:11:47:529] Info 50103 (ServerPacketHandler:start): ServerPacketHandler started successfully
    [2010/7/8 10:11:47:532] Info 50103 (RWServer:startServer): Using multicast mechanism
    [2010/7/8 10:11:47:562] Debug 50103 (ServerPacketReceiver:handleRequestPacket): Received packets. Multicast is working
    [2010/7/8 10:11:48:561] Debug 50103 (ServerPacketReceiver:handleRequestPacket): Received packets. Multicast is working
    [2010/7/8 10:11:49:572] Debug 50103 (ServerPacketReceiver:handleRequestPacket): Received packets. Multicast is working
    [2010/7/8 10:11:50:589] Info 56023 (ServerImpl:ServerImpl): Idle thread has been started
    [2010/7/8 10:11:50:691] Info 56020 (EngineManager:spawnEngine): Launching engine rwEng-0
    [2010/7/8 10:11:50:691] Info 50103 (EngineManager:spawnEngine): OS Name = SunOS : OS Arch = sparc
    [2010/7/8 10:11:51:56] Info 50103 (RWLocaleUtility:RWLocaleUtility): Using oracle.i18n.util.LocaleMapper class
    [2010/7/8 10:11:51:58] Debug 50103 (EngineManager:spawnEngine): Start engine command line = /myoraclehomepath/bin/rwengine.sh -server -cp /myoraclehomepath/j2ee/home/lib/ojsp.jar:/myoraclehomepath/reports/jlib/rwrun.jar:/myoraclehomepath/jlib/zrclient.jar -Duser.language=en -Duser.region=US -Xmx256M oracle.reports.engine.RWEngine name=rwEng-0 server=myreportserver ORACLE_HOME=/myoraclehomepath engineimplclass=oracle.reports.engine.EngineImpl traceopts=trace_all tracefile=/myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc tracemode=trace_append cacheDir=/myoraclehomepath/reports/cache server_ior="/tmp/myreportserver_xxxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:11:51:95] Info 56021 (EngineManager:spawnEngine): Engine rwEng-0 has been launched
    [2010/7/8 10:11:51:95] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Initial
    [2010/7/8 10:11:51:97] Info 56020 (EngineManager:spawnEngine): Launching engine rwURLEng-0
    [2010/7/8 10:11:51:98] Info 50103 (EngineManager:spawnEngine): OS Name = SunOS : OS Arch = sparc
    [2010/7/8 10:11:51:99] Debug 50103 (EngineManager:spawnEngine): Start engine command line = /myoraclehomepath/bin/rwengine.sh -server -cp /myoraclehomepath/j2ee/home/lib/ojsp.jar:/myoraclehomepath/reports/jlib/rwrun.jar:/myoraclehomepath/jlib/zrclient.jar -Duser.language=en -Duser.region=US -Xmx256M oracle.reports.engine.RWEngine name=rwURLEng-0 server=myreportserver ORACLE_HOME=/myoraclehomepath engineimplclass=oracle.reports.urlengine.URLEngineImpl traceopts=trace_all tracefile=/myoraclehomepath/reports/logs/myreportserver/rwURLEng-0.trc tracemode=trace_append cacheDir=/myoraclehomepath/reports/cache server_ior="/tmp/myreportserver_xxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:11:51:129] Info 56021 (EngineManager:spawnEngine): Engine rwURLEng-0 has been launched
    [2010/7/8 10:11:51:129] State 56004 (EngineInfo:setState): Engine rwURLEng-0 state is: Initial
    [2010/7/8 10:11:51:131] Debug 50103 (JobStore:writePersistFile): Purge persistent file
    [2010/7/8 10:11:51:169] Debug 50103 (JobStore:writePersistFile): Purge persistent file done
    *[2010/7/8 10:11:51:981] Warning 50103 (EngineManager:registerEngine): REP-55103: API URLEngine:getEngineEnvs not applicable to URL engine*
    [2010/7/8 10:11:51:982] Info 56026 (EngineManager:registerEngine): Reports Server started up engine rwURLEng-0
    [2010/7/8 10:11:51:998] Debug 50103 (EngineManager:updateEngineState): Engine rwURLEng-0 status is 1
    [2010/7/8 10:11:51:998] State 56004 (EngineInfo:setState): Engine rwURLEng-0 state is: Ready
    [2010/7/8 10:11:58:490] Info 50103 (EngineManager:manage): Engine restart count: 1
    [2010/7/8 10:11:58:590] Info 56020 (EngineManager:spawnEngine): Launching engine rwEng-0
    [2010/7/8 10:11:58:590] Info 50103 (EngineManager:spawnEngine): OS Name = SunOS : OS Arch = sparc
    [2010/7/8 10:11:58:592] Debug 50103 (EngineManager:spawnEngine): Start engine command line = /myoraclehomepath/bin/rwengine.sh -server -cp /myoraclehomepath/j2ee/home/lib/ojsp.jar:/myoraclehomepath/reports/jlib/rwrun.jar:/myoraclehomepath/jlib/zrclient.jar -Duser.language=en -Duser.region=US -Xmx256M oracle.reports.engine.RWEngine name=rwEng-0 server=myreportserver ORACLE_HOME=/myoraclehomepath engineimplclass=oracle.reports.engine.EngineImpl traceopts=trace_all tracefile=/myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc tracemode=trace_append cacheDir=/myoraclehomepath/reports/cache server_ior="/tmp/myreportserver_xxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:11:58:623] Info 56021 (EngineManager:spawnEngine): Engine rwEng-0 has been launched
    [2010/7/8 10:11:58:624] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Initial
    [2010/7/8 10:12:5:832] Info 50103 (EngineManager:manage): Engine restart count: 2
    [2010/7/8 10:12:5:932] Info 56020 (EngineManager:spawnEngine): Launching engine rwEng-0
    [2010/7/8 10:12:5:934] Info 50103 (EngineManager:spawnEngine): OS Name = SunOS : OS Arch = sparc
    [2010/7/8 10:12:5:935] Debug 50103 (EngineManager:spawnEngine): Start engine command line = /myoraclehomepath/bin/rwengine.sh -server -cp /myoraclehomepath/j2ee/home/lib/ojsp.jar:/myoraclehomepath/reports/jlib/rwrun.jar:/myoraclehomepath/jlib/zrclient.jar -Duser.language=en -Duser.region=US -Xmx256M oracle.reports.engine.RWEngine name=rwEng-0 server=myreportserver ORACLE_HOME=/myoraclehomepath engineimplclass=oracle.reports.engine.EngineImpl traceopts=trace_all tracefile=/myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc tracemode=trace_append cacheDir=/myoraclehomepath/reports/cache server_ior="/tmp/myreportserver_xxxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:12:5:963] Info 56021 (EngineManager:spawnEngine): Engine rwEng-0 has been launched
    [2010/7/8 10:12:5:964] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Initial
    *[2010/7/8 10:12:13:174] Exception 56105 (): Engine rwEng-0 died with error:*
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
         at oracle.reports.utility.Utility.newRWException(Utility.java:758)
         at oracle.reports.server.EngineManager.manage(EngineManager.java:367)
         at oracle.reports.server.IdleThread.run(IdleThread.java:88)
    *[2010/7/8 10:12:13:175] Info 56029 (EngineManager:shutdownEngine): Shutting down engine rwURLEng-0*
    [2010/7/8 10:12:13:176] State 56004 (EngineInfo:setState): Engine rwURLEng-0 state is: Shutdown
    [2010/7/8 10:12:13:177] Info 56047 (EngineManager:remove): Reports Server shut down engine rwURLEng-0
    [2010/7/8 10:12:13:177] Info 50103 (ServerPacketHandler:stop): Multicastmanager stopped successfully
    [2010/7/8 10:12:13:178] Info 50002 (RWServer:shutdown): Server is shutting down
    [2010/7/8 10:12:13:178] Info 50103 (RWServer:startServer): Notify thread to exit
    Why does the trace file indicate that the rwEng engine died with error?+
    Again why does the rwURLEng engine start up and then immediately shut down?+
    Thank you for your help on this issue.+

    OK, I did this once and did not follow the oracle docs
    If you saved your targets.xml before you started you might save it by renaming it back.
    (Double check to make sure you did not miss a rename)
    Otherwise, all I have to offer is my rough notes:
    1. Backup the file $ORACLE_HOME/sysman/emd/targets.xml.
    [oracle@ias02 emd]$ pwd
    /u01/app/oracle/product/midtier/sysman/emd
    cp targets.xml targets.xmlbackup
    2. Modify the file targets.xml by changing all the occurrences of the wrong reports server name by the correct one.
    i.e. Replace rep_test_midtier with rep_new (4 places - changes)
    Copy the conf file as follows: ( this will named different from system to system )
    cp /u01/app/oracle/product/midtier/reports/conf/rep_pia_oracleas.conf /u01/app/oracle/product/midtier/reports/conf/rep_fam.conf
    run this script:
    /u01/app/oracle/product/midtier/bin/addNewServerTarget.sh rep_fam          (change rep_fam to new report server name)
    3.Update the changed configuration .
    /u01/app/oracle/product/midtier/dcm/bin/dcmctl updateconfig -ct opmn -v -d
    /u01/app/oracle/product/midtier/dcm/bin/dcmctl resyncinstance -v -d
    4. Restart the Application Server Control Console
    /u01/app/oracle/product/midtier/bin/emctl stop iasconsole
    /u01/app/oracle/product/midtier/bin/emctl start iasconsole
    In the file:
    /u01/app/oracle/product/midtier/reports/config/reportsConfig.properties
    Change the Reports_Server_Name setting from rep_test_midtier to rep_fam (change rep_fam to new report server name)
    Best Wishes (I was able to save mime)
    The other option is to reinstall

  • Pool Master server failover  issue in Oracle VM 2.2.1

    Hello All , We are new to oracle VM world. Sorry about detailed explanation.
    Our current configuration is, server1-poolmaster/utility/VM server & Server2-utility/VM server
    We have guest-VM running on both servers, and serverpool-VIP is configured properly. Below is our OVS-version.
    #rpm -qa | grep -i ovs
    oracle-logos-4.9.17-7ovs
    enterprise-linux-ovs-5-1.0
    ovs-release-2.2-1.0
    ovs-utils-1.0-34
    kernel-ovs-2.6.18-128.2.1.4.25.el5
    ovs-agent-2.3-42
    When we tested HA failover(shutting down server1), it work fine as expected. Pool master moved from server1 to server2, and guest VM restarted on server-2(which was running on server1 earlier).
    Now-- Pool master is server2.
    When we shutdown server2 now, pool master is not migrated to server1 & the guest-VMs(running on server 2) all went to power-off mode & serverpool is "inactive status'.
    Found below error in server1's /var/log/messages.. It seems like some 'dead-lock situation, and the serverpool-VIP is not moved from server2 to server1, until server2 came up online". Why is it so? The expected result should be "pool-master" & serverpool-VIP should moved to server1, but it didnt.
    Anyone experienced this? Any help/ input is appreciated.
    log file from server1's /var/log/ovs-agent/ovs_remaster.log
    2011-01-14 01:47:56 INFO=> run(): release_master_dlm_lock ...
    2011-01-14 01:48:02 INFO=> run(): release_master_dlm_lock ...
    2011-01-14 01:48:08 INFO=> run(): release_master_dlm_lock ...
    2011-01-14 01:48:14 INFO=> run(): release_master_dlm_lock ...
    2011-01-14 01:48:20 INFO=> run(): release_master_dlm_lock ...
    2011-01-14 01:48:26 INFO=> run(): release_master_dlm_lock ...
    ***** At this time its waiting to release the server pool-VIP on server 2
    *** Once server2 came online, serverpool-VIP released and taken by server1***
    2011-01-14 01:54:11 INFO=> cluster_get_next_master: => {"status": "SUCC", "value": "10.24.60.41"}
    2011-01-14 01:54:11 INFO=> run(): cluster_get_next_master: => {"status": "SUCC", "value": "10.24.60.41"}
    2011-01-14 01:54:13 INFO=> run(): clusterm_setup_master_env: => {"status": "SUCC"}
    2011-01-14 01:54:20 INFO=> run(): i am the new master. vip=10.24.60.45
    truncated logs from server1's /var/log/messages
    Jan 14 01:46:40 fwblade1 kernel: ocfs2_dlm: Node 1 leaves domain 70FFE4CF84634F5DB61BEA66E04693A7
    Jan 14 01:46:40 fwblade1 kernel: ocfs2_dlm: Nodes in domain ("70FFE4CF84634F5DB61BEA66E04693A7"): 0
    Jan 14 01:47:59 fwblade1 kernel: ocfs2_dlm: Node 1 leaves domain ovm
    Jan 14 01:47:59 fwblade1 kernel: ocfs2_dlm: Nodes in domain ("ovm"): 0
    Jan 14 01:48:55 fwblade1 kernel: o2net: connection to node fwblade2.wg.kns.com (num 1) at 10.24.60.42:7777 has been idle for 30.0 second
    s, shutting it down.
    Jan 14 01:48:55 fwblade1 kernel: (0,0):o2net_idle_timer:1503 here are some times that might help debug the situation: (tmr 1294987705.66
    5702 now 1294987735.663612 dr 1294987705.665695 adv 1294987705.665724:1294987705.665725 func (53ed487f:505) 1294987705.665424:1294987705
    .665428)
    Jan 14 01:48:55 fwblade1 kernel: o2net: no longer connected to node fwblade2.wg.kns.com (num 1) at 10.24.60.42:7777
    Jan 14 01:48:55 fwblade1 kernel: (5190,0):dlm_send_remote_lock_request:333 ERROR: status = -112
    Jan 14 01:48:55 fwblade1 kernel: (5186,2):dlm_send_remote_lock_request:333 ERROR: status = -107
    Jan 14 01:48:55 fwblade1 kernel: (5190,0):dlm_send_remote_lock_request:333 ERROR: status = -107
    Jan 14 01:48:55 fwblade1 kernel: (5186,2):dlm_send_remote_lock_request:333 ERROR: status = -107
    ** the above messages is repeated till server1 came online ***
    Jan 14 01:48:57 fwblade1 kernel: (4694,2):dlm_drop_lockres_ref:2211 ERROR: status = -107
    Jan 14 01:48:57 fwblade1 kernel: (4694,2):dlm_purge_lockres:206 ERROR: status = -107
    Jan 14 01:48:57 fwblade1 kernel: (4694,2):dlm_drop_lockres_ref:2211 ERROR: status = -107
    Jan 14 01:48:57 fwblade1 kernel: (4694,2):dlm_purge_lockres:206 ERROR: status = -107
    Jan 14 01:49:30 fwblade1 kernel: (4651,0):ocfs2_dlm_eviction_cb:98 device (253,0): dlm has evicted node 1
    Jan 14 01:49:30 fwblade1 kernel: (32373,0):dlm_get_lock_resource:844 78CD07B6D4C34CEAB756BF56E6D9C561:M00000000000000000002182aa14db5: a
    t least one node (1) to recover before lock mastery can begin
    ** Still no sign of server1 taking up the serverpool-VIP, all the guest-VM are still power-off status***
    Jan 14 01:49:35 fwblade1 kernel: (4695,0):dlm_get_lock_resource:844 78CD07B6D4C34CEAB756BF56E6D9C561:$RECOVERY: at least one node (1) to
    recover before lock mastery can begin
    Jan 14 01:49:35 fwblade1 kernel: (4695,0):dlm_get_lock_resource:878 78CD07B6D4C34CEAB756BF56E6D9C561: recovery map is not empty, but mus
    t master $RECOVERY lock now
    Jan 14 01:49:35 fwblade1 kernel: (4695,0):dlm_do_recovery:524 (4695) Node 0 is the Recovery Master for the Dead Node 1 for Domain 78CD07
    B6D4C34CEAB756BF56E6D9C561
    ** still no luck.. all guest VM are down***
    Jan 14 01:53:59 fwblade1 kernel: (5186,1):dlm_send_remote_lock_request:333 ERROR: status = -92
    Jan 14 01:53:59 fwblade1 kernel: (5190,10):dlm_send_remote_lock_request:333 ERROR: status = -92
    Jan 14 01:53:59 fwblade1 kernel: (5186,1):dlm_send_remote_lock_request:333 ERROR: status = -92
    Jan 14 01:53:59 fwblade1 kernel: (5190,10):dlm_send_remote_lock_request:333 ERROR: status = -92
    Jan 14 01:53:59 fwblade1 kernel: (5186,1):dlm_send_remote_lock_request:333 ERROR: status = -92
    Jan 14 01:54:00 fwblade1 kernel: (5190,10):dlm_send_remote_lock_request:333 ERROR: status = -92
    Jan 14 01:54:00 fwblade1 kernel: (5186,1):dlm_send_remote_lock_request:333 ERROR: status = -92
    Jan 14 01:54:00 fwblade1 kernel: ocfs2_dlm: Node 1 joins domain 78CD07B6D4C34CEAB756BF56E6D9C561
    Jan 14 01:54:00 fwblade1 kernel: ocfs2_dlm: Nodes in domain ("78CD07B6D4C34CEAB756BF56E6D9C561"): 0 1
    Jan 14 01:54:00 fwblade1 kernel: (5190,10):dlmlock_remote:269 ERROR: dlm status = DLM_IVLOCKID
    Jan 14 01:54:00 fwblade1 kernel: (5190,10):dlmlock:747 ERROR: dlm status = DLM_IVLOCKID
    Jan 14 01:54:00 fwblade1 kernel: (5190,10):ocfs2_lock_create:997 ERROR: DLM error DLM_IVLOCKID while calling dlmlock on resource F000000
    000000000000a50dd279960c: bad lockid
    Jan 14 01:54:00 fwblade1 kernel: (5190,10):ocfs2_file_lock:1584 ERROR: status = -22
    Jan 14 01:54:00 fwblade1 kernel: (5190,10):ocfs2_do_flock:79 ERROR: status = -22
    Jan 14 01:54:00 fwblade1 kernel: (5186,1):dlmlock_remote:269 ERROR: dlm status = DLM_IVLOCKID
    Jan 14 01:54:00 fwblade1 kernel: (5186,1):dlmlock:747 ERROR: dlm status = DLM_IVLOCKID
    Jan 14 01:54:00 fwblade1 kernel: (5186,1):ocfs2_lock_create:997 ERROR: DLM error DLM_IVLOCKID while calling dlmlock on resource F0000000
    00000000000a50dd279960c: bad lockid
    Jan 14 01:54:00 fwblade1 kernel: (5186,1):ocfs2_file_lock:1584 ERROR: status = -22
    Jan 14 01:54:00 fwblade1 kernel: (5186,1):ocfs2_do_flock:79 ERROR: status = -22
    Jan 14 01:54:05 fwblade1 kernel: ocfs2_dlm: Node 1 joins domain 70FFE4CF84634F5DB61BEA66E04693A7
    Jan 14 01:54:05 fwblade1 kernel: ocfs2_dlm: Nodes in domain ("70FFE4CF84634F5DB61BEA66E04693A7"): 0 1
    ** Now server2 came online(old pool-master) and server-pool-VIP is moved to server1.** All guest-VM are restarted on SERVER2 itself.
    Thanks
    Prakash

    You might be running into a OCFS2 bug. Check the bug list for bug 1099
    http://oss.oracle.com/bugzilla/show_bug.cgi?id=1099
    also related to this subject might be bug 1095 and 1080. You might want to check with the OCFS2 guys at Oracle and participate in resolving this bug. Not sure this is the case however I think this is a good starting point.
    Please keep us posted.
    Regards,
    Johan Louwers.

  • How to Oracle Database Function in OBIEE Administration Tool

    Hi All,
    I want to use a Oracle Database Function in as a column in OBIEE (BM, Presentation Model). Can anybody has done this inOBIEE. Any pointers to this is much appreicated.
    Thanks,

    Hi user7417334,
    You cannot use any formulas in the presentation layer (not that I know of). But you can definitely use oracle database functions in the BMM layer.
    You want to use the EVALUATE function. It works like this:
    e.x. EVALUATE( 'TO_DATE(%1,%2)' AS DATE, '12/31/2009', 'MM/DD/YYYY')
    Generic Version: EVALUATE( '<FUNC>' AS <DATATYPE>, VALUE1,VALUE2,etc)
    FUNC) Is the syntax for the function you are calling. Any parameters have to be replaced by %<number>, where number refers to the order in which you specify your parameters.
    DATATYPE) The datatype that the function will evaluate to. In this case, DATE.
    VALUE1) The latter part of the formula is a comma separated list of all the parameters used in the function. In this case, it's the date I want to cast
    VALUE2) This is the second parameter. You need as many as you referenced in your function. In this case, it's the date format.
    Good luck and if you found this post useful, please award points!
    best regards,
    -Joe

  • Oracle Batch update problem

    Hi,
    I have a queer problem with batch inserts in oracle, loaded on a sun solaris m/c.
    I'm trying to do a batch insert using the executeBatch() api of java.
    I am able to do batch insertions from my workstation i.e win2k properly . But i'm unable to do so when i run the program on the sun solaris m/c.(The data base is the same)
    Since the JVMs are different i have a feeling it could be the oracle JVM that is giving the problem.
    Please advice me as to how i can overcome this.

    I am having the same problem with a 9i installation on Win2k. My code works fine when run in the Sun JVM on a client. When I try to executeBatch in the Oracle JVM, I get "java.sql.BatchUpdateException: Internal Error: oracle.jdbc.kprb.KprbDBStatement".
    I am using what I thought was the standard preparedStatement.addBatch() and preparedStatement.executeBatch() APIs.
    I see in the SetExecuteBatch.java example the use of connection.setDefaultExecuteBatch(int) and preparedStatement.executeUpdate(). Is this usage required when running in the Oracle JVM? What if I set my batch size to 10000 but I only have 9000 rows in the last set -- how do I force the batch to execute on the smaller set?

  • Calling a pl/sql function from oracle forms

    I have written a pl/sql function in a package.
    package name- sup
    function name - func
    I have written a when-button-pressed trigger .from here I want to call this function.
    How can I do that?
    Please help..

    Thanks a lot..
    User may select 20-30 check boxes for respective name & id...then at the end , user will hit OK...from here when-button-click will call a procedure....that will update/insert/delete a table data.The procedure I have written is:-
    DECLARE
    N_CNT Number(1);
    D_SYSDATE Constant date :=sysdate;
    Begin
    select count(1)
    into N_CNT
    from dbtable L
    where L.land_id = :BLK1.LAND_ID and
    L.Operatoer_id = :BLK1.Operatoer_id and
    L.suppl_id = :BLK1.suppl_id and
    L.suppl_prof_id = :BLK1.suppl_prof_id;
    if ((N_CNT = 0) and (:LANDLISTE.state = 'A')) then
    insert into dbtable
    LAND_ID,
    STATE,
    suppl_prof_id,
    suppl_id,
    OPERATOER_ID,
    SIDST_OPD_DATO,
    SIDST_OPD_INIT
    values
    :BLK1.LAND_ID,
    'Y',
    :BLK1.suppl_prof_id,
    :BLK1.suppl_id,
    :BLK1.Operatoer_id,
    D_SYSDATE,
    :BLK1.SIDST_OPD_INIT
    elseif
    ((N_CNT>0 )and (:LANDLISTE.state = 'A')) then
    update dbtable L
    set L.SIDST_OPD_DATO = D_SYSDATE,
    L.SIDST_OPD_INIT = :BLK1.SIDST_OPD_INIT
    where L.land_id = :BLK1.LAND_ID and
    L.Operatoer_id = :BLK1.Operatoer_id and
    L.suppl_id = :BLK1.suppl_id and
    L.suppl_prof_id = :BLK1.suppl_prof_id;
    elseif ((N_CNT>0 ) and (:LANDLISTE.state = 'D')) then
    delete from dbtable L
    where L.land_id = :BLK1.LAND_ID and
    L.Operatoer_id = :BLK1.Operatoer_id and
    L.suppl_id = :BLK1.suppl_id and
    L.suppl_prof_id = :BLK1.suppl_prof_id;
    end if;
    end;
    Will it be able to load multiple data(20-30 at a time) to the table?
    Should I write anything to commit the data in the table?
    I am very new to oracle forms...please help..

  • Oracle 10g Database conflicts with HTMLDB

    Hai all,
    I have encountered a strange conflict when I am trying to work out with Oracle 10g database and the famous HTML DB.
    It is like this:
    I have a 10g DB installed and an ASP application that works on this 10g instance via "Microsoft ODBC driver for oracle" perfectly.
    Now I have downloaded and installed the 10g Companion CD and installed the HTML DB 1.5 along with the mandatory Apache web server. Good!! I could scrawl through the database using the HTML DB, creating applications, forms, items and etc fancy things without any issues.
    The problem that I found was:
    The ASP based application that used to work initially now is erroring out saying that "TNS could not resolve service name".
    I thought that the Listener might be damaged or the ASP site was damaged or the Microsoft ODBC driver files were damaged and several other vauge guessings.
    I have tested the issue in several ways (reinstalled oracle, the DB, the ASP Applicaton, re-configurin listener in a variety of ways) but every time installing BLINDLY the companion CD too. Nothing seem to work.
    Then I recollected that the same issue I have encountered in the past with the installation of Oracle 8i and Developer 2000, where the TNS listener configured by the former damages the one configured by the later and vice-versa.
    Basing on this past reminiscence, I finally stopped installing Companion CD over the Oracle installation and carried out the DB installation and the ASP based app. And everything worked fine.
    CAN anybody tell me what is going wrong with these two oracle products(Oralce 10g DB and the HTML DB+Apache)?
    WHY always the installation of a CLIENT SW (Developer, HTML DB etc) damages the connection with the database via ODBC drivers?
    Many Thanks in advance.
    Ravi

    Dera Mr. Tyler,
    Thanks for your reply...I have implemented the solution that you have given for the TNS Listener conflict and everything works fine...
    Here I have one more thing thats not working as I thought. do kindly help me out.
    My requirement is to show the list of available storage drives (say C:, d:, e: etc on windows) available on the database server. Let me eloborate my problem well....
    i have a Java App that executes a specific SQL script to create a tablespace, a user and the required db objects that my applicaiton needs.
    if the Java App runs on the same machine where the oracle instance is running, the Java app pops up a list of available drives on the machine, creates a directory for the tablespace datafiles on the drive selected from the above list box, then runs the script which creates the tablespace and the rest of the things.
    But if i run the Java app from another machine on the network, then my BLIND java app is popping up the drives of the local machine but NOT those from the oracle server machine and creates the folder on the local machine but not on the Oracle server and obviously the rest of the phases (tablespace creation itself) are failing as the required folder is not found on the oracle server machine.
    the work arounds that i am thinking are:
    a) use java ->
    get the IP of the oracle server machine ->
    use some java api such as java.net, java.io etc ->
    create the required folder on the server machine instead of the local machihe
    ISSUE: Java network programming is too tough for me(excuse me for this..i am not too good!!)
    b) use some oracle sql or pl/sql api s to do the same
    ISSUE: not found one!!!!
    c) create a java stored procedure/function to get the list of drives of the oracle server and return as a string variable. then call this proc from the Java app once connected to the database....
    ISSUE: i have created the SO-CALLEd java func. no compilation or loading errors. but there is no o/p either. but the same code when i run as a java class is showing the desired o/p. here is the code piece...can you please help me out!!!
    -------Java Stored Function------
    import java.io.*;
    public class HDDLister
         public static String listDrives()
              String rootsList = "Available Roots: ";
              try
                   File[]roots = File.listRoots();
                   for (int i=0;i<roots.length;i++)
                        rootsList += roots.toString();
                        rootsList += "#";
              catch(Exception ex)
                   rootsList = ex.toString();
              return rootsList;
    -------Command to publish the Funciton-------
    CREATE OR REPLACE FUNCTION HDDLISTER
    RETURN VARCHAR2
    IS
    LANGUAGE JAVA
    NAME 'HDDLister.listDrives() return java.lang.String';
    and finally the point of the problem is, once we show the drives available on the server machine to the user and the user selects a drive, how to create a folder on the server machine???
    Thousands of thanks in advance
    Ravi

  • Calling web service in Oracle Applications...

    Is there any way we can call web services in Oracle Applications?
    I am using 11.5.10 verison of Oracle Applications.
    Thanks in advance,
    Sandra

    Hey Ravi,
    Thanks for your response. I am not well versed with Java. I am using Forms 6i to achieve this. I dont know what java code do I have to put in the custom directory.
    The procedure I am following to call web sevice is as follows:
    1. Using the webservice URL(.wsdl URL) I am creating the Java class (web service stub) in Jdeveloper.
    2. Deploying this Java class into a JAR file.
    3. Then I am placing this JAR file in a directory which was spcified in the LD_LIBRARY_PATH and CLASSPATH including the name of the JAR file.
    4.Then I go to Forms 6i and say program --> Import Java Classes in my form, it gets the webservice java class and converts that java class into PLSQL packages.proc/func.
    Can you please send me an example how you did this to my email?
    My email ID is "[email protected]"
    Thanks again,
    Fubu

  • Link down on Oracle 10R2 - RAC

    Dear All..
    This is my first post, I have question related with RAC environment.
    I setting up RAC on spesifications bellow:
    - 3 HP server using intel xeon and 4G RAM each.
    - Hitachi SAN
    - Linux Centos 4.2
    - Oracle 10g Release 2
    - ASM 2 and OCFS 2
    In installation steps, I found no problems. And the IP configuration used are:
    # Public Network - (eth0)
    172.20.141.1 linux1
    172.20.141.2 linux2
    172.20.141.3 linux3
    # Private Interconnect - (eth1)
    192.168.0.1 int-linux1
    192.168.0.2 int-linux2
    192.168.0.3 int-linux3
    # Public Virtual IP (VIP) addresses for - (eth0)
    172.20.142.1 vip-linux1
    172.20.142.2 vip-linux2
    172.20.142.3 vip-linux3
    ==========================================
    Hangcheck 30 seconds, margin is 180 seconds
    ==========================================
    [root@linux2 ~]# grep Hangcheck /var/log/messages |
    tail -5
    Apr 24 13:09:59 linux2 kernel: Hangcheck: starting
    hangcheck timer 0.5.0 (tick is 30 seconds, margin is
    180 seconds).
    Apr 25 13:24:42 linux2 kernel: Hangcheck: starting
    hangcheck timer 0.5.0 (tick is 30 seconds, margin is
    180 seconds).
    ==========================================
    setup O2CB_HEARTBEAT_THRESHOLD=301 pada file
    /etc/sysconfig/o2cb
    ==========================================
    But when I am trying to test the server using very hard
    environment test (transactions and reporting using application
    build by Delphi), just likes production ones, I found an error
    occurred, eth0 : link down. The times it happen was random
    (1 month 3 times - averages values).
    And this is the error log.
    ==========================================
    linux2 error log
    ==========================================
    Apr 22 07:55:01 linux2 crond(pam_unix)[4288]: session
    closed for user root
    Apr 22 07:55:18 linux2 kernel: eth0: link down
    Apr 22 07:55:19 linux2 kernel: eth0: link up, 100Mbps,
    full-duplex, lpa 0x45E1
    Apr 22 07:55:24 linux2 kernel:
    (0,0):o2net_idle_timer:1330 connection to node li
    nux3 num 1 at 172.20.141.3:7777 has been idle for 10
    seconds, shutting it down.
    Apr 22 07:55:24 linux2 kernel:
    (0,0):o2net_idle_timer:1341 here are some times t
    hat might help debug the situation: (tmr
    1145667314.798878 now 1145667324.796791
    dr 1145667314.798856 adv
    1145667314.798892:1145667314.798893 func (c9943f19:505
    ) 1145429443.839194:1145429443.839197)
    Apr 22 07:55:24 linux2 kernel:
    (2248,1):o2net_set_nn_state:421 no longer connect
    ed to node linux3 at 172.20.141.3:7777
    Apr 22 07:55:26 linux2 kernel:
    (0,0):o2net_idle_timer:1330 connection to node li
    nux1 num 2 at 172.20.141.1:7777 has been idle for 10
    seconds, shutting it down.
    Apr 22 07:55:26 linux2 kernel:
    (0,0):o2net_idle_timer:1341 here are some times t
    hat might help debug the situation: (tmr
    1145667316.353964 now 1145667326.352424
    dr 1145667316.353945 adv
    1145667316.353965:1145667316.353966 func (c9943f19:505
    ) 1145429355.325673:1145429355.325679)
    Apr 22 07:55:26 linux2 kernel:
    (2248,1):o2net_set_nn_state:421 no longer connect
    ed to node linux1 at 172.20.141.1:7777
    ============================================
    linux1 error log
    ============================================
    Apr 22 07:55:02 linux1 crond(pam_unix)[10395]: session
    closed for user root
    Apr 22 07:57:58 linux1 kernel:
    (2319,0):o2net_set_nn_state:421 no longer connect
    ed to node linux2 at 172.20.141.2:7777
    ===========================================
    linux3 error log
    ===========================================
    Apr 22 07:55:03 linux3 crond(pam_unix)[14329]: session
    closed for user root
    Apr 22 07:56:50 linux3 kernel:
    (2512,0):o2net_set_nn_state:421 no longer connect
    ed to node linux2 at 172.20.141.2:7777
    Any body have an advice or solution to overcome this problem.
    Thanks for helping.
    Best Regards,
    Car Elcaro.

    $cat opmn/conf/ons.config
    localport=6101
    remoteport=6200
    loglevel=9
    useocr=on
    2007-02-09 13:43:16.441: [    RACG][1] [15217][1][ora.cgwdb02.ons]: Number of onsconfiguration retrieved, numcfg = 2
    onscfg[0]
    {node = cgwdb01, port = 6200}
    Adding remote host cgwdb01:6200
    onscfg[1]
    {node = cgwdb02, port = 6200}
    Adding remote host cgwdb02:6200
    ons is not running ...
    2007-02-09 13:43:16.454: [    RACG][1] [15217][1][ora.cgwdb02.ons]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/oracle/product/10.2.0/crs
    2007-02-09 13:43:16.454: [    RACG][1] [15217][1][ora.cgwdb02.ons]: clsrcexecut: cmd = /u01/oracle/product/10.2.0/crs/bin/racgeut -e USRORA_DEBUG=0 540 /u01/oracle/product/10.2.0/crs/bin/onsctl ping
    2007-02-09 13:43:16.454: [    RACG][1] [15217][1][ora.cgwdb02.ons]: clsrcexecut: rc = 1, time = 0.531s
    2007-02-09 13:43:16.454: [    RACG][1] [15217][1][ora.cgwdb02.ons]: end for resource = ora.cgwdb02.ons, action = check, status = 1, time = 0.743s
    2007-02-09 13:43:17.421: [    RACG][1] [15239][1][ora.cgwdb02.ons]: onsctl: shutting down ons daemon ...
    Number of onsconfiguration retrieved, numcfg = 2
    onscfg[0]
    {node = cgwdb01, port = 6200}
    Adding remote host cgwdb01:6200
    onscfg[1]
    {node = cgwdb02, port = 6200}
    Adding remote host cgwdb02:6200

  • Oracle Vm Manager 3.0.2 PoolFileSystemMissingEvent

    hi,
    i have 1 pool with 4 oracle vm server 3.0.2. the problem is : i cant watch vm guest running , cant add vm server to pool and in event ovm, PoolFileSystemMissingEvent.
    here some log from one of vm server :
    Traceback (most recent call last):
    File "/opt/ovs-agent-3.0/OVSCommons.py", line 141, in wrapper
    return func(*args)
    File "/opt/ovs-agent-3.0/vm.py", line 558, in start_vm
    run_cmd(['xm', 'create', path])
    File "/opt/ovs-agent-3.0/OVSCommons.py", line 31, in run_cmd
    raise RuntimeError('Command: %s failed (%s): %s ' % (cmd,
    RuntimeError: Command: ['xm', 'create', '/OVS/Repositories/0004fb00000300001a22e6d5c6c612ce/VirtualMachines/0004fb00000600003bc57c4d1201ab79/vm.cfg'] failed (1): Error: Unable to open config file: /OVS/Repositories/0004fb00000300001a22e6d5c6c612ce/VirtualMachines/0004fb00000600003bc57c4d1201ab79/vm.cfg
    [2002-02-18 10:57:43 25141] ERROR (OVSHA:92) Failed to start VM 0004fb00000600003bc57c4d1201ab79 on blade4.localdomain: <Fault 1: "exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb00000300001a22e6d5c6c612ce/VirtualMachines/0004fb00000600003bc57c4d1201ab79/vm.cfg'] failed (1): Error: Unable to open config file: /OVS/Repositories/0004fb00000300001a22e6d5c6c612ce/VirtualMachines/0004fb00000600003bc57c4d1201ab79/vm.cfg\n ">
    [2002-02-18 10:57:43 25141] DEBUG (OVSHA:74) Error checking if VM is running: [Errno 2] No such file or directory: '/OVS/Repositories/0004fb00000300001a22e6d5c6c612ce/VirtualMachines/0004fb00000600003bc57c4d1201ab79/vm.cfg'
    [2002-02-18 10:57:43 25141] ERROR (OVSHA:92) Failed to start VM 0004fb00000600003bc57c4d1201ab79 on blade3.localdomain: <Fault 1: "exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb00000300001a22e6d5c6c612ce/VirtualMachines/0004fb00000600003bc57c4d1201ab79/vm.cfg'] failed (1): Error: Unable to open config file: /OVS/Repositories/0004fb00000300001a22e6d5c6c612ce/VirtualMachines/0004fb00000600003bc57c4d1201ab79/vm.cfg\n ">
    [2002-02-18 10:57:43 25141] DEBUG (OVSHA:74) Error checking if VM is running: [Errno 2] No such file or directory: '/OVS/Repositories/0004fb00000300001a22e6d5c6c612ce/VirtualMachines/0004fb00000600003bc57c4d1201ab79/vm.cfg'
    [2002-02-18 10:57:46 25141] ERROR (OVSHA:92) Failed to start VM 0004fb00000600003bc57c4d1201ab79 on blade2.localdomain: (113, 'No route to host')
    [2002-02-18 10:57:46 25141] DEBUG (OVSHA:74) Error checking if VM is running: [Errno 2] No such file or directory: '/OVS/Repositories/0004fb00000300001a22e6d5c6c612ce/VirtualMachines/0004fb00000600003bc57c4d1201ab79/vm.cfg'
    [2002-02-18 10:57:46 25141] ERROR (OVSHA:92) Failed to start VM 0004fb00000600003bc57c4d1201ab79 on blade1.localdomain: <ProtocolError for blade1.localdomain:8899/RPC2: 403 Unauthorized access attempt from ('123.3.3.53', 39812)!>
    [2002-02-18 10:57:46 25141] ERROR (OVSHA:93) Cannot start VM 0004fb00000600003bc57c4d1201ab79: all attempts failed
    [2002-02-18 10:57:56 4881] ERROR (OVSHA:40) Failed to get VM list on blade1.localdomain: <ProtocolError for blade1.localdomain:8899/RPC2: 403 Unauthorized access attempt from ('123.3.3.53', 39818)!>
    [2002-02-18 10:57:59 4880] ERROR (OVSHA:40) Failed to get VM list on blade2.localdomain: (113, 'No route to host')
    [2002-02-18 10:57:59 25141] DEBUG (OVSHA:80) Trying to start VM 0004fb00000600006322ac42ce576b32
    [2002-02-18 10:57:59 25141] DEBUG (OVSHA:74) Error checking if VM is running: [Errno 2] No such file or directory: '/OVS/Repositories/0004fb00000300001a22e6d5c6c612ce/VirtualMachines/0004fb00000600006322ac42ce576b32/vm.cfg'
    [2002-02-18 10:57:59 4917] DEBUG (OVSCommons:124) start_vm: ('0004fb00000300001a22e6d5c6c612ce', '0004fb00000600006322ac42ce576b32')
    [2002-02-18 10:57:59 4917] ERROR (OVSCommons:143) catch_error: Command: ['xm', 'create', '/OVS/Repositories/0004fb00000300001a22e6d5c6c612ce/VirtualMachines/0004fb00000600006322ac42ce576b32/vm.cfg'] failed (1): Error: Unable to open config file: /OVS/Repositories/0004fb00000300001a22e6d5c6c612ce/VirtualMachines/0004fb00000600006322ac42ce576b32/vm.cfg
    can anyone help me? :(
    Regards,
    Rey R

    sorry,
    i want ask, if the oracle vm server lock from pool, how to clear it? so i can add oracle vm server again to pool.
    thank you.
    Rey.

Maybe you are looking for

  • How to get selected  row index  of a Table ?

    hi gurus,I'm new  to Webdynpro for abap I'm displaying    just Flight details in a Table  so how to get selected  row index  of a  Table  and need  to be display in Message manager.

  • How to refer to a particular field in Table Control.

    Hi,         How can we refer to a particular field in a table control like 5th row 6th column. The actual requirement of mine is, i have a column with listbox. For each row i need to have different values for the list box. So i need to refer to that

  • How do I restrict users from installing applications?

    Or more specifically, yahoo messenger. I can't seem to figure this one out. Two user settings on our machines (public and admin), public does not have admin priveleges, so cannot make modifications like installing applications, but someone seems to k

  • How i can print u2211 in smart forms ?

    Dear friends, What is non displayable symbol code for sign u2211. Regards, Praveen Lobo

  • Cover flow with compilation albums

    Hi, I have three compilation albums on my Ipod 4g that currently mess up the whole cover flow, each artist gets its own album art so I have like 20 albums with one song in it. I looked for a solution but found the same problem posted in 2007 already.