Oracle Mobile Server 11G with BerkeleyDB/SQLite

Hi all,
Actually I have got following situation:
There are 2 Java apps that are running on Oracle Lite. Due to our Win 7 migration und outrunning support of Support for Oracle Lite we decided to migrate to Oracle Mobile Server 11 G and switch to Berkeley DB. So far so good.
During migration my administrator reported warnings from migration utility that the apps are not compatible and aren't migrated. Within these applications databaseaccess is done via JDBC and SQL. There is no time and money to rewrite dataaccess layer, so I need SQL Access to Berkeley DB.
For my first tests I created via Mobile Server API a new Publication that contains simply one publication Item that is in One Way Synchronization (Server to Client) . I wanted to take a look into the submitted Database File. For that I found dbsql.exe. I called this app via command line with: "dbsql.exe MyDb.db". DBSql started but returned an error that SQL Statement is incomplete?!. Any idea? For that new publictation i also wrote a testapp that should spool out the contents of publication Item in a later step.
Ok now i took a new look into internet for getting information about SQL Support. There I found that Berkeley DB now is able to speak SQLite. So it seems that new database is able to speak SQL via SQLite. Is that correct?
I switched now in MobileServer Console my testapp to SQLite Win32; US and installed the SQLite client on my computer. My next try was to connect this database to dbsql.exe. The call of dbsql.exe "MyDb.db" returned that error that databse is eather corrupted or encrypted.
I was really unable to find a guide how to use that SQL API for Berkely DB. Which .jars should I import in my Java app? How is connection been made?
Is here anyone that can help me a little bit out?
Many many thanks in advance!
Martin

Hi, I see that this thread is old a little bit.  Do you still need help on it?  I have been able to create a publication with Mobile Server 11G with Berkeley DB as the client database.  I have also found the jar to use to access the client database in java.  Please let me know in you still need it and i'll post it here.

