Help on Oracle streams 11g configuration

Hi Streams experts
Can you please validate the following creation process steps ?
What is need to have streams doing is a one way replication of the AR
schema from a database to another database. Both DML and DDL shall do
the replication of the data.
Help on Oracle streams 11g configuration. I would also need your help
on the maintenance steps, controls and procedures
2 databases
1 src as source database
1 dst as destination database
replication type 1 way of the entire schema FaeterBR
Step 1. Set all databases in archivelog mode.
Step 2. Change initialization parameters for Streams. The Streams pool
size and NLS_DATE_FORMAT require a restart of the instance.
SQL> alter system set global_names=true scope=both;
SQL> alter system set undo_retention=3600 scope=both;
SQL> alter system set job_queue_processes=4 scope=both;
SQL> alter system set streams_pool_size= 20m scope=spfile;
SQL> alter system set NLS_DATE_FORMAT=
'YYYY-MM-DD HH24:MI:SS' scope=spfile;
SQL> shutdown immediate;
SQL> startup
Step 3. Create Streams administrators on the src and dst databases,
and grant required roles and privileges. Create default tablespaces so
that they are not using SYSTEM.
---at the src
SQL> create tablespace streamsdm datafile
'/u01/product/oracle/oradata/orcl/strepadm01.dbf' size 100m;
---at the replica:
SQL> create tablespace streamsdm datafile
---at both sites:
'/u02/oracle/oradata/str10/strepadm01.dbf' size 100m;
SQL> create user streams_adm
identified by streams_adm
default tablespace strepadm01
temporary tablespace temp;
SQL> grant connect, resource, dba, aq_administrator_role to
streams_adm;
SQL> BEGIN
DBMS_STREAMS_AUTH.GRANT_ADMIN_PRIVILEGE (
grantee => 'streams_adm',
grant_privileges => true);
END;
Step 4. Configure the tnsnames.ora at each site so that a connection
can be made to the other database.
Step 5. With the tnsnames.ora squared away, create a database link for
the streams_adm user at both SRC and DST. With the init parameter
global_name set to True, the db_link name must be the same as the
global_name of the database you are connecting to. Use a SELECT from
the table global_name at each site to determine the global name.
SQL> select * from global_name;
SQL> connect streams_adm/streams_adm@SRC
SQL> create database link DST
connect to streams_adm identified by streams_adm
using 'DST';
SQL> select sysdate from dual@DST;
SLQ> connect streams_adm/streams_adm@DST
SQL> create database link SRC
connect to stream_admin identified by streams_adm
using 'SRC';
SQL> select sysdate from dual@SRC;
Step 6. Control what schema shall be replicated
FaeterBR is the schema to be replicated
Step 7. Add supplemental logging to the FaeterBR schema on all the
tables?
SQL> Alter table FaeterBR.tb1 add supplemental log data
(ALL) columns;
SQL> alter table FaeterBR.tb2 add supplemental log data
(ALL) columns;
etc...
Step 8. Create Streams queues at the primary and replica database.
---at SRC (primary):
SQL> connect stream_admin/stream_admin@ORCL
SQL> BEGIN
DBMS_STREAMS_ADM.SET_UP_QUEUE(
queue_table => 'streams_adm.FaeterBR_src_queue_table',
queue_name => 'streams_adm.FaeterBR_src__queue');
END;
---At DST (replica):
SQL> connect stream_admin/stream_admin@STR10
SQL> BEGIN
DBMS_STREAMS_ADM.SET_UP_QUEUE(
queue_table => 'stream_admin.FaeterBR_dst_queue_table',
queue_name => 'stream_admin.FaeterBR_dst_queue');
END;
Step 9. Create the capture process on the source database (SRC).
SQL> BEGIN
DBMS_STREAMS_ADM.ADD_SCHEMA_RULES(
schema_name =>'FaeterBR',
streams_type =>'capture',
streams_name =>'FaeterBR_src_capture',
queue_name =>'FaeterBR_src_queue',
include_dml =>true,
include_ddl =>true,
include_tagged_lcr =>false,
source_database => NULL,
inclusion_rule => true);
END;
Step 10. Instantiate the FaeterBR schema at DST. by doing export
import : Can I use now datapump to do that ?
---AT SRC:
exp system/superman file=FaeterBR.dmp log=FaeterBR.log
object_consistent=y owner=FaeterBR
---AT DST:
---Create FaeterBR tablespaces and user:
create tablespace FaeterBR_datafile
'/u02/oracle/oradata/str10/FaeterBR_01.dbf' size 100G;
create tablespace ws_app_idx datafile
'/u02/oracle/oradata/str10/FaeterBR_01.dbf' size 100G;
create user FaeterBR identified by FaeterBR_
default tablespace FaeterBR_
temporary tablespace temp;
grant connect, resource to FaeterBR;
imp system/123db file=FaeterBR_.dmp log=FaeterBR.log fromuser=FaeterBR
touser=FaeterBR streams_instantiation=y
Step 11. Create a propagation job at the source database (SRC).
SQL> BEGIN
DBMS_STREAMS_ADM.ADD_SCHEMA_PROPAGATION_RULES(
schema_name =>'FaeterBR',
streams_name =>'FaeterBR_src_propagation',
source_queue_name =>'stream_admin.FaeterBR_src_queue',
destination_queue_name=>'stream_admin.FaeterBR_dst_queue@dst',
include_dml =>true,
include_ddl =>true,
include_tagged_lcr =>false,
source_database =>'SRC',
inclusion_rule =>true);
END;
Step 12. Create an apply process at the destination database (DST).
SQL> BEGIN
DBMS_STREAMS_ADM.ADD_SCHEMA_RULES(
schema_name =>'FaeterBR',
streams_type =>'apply',
streams_name =>'FaeterBR_Dst_apply',
queue_name =>'FaeterBR_dst_queue',
include_dml =>true,
include_ddl =>true,
include_tagged_lcr =>false,
source_database =>'SRC',
inclusion_rule =>true);
END;
Step 13. Create substitution key columns for äll the tables that
haven't a primary key of the FaeterBR schema on DST
The column combination must provide a unique value for Streams.
SQL> BEGIN
DBMS_APPLY_ADM.SET_KEY_COLUMNS(
object_name =>'FaeterBR.tb2',
column_list =>'id1,names,toys,vendor');
END;
Step 14. Configure conflict resolution at the replication db (DST).
Any easier method applicable the schema?
DECLARE
cols DBMS_UTILITY.NAME_ARRAY;
BEGIN
cols(1) := 'id';
cols(2) := 'names';
cols(3) := 'toys';
cols(4) := 'vendor';
DBMS_APPLY_ADM.SET_UPDATE_CONFLICT_HANDLER(
object_name =>'FaeterBR.tb2',
method_name =>'OVERWRITE',
resolution_column=>'FaeterBR',
column_list =>cols);
END;
Step 15. Enable the capture process on the source database (SRC).
BEGIN
DBMS_CAPTURE_ADM.START_CAPTURE(
capture_name => 'FaeterBR_src_capture');
END;
Step 16. Enable the apply process on the replication database (DST).
BEGIN
DBMS_APPLY_ADM.START_APPLY(
apply_name => 'FaeterBR_DST_apply');
END;
Step 17. Test streams propagation of rows from source (src) to
replication (DST).
AT ORCL:
insert into FaeterBR.tb2 values (
31000, 'BAMSE', 'DR', 'DR Lejetoej');
AT STR10:
connect FaeterBR/FaeterBR
select * from FaeterBR.tb2 where vendor= 'DR Lejetoej';
Any other test that can be made?

