Import / Export between two instances
Hi everyone, in very new in oracle, i have created two new instances, prod and test, apps team have are now doing the setup on the test instance, is it possible to import and export all the things they have done on the test to the prod once they're finish?
thanks and regards,
jmak
What version of Oracle Application Server are you using? And what type of application (Forms, PL/SQL, Java etc.) are you/they deploying on Oracle Application Server?
If you are using 10gR2 10.1.2.x, refer this:
http://download.oracle.com/docs/cd/B14099_19/core.1012/b13995/testprod.htm#BHBGBJFH
Thanks
Shail
Similar Messages
-
Distinguishing between two instances of the same portlet
Hi Experts,
Is there a way to distinguish between two instance of the same portlet in different browser windows?
I'm looking for something like URL parameter passing, but just for portlets.
The problem is, I want a way to pass a parameter between views in a portlet, but in such a way that if another browser window is opened and navigated to that portlet page, the parameter won't be the same. Perhaps I can explain better with this example:
Page A has a portlet on it which has a textbox and 2 buttons - the first button stores the value in the textbox in the PortletRequest (or PortletURL) and if you click the second button the portlet navigates to a different view which displays the value. If I navigate with a second browser window to Page A, however, and only click the navigate button, that value which was stored by the first instance of the portlet will still be shown. I want them to be independent, I don't want changes in the one's PortletRequest to reflect in the other one's PortletRequest.
Any ideas?
Thanks,
JPWhy not use two instances of the same portlet, i.e. create two channels of the same portlet.
The behave the same, have the same application logic, so all you need is to transfer informations between the two portlets.If you want this within user space use the portlet session, otherwise access the http session context /application context and store the data there.
The behavior would be controlled by the portlet preferences, so channel a (instance 1) would be configured to run as controller and channel b (instance 2) would be configured as receiver. -
Message bridge between two instances
I am trying to setup messaging bridge between two instances of weblogic server.
Can the second instance belong to a different domain? If yes how to configure it?Yes, you can configure a messaging bridge to work between two WebLogic domains.
The general instructions of configuring a message bridge, including the bridge instance itself, the bridge destinations and the adapter, can be found at
http://edocs.bea.com/wls/docs103/bridge/basics.html#wp1168461
The only extra thing that you may need to take care of for the cross-domain case is to configure cross-domain security as instructed at
http://edocs.bea.com/wls/docs103/bridge/wls_interop.html#wp1126873
Regards,
Dongbo -
Page Export / Import in between two workspaces in the same instance
Hi All,
I am trying to import a page from one application to another application in a different work space in the same instance.
In the export file i have changed the target application id and workspace id. I am facing below error while importing the specific page.
ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-00001: unique constraint (FLOWS_030100.WWV_FLOW_PAGE_PLUGS_PK) violated <pre>declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=&gt; 190100618443233983 + wwv_flow_api.g_id_offset, p_flow_id=&gt; wwv_flow.g_flow_id, p_page_id=&gt; 31, p_plug_name=&gt; 'Upload Scripts', p_region_name=&gt;'', p_plug_templa
Error installing page.
Return to application.
Any help for this.I got the solution for the page export/import in between 2 workspaces.
Only thing is we need to do some template related changes in the page, item, region attributes .
Ref: http://www.dba-oracle.com/htmldb/t_exporting_copyin_pages_screens_workspaces. -
Copying SDO_GEOMETRY between two instances
have two oracle instances on separate servers:
Server 1 Oracle 10.2 Solaris
Server 2 Oracle 9.2 Solaris
In each instance I have a Schema called GEO_DATA with a Table called ROADS. This is a very simple table; id (number), road_name(varchar2) and geometry (sdo_geometry)
The ROADS table in Server 1 will get updated during the day. What is the best way to move data from Server 1 to Server 2? Server 2 ROADS is just read-only and will be used for data viewing.
I am very new to Oracle Spatial – so apologies for the basic question:
Can I just create a database link between the two instances and then run a simple SQL query:
Insert into Server 2.GEO_DATA.ROADS Select * from Server 1.GEO_DATA.ROADS
Feedback appreciated.Hello Ivan,
I just read this: Copy spatial data
I need to copy spatial data from a 8.1.6 (remote) to 8.1.7 (local). I tried the "CREATE DATABASE LINK" statement and got the error ORA-22804 (remote operations not permitted on object tables or user-defined type columns).
Is this still true in Oracle 9 and 10? -
BI server generating query in a different way between two instances
Hi All,
We have executed a report in dev,test instances,BI server generated query in a different way in two instances where as dev BI server is on AIX operating system(recently we migrated from windows),test instance is on still on Windows environment.
For a report below are the queries
DEV(AIX)
WITH
SAWITH0 AS (select sum(T316025.SALES_QUOTA) as c1,
T329697.DIVISION_DESC as c2,
T329697.AREA_DESC as c3,
T329697.TERRITORY_DESC as c4,
case when T329697.ACCOUNT_NUM is null then T329697.BILL_TO_PARTY_NAME else concat(concat(concat(T329697.BILL_TO_PARTY_NAME, '('), T329697.ACCOUNT_NUM), ')') end as c5,
T150993.X_CONS_MAJOR_GROUP as c6,
T66755.PER_NAME_ENT_YEAR as c7
from
W_DAY_D T66755 /* Dim_W_DAY_D_Common */ ,
W_PRODUCT_D T67704 /* Dim_W_PRODUCT_D */ ,
WC_SLX_DATA_F T316025 /* Fact_WC_SLX_DATA_F */ ,
WC_CUSTOMER_HIERARCHY_D T329697 /* Dim_WC_Customer_Hierarchy_D_With_Error */ ,
OBIEE_SECURITY_LOCATION_SALES T339204,
W_PROD_CAT_DH T150993 /* Dim_W_PROD_CAT_DH_General */
where ( T66755.ROW_WID = T316025.DAY_WID and T316025.CUSTOMER_HIERARCHY_WID = T329697.ROW_WID and T67704.ROW_WID = T316025.PRODUCT_WID and T67704.PROD_CAT2_WID = T150993.ROW_WID and T329697.TERRITORY_CODE = nvl(T339204.LOCATION , T329697.TERRITORY_CODE) and T329697.AREA_DESC = 'GROCERY AREA - EAST' and T329697.DIVISION_DESC = 'DOMESTIC SALES DIVISION' and T339204.USER_NAME = upper('Administrator') and case when T329697.ACCOUNT_NUM is null then T329697.BILL_TO_PARTY_NAME else concat(concat(concat(T329697.BILL_TO_PARTY_NAME, '('), T329697.ACCOUNT_NUM), ')') end = 'JETRO CASH AND CARRY ENTERPRISES INC(10313)' and (T66755.PER_NAME_ENT_YEAR in ('2011', '2012')) and (T329697.TERRITORY_DESC in ('BOSTON', 'CHARLOTTE', 'FLORIDA', 'GREAT LAKES', 'MID-SOUTH', 'NEW YORK', 'WHITE ROSE')) )
group by T66755.PER_NAME_ENT_YEAR, T150993.X_CONS_MAJOR_GROUP, T329697.TERRITORY_DESC, T329697.AREA_DESC, T329697.DIVISION_DESC, case when T329697.ACCOUNT_NUM is null then T329697.BILL_TO_PARTY_NAME else concat(concat(concat(T329697.BILL_TO_PARTY_NAME, '('), T329697.ACCOUNT_NUM), ')') end )
select distinct SAWITH0.c2 as c1,
SAWITH0.c3 as c2,
SAWITH0.c4 as c3,
SAWITH0.c5 as c4,
SAWITH0.c5 as c5,
SAWITH0.c6 as c6,
SAWITH0.c7 as c7,
SAWITH0.c1 as c8
from
SAWITH0
order by c1, c6
Test(Windows)
select distinct D1.c2 as c1,
D1.c3 as c2,
D1.c4 as c3,
D1.c5 as c4,
D1.c5 as c5,
D1.c6 as c6,
D1.c7 as c7,
D1.c1 as c8
from
(select sum(T316025.SALES_QUOTA) as c1,
T329697.DIVISION_DESC as c2,
T329697.AREA_DESC as c3,
T329697.TERRITORY_DESC as c4,
case when T329697.ACCOUNT_NUM is null then T329697.BILL_TO_PARTY_NAME else concat(concat(concat(T329697.BILL_TO_PARTY_NAME, '('), T329697.ACCOUNT_NUM), ')') end as c5,
T150993.X_CONS_MAJOR_GROUP as c6,
T66755.PER_NAME_ENT_YEAR as c7
from
W_DAY_D T66755 /* Dim_W_DAY_D_Common */ ,
W_PRODUCT_D T67704 /* Dim_W_PRODUCT_D */ ,
WC_SLX_DATA_F T316025 /* Fact_WC_SLX_DATA_F */ ,
WC_CUSTOMER_HIERARCHY_D T329697 /* Dim_WC_Customer_Hierarchy_D_With_Error */ ,
OBIEE_SECURITY_LOCATION_SALES T339204,
W_PROD_CAT_DH T150993 /* Dim_W_PROD_CAT_DH_General */
where ( T66755.ROW_WID = T316025.DAY_WID and T316025.CUSTOMER_HIERARCHY_WID = T329697.ROW_WID and T67704.ROW_WID = T316025.PRODUCT_WID and T67704.PROD_CAT2_WID = T150993.ROW_WID and T329697.TERRITORY_CODE = nvl(T339204.LOCATION , T329697.TERRITORY_CODE) and T329697.AREA_DESC = 'GROCERY AREA - EAST' and T329697.DIVISION_DESC = 'DOMESTIC SALES DIVISION' and T339204.USER_NAME = upper('Administrator') and case when T329697.ACCOUNT_NUM is null then T329697.BILL_TO_PARTY_NAME else concat(concat(concat(T329697.BILL_TO_PARTY_NAME, '('), T329697.ACCOUNT_NUM), ')') end = 'JETRO CASH AND CARRY ENTERPRISES INC(10313)' and (T66755.PER_NAME_ENT_YEAR in ('2011', '2012')) and (T329697.TERRITORY_DESC in ('BOSTON', 'CHARLOTTE', 'FLORIDA', 'GREAT LAKES', 'MID-SOUTH', 'NEW YORK', 'WHITE ROSE')) )
group by T66755.PER_NAME_ENT_YEAR, T150993.X_CONS_MAJOR_GROUP, T329697.TERRITORY_DESC, T329697.AREA_DESC, T329697.DIVISION_DESC, case when T329697.ACCOUNT_NUM is null then T329697.BILL_TO_PARTY_NAME else concat(concat(concat(T329697.BILL_TO_PARTY_NAME, '('), T329697.ACCOUNT_NUM), ')') end
) D1
order by c1, c6
If we observe test query is very simple and easy to back track but in Dev it is appending like sawwith0,sawwith1 etc..looking difficult.
Is there in any configuration to change to generate query like Test(with out SAWWITH0).
NOTE:Any how results are same in both instances.
Please help me to resolve this issue.
Thank You,
Anil Kumar.Anil,
Are your database settings the same in both of the rpds dev and test?
Check wether you didn't change anything to the default. Open your RDP double click on the Database in the physical layer and go to Feature you can check all the settings there
Adil -
Import/Export between different Portal versions
Hi, is there any resonable argument for not allowing imp/exp between different version? The thing is a developed a Page Group on a 9i AS and now need to export it to a 10g AS. It reasonable to think that an imp/exp machanism should exist, at least, for the latest version.
Hi there,
Yes, there is a reasonable argument for that and that is that the export code will be different from the import code. This means that alterations to the code in order to be more flexible or to even fix an issue, for example, on the export won't be in-place. Now when you'll try to import with the different code this certainly will clash your system (as the problem may already be within the DMP file that you've exported).
Although your request does make sense the implementation part is not that easy to be done.
I hope it helps you to better understand the constraints...
Cheers,
Pedro. -
Import / Export between pagegroups?
hi,
is it possible to use the export/import functionality
to move pages between pagegroups? how?
thanksNo. You need to be at the same revision level of Portal in both source and target environments.
Best Regards,
Harry -
Help Import Export between different database interfaces ODI
Good morning!
I am new to ODI and would like to help me in the following doubts: I'm developing some interfaces in a database tests, it logically all my configuration connection is that bank.
When I import the interfaces in a database production, with another connection, I must reconfigure them totally, almost remaking them again? Or import, they automatically adjust?
I thank you
Emerson FormisanoHi Emerson,
I didn't get your point clearly.
Please write in a proper statement.
However I am telling you some checks and steps to export import.
1> Before importing the interface please check all the source and target data stores are present in the deployment environment (where you are going to import)
2> If not there Import the data stores first.
3> data source should be physically present in DB (in case of table)
4> If your data stores and KMs are available then you don't have to make the interfaces newly
Thanks -
I can't import music between two computers.
The grey settings/import bar that used to be at the bottom is no longer there, and I cannot figure out how to either open that bar up or import them another way. Both computers are authorized for the same account. Acutally, both are authorized to the same two accounts! How can I get the cd's I imported to one to sync the other, like I used to before I updated both computers' iTunes.
Yes you need to have both computers authorised to play content or be able to import from one machne to the other.
The Import buttons are controlled by how you set up the home Share.
File > Home Sharing > Create Home Share Enter Apple ID and password. You MUST use the same apple id here for both computers irrespective of what they are authorised with or what that machine uses to login to iTunes.
So it could be a third Apple id you use for nothing else but it must be the same -
How to Differntiate between two instances of the same class ????
I don't even know if my question makes sense or not ??
I don't have any code written for it yet.. but its the most critical task for me..
Q ??
say i have multiple objects running of the same class on the same box.
sth like a CPU can have multiple ports. The port class is intantiated
to create every new port for CPU as required.
Now i have to differntiate multiple ports on that box and give
accordingly its statistics back to CPU. sth like how many acces to
ports, how much bandwidth available, how many bits.. i know how to
calculate statistics of ports but i don't know how to differentiate
between multiple ports ??
Eg: Number of sessions created on oneport is 14 and other is 25. Then i
have to give differnt statistics of these 2 ports back to CPU.
I hope all this made some sense ???
Thank youuuuu....reply back if u need some more details....
Edited by: javanewbie83 on Jun 16, 2008 4:28 PMjavanewbie83 wrote:
I don't even know if my question makes sense or not ??
I don't have any code written for it yet.. but its the most critical task for me..
Q ??
say i have multiple objects running of the same class on the same box.
For an example: (its just a correlation to my project.. its actually not CPU and port numbers.. sorry if u misunderstand...)
sth like a CPU can have multiple ports. The port class is intantiated
to create every new port for CPU as required.
Now i have to differntiate multiple ports on that box and give
accordingly its statistics back to CPU. sth like how many acces to
ports, how much bandwidth available, how many bits.. i know how to
calculate statistics of ports but i don't know how to differentiate
between multiple ports ??
Eg: Number of sessions created on oneport is 14 and other is 25. Then i
have to give differnt statistics of these 2 ports back to CPU.
I hope all this made some sense ???
Thank youuuuu....reply back if u need some more details....Simply repeating your unclear original post does not magically make it clear. -
Import/Export Between Gschem and PSpice,
I have some .sch files I made with gEDA's schematic editor (gschem), and am trying to import them into PSpice for Windows. I'm not sure if this is the right community to ask, but I figured I'd just see if anyone here knows how to do it...
Or, if anyone can point me in the right direction (where to look, who to ask), I'd be very grateful.
Thanks!No. You need to be at the same revision level of Portal in both source and target environments.
Best Regards,
Harry -
How can I sync important folders between two Macs?
I've had a Macbook Pro for about a year and a half and love it so much that this Christmas I decided to buy myself a second Mac. I got a refurbished 24 inch iMac and just set it up last night. During the setup it occurred to me that there are certain folders on both computers (documents, pictures, audio, downloads, etc) that I would like to have available and synchronized between both computers. I'm sure I'm not the only one who'd like to do this. Does this functionality exist in Snow Leopard? If not, are there any 3rd party apps that will solve my problem?
Thank you for reading.
-Chrisfossy207 wrote:
I've had a Macbook Pro for about a year and a half and love it so much that this Christmas I decided to buy myself a second Mac. I got a refurbished 24 inch iMac and just set it up last night. During the setup it occurred to me that there are certain folders on both computers (documents, pictures, audio, downloads, etc) that I would like to have available and synchronized between both computers. I'm sure I'm not the only one who'd like to do this. Does this functionality exist in Snow Leopard?
no. not unless you want to use a command line tool like rsync.
If not, are there any 3rd party apps that will solve my problem?
you can use Chronosync or ForkLift. also,you can sync not directly between computers but via a cloud. there are many services that do that. there is apple's own mobileme. another very popular one is DropBox.
Thank you for reading.
-Chris -
Create frames in-between two instances
I'm working on some practice animations, but the issue I've been having is that I don't know how I can work on my inbetweening on a video layer with onion-skinning enabled. I know I could just switch to frame-by-frame animation, but I wanted to have onion-skinning enabled still so that I can make my inbetween animations more acurate. Is there something I am missing in particular that can allow me to do this?
PS only does simplified interpolation. You can't tweak anything here. You wil lhave to use After Effects or other tools for more refined control.
Mylenium -
Drag and Drop between two java applications
Hi,
I am trying to implement drag and drop between two instances of our java application. When i drop the content on the target, the data flavors are transmitted properly, but i get the exception :
java.awt.dnd.InvalidDnDOperationException: No drop current
at sun.awt.dnd.SunDropTargetContextPeer.getTransferData(SunDropTargetContextPeer.java:201)
at sun.awt.datatransfer.TransferableProxy.getTransferData(TransferableProxy.java:45)
at java.awt.dnd.DropTargetContext$TransferableProxy.getTransferData(DropTargetContext.java:359)
at com.ditechcom.consulbeans.TDNDTree.drop(TDNDTree.java:163)
at java.awt.dnd.DropTarget.drop(DropTarget.java:404)
at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:547)
How can i fix this ?
Thanks a lot,
KarthikPlay with this;-import java.awt.*;
import java.awt.datatransfer.*;
import java.awt.dnd.*;
import java.awt.event.*;
import javax.swing.*;
import java.io.*;
// Credit to bbritna who I stole it from in the 'New To ..' Forum
public class DragComps implements DragGestureListener, DragSourceListener,
DropTargetListener, Transferable{
static final DataFlavor[] supportedFlavors = { null };
static{
try {
supportedFlavors[0] = new DataFlavor(DataFlavor.javaJVMLocalObjectMimeType);
catch (Exception ex) { ex.printStackTrace(); }
Object object;
// Transferable methods.
public Object getTransferData(DataFlavor flavor) {
if (flavor.isMimeTypeEqual(DataFlavor.javaJVMLocalObjectMimeType))
return object;
else return null;
public DataFlavor[] getTransferDataFlavors() {
return supportedFlavors;
public boolean isDataFlavorSupported(DataFlavor flavor) {
return flavor.isMimeTypeEqual(DataFlavor.javaJVMLocalObjectMimeType);
// DragGestureListener method.
public void dragGestureRecognized(DragGestureEvent ev) {
ev.startDrag(null, this, this);
// DragSourceListener methods.
public void dragDropEnd(DragSourceDropEvent ev) { }
public void dragEnter(DragSourceDragEvent ev) { }
public void dragExit(DragSourceEvent ev) { }
public void dragOver(DragSourceDragEvent ev) {
object = ev.getSource(); }
public void dropActionChanged(DragSourceDragEvent ev) { }
// DropTargetListener methods.
public void dragEnter(DropTargetDragEvent ev) { }
public void dragExit(DropTargetEvent ev) { }
public void dragOver(DropTargetDragEvent ev) {
dropTargetDrag(ev); }
public void dropActionChanged(DropTargetDragEvent ev) {
dropTargetDrag(ev); }
void dropTargetDrag(DropTargetDragEvent ev) {
ev.acceptDrag(ev.getDropAction()); }
public void drop(DropTargetDropEvent ev) {
ev.acceptDrop(ev.getDropAction());
try {
Object target = ev.getSource();
Object source = ev.getTransferable().getTransferData(supportedFlavors[0]);
Component component = ((DragSourceContext) source).getComponent();
Container oldContainer = component.getParent();
Container container = (Container) ((DropTarget) target).getComponent();
container.add(component);
oldContainer.validate();
oldContainer.repaint();
container.validate();
container.repaint();
catch (Exception ex) { ex.printStackTrace(); }
ev.dropComplete(true);
public static void main(String[] arg) {
JButton button = new JButton("Drag this button");
JLabel label = new JLabel("Drag this label");
JCheckBox checkbox = new JCheckBox("Drag this check box");
JFrame source = new JFrame("Source Frame");
Container source_content = source.getContentPane();
source.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
source_content.setLayout(new FlowLayout());
source_content.add(button);
source_content.add(label);
JFrame target = new JFrame("Target Frame");
Container target_content = target.getContentPane();
target.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
target_content.setLayout(new FlowLayout());
target_content.add(checkbox);
DragComps dndListener = new DragComps();
DragSource dragSource = new DragSource();
DropTarget dropTarget1 = new DropTarget(source_content,
DnDConstants.ACTION_MOVE, dndListener);
DropTarget dropTarget2 = new DropTarget(target_content,
DnDConstants.ACTION_MOVE, dndListener);
DragGestureRecognizer dragRecognizer1 =
dragSource.createDefaultDragGestureRecognizer(button,
DnDConstants.ACTION_MOVE, dndListener);
DragGestureRecognizer dragRecognizer2 =
dragSource.createDefaultDragGestureRecognizer(label,
DnDConstants.ACTION_MOVE, dndListener);
DragGestureRecognizer dragRecognizer3 =
dragSource.createDefaultDragGestureRecognizer(checkbox,
DnDConstants.ACTION_MOVE, dndListener);
source.setBounds(0, 200, 200, 200);
target.setBounds(220, 200, 200, 200);
source.show();
target.show();
}[/code
Maybe you are looking for
-
User Account List Is there a way to extract all user accounts from Request Center? Ideally into a spreadsheet that includes their names and user id's as well as whether they are active or inactive. We have a "no longer with the company process" and w
-
Error while creating sales order with network/project
Dear All, we are getting the following message while creating a sales order with assembly processing with network/project system . The standard Network used as a reference contains assignments to a standard WBS. However you have maintained WBS assign
-
How to create requirement in the manufacturing plant
when a sales depo is raising a sales order, when the stock is not present, the sales order has to create a requirement in the manufacturing plant does it affect if already stock is present the sale depo plant how do we this thanks
-
Problems when jpeg encoding multiple images
Hi, im trying to write a servlet which generates multiple thumbs. However when encoding for the second time i get an error java.io.IOException: reading encoded JPEG Stream. I can't figure out the problem import java.sql.*; import javax.servlet.*; imp
-
Getting video into Premiere Pro 6
Why doesn't video from my jump drive load into Premiere Pro 6 on my computer?