Data replication offline/online

e have a java application which has to work both in off-line and
on-line mode.The application is in two tier architecture and the
environment is : Forte(IDE),JVM 1.3.0 Hotspot,JDO,pointbase
embedded for offline mode and oracle 8.1.7 for on line mode
(behind a firewall).The user can choose to work in offline mode
and the data has to be moved/replicated to the online DB as soon
as the user connects with the server in online mode next time.
We have the following problems.
1)The replication of data from offline to online is not working-
mainly due to firwall.We cannot have a workaround by allowing
all users thro'firewall.
2)Forte /JDO do not support oracle lite(in place of point
base).We are not able to convert the persistent classes to jar.
3) Switching over to 3 tier architecture/ JDBC(replacing JDO)
may solve some problem but involves lot of effort.
-Is there any other suitable database?
-Is there any other method to overcome this problem?

What do you mean by 'Online Data replication'? Do you mean the Oracle Advanced Replication or do you mean the Oracle Dataguard?
Oracle Data Guard Concepts and Administration
Release 2 (9.2)
Part Number A96653-02
Oracle9i Advanced Replication
Release 2 (9.2)
Part Number A96567-01
~ Madrid

Similar Messages

  • ONLINE DATA REPLICATION ONE DATABASE TO ANOTHER IN ORACLE 9.2.0.1

    I have used Oracle 9.2.0.1 version. I have created two database(ORCL, ORCL2).
    in my PC. I have created INV user in both database. Currenly I have worked on INV user which is in ORCL database. Is there any technique in Oracle 9.2.0.1 online data replication from One database to another. i.e. If at any point of time my ORCL database is damaged my INV user has been recovered in ORCL2 database.

    What do you mean by 'Online Data replication'? Do you mean the Oracle Advanced Replication or do you mean the Oracle Dataguard?
    Oracle Data Guard Concepts and Administration
    Release 2 (9.2)
    Part Number A96653-02
    Oracle9i Advanced Replication
    Release 2 (9.2)
    Part Number A96567-01
    ~ Madrid

  • Taking data file offline and online

    When I take a data file offline, which SCN get frozen? Is it the stop scn in the control file or is it the checkpoint scn in the data file header?
    Matt

    Hi,
    When I take a data file offline, which SCN get frozen? Is it the stop scn in the control file or is it the checkpoint scn in the data file header?
    Stop SCN is the SCN which gets recoreded in control file when datafile is backup mode or datafile is offline.
    Its checkpoint scn in Data File Header. As you the STOP SCN is going to Updated wehn ever there are changes with respective to the datafile.. as it implicitly says that STOP SCN, wit respective Offline datafile will not Update, until next scn generates (until the data file make online)
    - Pavan Kumar N

  • Alter Data file offline to online.

    Hello.
    ( DATA FILES ARE IN OFFLINE and ONLINE )
    In Sql prompt ,
    I can using below command
    " ALTER DATABASE DATAFILE 'BANK_DAT.dat' OFFLINE " ;
    1).IN THAT CASE ,I GET A ERROR (disallowed unless media recovery enebled )
    so i change to Noarchivelog mode using below command
    " ALTER DATABASE DATAFILE 'BANK_DAT.dat' OFFLINE DROP "
    succefully the "BANK_DAT.dat" data file will be OFFLINE.
    After that i can change "BANK_DAT.dat" data file go to ONLINE in SQL PROMPT USING below command
    SQL> ALTER DATABASE DATAFILE 'BANK_DAT.dat' ONLINE ;
    I getting below error.
    ORA-01516: nonexistent log file, datafile or tempfile 'bank_dat.dat'
    After that ,I can use DBA STUDIO in GUI mode ,Click the DATA FILE ( 'BANK_DAT.dat")
    CLICK THE ONLINE RADIO BUTTON AND APPLY .
    In these,I getting the error ( "MEDIA RECOVERY ERROE ").
    HOW WILL ALTER THE DATA FILE OFFLINE TO ONLINE IN sql> COMMAND.
    please reply very early.
    null

    Hi,
    When I take a data file offline, which SCN get frozen? Is it the stop scn in the control file or is it the checkpoint scn in the data file header?
    Stop SCN is the SCN which gets recoreded in control file when datafile is backup mode or datafile is offline.
    Its checkpoint scn in Data File Header. As you the STOP SCN is going to Updated wehn ever there are changes with respective to the datafile.. as it implicitly says that STOP SCN, wit respective Offline datafile will not Update, until next scn generates (until the data file make online)
    - Pavan Kumar N

  • How can i use offline & online database in the same time?

    how can i use offline & online database in the same time?
    my database in another server when the connection true it connect
    but if not does not work
    i wanna make offline database if the server not connected it connect offline then the server is on it alter all data from the offline to the server.

    User, please tell us your Jdev version!
    There is no such functionality build into the framework. The offline data base is only for designing the db, not to have a backup db.
    If you can't connect to the db the application will not work.
    Timo

  • First Hit Session Data Replication

    We are using WLS 5.1 with sp3 in a cluster of three
              servers using in-memory-rep, JSP, and Apache as our proxy.
              Session data replication between a primary and secondary server
              seems to work fine except in the following case:
              1) Make first hit to the cluster. During the JSP processing of
              that hit set some HTTP session data via setAttribute().
              2) Kill-off the primary server (the one that handled the first hit).
              3)Make a second hit to the cluster, it is handled by another
              server (the secondary), the session is recognized as an ongoing
              session however the session data that was set during the first hit is not
              present in the second hit.
              If we make two hits to the first server and set data, then kill-off
              the primary server, the secondary has the data at the third hit. The
              only issue seems to be when the primary is killed after the first hit.
              Anyone have any ideas?
              Thanks,
              -darren
              

    You can configure ClusterServlet in your web server farm (WLAS as web
              servers) to proxy JSP and servlet requests to the WLAS farm (WLAS processing
              your JSP and servlet).
              Set up in-memory replication in your WLAS farm. Session in JSP will be
              replicated.
              Cheers - Wei
              Yen Liu <[email protected]> wrote in message
              news:[email protected]...
              > Hello,
              >
              > I read breifly the section on BEA's online documentation talking about
              in-memory
              > replication and clustering.
              >
              > In it, it mentioned the ClusterServlet and configuring the
              weblogic.properties
              > file to assign servlets to the ClusterServlet so that sessions will be
              handled
              > correctly and all.
              >
              > My question is, "what about JSP" I am using a lot of JSP pages which sets
              > session parameters for the specific user into session objects.
              >
              > Any tips, recommendations will be most helpful.
              >
              > Thanks,
              >
              > Yen Liu
              > 510/870-1169
              >
              > Prasad Peddada wrote:
              >
              > > Darren,
              > >
              > > It shouldn't be the case. After your first hit, when you kill the
              primary
              > > server, when you make your next request you should find all the info in
              the
              > > session. I will post again, if we find the same problem on monday in our
              test
              > > environment.
              > >
              > > Thanks
              > >
              > > Prasad
              > >
              > > Darren Kessler wrote:
              > >
              > > > We are using WLS 5.1 with sp3 in a cluster of three
              > > > servers using in-memory-rep, JSP, and Apache as our proxy.
              > > > Session data replication between a primary and secondary server
              > > > seems to work fine except in the following case:
              > > >
              > > > 1) Make first hit to the cluster. During the JSP processing of
              > > > that hit set some HTTP session data via setAttribute().
              > > > 2) Kill-off the primary server (the one that handled the first hit).
              > > > 3)Make a second hit to the cluster, it is handled by another
              > > > server (the secondary), the session is recognized as an ongoing
              > > > session however the session data that was set during the first hit is
              not
              > > > present in the second hit.
              > > >
              > > > If we make two hits to the first server and set data, then kill-off
              > > > the primary server, the secondary has the data at the third hit. The
              > > > only issue seems to be when the primary is killed after the first hit.
              > > >
              > > > Anyone have any ideas?
              > > >
              > > > Thanks,
              > > >
              > > > -darren
              >
              

  • AIR - Transactional Offline/Online applcation

    Hello,
    I'm very new to AIR. I'm very interested in learning it. I
    would like to ask one question before learning.
    Is it possible to use AIR to develop Offline/Online
    application? What I mean by Offline/Online application is that the
    application work on offline when the network is down. If the
    network is available then it will automatically re-connect with
    online services and will sync the offline data to the online
    services.
    Here is one scenario.
    Let's say I have a small application called "Student
    Registration Management" system. I have StudentRegistration.UI
    (AIR)project and StudentRegistrationService Web Service project.
    StudentRegistration.UI project is working fine as long as we have
    the network connection. But the problem is that our network
    connection is not so stable. sometimes, it used to disconnect for
    half-day and etc . So, we are considering to make our project work
    Offline.
    In order to do that, we are thinking to add another layer
    that can switch the proxy class and offline class that can access
    to the local database.
    For example:
    StudentRegistration.UI --> [detect the connection] ->
    [if online] call Proxy to invoke the webservice.
    -> [if offline] call another class that can connect to
    the local database which is located under "My Document" or
    "somewhere"
    Questions:
    Q1. Do you think this is the correct approach??
    Q2. Is it possible to connect the MS access database or mdf
    from AIR directly? (Note: This MS Access Database or mdf will be
    located under under "My Document" or "somewhere" ) If yes, how can
    I do that? Do I have to use the "inline" SQL statement too?
    Q3. Having one layer that can connect with local database
    will add the duplicated effort. Whenever we changed something in
    StudentRegistrationService Web service project, we will need to do
    the same thing for those offline classes. How can I reduct this
    effort?

    Hi,
    You can definitely built apps with online-offline
    capabilities with AIR. You can't connect to an MS Access database,
    but AIR has built-in SQLite (a file based DB like MS access) DB
    support. Use SQLite to persist data when in offline mode.
    The NativeApplication class whose singleton instance can be
    accessed via NativeApplication.nativeApplication dispatches an
    event (networkChange) whenever any change in the network is
    detected. It may be a connection coming back up or a connection
    going down. Your application has to listen to this event and then
    ping your server URL to see if it is online or offline. By ping,
    the meaning here is only a check to see if a particular URL is
    accessible using HTTP. There is an AIR class called URLMonitor used
    for this.
    As far as Q3 goes, you'll have redo the changes you did in
    your web services classes in the local version as well. I don't see
    a way around that.

  • Datafile offline后 无法online

    数据文件1个月前前被offline 后,忘了online
    最近才发现这个问题,rman 的的备份策略是保存一周,.现在数据文件是recover 状态
    SQL> select status from v$datafile;
    STATUS
    SYSTEM
    ONLINE
    ONLINE
    ONLINE
    ONLINE
    RECOVER
    进行了如下操作
    [oracle@localhost ~]$ rman target /
    Recovery Manager: Release 10.2.0.1.0 - Production on Sun Oct 14 15:21:39 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: ORCL (DBID=1282456281)
    RMAN> restore datafile 6;
    Starting restore at 14-OCT-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=158 devtype=DISK
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00006 to /u01/app/oracle/oradata/orcl/test.dbf
    channel ORA_DISK_1: reading from backup piece /u01/app/oracle/flash_recovery_area/ORCL/backupset/2012_10_14/o1_mf_nnndf_TAG20121014T113901_87ndypbn_.bkp
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/u01/app/oracle/flash_recovery_area/ORCL/backupset/2012_10_14/o1_mf_nnndf_TAG20121014T113901_87ndypbn_.bkp tag=TAG20121014T113901
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:15
    Finished restore at 14-OCT-12
    RMAN> recover datafile 6;
    Starting recover at 14-OCT-12
    using channel ORA_DISK_1
    starting media recovery
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 10/14/2012 15:22:33
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06025: no backup of log thread 1 seq 97 lowscn 10552775 found to restore
    RMAN-06025: no backup of log thread 1 seq 96 lowscn 10552545 found to restore
    RMAN-06025: no backup of log thread 1 seq 95 lowscn 10550471 found to restore
    RMAN> exit
    Recovery Manager complete.
    --一周前的全备和增量备份,归档日志已经被删除
    [oracle@localhost ~]$
    [oracle@localhost ~]$
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Oct 14 15:22:51 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 1241513984 bytes
    Fixed Size 1219136 bytes
    Variable Size 335545792 bytes
    Database Buffers 889192448 bytes
    Redo Buffers 15556608 bytes
    Database mounted.
    SQL> alter database open;
    Database altered.
    数据库能正常启动
    SQL> select status from v$datafile;
    STATUS
    SYSTEM
    ONLINE
    ONLINE
    ONLINE
    ONLINE
    RECOVER
    6 rows selected.
    状态还是recover 状态
    SQL> alter database datafile 6 online;
    alter database datafile 6 online
    ERROR at line 1:
    ORA-01113: file 6 needs media recovery
    ORA-01110: data file 6: '/u01/app/oracle/oradata/orcl/test.dbf'
    如何使该数据文件online ?
    以上环境是我的模拟的 有一个生产库和该情况基本一样

    谢谢 部分归档日志的备份已经被删除(因为备份策略 不可能保存所有的归档日志)
    只有选择第二种了.
    数据文件意外offline 或变成recover状态,由于对系统没有影响(如我遇到SYSAUX表空间),一直没有发现,能到发现了,已经是很长时间了,归档日志已经不全了(备份策略没有保存那么长时间)
    这类问题有什么好的办法可以避免吗?

  • SQL Server Enterprise support for Offline / Online Application development

    Hi,
    We have suggested to use the SQL Server 2012 as Database for our Enterprise application. We have the Offline/Online two set of application. Can you suggest any offline database to sync the Online SQL Server database.
    Thanks,
    Sethu

    What is an offline database?
    One can setup an "online" database and an "offline" database using SQL Server 2012 Enterprise Edition.
    SSIS packages can be used to synch data between the databases:
    http://blogs.msdn.com/b/jorgepc/archive/2010/12/07/synchronize-two-tables-using-sql-server-integration-services-ssis-part-i-of-ii.aspx?Redirected=true
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Is it possible to make an OSB Proxy service offline/online based on BS

    JMS QUEUE
    |
    |_____ Proxy Service <-------->Business Service <---------> External System URL
    I have a configuration as shown above.
    There is a way to make the Business Service offline/online based on the External system URL being offline/online by setting the
    Business service-> Operational Settings->Offline Endpoint URIs with a timesatmp.
    Is it possible to make the state of the proxy service to enabled/disabled based on this state of BS based on external enpoint URI?
    This is a requirement such that the messages in the JMS queue doesnot get lost or consumed when the external system is offline.
    Thanks in Advance!

    I have thought about this. There are some problems here....
    I cannot use the same proxy to invoke the java callout and then based on the code or handler disable it, since
    1) i would have no way to enable back the proxy again.
    2) Also there is some amount of message loss.
    So i will have to use another proxy to do the same, but in this case
    1) what would be the trigger to this proxy?
    2) And how often do i invoke the java callout to see if the URI is up or not? (wouldnt that affect the performance?)
    I am just wondering why did they give an offline URI option in the business service and no similar option in the proxy service, Any Idea?
    Thanks

  • Failure in the SOAP Runtime: Employee Master Data Replication Using IDoc OTM_EMPL

    During employee master data replication from ECC to CfTE, we encountered the following error:
    Unexpected element -el=OTM_EMPL ns=urn:sap-com:document:sap:idoc:soap:messages
    We are using the 1402 WSDL for Replication of Employee Master Data with Employment Details (humancapitalmanagementmasterd2). The payload was not received in CfTE.
    Can anybody please advise how to resolve this issue?
    Thank you.

    Dear Joselito,
    This issue need deeper investigation in customer system.
    Kindly report an incident for SAP Support for further help.
    Regards,
    Rahul Mishra

  • Data replication and synchronization in Oracle 10g XE.

    We are trying to do data replication and synchronization sort of thing for all our servers. We are using Oracle 10g. XE. I guess there are some features in oracle already for replication but I am not very sure about them.
    To explain it more clearly - we will have individual database servers in our sub-divisions and then divisions and centers and then main server. We need to synchronize at various levels. So If any body is aware of any techniques, please let me know.

    Hi,
    Could you tell me what exactly synchronisation your talking about..?
    we will have individual database servers in our sub-divisions and then divisions >>and centers and then main serverIf you have mulitple DB servers then you can connect it by DB links. also if you are talking DB synchronisation then you can have Triggers,Materialized views.
    we also have two independent severs which are synchronised(atleast schema levels).
    Regards!

  • Data Replication Between Sqlserver and Oracle11g using materialized view.

    I have Sqlserver 2005 as my source and oracle11g as my target.I need to populate the target daily with change data from source.
    for that we have created a dblink between sqlserver and oracle and replicated that table as a Materialized view in Oracle.
    problem we are getting here is Fast refresh option is not available.each day it will pick full data from the source.
    is there any way to use Fast refresh in this scenario??
    Thanks in advance.
    Regards,
    Balaram.

    Pl do not post duplicates - Data Replication Between Sqlserver and Oracle11g using materialized view.

  • Install oracle goldengate at ASM  for data replication in RAC system?

    Hi Experts,
    We have 2 RAC server and each server have a 4 nodes RAC with 10R2 database in linux.
    We will install oracle goldengate as data replication between two RAC servers.
    Our database install on ASM in SAN box in linux
    Based on Goldengate install requirement, 16.     Set a shared driver that is accessed by each RAC nodes
    and install goldebgate on shared driver.
    As I understand, can we install goldengate on ASM that is shared by each node?
    Or we MUST set up other shared driver ( NO ASM) for installation of goldengate.
    Please advise me?
    Thanks
    Jim

    http://www.oracle.com/technology/products/goldengate/10/whitepapers/ha-goldengate-whitepaper.pdf
    This will answer your questions.

  • Data replication monitoring on MDG flex mode objects with Information Steward

    Hi,
    I am exploring different options available to setup data replication monitors on SAP MDG custom objects(flex mode). Basically my requirement is to setup rules in SAP Information steward which identifies if there are any missing records or mismatch between the data in MDG system and the replicated systems.
    The challenge I am facing is that the tables generated by MDG framework for flex mode are not consistent and they keep changing if we change some key information in the MDG data model. Also the generated tables are not the same in each environment (like development, quality, production). Appreciate if anybody can provide suggestions on handling the MDG generated tables in SAP Information Steward.
    Thanks in Advance.
    Goutham

    Hi Abdullah,
    Thanks for your reply. I cannot write any ABAP code in Information Steward. As you mentioned I can always use MDG API to pull the active data from MDG but here I can only give the table names.
    The other option as you mentioned, using DRF I can replicate the data in flat files to Information steward, but it is not making sense as I am validating with replicated data and not with actual data available in MDG. Other point is I don't think it is a good idea to replicate all the records periodically.
    Thanks and Regards
    Goutham

Maybe you are looking for