Skip to Content
author's profile photo Former Member
Former Member

Regarding DB2E!

Hi everyone!

I want to install DB2E on my machine. I have downloaded the ZIP file from SDN and uploaded the same as an Addon component on the webconsole. But do i have to make some changes in the install.xml file for changing the persistance from file system to DB2E .

If so can someone help me what are all the changes to be made and how to acomplish them.

Thanks&Regards!

krishna.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 25, 2006 at 11:16 AM

    Hi Krishna,

    You need to do the following changes in your Mobileengine.config for switching from the file IO based storage to DB2E

    1. is comment and we need to comment the lines depending on what kind of persistence we are using - FileIO or DB2E.

    -


    >

    #MobileEngine.Persist.Implementation.TransactionManager2 = com.sap.ip.me.persist.db2e.IBMDB2eTransactionManager

    #MobileEngine.Persist.Implementation.DescriptorRuntime = com.sap.ip.me.persist.db2e.IBMDB2eDescriptorRuntime

    #MobileEngine.Persist.Implementation.PersistenceRuntime = com.sap.ip.me.persist.db2e.DBPersistenceRuntimeImpl

    #MobileEngine.Persist.Implementation.QueryRuntime = com.sap.ip.me.persist.core.QueryRuntimeImpl

    MobileEngine.Persist.Implementation.TransactionManager = com.sap.ip.me.persist.newfileio.FileTransactionManager

    MobileEngine.Persist.Implementation.TransactionManager2 = com.sap.ip.me.persist.newfileio.FileTransactionManager2

    MobileEngine.Persist.Implementation.DescriptorRuntime = com.sap.ip.me.persist.core.DescriptorRuntimeImpl

    MobileEngine.Persist.Implementation.PersistenceRuntime = com.sap.ip.me.persist.core.PersistenceRuntimeImpl

    MobileEngine.Persist.Implementation.QueryRuntime = com.sap.ip.me.persist.newfileio.QueryRuntimeImpl

    <------

    Add the above lines (between -> & < -).

    If you want to switch back to File IO based storage then comment the now uncommented line and uncomment the now commented lines.

    Regards,

    Rahul

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 25, 2006 at 04:44 PM

    Hi Krishna,

    <<<<

    But do i have to make some changes in the install.xml file for changing the persistance from file system to DB2E .

    >>>>

    Once you have downloaded the files for DB2E , just unzip its contents .From this just check the install.xml file.

    In this , u can see the installation instruction ,

    <b><TASK name="Manipulate property file">

    <SET_PROPERTIES source="/props/db2e.configuration" target="%MI_HOME%/settings/MobileEngine.config"

    mi_running="false"/>

    </TASK></b>

    This instruction is used to set properties in your MobileEngine.config file.The properties which are to be changed are written in one configuration file (db2e.config ) , which is located in your props directory.Just check the contents of this db2e.config

    file . In this , u can see the DB2E specific configuration parameters which are to be written in to your MobileConfig.config file.

    So once the installation of DB2E database is successfully completed on the client device, the MobileEngine.config file will be overwritten with the DB2E specific parameters. So u dont have to change these parameters in the MobileEngine.config file.

    <b>Here the main thing to note is ,after the fresh installation of MI Client , this DB2E file must be the first application installed on the client device. During first Sync this must happen .</b>

    If u are using role synchronization for deploying applications and add-ons in your client devices , and you have to install one application also at the first installation , you have to create one installation sequence for your applications which are to be

    installed. Your DB2E data base add-on must have the installation order 1.

    If you need some additional parameter changes in your MobileEngine.config file , then u have to change the install.xml file accordingly.

    DB2 Everyplace composite note for ME 2.1 and MI 2.5 - 677476

    just refer these notes before installing the DB2E data base add-on..

    Restrictions DB2e

    634169 - Year before 1000 is not supported by DB2e on PPC device

    668807 - Restrictions for DB2e

    Corrections and enhancements DB2e

    For DB2 Everyplace V8.2.1, a problem was known and has been fixed. Before you install DB2 Everyplace V8.2.1, read Note -- 899800.

    Just refer these links also...

    Uploading add-on files

    -


    http://help.sap.com/saphelp_nw04/helpdata/en/24/be9b3e27a4fd13e10000000a114084/content.htm

    Adjusting the installation Instructions

    -


    http://help.sap.com/saphelp_nw04/helpdata/en/3a/b834418b718739e10000000a1550b0/content.htm

    Regards

    Kishor Gopinathan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 31, 2007 at 12:53 PM

    Sorry,

    I need a clarification about the installation order of the DB2E.

    On my mobile devices I'm using MAM as application, and it requires the JSP Framework as well

    So in case I use the DB2E the right installation order will be (if I'm not wrong):

    1- JSP Framework

    2- DB2E

    3- MAM Application

    Is that correct ?

    bye

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.