cancel
Showing results for 
Search instead for 
Did you mean: 

Error starting mobile client

Former Member
0 Kudos

Hi All,

I have installed all requested SAP mobile client cabs (CreMe, mindb, pda_runtime_wince and pda_eswt_container) on a Windows CE 6 device.

Now when I try to start Netweaver mobile application on the mobile device nothing happens and i found this error in the trace:

<r id="1238557377118" t="20:42:57" d="2009-03-31" s="E" c="000" u="" g="" m="java.util.MissingResourceException: Can&apos;t find resource for bundle com.sap.ip.me.api.services.MEResourceBundle$MEPropertyResourceBundle, key START_MOBILE_CLIENT">

<f n="LocationName" v=" (com.sap.ip.me.api.services.MEResourceBundle:handle get object missing resource exception )"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1238557378466" t="20:42:58" d="2009-03-31" s="I" c="000" u="" g="" m="Logging initialized">

<f n="LocationName" v=" (com.sap.tc.mobile.logging.impl.FileLogger:)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1238557378473" t="20:42:58" d="2009-03-31" s="I" c="000" u="" g="" m="Logging initialized">

<f n="LocationName" v=" (com.sap.tc.mobile.logging.impl.FileLogger:)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1238557379276" t="20:42:59" d="2009-03-31" s="E" c="000" u="" g="" m="Error creating connection to database --&gt; java.sql.SQLException: No suitable driver

at java.sql.DriverManager.getConnection()

at java.sql.DriverManager.getConnection()

at com.sap.tc.mobile.cfs.pers.PersistenceManager.createConnection()

at com.sap.tc.mobile.cfs.pers.PersistenceManager.&lt;init&gt;()

at com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl.&lt;init&gt;()

at com.sap.tc.mobile.cfs.pers.PersistenceManager.getInstance()

at com.sap.tc.mobile.cfs.init.DatabaseInitializer.DBInit()

at com.sap.tc.mobile.cfs.init.FrameworkInitializer.init()

at com.sap.tc.mobile.cfs.startup.pda.Startup.main()

">

It cannot find the right driver to connect to the database, so db is not inizialized and netweaver mobile doesn't start.

Could you tell me how to correct this error?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Francesco,

it seems to be a problem of jdbc driver for mindb.

Try to copy the minDBembedded.jar from \MI\lib to \Windows or \..\creme\lib.

Leonardo

Former Member
0 Kudos

Hi Leonardo,

i've tried your suggestion and works! (i put jar file in creme\lib path, not in windows)

Thanks

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

Can you also paste the contents of jscpout file created in the root folder of the device.

Inside the /MI/lib folder can you see the minDBembedded.jar??

If no, then it has to be added.

If yes then do following...

Inside /MI/settings folder create a new file with name configuration_mindb.properties

And copy following properties to it.

com.sap.tc.mobile.pers.impl=jdbc

com.sap.tc.mobile.jdbc.impl=mindb

java.sql.Driver=com.sap.sdb.minDB.DriverEmbeddedMinDB

com.sap.tc.mobile.jdbc.url=jdbc\:embeddedMinDB\://?minDB\=

com.sap.tc.mobile.jdbc.dbuser=dba

com.sap.tc.mobile.jdbc.defaultpw=dba

com.sap.tc.mobile.db.create.sql=create_mindb.sql

com.sap.tc.mobile.db.drop.sql=drop_mindb.sql

Then try to start the client.

Thanks & Regards,

Abhijit

Edited by: Abhijit Suresh Shingate on Apr 2, 2009 6:58 PM

Former Member
0 Kudos

Hi Abhijit,

i have minDBembedded.jar and my configuration_mindb.properties is properly written.

In the jscpout.txt i found the following error:

SIcom Ltd., CrEme(tm) Evaluation Version

CrE-ME J2ME(tm)

CrE-ME V4.12 B142.190307 19-March-2007

MemoryLimit=293069Kb

EBCI(TM) Interpreter V1.00,

Copyright 1998-2002 by Bytecodes, Inc.

Error starting the framework

java.lang.reflect.InvocationTargetException: java.lang.IllegalStateException: Cannot initialize framework

at com.sap.tc.mobile.cfs.init.FrameworkInitializer.init()

at com.sap.tc.mobile.cfs.startup.pda.Startup.main()

CrEme jsPexit() called with status=1