JDBC Oracle CEP data cartridge

Hello

I'm trying to implement the JDBC Oracle CEP data cartridge
From:
http://docs.Oracle.com/CD/E23943_01/apirefs.1111/e12048/datacartjdbc.htm#CIHCEFBH
The problem is that it fails on deployment with the following error:

< exception thrown to prepare the com.oracle.cep.cartridge.jdbc.JdbcCartridgeContext.checkCartridgeContextConfig method.
java.lang.AssertionError: java.lang.ClassNotFoundException: weblogic.jdbc.wrapper.PoolConnection

I added the file that contains this class of classpath (com.bea.core.datasource6_1.10.0.0.jar),
but get the same error.
Any help would be appreciated.

Kind regards
Dmitry

Hi, Dmitry,
Based on the version of your jar, I assume you are using 11g ps5 part. I tried your app on my about the issue can be reproduced.
Could you try your application in an own env?
Actually, you need not pack up the com.bea.core.datasource6_1.10.0.0.jar and com.bea.oracle.ojdbc6_1.1.0.0_11 - 2-0-2 - 0.jar in the container application.

BTW: as the application to connect db in OraDcnAdapter, the following packages must be imported into the MANIFEST. MF
Oracle.JDBC.DCN,
Oracle.JDBC

Concerning

Tags: Fusion Middleware