Check the metalink doc 301431.1 and validate
How To Setup One-Way SCHEMA Level Streams Replication [ID 301431.1]
Oracle Server Enterprise Edition - Version: 10.1.0.2 to 11.1.0.6
Cheers.

Similar Messages

  • Oracle fusion 11g configuration problem.

    Dears,
    I have a problem configuring classic instance of oracle fusion 11g.
    Here is what I have.
    Oracle virtual box 4.0.8 with windows xp sp2 32 bit.
    Installed Oracle database 11g r2.
    Installed sun jdk java 16 update 20.
    Installed WLS using generic wls1033_generic.jar
    Installed Oracle Fusion Middleware win32_11.1.1.2.0_32 software only.
    Installed Oracle Fusion Middleware win32_11.1.1.3.0_32 patch.
    When starting config.bat from D:\Oracle\Middleware\as_1\bin and provide some parameters, it start configuring and then sleep in the stage of creating domain, I checked the log files and no problem shown.
    Please help with that.
    Thanks in advance.

    WinXP SP2 is not certified with FMW 11g, try to use latest patch (Portal, Discoverer, Forms, Reports 11.1.1.4, others 11.1.1.5).
    M.

  • Oracle Reports 11g: Configuration done through EM Console lost on restart

    I am looking for some help in understanding how the configuration files are synched up with Managed Server domain in Oracle Reports 11g.
    I have an HA environment that contains two managed servers on two nodes with admin server shared between the two nodes via NAS.
    I am observing that configuration changes done to in-process reports server configuration using EM console (e.g. max Connections or shared job repositor etc) do not persist a server restart.
    I have observed that the changes made by EM update the configuration files (rwserver.conf and rwservlet.properties files) under managed server domain directory.
    But when the managed server is restarted, these files are overwritten by some other copy of the same file.
    I am not able to zero down on the location of this master copy.
    Any help in identifying that configuration and resolving this issue will be great!
    I can provide more information if required.
    Thanks!
    Vikran

    Thanks, The problem seem to persist in the opmn.log.
    The logs say that there is a problem with the Connection. Particularly
    01/21/03 07:27:09 Connection 1,206.101.32.36,6201
    connect (errno=111)
    Another error we are seeing is 6201
    There is something about the DISPLAY variable being set in the configuration files. We made sure it was set according to the document note you have mentioned. After testing, the problem seem to persit.
    02/10/01 07:27:09 Connection 1,206.101.32.36,6201 connect (errno=146). Document ID 283586.995 on Metalink mention some thing similar.
    Thanks

  • Help with Oracle Streams. How to uniquely identify LCRs in queue?

    We are using strems for data replication in our shop.
    When an error occours in our processing procedures, the LCR is moved to the error queue.
    The problem we are facing is we don't know how to uniquely identify LCRs in that queue, so we can run them again when we think the error is corrected.
    LCRs contain SCN, but as I understand it, the SCN is not unique.
    What is the easy way to keep track of LCRs? Any information is helpful.
    Thanks

    Hi,
    When you correct the data,you would have to execute the failed transaction in order.
    To see what information the apply process has tried to apply, you have to print that LCR. Depending on the size (MESSAGE_COUNT) of the transaction that has failed, it could be interesting to print the whole transaction or a single LCR.
    To do this print you can make use of procedures print_transaction, print_errors, print_lcr and print_any documented on :
    Oracle Streams Concepts and Administration
      Chapter - Monitoring Streams Apply Processes
         Section - Displaying Detailed Information About Apply Errors
    These procedures are also available through Note 405541.1 - Procedure to Print LCRs
    To print the whole transaction, you can use print_transaction procedure, to print the error on the error queue you can use procedure print_errors and to print a single_transaction you can do it as follows:
    SET SERVEROUTPUT ON;
    DECLARE
       lcr SYS.AnyData;
    BEGIN
        lcr := DBMS_APPLY_ADM.GET_ERROR_MESSAGE
                    (<MESSAGE_NUMBER>, <LOCAL_TRANSACTION_ID>);
        print_lcr(lcr);
    END;
    Thanks

  • Oracle RAC 11G Configuration on windows server 2008 Using Hyper V

    Hi,
    I want to implement 2 node RAC with CENTOS As my virtual machine using microsoft Hyper V.
    I am confused about this ip setup Especially private and VIP.
    Can anyone help on this please
    Thanks,
    Vinodh

    Yes thanks for the reply. i did that yesterday with Oracle VM and i am almost finished with my setup.
    Found this article on net which has clear explanations. If someone need this it they can use this.
    http://www.lab128.com/rac_installation_using_vb/article_text.html
    Anyway once i fully complete this setup will close this thread until then in case of doubts i will update here.
    Thanks,
    Vinodh

  • Oracle Streams - Dataguard Configuration

    Dataguard<------Streams<----Production------> Dataguard
    I'm planning to implement a 4-way System where My Production Database with its own Physical Standby will be streaming(Streams database) to A reporting Database with its own Physical Standby.So,Effectively My production database,Especially it's redo logs will be put under severe load.I would like get some light on the feasibility of such a Setup.What parameters can i Take care of so as to make it a profitable High Availability-High Preformance System?
    Any suggestions and advice will be highly appreciated..

    Remember that Streams check the source DB name of the LCR. Thus the db_name of each standby must be the same as the of the open DB of the remote DB will reject the LCR of the standby when it is activated.
    Also streams, dataguard and crash don't fit so well in respect of streams consistency. At the crach time, some transaction will be lost that would have already been sent by streams, since streams react beneath the second. Thus when you activate the dataguard with its loss of some data, you are going to miss some source transaction, that would have already been replicated. You may end with errors on target site, either being dup val on transaction or OLD value in target do not match new value in LCR.
    You can't avoid 100% this but you can decrease its extend. Use as method the 'LGW asynct' as dataguard destination.
    LOG_ARCHIVE_DEST_2='SERVICE=boston LGWR ASYNC'
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/log_transport.htm#i1265762
    This requires to create the standby redo logs on the dataguard DB (and also on the source DB, since it may becomes itself the standby) so that LGWR updates the remote redo as soon as it can ('async' otherwise 'sync' means that the commit on source is done AFTER the commit into the dataguard and you don't want that).
    From my own observation the 'LGWR async nowait' lag usually under 1 sec behind production, which is very good.

  • Help install Oracle 10gr2  Assistant Configuration

    I try to install oracle 10g r2 on Windows xp
    When i arrive to "Assistant Configuration de base de donnees" i have some problems
    OUI starts to copy files into database (phase create clone database) at 2% i have a pop-up with error message :
    ORA-00604 error occurred at recursive SQL level 1
    ORA-02248 invalid option for ALTER SESSION
    if i ignore at 12% I see error message:
    ORA-01012 not logged on
    At 62% OUI can't create and start an Oracle instance
    Is some body else have see the same problem?
    How can i do to finish my installation?
    It is possible to continue with or without OUI?
    Regards

    I try to install oracle 10g r2 on Windows xp
    When i arrive to "Assistant Configuration de base de donnees" i have some problems
    OUI starts to copy files into database (phase create clone database) at 2% i have a pop-up with error message :
    ORA-00604 error occurred at recursive SQL level 1
    ORA-02248 invalid option for ALTER SESSION
    if i ignore at 12% I see error message:
    ORA-01012 not logged on
    At 62% OUI can't create and start an Oracle instance
    Is some body else have see the same problem?
    How can i do to finish my installation?
    It is possible to continue with or without OUI?
    Regards

  • Oracle streams configuration problem

    Hi all,
    i'm trying to configure oracle stream to my source database (oracle 9.2) and when i execute the package DBMS_LOGMNR_D.SET_TABLESPACE('LOGMNRTS'); i got an error bellow:
    ERROR at line 1:
    ORA-01353: existing Logminer session
    ORA-06512: at "SYS.DBMS_LOGMNR_D", line 2238
    ORA-06512: at line 1
    When checking some docs, they told i have to destraoy all logminer session, and i verify to v$session view and cannot identify logminer session. If someone can help me because i need this sttream tools for schema synchronization of my production database and datawarehouse database.
    That i want is how to destroy or stop logminer session.
    Thnaks for your help
    regards
    raitsarevo

    Thanks Werner, it's ok now my problem is solved and here bellow the output of your script.
    I profit if you have some docs or some advise for my database schema synchronisation, is using oracle sctrems is the best or can i use anything else but not Dataguard concept or standby database because i only want to apply DMl changes not DDL. If you have some docs for Oracle streams and especially for schema synchronization not tables.
    many thanks again, and please send to my email address [email protected] if needed
    ABILLITY>DELETE FROM system.logmnr_uid$;
    1 row deleted.
    ABILLITY>DELETE FROM system.logmnr_session$;
    1 row deleted.
    ABILLITY>DELETE FROM system.logmnrc_gtcs;
    0 rows deleted.
    ABILLITY>DELETE FROM system.logmnrc_gtlo;
    13 rows deleted.
    ABILLITY>EXECUTE DBMS_LOGMNR_D.SET_TABLESPACE('LOGMNRTS');
    PL/SQL procedure successfully completed.
    regards
    raitsarevo

  • Configure UCP/FCF for oracle RAC 11g R2 in JBOSS

    I am trying to configure UCP/FCF with Oracle RAC 11g R2.
    Currently, I have configured oracle-ds.xml in Jboss in my deploy folder.
    I have got this working using jboss connection pool
    <xa-datasource>
    <jndi-name>name1</jndi-name>
    <track-connection-by-tx>true</track-connection-by-tx>
    <isSameRM-override-value>false</isSameRM-override-value>
    <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
    <xa-datasource-property name="URL">
    jdbc:oracle:thin:@(description=(address_list=(load_balance=on)(address=(protocol=tcp)(host=sample1.oracle.com)(port=1521)))(connect_data=(service_name=ha1)))
    </xa-datasource-property>
    <xa-datasource-property name="User">dbo_9</xa-datasource-property>
    <xa-datasource-property name="Password">dbo_9</xa-datasource-property>
    <exception-sorter-class-name>
    org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
    </exception-sorter-class-name>
    <no-tx-separate-pools/>
    <min-pool-size>100</min-pool-size>
    <max-pool-size>100</max-pool-size>
    <check-valid-connection-sql>SELECT 1 FROM DUAL</check-valid-connection-sql>
    <new-connection-sql>SELECT 1 FROM DUAL</new-connection-sql>
    </xa-datasource>
    1. I have configured ONS on database server. (racnode1:6200,racnode2:6200)
    2. I have copied ons.jar,ucp.jar,ojdbc6.jar in classpath.
    Now, how do I enable UCP and configure FCF in jboss.
    can anybody please help me?
    Edited by: user10697869 on Dec 14, 2011 12:22 PM

    not supported ..

  • HELP-Oracle Database 11g Instalation interupted

    I have a problem with instalation of Oracle 11g database. I am completely new to Oracle database. While installing Oracle database 11g for Windows (32 bit) I received the following messages . My OS is Vista 32 bit.
    Output generated from configuration assistant "Oracle Net Configuration Assistant":
    Command = C:\Windows\system32\cmd /c call ${ORACLE_HOME}/bin/netca.bat /orahome D:\app\danilo&jaca\product\11.1.0\db_1 /orahnam OraDb11g_home1 /instype typical /inscomp client,oraclenet,javavm,server,ano /insprtcl tcp,nmp /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile D:\app\danilo&jaca\product\11.1.0\db_1\network\install\netca_typ.rsp
    Configuration assistant "Oracle Net Configuration Assistant" failed
    The "D:\app\danilo&jaca\product\11.1.0\db_1\cfgtoollogs\configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.-----------------------------------------------------------------------------Output generated from configuration assistant "Oracle Net Configuration Assistant":
    Command = C:\Windows\system32\cmd /c call ${ORACLE_HOME}/bin/netca.bat /orahome D:\app\danilo&jaca\product\11.1.0\db_1 /orahnam OraDb11g_home1 /instype typical /inscomp client,oraclenet,javavm,server,ano /insprtcl tcp,nmp /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile D:\app\danilo&jaca\product\11.1.0\db_1\network\install\netca_typ.rsp
    Configuration assistant "Oracle Net Configuration Assistant" failed
    The "D:\app\danilo&jaca\product\11.1.0\db_1\cfgtoollogs\configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.-----------------------------------------------------------------------------
    Also, I have a message that Oracle Database Configuration assistant is pending.
    I would really appreciate if you can help me with this.
    Thank you in advance.
    Regards.

    Correct - pl see the requirements in the 11.1.0.7 Install manual - http://download.oracle.com/docs/cd/B28359_01/install.111/b32301/toc.htm#BGBEEBAD
    HTH
    Srini

  • Help! My  Oracle Form builder 11g can't conect Oracle database(11g/10g)

    I have installed
    1.Oracle Database 11g Release 2 Standard edtion
    2.WebLogic Server (10.3.3)
    3.Portal, Forms, Reports and Discoverer (11.1.1.3.0)
    after install I try run the test.fmx is ok!
    But I want used form builder 11g connect my database 11g(installed at same host),
    It connect appeared ORA-12154: TNS: could not resolve service name.
    I search all about middleware folder in my PC , then find two tnsnames files and two sqlnet.ora
    the sqlnet.ora content is
    #==============================================================
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    #==============================================================
    the tnsnames.ora content is(copy same content from oracle database 11g's tnsnames.ora)
    #==============================================================
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = test1.XXX.com.tw)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.XXX.com.tw)
    #==============================================================
    The I update all of my PC's tnsnames.ora like above string,but it always not work
    somebody help me,thanks!!

    Ronald,
    I was able to connect to a database with Forms 11g by adding an Environment variable TNS_ADMIN and pointing this to the directory where the sqlnet.ora and tnsnames.ora files are located. I was unable to find a Net Configuration Assistant in Forms 11g and placing a copy of .ora files in the /%11G HOME/NETWORK/ADMIN didn't work either. Only after I added the environment variable was I able to connect.
    There might be a "More Appropriate" solution, but this is what worked for me. We are just now testing 11g, but are still developing with 10g R2.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.
    Edited by: CraigB on Sep 16, 2010 8:43 AM

  • Install Oracle BI 11g 11.1.1.5.0 Configuring OCM failed

    Hi all,
    I'm installing Oracle BI 11g on Window7 32 bit.
    It's almost done. But I have an error at Configuration Progess / Configuring OCM failed. The message is: "Error encountered in deploying OCM instance. Exit code =1"
    I check the install Log:
    [2012-12-27T13:36:37.349+07:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] Checking for $ORACLE_HOME/ocm.rsp file existence
    [2012-12-27T13:36:37.349+07:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] $ORACLE_HOME/ocm.rsp exists
    [2012-12-27T13:36:37.349+07:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] Install handler params :-componentName ocm1 -componentType OCM -cfgHome C:\OracleBI11g\instances\instance1 -rspFilePath C:\OracleBI11g\Oracle_BI1\ocm.rsp -oracleInstance C:\OracleBI11g\instances\instance1
    [2012-12-27T13:36:37.349+07:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.as.config.impl.OracleASInstanceProvisioner] [SRC_METHOD: directoryIsPopulated] directoryIsPopulated found unexcluded file/dir: C:\OracleBI11g\instances\instance1\auditlogs
    [2012-12-27T13:36:37.349+07:00] [as] [TRACE:32] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.as.config.impl.OracleASInstanceProvisioner] [SRC_METHOD: calcDirectoryStatus] Oracle Instance directory status: INSTANCE
    [2012-12-27T13:36:37.379+07:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.as.config.impl.RuntimeServiceConnection] [SRC_METHOD: connect] Creating connection to weblogic.management.mbeanservers.runtime
    [2012-12-27T13:36:37.379+07:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.as.config.impl.RuntimeServiceConnection] [SRC_METHOD: getAttribute] Getting RegisterMBean attribute: RegisteredInstanceNames
    [2012-12-27T13:36:37.389+07:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.as.config.impl.RuntimeServiceConnection] [SRC_METHOD: disconnect] Breaking connection to mbean server
    [2012-12-27T13:36:37.389+07:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.as.config.impl.RuntimeServiceConnection] [SRC_METHOD: connect] Creating connection to weblogic.management.mbeanservers.runtime
    [2012-12-27T13:36:37.389+07:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.as.config.impl.RuntimeServiceConnection] [SRC_METHOD: invokeMBean] Invoking RegisterMBean operation: getRegisteredComponentNames
    [2012-12-27T13:36:37.389+07:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.as.config.impl.RuntimeServiceConnection] [SRC_METHOD: disconnect] Breaking connection to mbean server
    [2012-12-27T13:36:37.389+07:00] [as] [TRACE] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.as.config.impl.OracleASComponentBaseImpl] [SRC_METHOD: createComponent] Creating empty component directories...
    [2012-12-27T13:36:37.389+07:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.sysman.ccr.configCCR.OCMComponentImpl] [SRC_METHOD: createComponentDirs] ENTRY
    [2012-12-27T13:36:37.389+07:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.as.config.impl.OracleASComponentBaseImpl] [SRC_METHOD: createComponentDirs] Confirming Oracle Instance exists: C:\OracleBI11g\instances\instance1
    [2012-12-27T13:36:37.389+07:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.as.config.impl.OracleASComponentBaseImpl] [SRC_METHOD: createComponentDirs] Creating empty component directory: C:\OracleBI11g\instances\instance1\OCM\ocm1
    [2012-12-27T13:36:37.389+07:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.as.config.impl.OracleASComponentBaseImpl] [SRC_METHOD: createComponentDirs] Creating empty component config directory: C:\OracleBI11g\instances\instance1\config\OCM\ocm1
    [2012-12-27T13:36:37.389+07:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.as.config.impl.OracleASComponentBaseImpl] [SRC_METHOD: createComponentDirs] Creating empty component log directory: C:\OracleBI11g\instances\instance1\diagnostics\logs\OCM\ocm1
    [2012-12-27T13:36:37.389+07:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.sysman.ccr.configCCR.OCMComponentImpl] [SRC_METHOD: createComponentDirs] RETURN
    [2012-12-27T13:36:37.389+07:00] [as] [TRACE] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.as.config.impl.OracleASComponentBaseImpl] [SRC_METHOD: createComponent] Provisioning OCM files for ocm1
    [2012-12-27T13:36:37.399+07:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.as.config.impl.PortTracker] [SRC_METHOD: removePorts] Port tracker removing ports for component:
    [2012-12-27T13:36:37.399+07:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.sysman.ccr.configCCR.OCMComponentImpl] [SRC_METHOD: onCreate] ENTRY
    [2012-12-27T13:36:37.399+07:00] [as] [TRACE] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.sysman.ccr.configCCR.OCMComponentImpl] [SRC_METHOD: onCreate] Creating OCM instance directories in ORACLE_INSTANCE
    [2012-12-27T13:36:37.399+07:00] [as] [TRACE] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.sysman.ccr.configCCR.OCMComponentImpl] [SRC_METHOD: onCreate] Deploying the OCM packages.
    [2012-12-27T13:36:37.399+07:00] [as] [TRACE] [] [oracle.as.config] [tid: 24] [ecid: 0000JjQystM2ZNYzLouHOA1GqxDq00000F,0] [SRC_CLASS: oracle.sysman.ccr.configCCR.OCMComponentImpl] [SRC_METHOD: onCreate] running cmd /c C:\OracleBI11g\Oracle_BI1\ccr\bin\setupCCR.exe -S OUI -V 10.3.0.3.0 -c -R C:\OracleBI11g\Oracle_BI1\ocm.rsp
    [2012-12-27T13:36:39.621+07:00] [as] [TRACE] [] [oracle.as.config] [tid: 27] [ecid: 0000JjR4vD52ZNYzLouHOA1GqxDq00000I,0] [SRC_CLASS: oracle.sysman.ccr.configCCR.OCMComponentImpl$StreamBleeder] [SRC_METHOD: run] *Error : C:\PROGRA~1\Java\JDK17~1.0_0\bin does not contain java.[[*
    JAVA_HOME does not contain a valid JDK/JRE.
    Redefine JAVA_HOME to refer to a JDK/JRE 1.3.0 or greater.
    when I check the System variables:
    JAVA_HOME = C:\Program Files\Java\jdk1.7.0_05\bin\
    Maybe I have problem in JDK version?
    Can you plz help me fix?
    Thank you

    OBIEE 11g is not certified with windows 7 32bit. Please see the certification matrix: http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/bi-11gr1certmatrix-166168.html

  • Problem in configuring Oracle Streams

    Hi Experts,
    I am trying to configure oracle streams on oracle 10g through OEM, among the 5 steps, all steps went smooth, the very last step that asks the host username and host password is giving error "Login Error - oracle.sysman.emSDK.admObj.AdminObjectException: ERROR: Wrong password for user"
    I want one complete schema to be replicated...
    Source :
    Oracle : 10.2.0.1
    OS : Windows
    User : administrator/passwd
    Dest :
    Oracle : 10.2.0.4
    OS : RHEL 4.7
    User : oracle/oracle
    please help me, thanks

    Hello, Pls how did you reset your password. I have changed my password but still is not working. Pls give me step to do that.
    Waiting for your reply.
    Thanks

  • Oracle OSB 11G. Unable to find Oracle Service Bus Configuration Page.

    Hi All,
    Sorry for the apparent silly question but I am studying and learning the product.
    I have the OSB 11G installed and running with a proxy service working and routing requests. The Oracle ESB documentation http://download.oracle.com/docs/cd/E21764_01/doc.1111/e15866/ui_ref.htm#i1327746 at chapter 4.4.2 New Oracle Service Bus Configuration Project Wizard
    Use this wizard to create an Oracle Service Bus configuration project. For configuration options, see Section 4.4.3, "Oracle Service Bus Configuration Page."
    4.4.3 Oracle Service Bus Configuration Page.
    I don't see the configuration page in anywhere in the left pane of the console. Am I missing something? The project creation works fine but I just don't see the configuration Wizard.
    Thanks.
    Regards
    Salvatore Ilardo

    The link which you are referring is for user interface objects in the Oracle Service Bus plug-ins and OSB plug-ins are used with OEPE (Oracle Enterprise Pack for Ecplise) for OSB development. OEPE is the only supported IDE for OSB development as of now.
    Remember, at a time, one and only one Oracle Service Bus Configuration project can be deployed in a OSB domain which may contain desired number of Oracle Service Bus Projects and that's why there is no provision of creating Oracle Service Bus Configuration Project in sbconsole GUI. In IDE, you may create many Oracle Service Bus Configuration Project and that's why it has a Oracle Service Bus Configuration Project Wizard.
    Regards,
    Anuj

  • Help with oracle 11g pivot operator

    i need some help with oracle 11g pivot operator. is it possible to use multiple columns in the FOR clause and then compare it against multiple set of values.
    here is the sql to create some sample data
    create table pivot_data ( country_code number , dept number, job varchar2(20), sal number );
    insert into pivot_data values (1,30 , 'SALESMAN', 5000);
    insert into pivot_data values (1,301, 'SALESMAN', 5500);
    insert into pivot_data values (1,30 , 'MANAGER', 10000);     
    insert into pivot_data values (1,301, 'MANAGER', 10500);
    insert into pivot_data values (1,30 , 'CLERK', 4000);
    insert into pivot_data values (1,302, 'CLERK',4500);
    insert into pivot_data values (2,30 , 'SALESMAN', 6000);
    insert into pivot_data values (2,301, 'SALESMAN', 6500);
    insert into pivot_data values (2,30 , 'MANAGER', 11000);     
    insert into pivot_data values (2,301, 'MANAGER', 11500);
    insert into pivot_data values (2,30 , 'CLERK', 3000);
    insert into pivot_data values (2,302, 'CLERK',3500);
    using case when I can write something like this and get the output i want
    select country_code
    ,avg(case when (( dept = 30 and job = 'SALESMAN' ) or ( dept = 301 and job = 'SALESMAN' ) ) then sal end ) as d30_sls
    ,avg(case when (( dept = 30 and job = 'MANAGER' ) or ( dept = 301 and job = 'MANAGER' ) ) then sal end ) as d30_mgr
    ,avg(case when (( dept = 30 and job = 'CLERK' ) or ( dept = 302 and job = 'CLERK' ) ) then sal end ) as d30_clrk
    from pivot_data group by country_code;
    output
    country_code          D30_SLS               D30_MGR               D30_CLRK
    1      5250      10250      4250
    2      6250      11250      3250
    what I tried with pivot is like this I get what I want if I have only one ( dept,job) for one alias name. I want to call (30 , 'SALESMAN') or (301 , 'SALESMAN') AS d30_sls. any help how can I do this
    SELECT *
    FROM pivot_data
    PIVOT (SUM(sal) AS sum
    FOR (dept,job) IN ( (30 , 'SALESMAN') AS d30_sls,
              (30 , 'MANAGER') AS d30_mgr,               
    (30 , 'CLERK') AS d30_clk
    this is a simple example .... my real life scenario is compliated with more fields and more combinations .... So something like using substr(dept,1,2) won't work in my real case .
    any suggestions get the result similar to what i get in the case when example is really appreciated.

    Hi,
    Sorry, I don't think there's any way to get exactly what you requested. The values you give in the PIVOT ... IN clause are exact values, not alternatives.
    You could do something like this to map all alternatives to a common value:
    WITH     got_dept_grp     AS
         SELECT     country_code, job, sal
         ,     CASE
                  WHEN  job IN ('SALESMAN', 'MANAGER') AND dept = 301 THEN 30
                  WHEN  job IN ('CLERK')               AND dept = 302 THEN 30
                                                                     ELSE dept
              END     AS dept_grp
         FROM     pivot_data
    SELECT     *
    FROM     got_dept_grp
    PIVOT     (     AVG (sal)
         FOR     (job, dept_grp)
         IN     ( ('SALESMAN', 30)
              , ('MANAGER' , 30)
              , ('CLERK'   , 30)
    ;In your sample data (and perhaps in your real data), it's about as easy to explicitly define the pivoted groups individually, like this:
    WITH     got_pivot_key     AS
         SELECT     country_code, sal
         ,     CASE
                  WHEN  job = 'SALESMAN' AND dept IN (30, 301) THEN 'd30_sls'
                  WHEN  job = 'MANAGER'  AND dept IN (30, 301) THEN 'd30_mgr'
                  WHEN  job = 'CLERK'    AND dept IN (30, 302) THEN 'd30_clrk'
              END     AS pivot_key
         FROM    pivot_data
    SELECT     *
    FROM     got_pivot_key
    PIVOT     (     AVG (sal)
         FOR     pivot_key
         IN     ( 'd30_sls'
              , 'd30_mgr'
              , 'd30_clrk'
    ;Thanks for posting the CREATE TABLE and INSERT statements; that really helps!

Maybe you are looking for

  • Cool code to move a region to another spot on the page.  HELP-doesn't email

    I am moving a region from one place to another on a page.... putting it in the middle of a report. I mentioned it here : documentation on html_GetElement, and moving a regionID via javascript Why am I doing this? I needed to see one purchase order, w

  • Calling a method by a button

    Hy outthere, does anyone know how to call a method in my bean by clicking a button It's purpose is deleting an item in a Guestbook. i imagined somethin like that: <Input type="button" onclick="<% guestbook.deleteItem(); %>"> Or is it a completly diff

  • IChat over Bounjour doesn't work

    Whenever I sign in Bonjour on my computer, I am able to see the other Mac in my network also. However, IM messages do not get through and audio/video chat doesn't seem to work either. Any idea what's wrong?

  • Possible for Acrobat XI to compile html code to create hyperlinks out of "regular" words?

    Hi, I've downloaded Acrobat 11, which I used to convert to pdf a Mac Word 2011 document that contains some html code like this: <a href="http://www.adobe.com">Adobe's website</a> I want the html code to be "compiled" and clickable so that when one cl

  • Monitor specific PI messages from SAP portal

    Business users want to be made aware of problems in our F4F interface how would I display specific PI messages to the business. They don't want a complex solution. I don't think they would be able to page through SXMB_MON transaction.