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

Similar Messages

  • How to access Oracle Apps 11i forms using Vmware Player?

    Hi,
    I have installed Oracle Apps 11i on native OS OEL5 Server and guest OS Windows XPP using Vmware Player.Now how to access Oracle Apps 11i forms from Windows XPP using Vmware on my OEL5 Server Desktop?
    Thank's
    Regard's
    Rerry

    Hi,
    If you mean how to access eBusiness Suite from within the Virtual Machine, then you just navigate to the same URL you normally would. You may need to put the machine alias in your hosts file if you are referencing it via machine name rather than IP address.
    If you mean that you want to load the form in forms builder (for example) then you need to FTP the form from server to client (as you normally would) and then open it in your client (XP virtual machine).
    If you want to use Workflow Builder (as per your original requirement) then you need to ensure that the TNSNAMES.ora file in the Workflow Builder home has an entry for your instance on Linux, and then you should be able to connect to the database directly.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • How to access OEL 5 server remotely using x-windows

    I use Reflections X or X-deep to remotely access several unix boxes from my desk instead of from the server. I am having some issues getting xdmcp or gdm setup so I can do this with a new server running OEL 5. Does anyone know how to configure the server to accomplish this?
    I have done the setup on several rhel 2 - rhel 4 and OEL 4 installations but it appears to have changed in OEL 5.

    Figured it out, too easy. Go to system - administration - login screen. On the resulting screen go to accessibility and enable accessible login. Go to the security and users tabs to choose who and how. Pretty slick.

  • TIME_OUT when accessing Oracle table from SAP using native SQL

    Hi,
    I have a problem in one of my native SQL statement. It takes a long time accessing the table considering that the number of records to be retrieved is only small.
    Something happened on the Oracle system. But, stilll to be confirmed. Looking further at the issue, it seems that when the value in the where clause equated is a literal (meaning the value is not declared in DATA or CONSTANTS in the ABAP Program)
    Example
    1.
    EXEC.
    WHERE FIELD = '1'
    ENDEXEC.
    instead of
    2.
    CONSTANTS: c_1 value '1'.
    EXEC.
    WHERE FIELD = c_1
    ENDEXEC.
    i found that when the way of coding is same as Example 1, a time-out error occurs. But when in Example 2, no issue.
    Can someone explain this?
    Thanks!

    Repetitively asking the same question again and again is against the forum rules.
    Please post an explain of the SQL statement on the remote machine.
    Markus

  • How to access Oracle database using UNIX?

    Hi,
    Does anyone know how to access Oracle database Oracle 8i that is hosted on unix server via unix command line?
    Thanks,
    Willy

    Well, Oracle probably has a command line tool. I think it's called sqlplus or somesuch. Check you Oracle docs.
    Of course, given that this is a Java forum, it's remotely possible that you're actually asking about accessing the database from a Java program.
    http://java.sun.com/developer/onlineTraining/Database/JDBC20Intro/

  • How to access Oracle Using Dos Based FoxPro(2.5,2.6)

    Hello Sir,
    I need some clarification regarding the following question.
    Q. How can access Oracle Database using Dos Based Foxpro of version either 2.5 or 2.6
    Thanking you,
    Kishore.P

    Hi Alex,
    the host and port depends on your network setup of your VM.
    Do an ifconfig -a and see what IP adress your guest has.
    With this IP address you should be able to access EM from outside your VM (but on the VM host, not from outside the network) with the same port.
    Regards
    Sebastian

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

  • How to access Oracle Apps 11i forms from Virtual Machine(Vmware Player)?

    Hi,
    I have installed Oracle Apps 11i on native OS OEL5 Server and Windows XPP on Virtual Machine using Vmware Player on standalone same desktop.Now how to access Oracle Apps 11i from Virtual Machine(Windows XPP)?
    Thank's
    Regard's
    Rerry

    Hi,
    Sorry my instance is PROD instead of TEST.
    1)Renamed the sqlnet.ora and make the following change in the tnsnames.ora (SERVICE_NAME = PROD) to (SID = PROD) and tryed but same error.
    2)Only one oracle homes on the cleint machine
    3)The output of tnsping PROD
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Administrator>tnsping PROD 5
    TNS Ping Utility for 32-bit Windows: Version 8.1.7.0.0 - Production on 23-FEB-20
    10 00:38:40
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=tcp)(HOST=SHUBH.hnp.com)(PORT=1521))
    TNS-12570: TNS:packet reader failure
    Normal ping is ok from both host to guest and guest to host.
    Thank's
    Regard's
    Rerry

  • 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

  • How to configure oracle 9i server

    Hi,
    I am a newbie to oracle. I need to configure oracle server for studying PL/SQL. I have SQL*Plus: Release 9.0.1.0.1 in it. I need a username and password on my localhost to login to it. I dont know how to run Oracle Database Server for it and how to create an user account. Could someone direct me how to do it? I just need to login to SQL Plus and study it.

    Do yourself a favor and deinstall 9i. It is obsolete and currently in desupport.
    If your intent is to learn Oracle then download 11g and use it instead.
    Then go to Morgan's Library at www.psoug.org and you can use the index to find demos you can use to learn all basic functionality.
    Feel free to contact me off-line if you have questions about the library.

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

  • Many "oc4j_socket_recvfull timed out" messages in Oracle HTTP Server log

    Hello everyone,
    We are using OAS 10.1.3.1 and see many messages in the Oracle HTTP Server log as follows. ipAddress and myOASInstance are used below to replace the actual values with what is conceptually present there in the log file.
    Mon Jan 5 15:39:44 2009 warn client ipAddress oc4j_socket_recvfull timed out
    Mon Jan 5 15:39:44 2009 error client ipAddress ecid: 1231198482:ipAddress:24569:0:36247,0 mod_oc4j: request to OC4J myOASInstance:12502 failed: recv
    failed (errno=4)
    Mon Jan 5 15:39:48 2009 warn client ipAddress oc4j_socket_recvfull timed out
    Mon Jan 5 15:39:48 2009 error client ipAddress ecid: 1231198487:ipAddress:1860:0:135,0 mod_oc4j: request to OC4J myOASInstance:12502 failed: recv failed (errno=4)
    Mon Jan 5 15:39:51 2009 warn client ipAddress oc4j_socket_recvfull timedout
    Mon Jan 5 15:39:51 2009 error client ipAddress ecid: 1231198343:ipAddress:1717:0:31,0 mod_oc4j: request to OC4J myOASInstance:12502 failed: recv failed (errno=4)
    Mon Jan 5 15:39:52 2009 warn client ipAddress oc4j_socket_recvfull timed out
    Mon Jan 5 15:39:52 2009 error client ipAddress ecid: 1231198343:ipAddress:1680:0:101,0 mod_oc4j: request to OC4J myOASInstance:12502 failed: recv failed (errno=4)
    Is anyone aware of what these warning/error messages indicate and what course(s) of action should be considered to remedy the issue?
    Thanks,
    Doug

    In mod_oc4j.conf, turn Oc4jCacheSize 0 : When setting Oc4JCachesize 0 in mod_oc4j.conf, this will force connection closure
    and avoid socket saturation in machines, as each connection will be opened, then after the connection ends, it will be closed.
    This means new request will need new connection and will not recycle existing connection.
    Also set Oc4jConnTimeout 55 : It has to be less than firewall idle timeout which is 60 sec usually.
    So that the OC4J connection is dropped by itself before the firewall drops it. This is in seconds and should be smaller than
    the Firewall timeout, if any.
    Hope this will help you.
    Steff

Maybe you are looking for