Skip to Content
0
Former Member
May 14, 2007 at 11:26 AM

MDK settings (MI home folder) not applied

14 Views

Hi all,

I have installed SAP Mobile Infrastructure in the following folder:

C:\Program Files\SAP\MobileInfrastructure (default folder when using setup packages).

I have configured my MDK within SAP NetWeaver Developer Studio with the following MI home folder:

C:Program FilesSAPMobileInfrastructure

I have a problem, because SAP NWDS is not using the MDK setting (MI Home Folder) to run my mobile application. It is always using the same (default installation folder of SAP MI when not using setup package technologie) folder to start:

C:Program FilesSAP Mobile Infrastructure

I receive the following error when starting:

Added com.sap.ip.me.core.ShutDownThread as a JVM ShutdownHook
------------ Initialize framework ...
   Configuration initialized. Installation Base = C:Program FilesSAP Mobile Infrastructure
   Path settings adjusted
   Timezone initialized; use timezone id 'Europe/Berlin'
Cannot read build number file
   Trace initialized. Log is switched on.
java.lang.ExceptionInInitializerError
	at com.sap.ip.me.core.FrameworkInitializer.initSingletons(FrameworkInitializer.java:924)
	at com.sap.ip.me.core.FrameworkInitializer.initializeFramework(FrameworkInitializer.java:351)
	at com.sap.ip.me.core.FrameworkInitializer.main(FrameworkInitializer.java:126)
	at com.sap.ip.me.mdk.api.runtime.Start.startME(Start.java:139)
	at com.sap.ip.me.mdk.api.runtime.Start.main(Start.java:46)
Caused by: java.lang.RuntimeException: Startup aborted because user manager cannot be instanitated!
	at com.sap.ip.me.core.UserManagerImpl.<clinit>(UserManagerImpl.java:2452)
	... 5 more


Thread[Thread-0,5,main] com.sap.ip.me.core.ShutDownThread activated
Calling CommunicationServer.doSmoothShutdown()
smooth shutdown will be performed
java.lang.ExceptionInInitializerError
	at com.sap.ip.me.sync.SyncManagerImpl.<init>(SyncManagerImpl.java:98)
	at com.sap.ip.me.sync.SyncManagerMerger.<init>(SyncManagerMerger.java:34)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at com.sap.ip.me.api.sync.SyncManager.<clinit>(SyncManager.java:237)
	at com.sap.ip.me.core.CommunicationServer.doSmoothShutdown(CommunicationServer.java:227)
	at com.sap.ip.me.core.ShutDownThread.run(ShutDownThread.java:24)
Caused by: com.sap.ip.me.api.conf.FactoryException: Exception while instantiating com.sap.ip.me.core.ConversationIdHandler
	at com.sap.ip.me.api.conf.Configuration.createInstanceForType(Configuration.java:521)
	at com.sap.ip.me.api.conf.Configuration.getSingletonInstanceForType(Configuration.java:457)
	at com.sap.ip.me.core.ConversationIdHandler.<clinit>(ConversationIdHandler.java:725)
	... 11 more
Exception in thread "main" 

I hope someone can help me to change the MDK setting (MI home folder) for real so it will start from another folder as the default SAP Mobile Infrastructure folder.

Thanks in advance and kind regards,

Bart Elshout