Problem in creating client database..

hi all,
I am trying to add publicaion Items by using APIs and then publishing it by Packaging Wizard.how can i create client data snapshot by using APIs.Beacuse I am not able to create any client database on downloading this application on client machine.

If you are new to oracle lite i would suggest you just use the MDK or wtgpack to create your first application as it guides you through more, before tackling the APIs (which need more understanding of the process).
The normal purpose of using oracle lite is to create a database on a client evice that is synchronised with the server database. In order to do this you will go through the following steps
1) define an 'application' (sometimes called a 'publication') - the name of this will be the name of the client database. basic things you do is give it a name and a destination platform (WIN32, PPC2003 etc.)
2) for each table you want in the client database, you define a 'publication item' (basically a snapshot definition). This needs an internal name (MDK/wtgpack creates these automatically in the format WTGPI_nnnnn), the base schema containg the table, the name of the table, the refresh mode (complete or fast), basic conflict resolution (client wins or server wins), dml flag (only if you want read only items), a priority order (the order of inserts if there are multiiple table to deal with parent/child relationships) and a SQL statement
The basic for the SQL statement is
select * from schema.table - this selects all data
if you want to restrict the data sent, then this can be either fixed for all users
select * from schema.table where id between 1000 and 2000
or using a bind variable
select * from schema.table where assigned_user=:username
3) once you have the application and publication items defined you publish it to the mobile server
4) in the mobile server manager you will now be able to see the application you have defined, and all of the meta data related to the publication items
5) you now create a user
6) after creating the user, you go to access and link them to the application, and if you used any bind variables go into data subsetting and set the value for that user
7) next on the client device you need to install the oracle lite client - easiest done by going into IE and the link <mobileserver>/webtogo/setup and follow the instructions
8) next on the client run msync, specify the user, password and server url and the database should download