Similar Questions

  • Oracle CEP to connect to a database

    Hi all

    I am trying to create a simple Application CEP example of works for a few days, but I just can't do it and I'm getting more crazy.

    So I installed Oracle CEP 11.1.1 and configured Eclipse 1.2.1 to develop the CEP Application. Then, I created a new CEP project modelled on HelloWorld.

    I added the drivers jdbc in java build path as external jar.

    I also tried to add a data source in the config.xml file

    When I add a database connection in the data source Explorer Eclipse it works very well.


    But when I add the code in the constructor of my card and deploy the application:
    try {
              DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
                 this.conn = DriverManager.getConnection(CONNEC_STRING, USERNAME, PASS);
    
              } catch (SQLException e) {
                   e.printStackTrace();
              }
    I get just an error java.lang.NoClassDefFoundError on registerDriver instruction. And I really don't understand what is wrong.

    I would be really grateful if someone could explain me step by step how set up drivers and just do a simple select query in a table.


    Thanks in advance.


    Max

    You must not the DriverManager connection object. You can get it from Datasource by getting static resource injection.

    This returns you the javax.sql.Datasource object that can give you a link.

    Please take a look at

    http://download.Oracle.com/docs/CD/E17904_01/doc.1111/e14301/overview.htm#CEPED524

  • JDBC Oracle driver change requests for users with "rowid"?

    Hello

    I work with an IBM Java product that uses Oracle JDBC version 9.2.0.3.0 for Oracle DB connectivity (from file ojdbc14.jar is).
    The IBM product running an Oracle view called V_NGSM_GET_NEID which is used for elements of research network names in the Oracle
    DB and return the partners '' code of assets '' if the node is found.

    The problem is for all a single query sent I see two queries by using a packet sniffer. See below. The first query I see on the network
    a the string "rowid," prefix (107 package 0x9b offset) to the list in the column specified in my policy. But the first request fails with
    the following error (112 package)

    ORA-01446: cannot select ROWID from view DISTINCT, GROUP BY, etc +

    After the above error is returned, I see immediately the same request sent again, this time without "rowid", prefix (113 package offset 0 x 94)
    This same behavior occurs for each query, each time which results in twice the number of queries required and is a big problem.

    Support IBM claims it's the JDBC Oracle driver, not their code, adding "rowid", at the request and return it
    less "rowid", if it fails.

    Does make sense to anyone? I can't imagine that Oracle would distribute such a driver.

    Comments? Thoughts?

    Below are the packets captured using Solaris/snoop. The number is package on the extreme left (e.g., 107-117).

    ------

    107 0.00121 ab9imdev01-> 142.178.32.219 Ack TCP D = 41521 S = 62881 push = Seq = Len 3275308205 = 193 Win 49640 = 3897618122

    0: 00 a 0 9193 0014 4f94 0800 4500 884c 8e7e. .~.... ... O L... E.
    16: 00e9 2440 4000 4006 0000 cfe5 1503 8eb2... $@. @...
    32: 20 dB f5a1 c339 3cad e850 eeca 5018 a231... ¢ 1.9 <... PI.p.
    48: 9551 0000 1 0000 0600 0000 0000 00C c1e8... Q............
    64: 1169 0001 0101 0103 0002 8021 0001 035F. i... ^... ! ...
    80:0183 00 0000 0004 7fff ffff 0000 0101 0D...
    96: 0000 0000 0073 656 c 6563 7420 726f 7769. . Select rowi
    112: 642 204th c 4554 574f 524bis 5f45 45 4 c 4 d 45 d, NETWORK_ELEME
    128: 204th 442c 4554 524bis 5f45 NT_ID, NETWORK_E 574f 5f49 4e54
    144: 45 4 c 4 d 45 4e54 5f4e 414d 4520 4652 4f4d LEMENT_NAME OF
    160: 204th 4753 4 d 55 5345 522e 2256 5f4e 4753 NGSMUSER. "V_NGS
    "176: 4d5f 4745 545f 4944 2220 5748 4552 M_GET_NEID 4e45" WHER
    192:4520 4e45 5457 454d 454 454c NETWORK_ELEMEN E 4b5f of the 4f52
    208: 545f 4e41 4 d 45 203d 2027 4544 544th 4142 T_NAME = ' EDTNAB
    224: 4453 4 C 41 4 30 3327 0101 0000 0000 0000 DSLAM03 D '...
    240: 0101 0000 0000 00...

    108 0.01144 142.178.32.219-> ab9imdev01 TCP D = 62881 S = 41521 grow Ack = Seq 3275308398 = Len 3897618122 = Win 11 = 32850

    0: 0014 4f94 884c 00 a 0 9193 0800 4500 8e7e... ... O L... ~.... E.
    16: 0033 2764 0000 3706 c7eb 8eb2 cfe5 20db. 3 would be... 7..... ...
    32: 1503 a231 f5a1 e850 eeca c339 5018 3d6e... ¢1.¡. PI... 9 = nP.
    48: 8052 1 d 57 0000 000 b 0000 00 0000 0100 0c. R.W............
    64: 01.

    109 0,00000 142.178.32.219-> ab9imdev01 TCP D = 62881 S = 41521 grow Ack = Seq 3275308398 = Len 3897618133 = Win 11 = 32850

    0: 0014 4f94 884c 00 a 0 9193 0800 4500 8e7e... ... O L... ~.... E.
    16: 0033 2765 0000 3706 c7ea 8eb2 cfe5 20db. 3' e... 7..... ...
    32: 1503 a231 f5a1 e850 eed5 c339 5018 3d6e... ¢1.¡. PI... 9 = nP.
    48: 8052 1c4c 000 0000 0000 00 0000 0100 0c b. R.L............
    64: 02.

    110 0,00008 ab9imdev01-> 142.178.32.219 TCP D = 41521 S = 62881 Ack = 3897618144 Seq = 3275308398, Len = 0 Win = 49640

    0: 00 a 0 9193 0014 4f94 0800 4500 884c 8e7e. .~.... ... O L... E.
    16: 0028 2441 4000 4006 0000 cfe5 1503 8eb2. ($A@.@.........
    32: 20 dB f5a1 a231 c339 3d6e e850 eee0 5010... ¢ 1.9 = n. Pi. P
    48: 9490 0000 c1e8...

    111 0,00019 ab9imdev01-> 142.178.32.219 Ack TCP D = 41521 S = 62881 push = Seq 3897618144 Len 3275308398 = Win 49640 = 11 =

    0: 00 a 0 9193 0014 4f94 0800 4500 884c 8e7e. .~.... ... O L... E.
    16: 0033 2442 4000 4006 0000 cfe5 1503 $8eb2.3 B @. @...
    32: 20 dB f5a1 c339 3d6e e850 eee0 5018 a231... ¢ 1.9 = n. Pi. P
    48: c1e8 b 949 000 0000 0000 00 0000 0100 0c b... \233...
    64: 02.

    112 0.00870 142.178.32.219-> ab9imdev01 TCP D = 62881 S = 41521 grow Ack = Seq 3275308409 = Len 3897618144 = 111 Win = 32850

    0: 0014 4f94 884c 00 a 0 9193 0800 4500 8e7e... ... O L... ~.... E.
    16: 0097 2766 0000 3706 c785 20db cfe5 8eb2... " f.. 7..... ...
    32: 1503 a231 f5a1 e850 eee0 c339 79 5018 3d... ¢1.¡. PI... 9 = yP.
    48: 8052 7b 48 0000 0000 0600 0000 0000 006f. R{H...o........
    64:0400 0205 a600 0001 0301 0700 0001 2000...
    80: 0000 0000 0000 0000 0000 0001 0147 4f52... GOR
    96: 412d 3031 3434 363 2063 616e 7420 A - 01446 6e6f a: cannot
    112: 7365 6 c 65 6374 2052 4944 2066 726f 4f57 select ROWID BOF
    128: 6 d 20 7669 6577 2077 6974 6820 4449 5354 m seen with DIST
    144: 494e 4354 2 c 20 4752 5020 4259 2 c 20 INCT, GROUP BY 4f55,.
    0a 632nd 160:6574 etc...

    113 0,00037 ab9imdev01-> 142.178.32.219 Ack TCP D = 41521 S = 62881 push = Seq = Len 3275308409 = 179 Win 49640 = 3897618255

    0: 00 a 0 9193 0014 4f94 0800 4500 884c 8e7e. .~.... ... O L... E.
    16: 00db 2443 4000 4006 0000 cfe5 1503 8eb2... $C @. @...
    32: 20 dB f5a1 c339 3d 79 e850 ef4f 5018 a231... ¢ 1.9 = y. P. OP
    48: 9543 0000 00b 3 0000 0600 0000 0000 c1e8... C............
    64: 0002 8021 0103 0101 7 c 01 010 035F d 0000. ^... ! ....| .....
    80: ff00 of ffff 0000 0000 0000 0000 5345 047f... IS
    96: 4 c 45 4354 204th 4554 574f 524bis 5f45 4 c 45 READING NETWORK_ELE
    112: 4 d 45 4e54 5f49 442c 204th 4554 524bis MENT_ID, NETWORK 574f
    128: 5f45 45 4 c 4 d 45 4e54 5f4e 4520 4652 ELEMENTNAME EN 414d
    144: 204th 4f4d 4753 4 d 55 5345 522e 2256 5f4e OM NGSMUSER. "V_N
    4745 545f 4944 2220 5748 GSM_GET_NEID 4e45 4d5f 160:4753"WH
    4520 4e45 5457 4f52 4b5f 454c 454d ERA NETWORK_ELEM 176:4552
    192: 454 545f 4e41 4 d 45 2027 4544 203d 544th ENT_NAME = ' EDTN
    208: 4142 4453 4 C 41 4 30 3327 0101 0000 0000 ABDSLAM03 D '...
    224: 0000 0101 0000 0000 00...

    114 0.01101 142.178.32.219-> ab9imdev01 TCP D = 62881 S = 41521 grow Ack = Seq 3275308588 = Len 3897618255 = 174 Win = 32850

    0: 0014 4f94 884c 00 a 0 9193 0800 4500 8e7e... ... O L... ~.... E.
    16:00 6 2767 0000 3706 c745 20db cfe5 8eb2 d... " g... 7..E... ...
    32: 1503 a231 f5a1 e850 ef4f c339 5018 3e2c... ¢1.¡. P.O.9 >, P.
    48: 8052 c84a 0000 0000 0600 0000 0000 00ae. R.J............
    64: 3175 787 101d 0000 0003 0000 3ed0 949d c... 1UX|...\235 >...
    80: 786d 080d 30 3900 7400 0000 0201 xm ed27 0d... 09.i't...
    96: 3401-0243-0200, 0116 0000 0000 0000 0000 4.C...
    112:0112 0112 124th 4554 574f 524bis 5f45 4 c 45. . NETWORK_ELE
    128: 4 d 45 4e54 4400 0001 8000 0001 1e00 MENT_ID 5f49...
    144: 0000 0001 1f01 0114 0114 144F 4554 574f... . NETWO
    160: 524bis 5f45 45 4 c 4 d 45 5f4e 4500 RK_ELEMENT_NAME 414d 4e54.
    176: 0001 0707 786 d 080d 1024 1508 0104 04a 7... xm... $...
    192: d5e0 0791 0103 0000 0004 0000 0000 fa02...
    208: 0103 0003 0000 0000 0000 0000 0000 0000...
    224: 0000 0101...

    115 0.00026 ab9imdev01-> 142.178.32.219 Ack TCP D = 41521 S = 62881 push = Seq = Len 3275308588 = 17 Win 49640 = 3897618429

    0: 00 a 0 9193 0014 4f94 0800 4500 884c 8e7e. .~.... ... O L... E.
    16: 0039 2444 4000 4006 0000 cfe5 1503 $8eb2.9 D @. @...
    32: 20 dB a231 c339 e850 5018 effd 3e2c f5a1... ¢ 1.9 >,. . P. P.
    48: c1e8 94a 1 0000 0011 0600 0000 0000 0000... ¡...
    64: 0305-0001-0301 0 has...

    116 0.10217 142.178.32.219-> ab9imdev01 TCP D = 62881 S = 41521 Ack = 3275308605 Seq = 3897618429, Len = 0 Win = 32850

    0: 0014 4f94 884c 00 a 0 9193 0800 4500 8e7e... ... O L... ~.... E.
    16: 0028 2768 0000 3706 c7f2 8eb2 cfe5 20db. ('h.. 7..ò... ...
    32: 1503 a231 f5a1 e850 effd c339 3e3d 5010... ¢1.¡. P.... 9 > = P.
    48: 8052 2973 0000 0000 0000 0000. R)s........

    117 0.27052 142.178.32.219-> ab9imdev01 TCP D = 62881 S = 41521 grow Ack = Seq 3275308605 = Len 3897618429 = Win 64 = 32850

    0: 0014 4f94 884c 00 a 0 9193 0800 4500 8e7e... ... O L... ~.... E.
    16: 0068 2769 0000 3706 c7b1 8eb2 cfe5 20db. h'i... 7..... ...
    32: 1503 a231 f5a1 e850 effd c339 5018 3e3d... ¢1.¡. P.... 9 > = P.
    48: 8052 d42a 0000 0040 0000 0600 0000 0000. R.*...@........
    64:0400 0205 7 b 00 0001 0300 0300 0120 0000... {........ ..
    80: 0000 0000 0000 0000 0000 0101 194f 5241... ORA
    6e6f 3 a 20 96: 2d 30 3134 3033 2064 6174 6120 - 01403: no data
    112: 666f 756 640 has found.

    Looks like you are saying that the Java source code can control completely if the driver will try to get the ROWID by requested ResultSet settings. Is this true?

    I think it should, Yes. I guarantee you that all versions of the driver in all cases would have a parameter that has ignored the attempt to insert of a ROWID. But I strongly suspect that he does not bother if the result set which had been requested was such that the ROWID would not be beneficial.

    I expect the pilot to understand the complete Oracle SQL grammar, it can at least add "rowid" in the place in the query

    There is a major compromise. It is incredibly difficult to support full SQL grammar correctly. Oracle used to SQL for SQL and PL/SQL engine analyzers and would regularly find bugs where a scanner heard something that does not have the other parser. When you put too much SQL parsing code in the driver, you finish by the two spend more time parsing SQL statements and you end by potentially limiting the set of queries that could be issued to the dialect of SQL that the JDBC driver has been aware of when it was shipped that sucks when you use to connect to a database of the latest drivers.

    I suspect (assuming that is not speaking on behalf of the JDBC driver development team) they thought it better to do the simplest thing possible, throwing the ROWID right after SELECT it. If it worked, great. If this is not the case, they encoururent the cost of a round trip and an analysis of the database which is probably at the same level as the cost of the analysis of the SQL locally and then just downgrade the result set. If you ask an editable ResultSet, for example, Oracle is unable to identify a single line, if you specify also SEPARATE in the query. Rather than trying to understand all of the cases where a query generates a result not set editable intrinsically, it is easier and more accurate to try to get a ROWID and downgrade the result set if the addition of a ROWID generates a syntax error.

    Of course, the costs and benefits of arbitration depend on the proportion of result sets which requires a feature that is not available with the SQL statements, they deliver some. If you have an application that makes 300 000 queries that have SEPARATE and ask a modifiable and capable of scroll cursor, it would potentially put more logic in the JDBC driver. If you have an application that always brings queries that can be changed using simple algorithm of the driver, the simple algorithm is obviously preferable.

    Justin

  • Data cartridge RD1000 indicating bad blocks

    We use Symantec BE 2012 with RD1000 unit and received a message through the interface of Symantec data cartridge is faulty... there at - it a way to test the cartridge?

    Thank you

    Hello hoemee.

    Here is a link to the RD utilities.  http://ftp.us.Dell.com/FOLDER22465M/1/R312075.exe Once you have installed the utilities that you need to stop DRUNK services so that you can test the cartridge.  You can run the read/write test to see if it passes, and if yes then cartridge should be good.

    Please let us know if you have any other questions.

  • ODI certification: Oracle Enterprise Data Quality: match, Parse, profile, Audit, exploit

    Please suggest how to prepare for the certification ODI topic: Oracle Enterprise Data Quality: Match, Parse, profile, Audit, operate.

    There is a forum OEDQ very good quality of the data of the product team here is very active there so go there to ask.

    There are also videos on YouTube related links (they are made by the product team and are therefore best practices) - just Google youtube disqualification

    As always the best way to learn is to do - set up your own system of Disqualification and trying things on your PC

  • ADR - Oracle remains Data Services/Apex headset - broken links

    The Oracle page remains Data Services: Oracle REST Data Services as well as the documentation index page: Oracle REST Data Services Documentation contains a link to "the 2.0 Release Notes and Setup Guide", that link to: http://docs.oracle.com/cd/E37099_01/welcome.html and this link is broken. Maybe need to update?

    We're sorry, the page you requested was not found.

    Some links work:

    Documentation index

    Release notes
    Installation and Configuration Guide

    Post edited by: trent I just noticed, the only difference between the index of documentation of work link I posted, and the current one is the last part of the URL. It should be index.html instead of www.

    Broken links have been fixed.

  • JDBC Oracle driver loading tests... Failed:

    Test the Oracle Home located at C:\app\oracle\product\11.2.0\instantclient-basic-nt-11.2.0.4.0\instantclient_11_2

    Test client directory... Ok

    JDBC Oracle driver loading tests... Failed:

    C:\app\oracle\product\11.2.0\instantclient-basic-NT-11.2.0.4.0\instantclient_11_2\jdbc\lib\ojdbc6.jar is not a valid jar

    I downloaded and extracted the zip instantclient-jdbc-nt - 11.2.0.4.0 Oracle Technology Network, several times.  Yet, receive the same error weird test Oracle SQL Developer Version 4.0.1.14.  The ojdbc6.jar file was extracted in the instantclient_11_2, not the subdirectory lib subdirectory.  There is no jdbc or lib subdirectory.  Where's configuration is defined jdbc and lib subdirectories?  I need Oracle SQL Developer 4 to look at in the instantclient_11_2 subdirectory.

    Hello

    .. .is not a file valid jar

    This message is quite misleading. It is not due to a corrupted download.  In the case of database > advanced > use Oracle Client > Configure... you select

    Type of customer: Oracle Home

    Location of the client:

    and then click test... this error will occur.  Instead, you need to select

    : Customer Type instant

    Kind regards

    Gary

    SQL development team

  • JKM Oracle compatible (Date of update) CDC

    Hi all, I'm trying to implement the CDC using the JKM compatible Oracle (Update Date) for a fairly simple interface (a source and a target table table). After that I did a normal load to the target (single record) table, I've implemented logging as shown below:


    (1) select the model for the Set of logging mode. Choose the JKM compatible Oracle (Date of update) and specified the column name (LAST_UPDATE_DT) of the source table for the UPDATE_DATE_COL_NAME option.
    (2) to activate the data store source for CDC (Change Data Capture-> add to the CDC)
    (3) start magazines for the data store (-> change data Capture log starting)
    (4) add a subscriber to the journal (change->-> Subscribe Subscriber Data Capture)
    (5) insert a new record in the source table with the timestamp that is appropriate for the LAST_UPDATE_DT
    (6) check the log data and ensure that the inserted record is here (right click Datastore and change data Capture, and data log). I can see the window of log data record.
    (7) create a copy of the interface above and check the logged data only to use data logging for the load of the CDC.

    I am now under this interface in simulation mode to see if the new record is taken up to be loaded and the question. It is not the case. Weird, considering that it appears in the log data. So I checked the query that is executed to select new records, and below is what I get, Column1 as the pharmacokinetics of the source table:
    insert /*+ APPEND */  into SCHEMA.I$_TARGET
         (
         COLUMN1,
         COLUMN2
         ,IND_UPDATE
         )
    select       
         SOURCE_CDC.COLUMN1,,
         SOURCE_CDC.COLUMN2,
         JRN_FLAG IND_UPDATE
    from     SCHEMA.JV$SOURCE_CDC SOURCE_CDC
    where     (1=1)
    And JRN_SUBSCRIBER = 'SUNOPSIS' /* AND JRN_DATE < sysdate */ 
    Execution of the select statement does not show the new record. Return of location and control of the definition of the view of $ J, JV$ SOURCE_CDC:
    CREATE OR REPLACE FORCE VIEW ETL_ASTG.JV$TRADER_CDC (JRN_FLAG, JRN_DATE, JRN_SUBSCRIBER, COLUMN1, COLUMN2) AS 
      select      
         decode(TARG.ROWID, null, 'D', 'I') JRN_FLAG,
         sysdate JRN_DATE, 
         JRN.COLUMN1, 
         JRN.COLUMN2
    from     
    (select JRN.COLUMN1 ,SUB.CDC_SUBSCRIBER, SUB.MAX_WINDOW_ID_INS, max(JRN.WINDOW_ID) WINDOW_ID
         from      SCHEMA.J$SOURCE_CDC    JRN,
                  SCHEMA.SNP_CDC_SUBS        SUB 
         where     SUB.CDC_SET_NAME     = 'MODEL_NAME'
         and      JRN.WINDOW_ID     > SUB.MIN_WINDOW_ID
         and       JRN.WINDOW_ID     <= SUB.MAX_WINDOW_ID_DEL
         group by     JRN.COLUMN1,SUB.CDC_SUBSCRIBER, SUB.MAX_WINDOW_ID_INS) JRN,
         SCHEMA.SOURCE_CDC TARG
    where JRN.COLUMN1     = TARG.COLUMN1(+)
    and not      (
                   TARG.ROWID is not null
                and     JRN.WINDOW_ID > JRN.MAX_WINDOW_ID_INS
                ); 
    I can say that the record is not be stalled because of the State LOG. WINDOW_ID < = SUB. MAX_WINDOW_ID_DEL. I don't know what does this condition but the LOG. WINDOW_ID = 28, SUB. MIN_WINDOW_ID = 26 and SUB. MAX_WINDOW_ID_DEL = 27.

    Any ideas on how to get this working?

    Hello
    After the start of your paper you must implement a packge (or manually perform these steps on the model in ODI) perform the following operations using the ODI tools:

    Extend the window (this resets the YVERT numbers in the table of subscriber you found)---> Subscriber Lock---> (< run="" interfaces="">)---> unlock subscribed---> Purge Journal

    Its hidden in the docs here:
    http://docs.Oracle.com/CD/E14571_01/integrate.1111/e12643/data_capture.htm#CFHIHJEE

    Here's excellent guide, I always refer people to that shows exactly how:

    http://soainfrastructure.blogspot.co.UK/2009/02/setting-up-Oracle-data-integrator-odi_15.html

    The guide explains how to configure ODI loop around and wait for the CDC more occur (using ODIWaitForLogData).
    Hope this helps
    Alastair

  • Delete triggers in DAC to the Oracle apps data source

    Hey guys,.

    We use OLIVIER 7.9.6.1 and OBIEE 10.1.3.4.0. data source is Oracle apps 11.5.9.

    We had a problem in the report. drillthrough report 6 records where as source has only 4 records. Looks like 2 deleted source records and we have never implemented here delete triggers. I'm new to this project and don't know how to implement for the Oracle apps data source delete triggers. because there is no concept of picture table in oracle apps.

    I tried a full load of the fact table, and it is fetching 4 records as expected. so please tell me how to apply delete triggers for the oracle apps data source. explain the process step by step.

    Thank you for your help.

    Thank you
    Jay.

    You can follow the same EP and remove the mapping process that are out of the box for your custom tables. Make sure you include a DELETE_FLG on the custom tables and follows the same logic of PE and Delete is used in vanilla maps. You must have a primary key to check the records of if.which have been removed. Once you have the full mappings, you can set the DAC to assocaiated tasks and include them with your execution plans. As Oracle has followed this process, its best to stay w the same strategy.

  • Oracle 10g Data guard

    Hi all
    I cloned my prod using RMAN.
    My Q is... y at - it no diff between cloned db, duplicate a database.
    If no diff let me know...
    If I cloned using this procedure to create a standby instance.

    Hello

    I mean you have a procedure to create a standby, and that copy of rman is part of it and in doubles.

    (1) make an rman backup
    Run {}
    allocate channel C1 type disk;
    backup database;
    ARCHIVELOG backup all;
    }

    (2) create a control file for the day before on the primary database:
    ALTER DATABASE CREATE STANDBY CONTROLFILE AS ' / oracle/local/data/backup/crunchs_controlfile.bkp2';

    (3) standby redo log is optional... (but recommend that you do)
    Example:
    ALTER DATABASE add STANDBY LOGFILE GROUP 11 ('+ DATPRTEST1', '+ FLAPRTEST1') size 50 M;
    ALTER DATABASE add STANDBY LOGFILE GROUP 12 ('+ DATPRTEST1', '+ FLAPRTEST1') size 50 M;
    ALTER DATABASE add STANDBY LOGFILE GROUP 13 ('+ DATPRTEST1', '+ FLAPRTEST1') size 50 M;
    ALTER DATABASE add STANDBY LOGFILE GROUP 14 ('+ DATPRTEST1', '+ FLAPRTEST1') size 50 M;
    SELECT GROUP #, THREAD #, SEQUENCE #, ARCHIVED, STATUS FROM V$ STANDBY_LOG;

    (4) change the file aprameter in the primary and standby

    Example:

    On the primary:

    change system db_name set = "crunch" scope = the two sid ='* ';
    ALTER system set db_unique_name = 'crunch' scope = the two sid ='* ';
    ALTER system set fal_client = crunch scope = the two sid ='* ';
    ALTER system set fal_server = crunch scope = the two sid ='* ';
    ALTER system set db_create_file_dest ='? ' scope = the two sid ='* ';
    ALTER system set db_recovery_file_dest = "?" scope = the two sid ='* ';
    ALTER system set log_archive_config = 'DG_CONFIG =(crunchs,crunch)' scope = the two sid ='* ';
    ALTER system set log_archive_dest_1 = USE_DB_RECOVERY_FILE_DEST VALID_FOR =(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME = crunch scope RENTAL = the two sid ='* ';
    ALTER system set log_archive_dest_2 SERVICE is crunches. RVPONP. FGOV.BE VALID_FOR (ONLINE_LOGFILES, PRIMARY_ROLE) = OPTIONAL DB_UNIQUE_NAME = crunch scope = the two sid ='* ';
    ALTER system set log_archive_dest_state_2 reporter scope = the two sid ='* ';
    ALTER system set LOCATION = USE_DB_RECOVERY_FILE_DEST scope standby_archive_dest = the two sid ='* ';

    On autonomy in standby:

    change system db_name set = "crunch" scope = the two sid ='* ';
    ALTER system set db_unique_name = 'crunch' scope = the two sid ='* ';
    ALTER system set fal_client = crunch scope = the two sid ='* ';
    ALTER system set fal_server = crunch scope = the two sid ='* ';
    ALTER system set db_create_file_dest ='? ' scope = the two sid ='* ';
    ALTER system set db_recovery_file_dest = "?" scope = the two sid ='* ';
    ALTER system set log_archive_config = 'DG_CONFIG =(crunch,crunchs)' scope = the two sid ='* ';
    ALTER system set log_archive_dest_1 = USE_DB_RECOVERY_FILE_DEST VALID_FOR =(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME = crunch scope RENTAL = the two sid ='* ';
    ALTER system set log_archive_dest_2 SERVICE is crunches. RVPONP. FGOV.BE VALID_FOR (ONLINE_LOGFILES, PRIMARY_ROLE) = OPTIONAL DB_UNIQUE_NAME = crunch scope = the two sid ='* ';
    ALTER system set log_archive_dest_state_2 reporter scope = the two sid ='* ';
    ALTER system set LOCATION = USE_DB_RECOVERY_FILE_DEST scope standby_archive_dest = the two sid ='* ';

    (5) copy us the password of the primary file and rename it to standby:
    /Oracle/product/10.2.0/DB/DBS

    Database standby departure not mounted
    sqlplus sys as sysdba
    startup nomount pfile='oracle/product/10.0.2/db/dbs/initcrunchs.ora';
    (or startup nomount; if the spfile exists before already)...

    Retrieve the eve of RMAN backup database
    . oraenv
    crunch

    RMAN nocatalog
    connection target sys /? @crunch
    connection Assistant sys /?
    target database duplicate for standby;

    Create a settings file server for database backup
    sqlplus sys as sysdba
    Create spfile from pfile;
    stop immediately;
    bootable media;

    Standby:
    ALTER DATABASE RECOVER MANAGED STANDBY BASE DISCONNECT FROM THE SESSION.
    Elementary school:
    ALTER system set log_archive_dest_state_2 = 'enable '.

    Up and running...

    Now you can after your copy and if the parameter files are both good, try:
    Standby:
    ALTER DATABASE RECOVER MANAGED STANDBY BASE DISCONNECT FROM THE SESSION.
    Elementary school:
    ALTER system set log_archive_dest_state_2 = 'enable '.

  • Convert or map Typedonnees decimal Transact-SQL for Oracle Number data type?

    MSSQL 2005
    Oracle 10.2 g

    In a MSSQL table, I have a column with the data type set on (decimal (1.0), null) with the values of line-1. (695 lines in total)

    In the Oracle table, the proposed mapped column is a number data type. When I import data, I received 695 errors with the message "invalid value for the field. How to properly convert or map Decimal (MSSQL) Transact-SQL for Oracle Number data type for a negative value?

    Thank you.

    How do you load data into Oracle? What tool or programming language you are using? Can you post something cause what you stated in your post should work, but there may be some ODBC, or other type of conversion factors to be taken into account.

     > create table t1 (field1  number(1,0));
    
    Table created.
    
     > insert into t1 values (-1);
    
    1 row created.
    
    UT1 > select * from t1;
    
        FIELD1
    ----------
            -1
    

    HTH - Mark D Powell.

  • IOM 9.1.0.2 - Multi Weblogic JDBC for Oracle RAC Data Sources

    IOM-IOM 9.1.0.2 BP07 supports Weblogic JDBC Multi Data Sources (Services > JDBC > Multi Data Sources) for Oracle RAC instead of insert the "Oracle RAC JDBC URL" on xlDS and xlXADS JDBC Data Sources (Services > JDBC > Data Sources > xlDS | xlXADS > survey login > URL)?
    If so, are there any other changes that must be made on IOM, or simply to change data sources?

    Yes, it is supported. You install against a single instance directly of the Rac server. Then you update the file config.xml and jdbc resources in your server weblogic with the full address of rac. It is documented for installation against CARS. http://docs.Oracle.com/CD/E14049_01/doc.9101/e14047/database.htm#insertedID2

    -Kevin

  • CF8. ODBC JDBC Oracle Date Vs. Portion of time not returned

    Hello.

    Just one of our servers upgraded to CF8. We are connect to an Oracle 10 g R2 server, and we also started to use Oracle JDBC drivers.

    If I make the following query under ODBC and empty the result.

    Query:
    Select CALL_DATE
    CALLS
    WHERE CALL_ID = 1234

    CALL_DATE
    -------------------
    2007-10-09 19:03:32.0


    Same query in JDBC:

    I get

    CALL_DATE
    --------------------
    2007-10-09 00:00:00.0

    Where my time gone missing?

    I know that I can mess with the SQL to return what I want, but we have loads of old applications that use CF to format the date and time and it would be a little unrealistic to do this! In addition, we would not be able to work on the time between two dates.

    Help!

    Ta
    Nick

    FYI, this is covered by

    http://KB.Adobe.com/selfservice/viewContent.do?externalId=kb400242&sliceId=1

    that was not easy to find.

    Note Although they spelled wrong compatible... they put compatibile... that does not work if you do a straight paste into!

  • Adobe offers support to upgrade DataDirect JDBC Oracle 11 g R2?

    I studied the forums, and apparently I'm the first person to ask this question.  Others called on the older versions of ColdFusion to connect to Oracle 11 g, and I saw that it was recommended to download directly from Oracle JDBC drivers.

    Amounts of change from Oracle 9 g to 11g R2, and we connect to Oracle with CF9.  CF9 documentation states that the DataDirect drivers supplied with CF9 support Oracle 11 g R1 (11.1).

    I need to know if this driver supports Oracle 11 g R2 (Oracle 11.2) or if I'll need to upgrade our JDBC driver?  Chances are if she supports R1, R2 must work well too... right?

    Maybe not.  I put in a direct data call, and they said that we would need to upgrade our JDBC drivers at least v4.1 support 11g R2.


    Information directly published versions JDBC 4.1, 4.2 and 5.0 since the release of Adobe CF9, so I need to know that Adobe offers a path of evolution for our JDBC drivers to a version superior or not - and I need to get this answer without any help from ColdFusion.  We should not need to pay for only one incident just whether or not Adobe provides a JDBC upgrade path.


    Appreciate the answers.

    Thank you!

    Well Yes, I'm sure that I've done it before and it'll be fine. This means that it will not necessarily support the new features in 11.2, but I believe that most of them are administrative and syntax additions, which are not something to do with the driver anyway.

  • Need ideas for compare current Oracle EBS data against the data warehouse to establish data matches course.

    Hello, I am new to the Oracle Forum. I'm a BI developer and I need to compare data Oracle EBS in my organization with the data in the data warehouse to make sure they match. I am using Informatica for this process by pulling the two sources and comparing. Can someone give me a brief example to make this process or similar methods with Informatica and its transformations so that it can be useful. Thanks in advance. Let me know if you need more information about the process.

    Looks like you are trying to make a reconciliation process? That is you can have implemented BIAPPS (or something custom) and now I want to check your ETL? If this is the case then it's good enough for a test case - we usually start with senior level (actual numbers for each group of companies, for example), then a subset of other different queries for example as per a level in the hierarchy of the org, by position, dates etc.

    and much more expensive as the implement of OLIVIER

    I don't think there are many in the world that is more expensive than the implementation of OLIVIER!

Maybe you are looking for

  • C870-19(r) satellite does not start with the new SSD

    Hello I will update the Toshiba Satellite C870 19(r) with a Pro 840 Samsung SSD, but it does not start. He said: not found system. Post edited by: joch333n

  • Y at - it a new version of NOR-VXI for Linux including Red Hat Enterprise 4?

    We now use the NOR-VXI 2.1 on kernel 2.6.19, it works very well. Now, we try to use on kernel 2.6.20, but it fails to compile the driver for nivxi, it seems not easy to resolve compile errors, do you know if there is a new NO-VXI software released fo

  • I am Korean user of HP Pavilion 17 laptop...

    제품 이름: HP 파빌리온 17 노트북 PC제품 번호: F9L94UAR # ABA 삼일 전, 이 메시지의 화면 하지만 인터넷은 여전히 잘 입고... (HIS, 익스플로러, 크롬) 내 노트북 은 미국 제품입니다 그래서 한국에서이 문제를 해결할 수 없습니다. 어떻게해야합니까?

  • Why can't I access the tasks in the Ribbon bar

    until recently, I have not had problems, but now I can't open the items on the Ribbon on the top of the page. On the homepage is nothing lite upward to access them, nothing is lite up on top of any one of them except like the print tab. How can I sol

  • How is - anyone not in it / IS having administrator rights on my work/desktop?

    I was the sole owner of the computer (its only 6 months), and the colleague is not even a manager of any kind... My direct boss doesn't have administrative rights, and this person has a similar position in society that I'm (Analytics data/Finance) I