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

Similar Messages

  • 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 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.

  • 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

  • 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 10g, where to download?

    Hi,
    I can't find where to download it?

    Same thing. You need mobile server to perform the replication and create the oracle lite database. You can use it at as a stand-alone database without the replication, but if you are looking to use it as a stand-alone database, I recommend going with Oracle PE or XE.

  • 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 Enterprise Server 8i 8.1.7 and HP Proliant ML350 G3

    I would like if it has any clarification regarding the compatibility problem between Oracle Enterprise Server 8i 8.1.7 and HP Proliant ML350 G3 Server. I cann't proceed with the installation of Oracle Enterprise Server 8i 8.1.7 on that machine whilst the process just stop at first logo. When I'm using Oracle Enterprise Server 9i 9.1 version, the installation process can proceed successfully. But, my customer (own Oracle Enterprise Server 8i 8.1.7) requires to install Oracle 8i 8.1.7 not Oracle 9i 9.1 version.
    So, please someone help me to rectify that problem !!!!!

    Can it be installed? It probably can be (assuming we're talking XP Professional).
    Is it certified? On the main OTN page, under "Get Support" is the certification & availability matrix. Following that down, you'll find that the Oracle client was certified on 8.1.7, subject to the application of a number of patchsets, but that the Oracle database was not. Windows 2000 was the latest flavor of Windows that was certified with the 8.1.7 database.
    Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com

  • How to get standalone Oracle HTTP Server with mod_plsql?

    Hi,
    I do not know if it is just me but it seems to be a nightmare to get OHS with mod_plsql from the official OTN download site. I downoaded the companion CD for Windows - 3 disks, installed OHS - no mod_plsql. Then I tried to find any clue on OTN on how to download mod_plsql - none. Plenty of information on how to configure it and use it, but nothing on how to get it.
    PLSQL gateways is not an option for us because many of our clients do not allow direct communication between the database and the Internet.
    Windows 2003 Server R2
    Apex 3.2.1
    RDBMS 10.2.0.4
    Any help appreciated,
    WK
    PS.
    I would not like to download the software from unofficial sites but rather get it straight from Oracle.

    Hi,
    For those interested: I found Oracle HTTP Server with mod_plsql on OTN -> downloads -> middleware -> WebCenter suite.
    WK

  • Can I use Oracle app server with mysql

    Can I use Oracle app server with mysql. I seem to have the following error when trying to create a datastore. I have mysql.jar in my classpath. Can any one tell me what's wrong.
    Error initializing data-source 'jdbc/topup': DriverManagerDataSource driver 'org.gjt.mm.mysql.Driver' not found

    Yes you can forward requests from your own apache to the iAS. This can be done using mod_proxy. Some hints about how to do this are availlable on this forum.
    mod_oc4j is not a standard apache module, and therefore is not availlable when you download apache. There is no apparent reason to use mod_oc4j on a "regular" webserver (unless you want to build your own iAS). Also there might be some licenseing issues with using mod_oc4j module on a standard apache.
    You can encrypt data that is passed from a random Apache to you iAS.

  • Oracle Workflow Server in a SUN machine; and the Oracle

    Hi All
    I have installed Oracle Workflow Server in a SUN machine; and the Oracle
    Workflow Client (Builder) in a WIN2000 machine.
    In the SUN machine, I already had installed Oracle9i and OMS (Oracle
    Management Server) version 9.2.0.1.0.
    In the WINDOWS 2000 machine, I already had installed the Oracle9i
    Client and the OWB (Oracle Warehouse Builder) version 9.0.3.35.0. Workflow
    Builder
    was installed together with Oracle Client components.
    I have a OWB (Oracle Warehouse Builder) project, and I deploy and schedule
    JOBS in OEM.
    Now I need Oracle Workflow in order to better ordering, manage and schedule
    that jobs.
    I'm reading the following documentation:
    Oracle Workflow Guide (Release 2.6.2)
    http://www.csis.gvsu.edu/GeneralInfo/Oracle/workflow.920/a95265.pdf But I think Oracle Workflow is very complex to learn quickly.
    My OWB Project has several mappings that load tables in a Data Warehouse.
    When I deploy these mappings one by one, in OEM, I can execute them in OEM
    and they work well.
    But when I use the Workflow Deployment Wizard, I create a new Workflow
    Project (Item type and Process).
    But I can't Launch this process. I go to Launch Process in Workflow page
    (http://:/pls//) but when I iniciate the project,
    it stops in the OWB Standard Begin Function. It does not go ahead.
    Well, when I use the Workflow Deployment Wizard inside OWB, it generates
    jobs that can
    be viewed inside OEM (Oracle Enterprise Manager) too. But when I submit
    these jobs, I can't get success too.
    Can somebody help me? May you guide me in order to solve my problem, or send
    me some
    documents or links about workflow, and it's integration with OWB and OEM?
    Best regards

    I think this might be more of an OWB question, and how OWB uses workflow, I have sent an email internally to try and get someone to responsd. You should also consider contacting Oracle Support if you are having these kinds of problems.
    Hi All
    I have installed Oracle Workflow Server in a SUN machine; and the Oracle
    Workflow Client (Builder) in a WIN2000 machine.
    In the SUN machine, I already had installed Oracle9i and OMS (Oracle
    Management Server) version 9.2.0.1.0.
    In the WINDOWS 2000 machine, I already had installed the Oracle9i
    Client and the OWB (Oracle Warehouse Builder) version 9.0.3.35.0. Workflow
    Builder
    was installed together with Oracle Client components.
    I have a OWB (Oracle Warehouse Builder) project, and I deploy and schedule
    JOBS in OEM.
    Now I need Oracle Workflow in order to better ordering, manage and schedule
    that jobs.
    I'm reading the following documentation:
    Oracle Workflow Guide (Release 2.6.2)
    http://www.csis.gvsu.edu/GeneralInfo/Oracle/workflow.920/a95265.pdf But I think Oracle Workflow is very complex to learn quickly.
    My OWB Project has several mappings that load tables in a Data Warehouse.
    When I deploy these mappings one by one, in OEM, I can execute them in OEM
    and they work well.
    But when I use the Workflow Deployment Wizard, I create a new Workflow
    Project (Item type and Process).
    But I can't Launch this process. I go to Launch Process in Workflow page
    (http://:/pls//) but when I iniciate the project,
    it stops in the OWB Standard Begin Function. It does not go ahead.
    Well, when I use the Workflow Deployment Wizard inside OWB, it generates
    jobs that can
    be viewed inside OEM (Oracle Enterprise Manager) too. But when I submit
    these jobs, I can't get success too.
    Can somebody help me? May you guide me in order to solve my problem, or send
    me some
    documents or links about workflow, and it's integration with OWB and OEM?
    Best regards

  • 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

  • Have installed MacOsX Lion has trouble hooking up to my StoraNas server with my usual username and password, some who can help me?

    Have installed MacOsX Lion has trouble hooking up to my StoraNas server with my usual username and password, some who can help me?

    This is a common problam discussed on the Netgear forums.  I have yet to see a solution, just comments that there will need to be a fix from Netgear.  if anyone has heard of a solution or of the update being issued, please let us know.

  • 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

  • HT1552 Im setting up a server with the port 25565 and im doing it with Port Map but the problwem is i cant seem to get it to work with my router. it goes through my macmini to the router and the expansion hardrive

    Im setting up a server with the port 25565 and im doing it with Port Map but the problwem is i cant seem to get it to work with my router. it goes through my macmini to the router and the expansion hardrive

    Im setting up a server with the port 25565 and im doing it with Port Map but the problwem is i cant seem to get it to work with my router. it goes through my macmini to the router and the expansion hardrive

Maybe you are looking for