Similar Messages

  • Oracle Mobile Server 11g - BerkelyDB corrupt.

    We have a client that currently uses Oracle Database Lite 10.3.0.3.0 to synce an olite database that interacts with a Win32 application. Due to the support being dropped they are in the process of migrating to Oracle Mobile Server 11g, however I have run into an issue with the BerkeleyDB files created by the sync agent.
    We have installed Oracle Mobile Server 11gR2 onto a linux environment, hosted on WebLogic 11. As a test I created a publication item for BerkeleyDB (Win32) with the workshop tool with a single table from our main database. Our developers are able to connect to the database using the System.Data.SQLite.dll and SQLite.Interop.dll files that came with the Windows MSI file, however any queries against a primary key column result in a "database disk image is malformed" error message. Queries against non-PK columns work fine.
    Whenever I attempt to use the dbsql.exe file to connect to the database file, I am presented with the following:
    C:\mobileclient\bdb\data\TESTUSER>dbsql.exe TEST.db
    Berkeley DB 11g Release 2, library version 11.2.5.3.21: (May 11, 2012)
    Enter ".help" for instructions
    Enter SQL statements terminated with a ";"
    dbsql> .database
    Error: SQL logic error or missing database
    Attempting the command again will proceed with:
    dbsql> .database
    Error: out of memory
    Enough connections/disconnections will eventually break though, but I doubt this is how it was meant to work. Once it is "working", this is the kind of errors our developers are running into:
    dbsql> select * from tbl1;
    PKCOL|VALCOL
    1|ONE1
    2|ONE2
    3|ONE3
    4|ONE4
    5|ONE5
    6|ONE6
    dbsql> select * from tbl1 where valcol = 'ONE1';
    PKCOL|VALCOL
    1|ONE1
    dbsql> select * from tbl1 where pkcol = 1;
    Error: database disk image is malformed
    dbsql>
    We can create a table through this sql interface and it works just fine. So I'm thinking the issue is either with how the Sync Agent creates the database, or its with how the Workshop tells the server to build the tables. I have attempted to use the workshop on both Windows and Linux environments to see if that would help, but unfortunately it does not.
    Does anyone have any ideas of where I should start looking? Am I just missing something that needs to be set on the client's (where the berkeleyDB is deployed) environment, or on the server side?
    Thanks,
    Nathan

    This issue has been resolved. It was related to the developers having a different set of Berkeley DLL files reference on their machines.
    Edited by: SparksN on May 10, 2013 12:24 PM
    Edited by: SparksN on May 10, 2013 12:25 PM

  • Oracle Mobile Server with SQLLite/Berkeley Db and dbsql

    Hi all,
    i am not sure if i am correct here but hopefully i am.
    In the past we have had Oracle Mobile Server with Oracle Lite.
    We decided to switch to new mobile Server because oracle webtogo is not longer supported and incompatible with windows 7. My administrator did migration of mobile server but migration utility reported that the available applications are incompatible.
    So I decided to create a completely New Publication with a Java application. The new Publication contains only one publication Item. For the first tests I simply wanted to spool out the data contained in my local database.
    In bin directory of sqlite folder i can find a utility named "dbsql". I understood it in this way that I can attach to an existing database file and take a look into that database.
    If i call dbsql.exe BerkeleyTest all seems to be ok. But if i try to select some data from that file i only get the errormessage that databse is in wrong format or encrypted. What am i doing wrong there?
    Am I right that the sql interface (I need that interface because I dont want to rewrite dataaccesslayer of my app) is only available in sqlite but not on "BerkeleyDb"?
    Is anyone here to help me a little bit with my problem here?
    Regards!
    Martin

    I do not know much about Oracle Mobile Server with Oracle Lite, does it use SQLite or BDB?  I do know that databases created by SQLite cannot be read by Berkeley DB SQL (of which dbsql.exe is part of), and databases created by Berkeley DB SQL cannot be read by SQLite.  Also, databases created by Berkeley DB outside of the SQL API cannot be read by the BDB SQL API.  You can open BDB SQL databases with BDB outside of the SQL API, but I would not recommend that outside of a few BDB utilities described in the documentation.  So if your BerkeleyTest database was created by SQLite or BDB outside of the SQL API, then it makes sense that dbsql.exe is returning an error when trying to read it.
    Calling dbsql.exe BerkeleyTest does not open the database, that happens when the first operation is performed on it, which is why you did not get an error until you tried to select something.
    Lauren Foutz

  • Oracle Database Mobile Server 11g

    Hi,
    We implemented Oracle EBS R11i for one of our customers. We also implemented Oracle Mobile Server 9i on Windows Server and Olite 9i on PDAs running Windows.
    Now the customer wants to upgrade Oracle EBS to R12 and also upgrade Oracle Mobile Server and Olite 9i to newer versions of Oracle and also want to use Android on the PDAs/Mobile Devices.
    Can we implement Oracle Database Mobile Server 11g and Mobile Client as mentioned in these links:
    http://www.oracle.com/technetwork/products/database-mobile-server/dms-11g-datasheet-512117.pdf
    http://www.oracle.com/technetwork/products/database-mobile-server/overview/index.html
    I think it will be a new implementation of Oracle Database Mobile server and Mobile client and not an upgrade.
    Any suggestions is welcome.
    Regards,
    Thiru

    MFS embeds Olite into the product. Put another way, through MFS interfaces it defines/determines what functionality of mobile server can be used. Under the MFS configuration the Olite client database is used and the web-to-go app is used, there are no other choices. Very common when a software product includes some other product, it will determine what parts of the embedded product gets used.
    Olite 10.3.0.3 as a separately download product used standalone has additional capability. Note: 10.3.0.3 is no longer separately downloadable over OTN.
    In DMS 11.x -- we removed Olite client database, rearchitected sync to better fit BDB and allows for BDB and SQLite (either one of those can be used) on the client db. Again, MFS is only compatible with 10.3.0.3/2 right now. That team is a different development team within Oracle, on totally different release schedules than the Database Mobile Server development team. Android support was added in DMS 11.x.
    thanks
    mike

  • Oracle Database Mobile Server 11g is out

    Oracle Database Mobile Server 11g is released, please post your comments when you get hands on it
    http://www.oracle.com/technetwork/database/database-mobile-server/overview/index.html
    New Features in 11g
    * Support for Java SE, including SE Embedded
    * Device Management for Android platforms
    * Automatic sync for Android and Blackberry platforms
    * Support for Oracle Glassfish
    * Support for Java 1.6
    * Better integration with Oracle Berkeley DB, including encryption support

    In the release notes for 11g, I find this:
    "The Oracle Lite Mobile Client is desupported in this release. The Sync Control APIs for the Oracle Lite Mobile Client are still provided in this guide, but will be removed when the Oracle Lite Mobile Client is fully deprecated.
    Supported mobile clients include the Berkeley DB and SQLite Mobile Clients.
    I am not sure I understand. Will I still be able to use Olite db with the Sync Control API for Oracle lite (like before), or does it mean that the sync control APIs now work only with SQLite and BDB? We are in the process of porting our app from WM6.1 to Android. If we install the latest Mobile server, will I have to change my WM6.1 app so that it supports SQLite or BDB?
    I think the latter is the case, but I became unsure when I read the release note.

  • Oracle Http server 11g, change ports with command-line tool

    I have installed the WLS11g webtier's Oracle Http server 11g. I installed the OH 11g only.
    The OH is runing fine with ports: non-ssl 7779 and ssl 4444
    I want to change the ssl port to 443 such that we can have the url without showing the port as https://hostname.domain/
    I have looked up the documnet http://download.oracle.com/docs/cd/E15523_01/core.1111/e10105/ports.htm#CIHJIFHB for "managing port".
    it states "You can change the port numbers for some Oracle Fusion Middleware components, using Fusion Middleware Control, Oracle WebLogic Server Administration Console, or *the command line*."
    Because I only installed the OH, I have no the Fusion Middleware control , admin console available for making the port change. And I cannot find out how to the command line tool to make the change.
    I followed the steps in section 5.3.2.1 Enabling Oracle HTTP Server to Run as Root for Ports Set to Less Than 1024 (UNIX Only) http://download.oracle.com/docs/cd/E15523_01/core.1111/e10105/ports.htm#CIHJEEJH
    And I did edit ssl.conf for port change to 443 ---- this is not documented in the document. I think because Oracle wants you to use the console to make the change.
    OH is not working after I made the change.
    Does anyone know how to use the commend line tool for making the port changes for OH11g?
    Thanks

    Hi,
    if u want to achieve it using JMX then u can try :
    http://middlewaremagic.com/weblogic/?p=613
    Using Command Line Option WLST you can do it in ONLINE Mode...like:
    Step1). Please run the ". ./setWLSEnv.sh" script to set the CLASSPATH & PATH in the shell prompt.
    <b><font color=red>NOTE:</font></b> Run the “setWLSEnv.sh” by adding two DOTs separated by a single space …..before the actual script like following : (use ‘cd’ command to move inside the <BEA_HOME>/wlserver_10.3/server/bin) then run the following command….
    *. ./setWLSEnv.sh*
    Note: the first DOT represents that set the Environment in the current Shell, AND the second ./ represents execute the script from the current directory.
    Step2). Now in the same Shell Prompt please run the WLST Utility like following:
    <b><font color=maroon>
    java weblogic.WLST
    wls:/offline> connect()
    Please enter your username [weblogic] : weblogic
    Please enter your password [weblogic] : weblogic
    Please enter your server URL [t3://localhost:7001] : t3://localhost:7001
    Connecting to t3://localhost:7001 with userid weblogic ...
    edit()
    startEdit()
    cd ('Servers/AdminServer')
    cmo.setListenPort(9999)
    save()
    activate()
    </font></b>
    Now you NEED NOT to restart your Server to reflact these Changes....
    The Above JMX Code is also able to do it in Runtime only on the Fly.
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic (Middleware Magic Is Here)

  • Oracle Application Server 10g with 11g Database

    Hi everyone,
    If anyone can tell, is there any compatibility issues in Oracle Application Server 10g with 11g Database?
    Will it work properly?
    Thanks

    hi,
    This will be helpful,
    http://www.oracle.com/technetwork/middleware/ias/downloads/as-certification-r2-101202-095871.html#CHDBFJFD
    which states
    "All available editions of Oracle Database 11g (11.1.0.6) or higher are supported. Please refer to Metalink note 740417.1 for details on Oracle Database 11gR1 Certification for Oracle Application Server 10g (10.1.2.x) and Metalink note 887365.1 for details on Oracle Database 11gR2 Certification for Oracle Application Server 10g (10.1.2.x) "
    Regards
    Fabian

  • Deploy Oracle Mobile Server on Weblogic?

    Hello,
    We currently have a client-server application which communicates over HTTP with a BEA Weblogic 8 server on Solaris, and are assessing the feasibility of creating an offline client using Oracle Lite.
    Ideally, we would like to install the mobile-server on our existing server, but this brings the problem that the current weblogic is already listening on the HTTP port, and the site policy at our customer site does not allow for any traffic to non-HTTP ports. Can we deploy the Oracle mobile server within this same Weblogic instance, or do we have to acquire a new server machine, which will then run only the mobile server?
    Appreciate any information which can be provided.
    Best wishes,
    Roshan

    The simple answer is no. Oracle Mobile Server is designed to run under a OC4J container. Can you use a port like 8080?
    I am currently working on this setup and we split the application servers Weblogic and Oracle AS.

  • Oracle Mobile Server 11GR2

    Hi all,
    currently we are using Oracle Mobile server 10.3.0.3 and would like move to Oracle Mobile Server 11GR2. But before going to that quite new area would like to get some feedback about that version/release as is critical for us to be sure that can safety support ~7000 users around the World. If somebody already using this system live can be in contact with me to understand how stabil it is, what challenges waiting us and etc. Probably even will be as an option tos schedule teleconference where we can talk about in in more detail way instead discussing this on the forum.
    You can write me directly using the following email: [email protected]
    Many thanks,
    Saulius

    I will contact you via email to discuss further.
    Eric

  • Oracle Standard Edition 1 / Oracle WebLogic Server 11g Standand Edition

    Can anyone tell me if WebLogic Server 11g Standard Edition can be used for installations that use the "Oracle Standard Edition 1" of the database?
    If so what sort of licensing costs would be associated with Oracle WebLogic Server 11g Standard Edition?
    Thanks!

    Can anyone tell me if WebLogic Server 11g Standard Edition can be used for installations that use the "Oracle Standard Edition 1" of the database?
    If so what sort of licensing costs would be associated with Oracle WebLogic Server 11g Standard Edition?
    Thanks!

  • Oracle Mobile server for iOS

    Hi,
    After going through documentation for Oracle Mobile server, I could not find support for iOS.
    Does Oracle mobile server support iOS?
    if not is there any plan to do so in the near by future?
    Thanks

    Despite many attempts at trying to get an update on this topic I can't seem to get anyone from Oracle to provide any information. I'm now at a critical stage with a new project and would like to know if the Mobile Client will be available for iOS within the timeframes I am looking at. If not, will likely need to look at alternatives which will mean one or more large Mobile Server licences will not be renewed. Surely someone from Oracle on this forum can chime in and give us an update on where this is at?

  • Oracle BPEL Process Manager 10.1.3.x sensors and Oracle BAM Server 11g TP4

    In Oracle Fusion Middleware Developers Guide for Oracle SOA Suite in section 42.5 there is the next:
    "You can also use Oracle BPEL Process Manager 10.1.3.1 sensor actions to publish sensor data as data objects on Oracle BAM Server 11g"
    Is it really possible?

    Hi, Please post this in BPEL forum, not here.
    Regards,
    Priyanka GES

  • Oracle Database to Oracle Mobile Server

    Hi,
    How can I share existente table to Oracle Mobile Server.
    I read something about publish, but I couldn't undertand how It really works.
    Can someone help me?

    Igual nos podemos entender en español :P
    Que necesitas saber?
    Saludos

  • How to access Oracle Mobile Server logs using PL/SQL?

    I am starting to use Oracle solutions so I am a complete rookie.
    I'm doing a project which requires to present the logs of mobile devices using the Oracle Mobile Server (integrated in Oracle Database Lite).
    Does the mobile server have services I could use or do I have to parse the log files?
    Thanks in advance for any support given!
    Edited by: Hugo Zenha on 15-Apr-2009 07:40

    basic details for the sync history is MOBILEASDMIN.C$SYNC_HISTORY. This will give you the client id (name), start and end times, success or failure (and error if fail) plus the total data volumes uploaded and downloaded.
    You can get further detail by joining c$sync_his_pub_items on session_id, and this gives the detail of each table uploaded (phase=UPLOAD) in terms of timings and records, and the same for the download. upload tends to be the full set of tables (records=0 for no activity), whilst download is only the active tables, and includes whether a complete refresh was done
    You can get information for the MGP process using c$mgp_history and c$mgp_his_clients
    As all the repository data is stored in the database, there is a lot of possibly interesting stuff if you look through.
    We use SQL and PL/SQL to do reports on the different users having syncs within a period for cross charging and identifying clients having problems

  • Oracle report server 10g with load balancer.

    Hi All,
    We are in very big trouble, Please help us out. Issue is
    we have install oracle 10gApplication server along with Report Server stand alone, Application server and report server are working fine but when we put reports into physical load balaner its showing unable to connect report server, I try to dignose with help of some he writes me on command can you people clear me what this mean.
    [oracle@rep bin]$ ./rwdiag.sh -findall
    Broadcast mechanism used to locate servers
    Channel address = 228.5.6.7
    Channel port = 14021
    (1) Name = rep_cbs_lhr : Type = server : Host = rep.mcb.com.pk
    (2) Name = rep_rep_oracleas1 : Type = server : Host = rep.mcb.com.pk
    (3) Name = rep_eoc12_oracleas1 : Type = server : Host = eoc12.mcb.com.pk
    (4) Name = rep_lahore : Type = server : Host = eoc1.mcb.com.pk
    (5) Name = rep_as1_as1 : Type = server : Host = as1.mcb.com.pk
    (6) Name = lhr_rep : Type = server : Host = eoc1.mcb.com.pk
    [oracle@rep bin]$
    Regards

    hi,
    ./rwdiag.sh -findall
    rwdiag is a utility used to find all the Reports Servers on the network.
    ./rwdiag.sh -find <report server-name>
    and it monitors packets broadcasted on the network by the particular Reports Server.
    THis link might help you,details about rwdiag.sh
    http://download.oracle.com/docs/cd/B14099_19/bi.1012/b14048/pbr_rwdiag.htm
    Regards
    Fabian

Maybe you are looking for

  • How to create multi level reports?

    The report I have created contains 25 columns and is to wide. I would like to create a multi level report in the fashion of below: Col 1 Col 2 Col 3 Row1 Row1 Row1 Row2 Row2 Row2 Col 5 Col 6 Col 7 Row1 Row1 Row1 Row2 Row2 Row2 I am assuming this need

  • Import Oracle Tables into MySQL

    Hello there, I have a question about Oracle. I have a database in Oracle and i want the tables import in a MySQL database. Can i do that with MyODBC? Or must i make a dump of de database and than import in MySQL? Or are there other options to do this

  • Lightroom 3.4 won't open

    Usually when I click the shortcut the program just opens up.  Today for whatever reason, it is bringing up a box that says "select catalogue".  The problem is, I can't find what I've been working on.  How do I get it to open like it usually does???

  • Anyone Runnin iPod Classic on 10.3.9 ???

    I've heard from people that the ipod classic isn't compatible with 10.3.9 and i've heard that it is compatible with 10.3.9. Apple's website says you need at least 10.4.8 to run it. Can someone help me out so i dont purchase tiger if i dont need it??

  • The Safari icon keeps bouncing but it will not open the browser

    I Installed Yosemite two days ago, usually use Google, but I decided to try Safari. Yesterday, I open it for the first time, it seem to work ok. I installed some extensions and now is just bouncing and it will not open?