How to replicate applications
Scenario: Two database servers with one schema to replicate from one server to the other (one-way replication).
On both servers we have APEX set up. We can copy the applications (export/import), but we would prefer to have a replication-like scenario, where changes to the application on the main DB are replicated to the copy DB.
How to set this up?
Well all the APEX applications are defined in objects owned by the APEX_030200 schema (or similar if you have a version other then 3.2).
If you could replicate these schemas drom one database to the other this would achieve what you want. I'm not much of a DBA though so I'm not sure how you would achieve that (other than with export/import).
You would still need to bear in mind though any changes you make to DB objects owned by other schemas etc.
Similar Messages
-
hi friends ,
i hav installed oracle 10g 'orcl' in my application server OEL 5.5, how to replicate , i need to synchronize what ever the changes that has been done in the database should be reflected in remote machine either local or in remote(via internet),
plz help me how to replicate ...914884 wrote:
hi friends ,
i hav installed oracle 10g 'orcl' in my application server OEL 5.5, how to replicate , i need to synchronize what ever the changes that has been done in the database should be reflected in remote machine either local or in remote(via internet),
plz help me how to replicate ...Create an standby database.
so the remote server also in read & write mode? then think of Streams or mviews. -
[Forum FAQ] How to deploy applications remotely
In some situations, we may need some ways to install applications remotely, here we summarize four general ways to deploy applications.
1. Using PowerShell to install
We can use the Win32_Product class to install Windows Installer packages, remotely or locally, so in this way, we can use powerShell command to invoke this function. For example, to install the NewPackage.msi package located in the network
share \\AppServ\remote on the remote computer PC01, type the following command at the Windows PowerShell prompt:
(Get-WMIObject -ComputerName PC01 -List | Where-Object -FilterScript {$_.Name -eq "Win32_Product"}).Install(\\AppSrv\remote\NewPackage.msi)
In same method, we can use the following command to deploy .exe application:
(Get-WMIObject -ComputerName PC01 -List | Where-Object -FilterScript {$_.Name -eq "Win32_Process"}).Create(\\AppSrv\remote\NewPackage.exe)
Note: The applications should use Windows Installer technology.
2. PsExec tool: one of sysinternals utilities
PsExec's most powerful uses include launching interactive command-prompts on remote systems and remote-enabling tools like IpConfig that otherwise do not have the ability to show information about remote systems. So, we can use this feature to install our
applications, in fact this is similar with PowerShell methods, the only difference is that PsExec is a comprehensive tool. Similarly, we can use the following command to achieve our goal:
psexec \\PC01 cmd /c "\\AppSrv\remote\NewPackage.msi" /quiet /norestart
Note: we can also use PsExec tool to install Microsoft Update file (.msu)
psexec \\PC01 -s -h -d wusa.exe "\\AppSrv\remote\NewPackage.msu" /quiet /norestart
3. Group Policy Software Installation
In domain environment, this method is very useful to deploy our software. It only supports MSI package for deployment.
We can choose assign a program to user or computer. If you assign the program to a user, it is installed when the user logs on to the computer. When the user first runs the program, the installation is completed. If you assign the program to a computer,
it is installed when the computer starts, and it is available to all users who log on to the computer. When a user first runs the program, the installation is completed.
You can get the installation information of group policy software installation in event viewer, including success or failure.
4. System Center Configuration Manger
The Microsoft System Center Configuration Manager software distribution feature provides a set of tools and resources that help you create and manage packages and advertisements used to distribute software to client resources within your enterprise. This
is a comprehensive suit for deployment.
How to Deploy Applications in Configuration Manager
http://technet.microsoft.com/en-us/library/gg682082.aspx
Summary:
There are a lot of methods for software deployment, here just introduce some generic ways.
Here is another important point of software deployment: Some applications do not use windows installer technology.
Applications that do not use Windows Installer technology may have application-specific methods for automated deployment. For example, a .exe file may be just a wrapper, it can be anything. To determine whether there is a method for deployment automation,
check the documentation for the application or consult the application vendor's support system. In some cases, even if the application vendor did not specifically design the application for installation automation, the installer software manufacturer may have
some techniques for automation.
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.In some situations, we may need some ways to install applications remotely, here we summarize four general ways to deploy applications.
1. Using PowerShell to install
We can use the Win32_Product class to install Windows Installer packages, remotely or locally, so in this way, we can use powerShell command to invoke this function. For example, to install the NewPackage.msi package located in the network
share \\AppServ\remote on the remote computer PC01, type the following command at the Windows PowerShell prompt:
(Get-WMIObject -ComputerName PC01 -List | Where-Object -FilterScript {$_.Name -eq "Win32_Product"}).Install(\\AppSrv\remote\NewPackage.msi)
In same method, we can use the following command to deploy .exe application:
(Get-WMIObject -ComputerName PC01 -List | Where-Object -FilterScript {$_.Name -eq "Win32_Process"}).Create(\\AppSrv\remote\NewPackage.exe)
Note: The applications should use Windows Installer technology.
2. PsExec tool: one of sysinternals utilities
PsExec's most powerful uses include launching interactive command-prompts on remote systems and remote-enabling tools like IpConfig that otherwise do not have the ability to show information about remote systems. So, we can use this feature to install our
applications, in fact this is similar with PowerShell methods, the only difference is that PsExec is a comprehensive tool. Similarly, we can use the following command to achieve our goal:
psexec \\PC01 cmd /c "\\AppSrv\remote\NewPackage.msi" /quiet /norestart
Note: we can also use PsExec tool to install Microsoft Update file (.msu)
psexec \\PC01 -s -h -d wusa.exe "\\AppSrv\remote\NewPackage.msu" /quiet /norestart
3. Group Policy Software Installation
In domain environment, this method is very useful to deploy our software. It only supports MSI package for deployment.
We can choose assign a program to user or computer. If you assign the program to a user, it is installed when the user logs on to the computer. When the user first runs the program, the installation is completed. If you assign the program to a computer,
it is installed when the computer starts, and it is available to all users who log on to the computer. When a user first runs the program, the installation is completed.
You can get the installation information of group policy software installation in event viewer, including success or failure.
4. System Center Configuration Manger
The Microsoft System Center Configuration Manager software distribution feature provides a set of tools and resources that help you create and manage packages and advertisements used to distribute software to client resources within your enterprise. This
is a comprehensive suit for deployment.
How to Deploy Applications in Configuration Manager
http://technet.microsoft.com/en-us/library/gg682082.aspx
Summary:
There are a lot of methods for software deployment, here just introduce some generic ways.
Here is another important point of software deployment: Some applications do not use windows installer technology.
Applications that do not use Windows Installer technology may have application-specific methods for automated deployment. For example, a .exe file may be just a wrapper, it can be anything. To determine whether there is a method for deployment automation,
check the documentation for the application or consult the application vendor's support system. In some cases, even if the application vendor did not specifically design the application for installation automation, the installer software manufacturer may have
some techniques for automation.
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread. -
How to use application managed entity manager in EJB?
I finish reading The EntityManager Interface in JEE tutorial.
I know I can use container manager entity manager in EJB, but I want to explore how to use application managed entity manager in EJB.
Can I use application managed entity manager in EJB (container management JTA transaction is used)? Where do I should close entity manager if can?
The following is an example from JEE tutorial, but didn't find where to calose entity manager. and can I create mutiple EntityManagerFactory objects and Entity Manager objects to use them in a JTA transaction?
@PersistenceUnit
EntityManagerFactory emf;
EntityManager em;
@Resource
UserTransaction utx;
em = emf.createEntityManager();
try {
utx.begin();
em.persist(SomeEntity);
em.merge(AnotherEntity);
em.remove(ThirdEntity);
utx.commit();
} catch (Exception e) {
utx.rollback();Seems like a very poor example, the whole power of EJBs is to use Container Managed Transactions so you don't NEED to manage the transaction and the entity manager yourself. What you posted is code I would expect in a non-JEE application, or in a piece of code which requires fine-tuned transaction boundaries such as batched data importing logic.
If I were you I'd research JPA in steps.
a) learn about JPA as an API outside of the scope of EJBs (recommended reading: the book 'Pro JPA 2')
b) learn about Container Managed Transactions in EJBs
c) learn about Bean Managed Transactions in EJBs
Right now you're rushing into c). I can understand that it raises many question marks at this point. -
How does Facebook application utilize Blackberry push based architecture?
Hi Friends,
I have posted this message in Blackberry Java Development forum. But was told that "if you are not RIM you will not be able to use the push-architecture with BIS".
Here goes the actual message. Please provide your valuable inputs.
I am developing an Blackberry client application which will be similar to Facebook application for Blackberry.
Since, this application can be download by any blackberry user who would be subscribed to different BES or BIS, how will the push based architecture of BB work here.
See my previous post 'Push content to devices on different BES' (http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=3196&jump=true#M3196), which says that push will work through BES.
If that is the case,
How does the FaceBook application for Blackberry work?
Users who download the Fackebook application will definetly not be on the same BES or might be on BIS as well.
Then how will Facebook application receive notificatios and messages instantly using blackberry's push architecture?
(http://www.blackberry.com/news/press/2007/pr-24_10_2007-01.shtml)
Does RIM provide any framework or support for developing facebook like applications which would utilize push architecture irrespective of BES or BIS?
Thanks,
Suresh.Facebook doesn't use the BlackBerry network, it uses the standard data network. If you're on BES, that typically is routed through your BES server. If you're not on a BES, it will use BIS.
I don't believe the application is a "push" application either - it's more likely a real time IM client.
Jerry -
How to delete application deployed in Run Application Only mode?
I have exported/imported an application (Run Application Only mode) from one DB instance to another.
As a developer, I cannot see the application in Application Builder in the target instance. This is as intended because changes should only be made on the source (development) instance.
After testing, there may be errors to correct. The application is not going to be a new version, it is going to be corrected on the source instance. Without creating a new version of the application on the source instance, what steps does the HTML DB admin take on the target instance to delete the application so the application can be imported again?
Thanks,
KellyThank you Scott. I missed the help text to the side of the install page that explained how an existing application is deleted and replaced.
The tool provided the prompt page, Confirm Replace Application, before proceeding with the install. -
How to show application "DavMail" in dock?
How to show application"DavMail" in dock?
Drag it onto Dock, or next time you launch, there are a number of options when you control click on any Dock icon - keep in Dock being one.
-
I have 300 apps organized in folders on my ipod touch 4th gen, and connected my iphone 4, these apps have copied over but none have been placed in folders, any ideas how to replicate folders from ipod to iphone...?
What may work is to restore the iPhone fom the backup of the iPod. However, if the two devices ahve different apps that come with the device, that may mess up some of the folders.
-
How to replicate data from MS SQL Server to Oracle
Hi,
Can someone please help me on how to replicate data from MS SQL Server to Oracle 8i database.Dear,
I'm a student.
I do simple replication on Oracle 8.0.5 successfully. (one master site and one snapshot site). I only use the SQL*Plus and Schema Manager to do.
But when I do advance replication (multimaster replication) I meet many problem. So I don't get the result.
Do you show me the technology to do that ?
Thanks ! -
Please help: Example how to peploy application from jar file step by step
Please help: Example how to peploy application from jar file step by step.
All help appreciated
MikeThanks I will try these links
Mike
"Slava Imeshev" <[email protected]> wrote:
Hi Mike,
These links could be useful:
http://e-docs.bea.com/wls/docs61////adminguide/appman.html
http://e-docs.bea.com/wls/docs61////quickstart/quick_start.html
http://e-docs.bea.com/wls/docs61//////ConsoleHelp/application.html
http://e-docs.bea.com/wls/docs61///programming/environment.html
Regards,
Slava Imeshev
"Mike" <[email protected]> wrote in message
news:3ca0e94c$[email protected]..
Please help: Example how to peploy application from jar file step bystep.
All help appreciated
Mike -
How to create application toolbar in modal dialog box in selection-screen
Hi Experts,
how to create application toolbar in modal dialog box in selection-screen?
Regards,
SwapnikaHi,
Check the following link regarding Model dialog box and appication toolbar
http://help.sap.com/saphelp_nw70/helpdata/en/d1/801b84454211d189710000e8322d00/frameset.htm
It helps in solving your problem.
Thanks.
Ramya. -
ADF Mobile Client: How to deploy application data to blackberry simulator
Hiiiii
If anybody knows how to deploy application data to blackberry simulator then let me know.
I have developed one small application then i have published data and deployed appliction but when i run it on simulator it gives me following exception
Exception in Application.InitializePackages : oracle.adfnmc.AdfNmcException
[oracle.adfnmc.bindings.dbf.InitializeBindingContextVisitor.visit(BC4JDataControl)]null
One more question when we publish the data that time only it is copyed to MOBILEADMIN (Oracle Mobile Server Repository) schema or we need to do it manually.
Thanks in advance.Try searching following file
BB_ADFNMC_Bindings
and all files with BB_ADFNMC_*
these are approx 10 files , copy all of them into simulator folder inside RESERCH IN MOTION folder
or load these through simultor->File->Load Blackberry Application .
I hope it should help :) -
E-Rec : How to assign applications to requisitions?
Hello Experts,
We have just started blue-printing of E-Rec and I am successful creating a requisition from Recruiter's page. I am just concerned how to assign applications to a requisition as search doesnt work being a very new system. I was trying to create an application using link "Create External Applications" from Recruiter's login page. Please guide.
Additional details: We have ECC and E-Rec on different box with EhP5.
Thanks and regards,
SAP E-Rec GuyYou can always search for postings using a reference code - TREX and the indexes do not need to be setup for that to work. The create internal / external applications link is really used for a recruiter to create an application on behalf of a candidate. You could always just register a new external candidate and search for the job posting using the reference code and apply that way.
-
How to use application item in the page template
How to use application item in the page template.
Thanks,
rajendraHi,
You can refer application item value in template like &MY_ITEM. (note period at end)
http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/concept_sub.htm
Regards,
Jari -
How to create Application Workspace with Jdeveloper 10g 1.3.2?
Following the instructions in "Developing and Using ADF Faces Skins", I am trying to create an Application Workspace.
The instruction says: "In JDeveloper, create a new Application workspace and name it - ADFFaces_skin_sample"
I can not find the way to create Application workspace with Jdeveloper 10g 1.3.2.
Because when I click FILE==>New I got "New Gallery--Application" in left, in right only got "Application, Empty project, File, Java Class, Java Interface". There is no "workspace" item.
I try to use Jdeveloper 10g 1.3.1, got same result.
I found other ADF Skin training samples. All of them asked to create Application Workspace. But the Jdeveloper version used by all those samples were earlier than 10g 10.1.3.2
Please let know how to create "Application Workspace"?What used to be "Application Workspace" in 10.1.2 is "Application" in 10.1.3.2
Maybe you are looking for
-
Hi Friends I am using a table a981 and fetching data in internal table but the table has a fieil Country whose technical name is ALAND in dev and LAND1 in production.Now i cannot use LAND1 as it wont let me to activate the report and if i use ALAND i
-
When I try to update my ipad to IOS6 I get and error 6 message. Any idea what that means and how to fix it? I tried updating via Itunes and also normal download.
-
Cannot find camera in Adobe Flash Player
Adobe Flash Player cannot find my camera so I am unable to play and vie video's correctly. It starts slowly and then stops and starts and take so long and I end up turning the video off. Unseen. I have deleted Adobe and re downloaded it. Noth
-
Standard WBS Elements v Operative WBS elements as templates
Hi I am considering the use of Standard WBS elements however one of the limitations that I have identified is that it is not possible to enter the any default settlement parameters into the WBS elements. As our Work Breakdown structures are a combina
-
I was given a $15 gift card, but as a South African, could not use it in the local I tunes store. I changed my address to an American one, which let me upload the gift card and browse the US store, but when it came to buying an app or purchasing an i