Similar Messages

  • The Critical Problems for Creating Standby Database

    The Critical Problems for Creating Standby Database:(I want to create a physical standby database on the same system of the primary database)
    1. Should I copy all the backup datafiles, standby controlfile and password file to a same directory before the first time to mount the standby database?
    2. Before mounting the standby database, Should I change the datafile's name to a new one in the standby controlfile? How to change them?
    3. When issuing the command to mount the standby database, should I specify the controlfile's name.(using which controlfile to mount)
    These problems are not clearly secified in Oracle documentations.

    Can you point us to the Windows specific documentation you refer to?
    The parameter DB_FILE_NAME_CONVERT should take care of the new mapping for your datafiles (and LOG_FILE_NAME_CONVERT for logs), so you should be able to put them where you want and use the parameter to point Oracle to the correct location. You should not need to change the name in the controlfile.
    Place your standby controlfiles where you have the control files defined in your parameter file and Oracle should recofgnise that it is a standby db. You should not need to specify which controlfiles to use (if this is even possible), your CONTROL_FILES init parameter points to them.
    Not sure about the password file....my instances are on separate boxes and the password file has the same name on both primary and standby.

  • Problem in creating client side PDF with image using flex and AlivePD

    I need a favor I am creating client side PDF with image using flex and AlivePDF for a web based application. Images have been generated on that pdf but it is creating problem for large size images as half of the image disappeared from that pdf.I am taking the image inside a canvas . How do i control my images so that they come fit on that pdf file for any image size that i take.
    Thanks in advance
    Atishay

    I am having a similar and more serious problem. It takes a
    long time to execute, but even attaching a small image balloons the
    pdf to 6MB plus. After a few images it gets up to 20MB. These are
    100k jpeg files being attached. The resulting PDF is too large to
    email or process effectively. Does anyone know how to reduce
    size/processing?

  • Problem in accessing client database.

    hi
    I have created a application using MDW.I am getting the Client database created.but i donno how to access those tables on client machine by using command prompt.I just wanna see whether those tables had all the data.So plz tell me the Solution.
    Edited by: user10797477 on Jan 28, 2009 6:47 AM

    depends on the client platform
    for windows
    msql system/<user password>@polite:<username>_<application name>
    for windows mobile you need the msql executable (and libraries) from the SDK if it is not already there, and then just execute if and a GUI interface will appear to let you select the database and enter the passwords etc

  • Problems While Createing Lite Database for Palm

    Hello Everybody
    I want to use OracleLite to develop a Palm application using Satellite Forms EE.
    When i am going to create new Oracle Lite Database in the Oracle8 Navigator at that time in the New Oracle Lite Database Properties dialog box it can not display the Consolidator Support check box.
    Documentation says Consolidator Support check box must be true for creating a new database for Palm platform.
    How can i get this check box?
    Is this CheckBox is necessary for creating a Datapase for Palm Platform?
    Documentation also says after creating the New database The database contains the
    Consolidator folder, which includes the folders: Client, Publication, and Sequence.
    but i can not get the Consolidator folder after creating new database,hence i can not get Client,Publication and Sequence folder.
    I have installed OraceleLite on WindowsNT Server.
    I have intalled iConnect Consolidator Server, Client and Admin on WindowsNT.
    I am using Orace8 server
    can anybody provides me any suggesions rather soluation?
    Please help me.
    Thainks
    Priyesh
    null

    baftos wrote:
    Maybe I should question the need to access a local database on the client PC.
    But anyway, the normal way to obtain security clearance is to use a signed applet.
    Another possibility is to grant the applet all permissions by modifying the security policy file of each client to grant your applet 'all permissions'. Note that in this case you must have access to each and every client PC or ask them to do so before running the applet.Database access at client's machine is ridiculous. I doubt this is what OP wants.
    @OP: request you to post the original security issue and the environment details.
    Thanks,
    Mrityunjoy

  • Problem to create "New Database Diagram" in Microsoft SQL Server Management Studio for SQL Server 2012 SQL Express

    Hi,
    I have installed SQL Server 2012 Express edition (name of installation media: en_sql_server_2012_express_edition_with_advanced_services_x64.exe) from MSDN and I have installed the application on my pc with Windows 7 Exterprise.
    Everything is working fine except when I am trying to create "New Database Diagram", where I recieve following error message:
    TITLE: Microsoft SQL Server Management Studio
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)
    BUTTONS:
    OK
    I have tried two times to reinstall SQL Server 2012 Express and I have installed Cumulative Update #3 for SQL Server 2012 and restarted the machine, but I have still the same problem with the same error message.
    Installed the following fixes:
    1) 2012_RTM_DAC_CU3_2723749_11_0_2332_x64
    2) SQLServer2012_RTM_CU3_2723749_11_0_2332_x64
    These files was installed successful.
    How can I solve the problem?
    BR
    Jan Nilsson

    Hi Jan,
    Have you installed Visual Studio in your machine?
    The problem seems to be related to installing and uninstalling the VS 2011 RC0 program.
    The workaround involves copying the files from another PC with SQL 2008 or 2012 from one machine to another. Just replace this folder:
    C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8
    See also the following for further details:
    http://social.msdn.microsoft.com/Forums/en-GB/vstsdb/thread/d65c71f5-3887-4f2a-bbd3-e799a4ac6fdc
    Best Regards,
    Iric
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Problem when create standby database

    hello,
    I have two server(NT4.0,SP6) installed Oracle 8i(8.1.6 Enterprise) at the same directory.I want one as the primary database,another one as the standby database.
    The two database have the same SID,use SQL*Plus it can access each other.
    My operating steps as below:
    1.on primary server:
    1)connect internal;
    2)shutdown immediate;
    3)copy all datafiles(*.DBF) to a backup directory;
    4)startup
    5)alter database create standby controlfile as 'd:\oracle\ora81\ILLDB\standby.ctl'
    6)alter system archive log current
    2.on standby server:
    1)copy all backuped datafile,standby.ctl,all redo log files from primary server to standby server,overwrite all same name files;
    2)modify the init.ora,add this parameter:
    "standby_archive_dest = "location=D:\Oracle\oradata\ILLDB\archive" ";
    3)statup oracle service in Service control manel;
    4)run svrmgrl.exe;
    5)startup nomount;
    6)alter database mount standby database;
    then a error message appear:
    "ORA-01665 controlfile is not a standby controlfile".
    I don't know which step is mistake.Please tell me correct steps.
    Thanks

    I did face the similar problem while trying to create and startup a clone database for Point in Time Recovery (PITR). The error message is
    ORA-01696 controlfile is not a clone controlfile
    Are you folks have any idea how do I resolve this problem?? Is there any way to create clone control file??

  • Installation problem when creating first database

    Hy , I have a dell power edge with Windows 2003 R2 32bit. 4Gb RAm. I am installing oracle standard edition 11g. the installation completed successfully, when creating the default database i got an error. It refered me to the log below
    Location of the file is : D:\Oracle\app\Administrator\cfgtoollogs\dbca\ORCL\emConfig.log
    SEVERE: Error starting Database Control
    Refer to the log file at D:\Oracle\app\Administrator\cfgtoollogs\dbca\ORCL\emConfig.log for more details.
    Nov 10, 2008 5:07:32 AM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
         at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:869)
         at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:250)
         at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:213)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:235)
         at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:460)
         at java.lang.Thread.run(Thread.java:595)
    I have tried deleting the database and recreating it. Still the same.
    I have put the ip and host name of the server in the host file . does not work.
    Can you help me please

    D:\Oracle\app\Administrator\cfgtoollogs\dbca\ORCL\emConfig.log contains the following information
    CONFIG: Waiting for service 'OracleDBConsoleORCL' to fully start
    Nov 10, 2008 5:07:32 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database Control
    Refer to the log file at D:\Oracle\app\Administrator\cfgtoollogs\dbca\ORCL\emConfig.log for more details.
    Nov 10, 2008 5:07:32 AM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
         at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:869)
         at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:250)
         at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:213)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:235)
         at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:460)
         at java.lang.Thread.run(Thread.java:595)
    Nov 10, 2008 5:07:32 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to D:\Oracle\app\Administrator\product\11.1.0\db_1\oui

  • Problem when creating 8i database on RH6.0

    my machine is oracle 8i on REdhat 6.0
    and when I use script to create database
    it is said some views ,some tables and synonym do not exist
    then drop them
    Will the database work well in future?

    Dont't worry about that. Before you
    create a table(or view), it is wise to
    drop the table(or view) with the same name.
    If the name doesn't exist, of course there
    is an error message. See the following script:
    -------------------begin-----------
    drop table students cascade constraints;
    create table students (
    sid varchar2(5),
    fname varchar2(20),
    lname varchar2(20) not null,
    minit char,
    primary key (sid));
    --------------end-----------------
    Good day!
    null

  • Problem with creating oracle database

    I am trying to create a new database in one of customers computers, using Database Administration Assistant. The wizard goes until "Adding Oracle Text" then I get an error message without any description. Then jump out of wizard quickly with no other option.
    I am getting mad of it because the deadline is coming and I don't know what to do.
    PLEASE HELP ME SOON.
    Mehran

    Hello,
    If DBCA doesnt work you can try to create manually Here are the steps to create manual db on Windows.
    ## Manual DB creation on Windows
    C:\>set ORACLE_SID=JUNK
    C:\>oradim -NEW -SID JUNK -STARTMODE auto -SYSPWD testing123 -PFILE d:\oracle\admin\JUNK\pfile\init.ora
    Instance created.
    C:\>sqlplus sys/testing123 as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Feb 24 14:25:29 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup nomount pfile=d:\oracle\admin\JUNK\pfile\init.ora
    ORACLE instance started.
    Total System Global Area 293601280 bytes
    Fixed Size 1248624 bytes
    Variable Size 92275344 bytes
    Database Buffers 197132288 bytes
    Redo Buffers 2945024 bytes
    SQL> create database JUNK
    2 maxlogfiles 32
    3 maxlogmembers 3
    4 maxloghistory 1
    5 maxdatafiles 254
    6 maxinstances 1
    7 character set WE8ISO8859P1
    8 datafile 'e:\oradata\JUNK\system01.dbf' size 200m reuse autoextend on next 10240k
    9 sysaux datafile 'e:\oradata\JUNK\sysaux01.dbf' size 100m reuse
    10 undo tablespace undotbs1 datafile 'e:\oradata\JUNK\undotbs01.dbf' size 100m
    11 logfile
    12 group 1 (
    13 'e:\oradata\JUNK\redo01a.log',
    14 'e:\oradata\JUNK\redo01b.log'
    15 ) size 100m reuse,
    16 group 2 (
    17 'e:\oradata\JUNK\redo02a.log',
    18 'e:\oradata\JUNK\redo02b.log'
    19 ) size 100m reuse,
    20 group 3 (
    21 'e:\oradata\JUNK\redo03a.log',
    22 'e:\oradata\JUNK\redo03b.log'
    23 ) size 100m reuse
    24 controlfile reuse;
    Database created.
    # Run Catalog/Catproc as sysdba
    @D:\oracle\oracle10g\RDBMS\ADMIN\catalog.sql
    @D:\oracle\oracle10g\RDBMS\ADMIN\catproc.sql
    # Run Pupbld.sql as system
    conn system/manager
    @D:\oracle\oracle10g\sqlplus\admin\pupbld.sql
    -Sri

  • Problem with CREATING NEW DATABASE

    Please help...
    When i am creating a new database by using DBCA, i got the error like this " *Cannot create directory"C:\oracle\product\10.2.0\db_2\cfgtoollogs\dbca\COLLEGE* ".
    Edited by: D.S.Reddy on Aug 4, 2012 5:34 PM

    Pl post OS and database versions, along with the last 100 lines from the dbca log file. Does this directory exist ? Are you using an account with administrator privileges ?
    HTH
    Srini

  • Oracle 8iEE problem in creating database

    When installing Oracle 8i Enterprise Edition for Linux slakware there is a problem of creating the database . while installing if we choose the option of creating the database it hangs at that point .
    Although if we skip the creation of the database it shows that the installation is complete . later when we use dbassist it hangs after displaying few file names last one being for CreateWizardMain.
    we tried using response files, silent mode also but the computer hangs at that point.
    We tried svrmgrl but in that it is displaying an error message for cannot open parameter file with the name that was provided in response file .
    Any Suggestions?

    I spend 2 days on resolving this problem.
    You should make two links:
    ln -s /bin/free /usr/bin/free
    ln -s /usr/bin/awk /bin/awk
    because dbassist looking for this programs.
    This is help me, and i think this help you.
    greet.
    Roman

  • Problem with create standby by rman oracle9.2

    I have a problem: until create standby database by rman i have error:
    RMAN-03015: error occurred in stored script opomc_clone
    RMAN-03002: failure of Duplicate Db command at 02/18/2010 12:26:34
    RMAN-03015: error occurred in stored script Memory Script
    ORA-19587:
    ORA-27091: skgfqio:
    ORA-27072: skgfdisp:
    SVR4 Error: 5: I/O error
    Additional information: 349248
    The scripts are ok becouse they work earlier.
    The main database was a standby but now is primary.
    I create new standby base on remote server
    I have in bdump strange error for me until create rman copy for standby:
    Clearing standby activation ID 1004670785 (0x3be20f41)
    The primary database controlfile was created using the
    'MAXLOGFILES 5' clause.
    The resulting standby controlfile will not have enough
    available logfile entries to support an adequate number
    of standby redo logfiles. Consider re-creating the
    primary controlfile using 'MAXLOGFILES 8' (or larger).
    Use the following SQL commands on the standby database to create
    standby redo logfiles that match the primary database:
    ALTER DATABASE ADD STANDBY LOGFILE 'srl1.f' SIZE 409600000;
    ALTER DATABASE ADD STANDBY LOGFILE 'srl2.f' SIZE 409600000;
    ALTER DATABASE ADD STANDBY LOGFILE 'srl3.f' SIZE 409600000;
    ALTER DATABASE ADD STANDBY LOGFILE 'srl4.f' SIZE 409600000;
    Any suggestions?
    Sorry for my english :)
    Edited by: user12044451 on 2010-02-18 03:56

    can you use like this
    BACKUP DATABASE INCLUDE CURRENT CONTROLFILE FOR STANDBY PLUS ARCHIVELOG;startup nomount;
    duplicate target database for standby nofilenamecheck;
    in detail check
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmstand.htm#1000921

  • Problem to create a connection with Hypersonic database

    Hi,
    i'm using NetBeans 5.5.1 and JBoss 4.0.3SP1. Over Runtime-window i try to see and to use the JBoss's database, Hypersonic. But i become following exception:
    (Socket creation error) The connection cannot be created with this driver: org.hsqldb.jdbcDriver.
    This are the following configurations for my DB-Connection.
    Name: HSQLDB
    Driver: org.hsqldb.jdbcDriver
    URL to the DB: jdbc:hsqldb:hsql://127.0.0.1:1701
    Username: sa
    Password : *****
    Can anyone help me to solve this problem. Is it actually possible to create an connection with a hypersonic database?
    Which databases are support by this Netbeans DB-Client?
    Thank you
    Best Regards

    In general, NetBeans db client should work with any jdbc client database/driver.
    Are you able to connect to the database from outside the ide (using a standalone java program)?
    You may also want to take a look at :
    http://www.netbeans.org/kb/50/jboss-getting-started.html
    http://weblogs.java.net/blog/bleonard/archive/2006/04/elvis_meet_port.html

  • Problem In Creating a client

    Hello all
    I have a Url by using which i have to call another application,
    but it's not working....
    The Url like this...
    http://203.196.152.60:8080/moveoapp/Notify?MSISDN=919986861012&msgtxt=BAL%20P00169IN&shortcode=60066836&operator=hutch
    Then i am creating a method...
    GetMethod method=new GetMethod(Url);
    Then i am creates client ant getiing the Status...
    HttpClient client=new HttpClient();
    int statusCode=client.executeMethod(method);
    if(statusCode!=HttpStatus.SC_OK){                    return -1;
    }else{
    return 0;
    here i am getting the Status code 505 means the "HTTP/1.1 505 HTTP Version Not Supported"
    Can any one please tell me what is reason and where i made mistake
    Waiting for response.
    Thanks in advance

    Hi,
    what HTTPClient you have? Is it org.apache.commons.httpclient.HttpClient with org.apache.commons.httpclient.methods.GetMethod? If so, try
    method.getParams().setVersion(HttpVersion.HTTP_1_0);Btw. Is this the same problem as in http://forum.java.sun.com/thread.jspa?threadID=5212261&messageID=9857375#9857375?
    greetings
    Axel

Maybe you are looking for

  • Where can i download the driver for my ethernet controller on windows 7 (macbook pro 2011)

    where can i download the driver for my ethernet controller on windows 7 (macbook pro 2011). after the installation of windows 7 i cant use my wlan or audio.

  • Hard Drive Gone!?

    So I left my computer on when I went out somewhere earlier today. It put the screen to sleep, like it usually does. Nothing was out of the ordinary, but when I got back, I clicked the command button on the keyboard, which is what I am in the habit of

  • Purchase order text  in info record

    Hi!! I want to clean purchase order texts of all info records. How Can i know that info records have Purchase order texts?, Which table can i use?. Thanks, Regards.

  • How to watch CPU usage of a long running process?

    Hi Gurus, I have a daemon type process that handles transactions. The transactions typically completes in less than a second. I would like to find out the CPU usage of the transactions. I am looking for something that allow me to watch the CPU usage

  • Poor Wireless signal

    I just bought a HP 20-2110d All-in-One Desktop PC. Had so much difficulty setting it up as it had a poor wireless connectivity. Always only showing 2 bars and connectivity cutting off every now and then. Called HP support this morning and they led me