Help: Group Oracle Applications in OracleAS webserver
We have serval Oracle Forms and Reports applications in OracleAS. Right now we put all Forms and Reports, amazingly a lot, in the server like:
http://"oracleASname"/forms90/
I believe that there should be a way to put subforders in ./oracleASname/forms90/, like:
./oracleASname/forms90/application_1;
./oracleASname/forms90/application_2;
./oracleASname/forms90/application_3;
etc..
How can we make something like that to happen?
Any help will be greatly appreciated.
Thank you in advance.
Jimmy
Hi,
You can specify application specific folders in the <Oracle_Home>/forms90/server/default.env file.
You could setup a file for each application by specifying the correct .env file in the formsweb.cfg file in the same directory. Parameter is envFile.
HTHs
L :-)
Similar Messages
-
Hi all,
DB:11.2.0.3.0
EBS:12.1.3
O/S: Sun Solaris SPARC 64 bits
I am not able to view Forms Server version in Help: About Oracle Applications after the forms upgrade 10.1.2.3.0 after the forms upgrade 10.1.2.3.0 as per note:Upgrading OracleAS 10g Forms and Reports to 10.1.2.3 (437878.1)
Java/jre upgraded to 1.7.0.45 and JAR files regenerated(without force option). Able to opne forms without any issues.
A)
$ORACLE_HOME/bin/frmcmp help=y
FRM-91500: Unable to start/complete the build.
B)
$ORACLE_HOME/bin/rwrun ?|grep Release
Report Builder: Release 10.1.2.3.0 - Production on Thu Nov
28 14:20:45 2013
Is this an issue? Could anyone please share the fix if faced the similar issue earlier.
Thank You for your time
Regards,Hi Hussein,
You mean reboot the solaris server and then start database and applications services. We have two databases running on this solaris server.
DBWR Trace file shows:
Read of datafile '+ASMDG002/test1/datafile/system.823.828585081' (fno 1) header failed with ORA-01206
Rereading datafile 1 header failed with ORA-01206
V10 STYLE FILE HEADER:
Compatibility Vsn = 186646528=0xb200000
Db ID=0=0x0, Db Name='TEST1'
Activation ID=0=0x0
Control Seq=31739=0x7bfb, File size=230400=0x38400
File Number=1, Blksiz=8192, File Type=3 DATA
Tablespace #0 - SYSTEM rel_fn:1
Creation at scn: 0x0000.00000004 04/27/2000 23:14:44
Backup taken at scn: 0x0001.db8e5a1a 04/17/2010 04:16:14 thread:1
reset logs count:0x316351ab scn: 0x0938.0b32c3b1
prev reset logs count:0x31279a4c scn: 0x0938.08469022
recovered at 11/28/2013 19:43:22
status:0x2004 root dba:0x00c38235 chkpt cnt: 364108 ctl cnt:364107
begin-hot-backup file size: 230400
Checkpointed at scn: 0x0938.0cb9fe5a 11/28/2013 15:04:52
thread:1 rba:(0x132.49a43.10)
enabled threads: 01000000 00000000 00000000 00000000 00000000 00000000
Hot Backup end marker scn: 0x0000.00000000
aux_file is NOT DEFINED
Plugged readony: NO
Plugin scnscn: 0x0000.00000000
Plugin resetlogs scn/timescn: 0x0000.00000000 01/01/1988
00:00:00
Foreign creation scn/timescn: 0x0000.00000000 01/01/1988
00:00:00
Foreign checkpoint scn/timescn: 0x0000.00000000 01/01/1988
00:00:00
Online move state: 0
DDE rules only execution for: ORA 1110
----- START Event Driven Actions Dump ----
---- END Event Driven Actions Dump ----
----- START DDE Actions Dump -----
Executing SYNC actions
----- START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
Successfully dispatched
----- END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK'
(SUCCESS, 0 csec) -----
Executing ASYNC actions
----- END DDE Actions Dump (total 0 csec) -----
ORA-01186: file 1 failed verification tests
ORA-01122: database file 1 failed verification check
ORA-01110: data file 1:
'+ASMDG002/test1/datafile/system.823.828585081'
ORA-01206: file is not part of this database - wrong
database id
Thanks, -
Getting Window help in Oracle Applications 11 and 11i.
Hi
I installed Oracle 11 on Windows NT. I have few problems.
1) I am not getting window help for every screen.
2) I am not able to install client on other machines. I am getting the welcome screen.
3) The output from requests is not coming in the HTML window ie., Internet Explorer. It is giving "file not found" error.
Please help me out.
Thank you.
NarenIf I understand your question correctly, you are talking about accessing the help that is already provided with Oracle Applications, correct? This discussion forum is intended for help authors and developers who are implementing help systems using Oracle Help for Java (OHJ) and Oracle Help for the Web (OHW). Perhaps one of the Oracle E-Business Suite forums would be more helpful for you. For example, you might want to try E-Business Suite > Administration > Managing Oracle Applications.
If you are indeed asking a question about OHJ or OHW, please respond to this message to correct my error!
Ben Gelernter
Oracle Help Technologies (Oracle Help for Java, Oracle Help for the Web) -
HELP! Oracle FailSafe - Listener fails when adding standalone database
Well, I have a cluster of two nodes with the following specs:
(1) an Oracle 10g database each
(2) Microsoft Cluster Service (MSCS)
(3) Windows Server 2003 64-bit edition
(4) Intel Itanium Processor
(5) Oracle Failsafe 3.3.3 for Windows 2003 64-bit
The 64-bit Oracle Failsafe doesn't come with Oracle Failsafe Manager, so I used a Failsafe Manager remotely from another clustered servers. The version is also 3.3.3, but it's running on a Windows 2000 Advanced Server.
Well, after connecting to the 64-bit cluster, I added the standalone database to a Cluster Group. There are two cluster groups on the Server:
(1)"Cluster Group" (the default cluster group created by MSCS); containing an IP address, a network name, Oracle Cluster Services, and the Quorum hard drive.
(1)"ORACLE DB" A cluster gropu I created for the database; containing another IP address, a network name for the IP address, and every hard drive volumes of the database files.
The database currently resides on the Node 2 (because I created it there). I have successfully verified the database (using "Verify Standalone Database" option). BUT when I added the database into the cluster group ORACLE DB, it failed with the following message:
23 20:48:48 ** ERROR : FS-10066: Failed to start Windows service OracleOraDb10g_home1TNSListener for the Oracle Net listener
When I opened the Windows Event Viewer, apparently the Listener Service had started, but it soon "terminated unexpectedly":
At first, the Listener Service appeared to be started:
But this is what happened next; it seemed the Listener Service terminated abruptly after entering the running state for a very short time:
What happened? What should I do? What is the problem? Many thanks!
PS: the following are the messages from both Verifying Standalone Database and Adding Standalone Database. The verification was successfull, but I just failed to add the database:
>
Versions: client = 3.3.3 server = 3.3.3 OS =
Operation: Verifying standalone database "PAYMENT"
Starting Time: May 11, 2005 19:50:11
Elapsed Time: 0 minutes, 4 seconds
1 19:50:11 Starting clusterwide operation
2 19:50:11 FS-10915: POSDB2 : Starting the verification of standalone resource PAYMENT
3 19:50:11 FS-10371: POSDB2 : Performing initialization processing
4 19:50:11 FS-10371: POSDB1 : Performing initialization processing
5 19:50:12 FS-10372: POSDB2 : Gathering resource owner information
6 19:50:12 FS-10372: POSDB1 : Gathering resource owner information
7 19:50:12 FS-10373: POSDB2 : Determining owner node of resource PAYMENT
8 19:50:12 FS-10374: POSDB2 : Gathering cluster information needed to perform the specified operation
9 19:50:12 FS-10374: POSDB1 : Gathering cluster information needed to perform the specified operation
10 19:50:12 FS-10375: POSDB2 : Analyzing cluster information needed to perform the specified operation
11 19:50:12 FS-10378: POSDB2 : Preparing for configuration of resource PAYMENT
12 19:50:12 ** WARNING : FS-10247: The database parameter file H:\PAYMENT\admin\pfile\pfilePAYMENT.ora specified for this operation will override the parameter file value in the registry
13 19:50:12 ** WARNING : FS-10248: At registry key SOFTWARE\ORACLE\KEY_OraDb10g_home1, value of ORA_PAYMENT_PFILE is H:\PAYMENT\admin\pfile
14 19:50:12 FS-10916: POSDB2 : Verification of the standalone resource
15 19:50:12 > FS-10341: Starting verification of database PAYMENT
16 19:50:13 > FS-10342: Starting verification of Oracle Net configuration information for database PAYMENT
17 19:50:13 > FS-10496: Generating the Oracle Net migration plan for PAYMENT
18 19:50:13 > FS-10491: Configuring the Oracle Net service name for PAYMENT
19 19:50:13 > FS-10343: Starting verification of database instance information for database PAYMENT
20 19:50:13 >> FS-10347: Checking the state of database PAYMENT
21 19:50:13 >> FS-10425: Querying the disks used by the database PAYMENT
22 19:50:15 > FS-10344: Starting verification of Oracle Intelligent Agent for database PAYMENT
23 19:50:15 > FS-10345: Verification of standalone database PAYMENT completed successfully
24 19:50:15 FS-10917: POSDB2 : Standalone resource PAYMENT was verified successfully
25 19:50:15 FS-10378: POSDB1 : Preparing for configuration of resource PAYMENT
26 19:50:15 FS-10916: POSDB1 : Verification of the standalone resource
27 19:50:15 > FS-10341: Starting verification of database PAYMENT
28 19:50:15 > FS-10342: Starting verification of Oracle Net configuration information for database PAYMENT
29 19:50:15 > FS-10496: Generating the Oracle Net migration plan for PAYMENT
30 19:50:15 > FS-10491: Configuring the Oracle Net service name for PAYMENT
31 19:50:15 > FS-10343: Starting verification of database instance information for database PAYMENT
32 19:50:15 > FS-10344: Starting verification of Oracle Intelligent Agent for database PAYMENT
33 19:50:15 > FS-10345: Verification of standalone database PAYMENT completed successfully
34 19:50:15 FS-10917: POSDB1 : Standalone resource PAYMENT was verified successfully
35 19:50:15 The clusterwide operation completed successfully, however, the server reported some warnings.
>
Versions: client = 3.3.3 server = 3.3.3 OS =
Operation: Adding resource "PAYMENT" to group "ORACLE DATABASE"
Starting Time: May 11, 2005 20:48:43
Elapsed Time: 0 minutes, 7 seconds
1 20:48:43 Starting clusterwide operation
2 20:48:44 FS-10370: Adding the resource PAYMENT to group ORACLE DATABASE
3 20:48:44 FS-10371: POSDB2 : Performing initialization processing
4 20:48:44 FS-10371: POSDB1 : Performing initialization processing
5 20:48:45 FS-10372: POSDB2 : Gathering resource owner information
6 20:48:45 FS-10372: POSDB1 : Gathering resource owner information
7 20:48:45 FS-10373: POSDB2 : Determining owner node of resource PAYMENT
8 20:48:45 FS-10374: POSDB2 : Gathering cluster information needed to perform the specified operation
9 20:48:45 FS-10374: POSDB1 : Gathering cluster information needed to perform the specified operation
10 20:48:45 FS-10375: POSDB2 : Analyzing cluster information needed to perform the specified operation
11 20:48:45 >>> FS-10652: POSDB2 has Oracle Database version 10.1.0 installed in ORADB10G_HOME1
12 20:48:45 >>> FS-10652: POSDB1 has Oracle Database version 10.1.0 installed in ORADB10G_HOME1
13 20:48:45 FS-10376: POSDB2 : Starting configuration of resource PAYMENT
14 20:48:45 FS-10378: POSDB2 : Preparing for configuration of resource PAYMENT
15 20:48:46 FS-10380: POSDB2 : Configuring virtual server information for resource PAYMENT
16 20:48:46 ** WARNING : FS-10247: The database parameter file H:\PAYMENT\admin\pfile\pfilePAYMENT.ora specified for this operation will override the parameter file value in the registry
17 20:48:46 ** WARNING : FS-10248: At registry key SOFTWARE\ORACLE\KEY_OraDb10g_home1, value of ORA_PAYMENT_PFILE is H:\PAYMENT\admin\pfile
18 20:48:46 > FS-10496: Generating the Oracle Net migration plan for PAYMENT
19 20:48:46 > FS-10490: Configuring the Oracle Net listener for PAYMENT
20 20:48:46 >> FS-10600: Oracle Net configuration file updated: F:\ORACLE\PRODUCT\10.1.0\DB_1\NETWORK\ADMIN\LISTENER.ORA
21 20:48:46 >> FS-10606: Listener configuration updated in database parameter file: H:\PAYMENT\admin\pfile\pfilePAYMENT.ora
22 20:48:47 >> FS-10605: Oracle Net listener Fslpos created
23 20:48:48 ** ERROR : FS-10066: Failed to start Windows service OracleOraDb10g_home1TNSListener for the Oracle Net listener
24 20:48:48 ** ERROR : FS-10065: Error trying to configure the Oracle Net listener
25 20:48:48 > FS-10090: Rolling back Oracle Net changes on node POSDB2
26 20:48:50 ** ERROR : FS-10784: The Oracle Database resource provider failed to configure the virtual server for resource PAYMENT
27 20:48:50 ** ERROR : FS-10890: Oracle Services for MSCS failed during the add operation
28 20:48:50 ** ERROR : FS-10497: Starting clusterwide rollback of the operation
29 20:48:50 FS-10488: POSDB2 : Starting rollback of operation
30 20:48:50 FS-10489: POSDB2 : Completed rollback of operation
31 20:48:50 ** ERROR : FS-10495: Clusterwide rollback of the operation has been completed
32 20:48:50 Please check your Windows Application log using the Event Viewer for any additional errors
33 20:48:50 The clusterwide operation failed !umm... help? Anyone?
-
Help in Oracle DB 11gR2 & Oracle 11gR2 Forms & reports Installation
hello everybody
i just want Help in Oracle Database 11gR2 & Oracle 11gR2 Forms & reports Installation
iam unable to install 11g Database & Forms_Reports Developer in the Windows XP.
Kindly Help me
regards
venugopalSome Preliminaries
First off, Oracle certifies only certain combinations of Oracle Fusion Middleware will work together, so make sure you have the right executables.
Only WLS 10.3.5 (and just released WLS 10.3.6) works with Oracle Forms and Reports 11.1.2.
Don't bother with the ZIP distribution on OTN.
Don't bother with the 12c (cloud distribution) of the application server.
First, you need to install the Java JDK (Java Development Kit) jdk1.6u31 or later.
Second, run wls1035_win32.exe to unpack and install the Weblogic server. Only install the software, do not install Windows service or run the Quickstart. That can wait until after Forms software installs.
Third, before installing Oracle Forms, a crucial environment variable setting needs setting. To make this change persistent, access your System Properties (right-click on My Computer icon on the desktop), switch to the "Advanced" tab , then press the "Environment Variables" pushbutton.
Create and set an environment variable "EXTRA_JAVA_PROPERTIES". Make sure that the value is set to -Xms256m -Xmx256m
Fourth, start the setup.exe program for the Oracle Forms and Reports 11.1.2 installer.
At Step 3 of 13, select "Install software - Do not Configure". This will save time in case configuration bombs and you have to retry.
After a long while, the software installation process will finish.
Fifth, you will want to run the configuration wizard. This is the most memory sensitive part of the whole process.
Please close down all disk and memory intensive applications, including Microsoft Outlook, Mozilla Firefox, and possibly Internet Explorer.
Failure to allow enough memory to inflate several JVMs can cause the wizard to hang.
You will have acquired a bunch of new Programs and shortcuts.
Swing over to the Start Menu and look for the Oracle Classic 11g - Home 1 group.
Inside you'll find a shortcut for Configure Classic Instance --- run it.
At Step 2 of the configuration tool, choose "Configure for Development"
At Step 10, you will start the process of creating Weblogic's "Classic Domain" for Forms and Reports 11g R2.
It may take 5 minutes or so to create ClassicDomain. This is the most memory sensitive part of the entire process.
The wrong configuration will cause the wizard to hang or fail on the "Create Domain" step.
If you're not seeing any checkmarks (or the progress indicator still shows 0% ) after 10 minutes, then you should cancel and get help. ( support.oracle.com )
Sixth, Reboot recommended. -
Online Help for Oracle HRMS Self Service System
I am looking into developing context-sensitive online help for an Oracle HRMS Self Service application. There is currently no online help for the application; all help is provided in printed and online docs, so users are having trouble navigating to the info they need. Help is needed! My initial questions are:
Would I need to create OHJ or OHW?
Could I use RoboHelp to develop the content?
Is there a reference document you can point me to?
Thanks
BelindaHi Belinda,
You would create Oracle Help, and then deploy it using OHJ or OHW.
The format of the help is the same. There is nothing specific that needs to be done for one or the other. If your system i s a Web application, you would use OHW and otherwise, you would use OHJ.
You can read more about Oracle Help on OTN at http://www.oracle.com/technology/tech/java/help/index.html.
(Read the FAQ for more information about the choice between OHJ and OHW.)
Personally, I would not recommend RoboHelp to create Oracle Help. RoboHelp has a lot of nice features, but the Oracle Help output feature is fairly buggy, especially if you are creating a large helpset, or a helpset that has subhelpsets.
At Oracle, a lot of help development is done using DreamWeaver and an in-house build tool, called the Oracle Help Build Tool. This is available for free. Send me a mail ([email protected]) if you want a copy.
Regards,
Pete -
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! -
Need help in oracle data recovery
Friends ,i need help in oracle data recovery.
I had an oracle 8i database running on windows.
For some reason Windows operating system crashed.
It is not booting up.
I dont have current backups.But my database physical files are in the disk.
Controlfile,datafiles and redo log files are there.
Is there any way I can recover my database?
Please help in this issue.
regards
AjithHI citrus,
thanks for the reply.
I have installed database 9i on the same PC after O/S reinstallation.
You are saying that ,I need to keep oracle root folder same as that of my old installation ,and copy control files,redo log and data files in exactly same folders as that of old database,and then start the database?
thank you for your patience and support.
regards.,
Ajith -
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. -
Need help on Oracle Report format
Hi,
I need help on Oracle Reports. I am generating a report in excel sheet. I have a column which is 13 digit number (In database it is CHAR datatype). In excel sheet it showing some thing like 9.78381E+12. I want to show complete number like 9783805591331.
Also sometimes leading zero's are not showing when my column values is something like 0098794859583. I need to show the leading zero's as well in excel without losing them.
Below are the parameters i am using for the report
DESFORMAT=SPREADSHEET AND DESTYPE=FILE
My Oracle 9i developer version.
Any help on this would be much appreciated.
Thanks
KishoreAn additional quote string ' character with the number field will solve this problem but if u want to display this field in report then it will look ugly
'''||yourfield from table; check ur regional settings also
plz mark it helpful correct if it is -
Hi,
I need some help... if someone can help its great.
I need to make a statement in Oracle SQL that read data from a file and insert in a Oracle Database ... if someone can show me the syntax of it i appreciate..
ThanksOkay, I see you followed the advice in that other thread and started a new post for you question. Congratulations. Your next lesson in forum etiquette is to give your posts a more relevant subject. Pretty much everybody who posts here needs help with oracle; if they need help with cooking catfish they've come to the wrong place.
It that other thread I suggested using SQL*Loader or External Tables might be a more suitable solution. Find out more.
Cheers, APC -
Need urgent help on Oracle project
Hi people, I am working on a project using oracle sql, been struggling quite a bit. Have been issued an ultimatum to improve performance.
Wondering if anyone here can be of any help.
writing oracle reports solely on sql plus, based on finctional specs business rules.
wondering if anyone could assist with some difficult areas and offer assistance if and when needed.Without seeing any of your extra info, to delete from the table, you would want to add something like this trigger in the After Parameter Trigger:
BEGIN
IF :old_or_new = 'O'
then
delete from clothes
where size = :P_COLOR;
end if;
END;You also may want to try posting in this forum for more specific Reports questions:
Reports -
Re: Help in Oracle DB 11gR2 & Oracle 11gR2 Forms & reports Installation
i just want Help in Oracle Database 11gR2 & Oracle 11gR2 Forms & reports Installation
iam unable to install 11g Database & Forms_Reports Developer in the Windows XP.
Kindly Help me
regards
venugopalHi Venugopal,
Sorry, wrong forum! You have posted over in the Forms forum before
Forms
so I assume you just picked the SQL Developer forum by mistake.
Regards,
Gary -
Need help on oracle stellent implementation
We need expert help in oracle Stellent Implementation.Any one interested and need more details please mail back.
Edited by: user12990131 on Apr 14, 2010 11:38 PMour requirements
- Need to design technical design document
- Need to design a web portal using UCM with certain feature provided by clinet
- Need to have work flows, colloboration, wiki etc.
For more details,please provide us your contact details or email details -
How to use quartz to integrate a standalone application in a webserver
Can anyone help me in using quartz where i need to integrate a java standalone application into the webserver..I am developing an application using jsp and as part of a task i had created a standalone application in java and now i need to integrate this standalone application into the webserver because it needs to run as a webapplication.
Hai sam,You gave us many valuable suggestions in the past.We tried all of those methods to make our application run as per scheduled but we failed.We have not yet tried the servlet method,which you suggested in your last reply. Actually we tried to use the os scheduler for this purpose and couldn't do it at the end.So can you suggest the way in which we have to write the servlet and invoke it. We dont need all the details.Just give us the idea of what this servet contains actually and how it works.We will try to do it.Thank you,
Maybe you are looking for
-
Since last night the cloud is not coming on. Everytime I try to put itunes match on it askes me to sign out then sign in. As soon as I sign out itunes freezes. When I close and reopen iTunes the same thing happens time and time again. Anyone else
-
When I link from one PDF to the other via "open a file" function (both PDFs are located in %userprofile%/mydocuments directory), Reader X and XI open a security warning box. If I agree to open the target file, this specific file always opens without
-
Trying to connect my iphone to the wifi asking for password
Trying to connect my iphone 5 to the wifi and I can not remember the password to the router. Is there a way of retrieving the password or have the ability to change WIFI password
-
How to set a language from LTR to RTL in illustrator cs4
how to set a language from LTR to RTL in illustrator cs4.....plz help
-
Data warehousing workbench in SAP 6.0
Hi, I want to learn to work on Data warehousing workbench in SAP 6.0. The course fee for it is very high so i am thinking of learning it online. Can anyone guide me how to start and from where to start? Thanks Arpit