Oracle Database Lite API Specification JDBC

Hello.
I would like to create a schema with Oracle Database Lite API Specification.
I have done a script to create an application in the Mobile Server in this way:
"Platform p = new Platform("WINCE_ARMV4_US_OLITE_STD42");"
"Application app = new Application(nombre_app, ruta_virtual_app, p);"
And using ConsolidatorManager for the conection:
"ConsolidatorManager cm = new ConsolidatorManager();"
"cm.openConnection(user, password, dir_repository);"
But after that, I can't get the application. Could you help me, please?
Thank you.
With best regards.

Is this subscription parameter causing a problem?
unless the subscription parameter name is referenced in the select statements for any of the publication item definitions, it will be ignored by the processing as the subsetting parameters are just used to supply values for bind variables at query time
If you have other valid subsetting parameters for the user, then try (if all your set up is done via APIs and you do not have an APPLICATION, only a PUBLICATION, this may not work)
1) go into the mobile manager > users
2) search for user name, and click on the link under the user name
3) go to subsetting parameters and pick a valid one
4) select the data and do cntrl C cntrl V (cut and paste)
5) press the save button
The above has the effect of resetting the user account, and refreshes sequence values, c$all_client_items etc.
If you can do the above steps, but this does not remove the subsetting variable, you should be able to go to it and set the value to NULL
I do not think that there is a delete function due to the dependancy to the select statements which would be complex to validate

Similar Messages

  • Delete Parameter with Oracle Database Lite API Specification

    Hi,
    Is there any function or way to remove a parameter with a API function?
    Regards

    Is this subscription parameter causing a problem?
    unless the subscription parameter name is referenced in the select statements for any of the publication item definitions, it will be ignored by the processing as the subsetting parameters are just used to supply values for bind variables at query time
    If you have other valid subsetting parameters for the user, then try (if all your set up is done via APIs and you do not have an APPLICATION, only a PUBLICATION, this may not work)
    1) go into the mobile manager > users
    2) search for user name, and click on the link under the user name
    3) go to subsetting parameters and pick a valid one
    4) select the data and do cntrl C cntrl V (cut and paste)
    5) press the save button
    The above has the effect of resetting the user account, and refreshes sequence values, c$all_client_items etc.
    If you can do the above steps, but this does not remove the subsetting variable, you should be able to go to it and set the value to NULL
    I do not think that there is a delete function due to the dependancy to the select statements which would be complex to validate

  • Oracle Database Lite API JavaDoc

    Hi!
    I am trying to locate the Olite API doco, but am unable to find it.
    I need to write a customized compose method.
    Where can I find the documentation?
    Has anybody written a customized compose method?
    Thanks, Alex

    there should be a javadoc directory as part of the SDK, but it is fairly basic
    The example for MyCompose is a good start point to developing specific compose classes and is pretty straightforward to implement

  • Error while installing Oracle Database Lite 10.2.0.1.1 for Win

    Hello,
    I am trying to install Oracle Database Lite 10.2.0.1.1 on Windows XP. I am going according screens on this page:
    http://www.oraclebrains.com/2008/07/installing-oracle-database-lite-10g-release-3-mobile-server/
    But at Step:12 - Mobile Server repository Wizzard after password enter I get error --- Io exception: The Network Adapter could not establish the connection. May I insert specific password for Username SYSTEM? Or where is problem?
    Thanks for hint
    David

    Hi,
    I have the same problem but, how can i know what my SID is ? i am trying with "ORCL" and it doesnt work.
    Do you know in which file i can get it ? in the documentation of the installation i found this:
    "If you are not sure of the values to enter for the URL, then you can query the data dictionary to obtain these values.
    Connect as SYSTEM and run the following queries.
    To retrieve the SID, execute: select instance_name from v$instance;
    If you need to retrieve the port number, check the listener.ora file on the
    back-end database."
    But how can i query the database if i have not finished to install it yet and where is located the listener.ora file ?
    I hope you can help me.
    Thank you.

  • Performance Issues on Oracle Database Lite 10.3.0.3

    Hello,
    we have a big problem with one of our customers. He uses Oracle Database Lite in the standalone version. There are about 600 clients running a project with about 20 Publication Items. The customer works in the logistics field, so the Main time where nearly all clients want to sync and get their tours is from 02 AM to 05 AM, so that is the time with the most traffic.
    Everything went well before last week. Suddenly the compose cycle needs (at least between that hours) about ten times longer than before. Normally we had about 40 - 80 seconds, now we have about 300 - 500 average with max values from over 1200 seconds.
    Therefore we have a lot of conflicts and Disconnects on the clients. It is sometimes that bad, that nearly no client can sync successfully.
    We checked our Selects in the publication Items, all are very fast and look good in the explain plan, so that shouldnt be the problem.
    The installation is nearly in the Default state as oracle does when you install Oracle Lite. Are there any standard settings we can change? Does anyone had the same problem already?
    The Machine is a Windows Server 2003 with an Intel Xeon CPU E7-4820 and 4 GB of RAM.
    Of course our customer gets a lot of trouble because of that and we have to improve and fix that as fast as we can.
    Any recommendation or opinions are very welcome.
    If I have to give more Info about somewhat please feel free to ask, I will give it as fast as possible.
    Thanks in advance
    Holger

    Hey,
    many thanks for your proposals. The MGP runs every minute like the default settings are, because our application is a time sensitive. The data have to be very fast on the clients in the nights and thex are only a few minutes before available. I think the parameters are important in environemnts where the mgps runs only after a few minutes?
    Let me summarize the situation since my las post:
    We have days (nights) where everything goes quite well. Mainly that is thrusday and friday. But on the other hand, there are days where everything really is a mess.
    The mgp caycles increase and when you look to mobile manager you see 70 clients syncing very very slowly (about 300 - 600 seconds) for just a little bit of data. Then we get the disonnects and the messages in the err.log. 
    What do you think, is this somehow network related, or ist this a logical problem in the Mobile Server itself? 
    Like postes earlier, there are 500 clients syncing against a standalone mobile server.
    We just couldnt figure out, why the mgp times somehow and sometimes increase that much, that there are these problems.
    First we thought, that they sync newly over wireless (GPRS or Edge) and that syncing is that slowly, that everything goes down, but arent sure. Is this possible because of the architecture of the Mobile Server? That a very slow network can slow down the mgps and that does timeouts and all the other stuff?
    How many clients can a Standalone Mobile Server normally serve at same time without performance problems. What do you thin about the hardware I wrote? Is it powerful enough?

  • Installing Oracle Application Server 10.2 for Oracle Database Lite

    Can anybody please tell me how to install oracle application server 10.2 for oracle database lite (i use oracle database lite for my final project). I use wi-fi connection to synchronize between pda and my laptop as server. Should i install oracle internet directory before installing oracle application server? I have difficulties in installing application server, what are the options should i take in every page of installation? Thanks before.

    Install with the base, do not select any other options. Only choose webcache if you require the use of a software load balancer.

  • Available Now: Oracle Database Lite 10g Release 1

    The Oracle Database Lite development team is pleased to announce the availability of Oracle Database Lite 10g (10.0.0.0.0) for Windows 2000/XP, Solaris 2.6, 2.7, 2.8, and Red Hat Enterprise Linux AS/ES 2.1/3.0 platforms.
    The Windows release is currently available from OTN at:
    http://www.oracle.com/technology/software/products/lite/index.html
    Oracle Database Lite 10g is a complete and integrated solution for rapid development and deployment of high impact, mission vital applications for mobile and lightweight embedded environments. Oracle Database Lite is an extension to Oracle Database 10g for enterprises wanting to increase productivity, reduce operational costs, and improve customer satisfaction.
    Oracle Database Lite uses data synchronization to reliably and securely exchange data between a corporate Oracle Database and mobile workers. Oracle Database Lite also allows companies to deploy and manage users, mobile applications and devices from a remote central location. Oracle Database Lite provides the necessary framework enterprise customers need to extend their enterprise applications and data to the most popular mobile platforms: Palm OS, Linux, Microsoft Windows CE/PPC, and Microsoft Windows NT/2000/XP/UNIX.
    The following is a partial list of new features for Oracle Database Lite 10g that will make your mobile deployment easier to manage, use, and develop. A complete list will be available for download/viewing soon.
    Device Management
    As the number of mobile devices in an enterprise increases, it becomes more important to have complete control of the devices. Oracle Database Lite Device Management is a complete infrastructure to monitor and manage Oracle Database Lite assets such as database files, software libraries, data, and application files on remote devices. Device management decreases the total cost of ownership and protects an enterprises intellectual property.
    Single Oracle Lite Binary
    The Oracle Database Lite 10g release contains a single set of Oracle Lite database kernel binaries for all languages, removing the necessity of having different binaries for each of the following languages: Korean, Traditional Chinese, simplified Chinese, Japanese, and US/European languages.
    Shared Map
    The shared map function greatly improves performance by reducing sync processing timeand enhances the scalability of shared publication items. Shared maps allow users to share record state information and reduce the size of the resulting replication map tables.
    Offline Instantiation
    Offline instantiation enables quick and easy setup of mobile devices for business applications. Mobile administrators are able to prepare, in batch mode, a client package, which includes the mobile client software and initial data for every mobile user. This procedure helps users avoid an expensive online synchronization processes as part of the first time mobile client setup procedure.
    Synchronization Manager
    The Synchronization Manager is a complete, web-based enterprise management application to manage and monitor synchronization. The Synchronization Manager allows administrators to manage the synchronization service, monitor and analyze sync performance, administer the configuration, trace synchronization history, display and browse synchronization publication and subscription information, and monitor MGP (Message Generator and Processor) performance.
    Oracle Application Server Support
    The Oracle Database Lite 10g Mobile Server now runs as a web application on Oracle Containers for Java (OC4J) – the runtime of Oracle Application Server. If Oracle
    Database Lite 10g is deployed in standalone mode, an embedded version of OC4J will be installed and used. Oracle Database Lite may also be installed against an existing instance of Oracle Application Server.
    Seamless upgrade from Oracle9 i Lite 5.0.2
    The Oracle Database Lite 10g Upgrade Assistant allows customers to easily upgrade from existing Oracle9 i Lite 5.0.2 installations. The Upgrade Assistant automatically converts existing application definitions to the new format, and copies all relevant files to the new installation. As many customers have deployed mission critical systems using Oracle9i Lite technology, the Upgrade Assistant has been designed to minimize system downtime.
    Download
    Oracle Database Lite 10g (10.0.0.0.0) for Windows can now be downloaded from the following location.
    http://www.oracle.com/technology/software/products/lite/index.html

    I am using Oracle 10g lite. Do you know if it supports silent installation.

  • Oracle Database LIte 10g installation error

    I downloaded Oracle Database Lite 10 g and tried to install it on Windows XP. On Mobile Server Repository Wizard after I type any password for SYSTEM user I receive the error: "Io exception. The Network Adapter could not establish the connection." Can anyone help on this?
    Thanks!

    Hi user629995
    You can find some help on :
    http://www.geekpedia.com/KB28_Fatal-error-C1083-Cannot-open-include-file-iostream.h-No-such-file-or-directory-when-trying-to-compile-your-C-or-Cplusplus-code.html
    and that
    http://www.cplusplus.com/forum/beginner/683/

  • Opatch Failed (Oracle Database Lite 10g 10.3.0.3)

    Hi all,
    I am Using Oracle Database 10g R2 10.2.0.4.0 and Oracle Database Lite 10g R3 10.3.0.3 On windows 2003 Server SP2 32 Bit. While Applying OPatch in my Lite database i got this error message and the Opatch Code is p12677282_103030_Generic
    Please Advice me how to resolve this error message.
    Error Message:
    Do you want to upgrade the repository(y/n):y
    "Upgrading repository for LU"
    UpgradeRepoforLU.java:43: cannot access oracle.lite.sync.SiteDef
    bad class file: D:\Olite10g_1\mobile\classes\consolidator.jar(oracle/lite/sync/S
    iteDef.class)
    class file has wrong version 49.0, should be 48.0
    Please remove or make sure it appears in the correct subdirectory of the classpa
    th.
    SiteDef.CONS_SCHEMA=schema;
    ^
    1 error
    Could Not Find D:\12677282\oracle\lite\sync\*.class
    A duplicate file name exists, or the file
    cannot be found.
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/lite/sync/Upgr
    adeRepoforLU
    "Upgrading repository for bug 9776825"
    UpgradeRepoforbug9776825.java:32: cannot access oracle.lite.sync.ConsPLSQL
    bad class file: D:\Olite10g_1\mobile\classes\consolidator.jar(oracle/lite/sync/C
    onsPLSQL.class)
    class file has wrong version 49.0, should be 48.0
    Please remove or make sure it appears in the correct subdirectory of the classpa
    th.
    stat.executeUpdate(oracle.lite.sync.ConsPLSQL.DEFAULT_PUB_QPKG_B
    ^
    1 error
    Exception in thread "main" java.lang.NoClassDefFoundError: UpgradeRepoforbug9776
    825
    "Upgrading repository for bug 9957803"
    Thanks & Regards,
    Shan

    btw the latest patch (generic) is 12812978 actually this morning i installed it in 3 develop servers and 2 customers' without any issue (win 2003 server pcs)
    anw in your case it seems that something possibly was not installed successfully.
    1)press the close(x) button once on the mobileserver , wait some seconds it will say press any key to continue. press it and it will close
    2) restart it. if the same warning comes out then try loggin in the http://localhost/webtogo page, is it working?does the server and mgp appear on?(green tick?)
    3) if it is, try syncing a device, does it sync ok?
    if all is yes then the warning is not important but you should have a look at it. some solutions
    1)reinstalling the patch
    2)or installing a newer patch,
    3)or (i think) you can roll back the patch,
    4)or if we are talking for a release server(customer) raise a service request.
    5)or wait a little for some other forum users to check this thread and perhaps they have runned into such cases
    i would go for number 2

  • Missing olStream.h in Oracle Database Lite 10g installation for Windows

    I installed OracleLite 10g 10.3.0.1.0 for Windows, both the „Mobile Server“ and the „Mobile Development Kit“ named „Olite_10g_1“ in path D:/program file/Oracle/Oracle10g_1 each.
    The „Oracle Universal Installer“ listed all components as „installed“ (with the only exception of „Oracle Database Lite MDK for Symbian 10.3.0.1.0“).
    Building my MS Visual C++ Studio project then failed when compiling soda.h: „Cannot open include file: ‚olStream.h‘“.
    Neither has been successful my own search for the file olStream.h.
    How can I install olStream.h?

    Hi user629995
    You can find some help on :
    http://www.geekpedia.com/KB28_Fatal-error-C1083-Cannot-open-include-file-iostream.h-No-such-file-or-directory-when-trying-to-compile-your-C-or-Cplusplus-code.html
    and that
    http://www.cplusplus.com/forum/beginner/683/

  • Oracle Database Lite deploying EJBs and struts

    I need to deploy my enterprise application on Mobile server. My application uses EJBs and struts, are EJBs and Struts supported by Oracle Database Lite Mobile server? If yes do we need to do anything different for deploying EJBs on Mobile Server?
    Regards
    Roomap

    Already posted a response to this here today
    New Application

  • License for Oracle Database Lite 10g Embedded?

    Hi
    I found Oracle Database Lite 10g Embedded SDK at the
    http://www.oracle.com/technology/products/lite/embedded.html
    Look like that it is possible to use embedded Oracle Lite database in standalone applications.
    I have win32 application with Oracle Lite support.
    Now I'd like create public demo version of this application but can not found LICENSE for this possibility.
    And what about possibility using embedded Oracle Lite database in commercial products?
    Do I need buy some license for it, or users have to buy them?
    Thank you,
    Siarhei Berdachuk

    Thank you for response.
    Do this words: "You can download the base installs and run the demos though." means that I can download Oracle Database Lite 10g Embedded SDK, and create my demo (trial) applications with embedded Oracle Lite dll's without paying anything, and users have to pay for per User or CPU license only after buying my application?
    Thank you,
    Siarhei Berdachuk
    http://www.berdaflex.com

  • Oracle Database Lite Client database performance

    Hi,
    I need to know well does Oracle databse lite client databse works if it contains 3-3.5 GB data? Does it get sluggish beccause the maximum allowed is 4 GB?
    Regards
    Roomap

    We had similar problems during the processing phase (delay here points at a client device issue).
    We use Dell and HP PDAs, and have databases up to about 40MB. During the acceptance testing a couple of years back we were finding that the processing phase could be upto about 25 minutes on new builds/complete refresh
    We tested out a few different scenarios that might help
    1) clear down databse files and odbc.txt (this will force a complete rebuild without affecting any parameters) with the SD installed
    2) repeat the above, but remove the SD card before the sync (this forces the databases to be put into my device/built in storage
    3) try different types of SD cards
    our results found that we would on average get
    1) 15-20 minutes
    2) 2 minutes
    3) big variance of 2.5 to 20 minurtes, but consistent by manufacturer
    It seemed that the different speed SD cards made a big difference, and even cards nominally the same speed from different manufacturers were very different in practice.
    In some cases (Kingston was one i think), Japananese manufactured cards were much better than the european ones, even though they were supposed to be identical.
    If you get a difference between the processing phase when using SD cards vs using main memory, i would expect the cards to be the issue.
    NOTE we have also had issues where the user pressed the power off whilst the application was processing (we have some end of visit checks that can take up to 90 seconds). If this happened and they later resumed, the process would continue, but the few milliseconds delay in repowering the SD card was enough to cause device read and write errors. Again some cards were worse than others

  • Oracle Database Lite Sequences negative

    Hi,
    What might explain why negative OLITE assigned sequences?
    I do not understand the documentation.
    Regards

    Where did you get these values from?
    in the repository database the sequence definition is stored in table c$all_sequences and has a name, id value, min_value, threshold, window size, increment by and mode (which should be NA_SEQ rather than OA_SEQ).
    In the range for each user (table c$seq_clients) the data is user name, current value, min_value and max_value
    from the client side the table all_sequences has sequence owner, name, min_value (updated to record current value) and max_value - no mode or threshold
    It is not a good idea to start sequence ranges at 0, as this is the first value that will be assigned, start the range with 1. unless you have a specific reason, increment by 2 is not necessary, and will cause the sequence range to be used quite quickly. using this definition, the sequence range for any user will refresh after 25 inserts, and will leave on average large gaps in the values created from the sequence (for example, the effect of this definition would be to allocate numbers 1 to 200 to a user, user makes 25 inserts and range is refreshed - even numbers 2 to 26 not used, neither are 27-200, you have only used 25 values out of a possible 200 (12.5%) - not very efficient). the size of the gap between the threshold and the max value depends on your user needs, but a large gap is where you expect users not to synchronise regularly and therefore overflow the threshold value before they sync. If this is the case i would advise setting a higher max value.
    sequences defined in oracle lite are also distinct from thiose on the server. If the sequence is used for populating PK values on a table, and this table is added to by both the clients and the server, then i would advise creating sequences with a high start value to prevent overlaps - this is the case in our application and the oracle lite sequences are defined to start with a value of 100,000,000 and a window of 1,000,000

  • Access to Oracle Database by a specific user from a client system.

    Hi All,
    I need to restrict a particular client system to access the database only by a specific user credentials. I mean system A(hostname) can only connect the database PQR only and only by user U123. Any help is sincerely appreciated.
    Regards
    Swapan

    Hi,
    I solved it by a trigger at logon on V$SESSION which validates MACHINE like [HOSTNAME] and username not like [the_user_I_would_allow].
    It works now.
    Thanks for your reply.
    Regards
    Swapan

Maybe you are looking for

  • OS 10.6.8 and iPhoto 11

    I have an iMac5,1 with the maximum of 3GB of memory installed. The OS was recently upgraded from 10.4.X to OS 10.6.8. I have iPhoto 6 and would like to upgrade to iPhoto 11 and the complete iLife 11 suite. I read a review from someone who had OS 10.6

  • Ios 7.0.5 error in upgrade

    hi everybody! i got the notificatin about the possibility tu upgrade ios to 7.0.5. on my iphone 5s but when i try to do it i get an error message... Anybody could hel me?

  • ITunes 12, like 11.4 before it, crashes when syncing apps...

    I realise this is not a new issue, but one that began with iTunes 11.4. Along with many, many other users who host their content on a NAS or other network drive, iTunes crashes at the point where updated or newly downloaded apps are to be transferred

  • Wish to find out number of rows returned from query

    hi, is it possible to determine how many rows have been returned after a query has been executed? thank you.

  • Email notification and UWL

    Hello Everyone, We are currently implementing Universal Worklist. For a start we will connect it to several SAP back-ends (R/3, SRM, HR), and in a second stage we will connect it also to others -non SAP- systems having their own workflows. Currently,