msnikam80 / openmobster

Automatically exported from code.google.com/p/openmobster
0 stars 0 forks source link

Unable to register CLOUDManager app #143

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start the CLOUD Integration Test and launch the CLOUD test server on the 
local maching
2. Build the android crud sample app shipped along with openMobster2.2
3. Deploy the cloud manager and the crud sample app apks after starting the 
android emulator
4. Try to Activate the device using Cloud Manager App

What is the expected output? What do you see instead?

Server Error due to Network Connector error

08-12 20:52:27.185: D/dalvikvm(289): GC_CONCURRENT freed 487K, 53% free 
2883K/6023K, external 912K/1400K, paused 6ms+7ms
08-12 20:53:55.367: D/dalvikvm(110): GC_CONCURRENT freed 256K, 48% free 
3224K/6151K, external 1025K/1038K, paused 11ms+5ms
08-12 20:53:55.494: D/dalvikvm(110): GC_EXTERNAL_ALLOC freed 3K, 48% free 
3220K/6151K, external 1025K/1038K, paused 73ms
08-12 20:53:56.005: D/dalvikvm(110): GC_EXTERNAL_ALLOC freed 50K, 47% free 
3294K/6151K, external 1541K/1551K, paused 99ms
08-12 20:53:56.474: D/dalvikvm(110): GC_EXTERNAL_ALLOC freed 49K, 46% free 
3374K/6151K, external 2057K/2067K, paused 76ms
08-12 20:53:56.544: I/ActivityManager(61): Process android.process.media (pid 
407) has died.
08-12 20:53:57.004: W/KeyCharacterMap(110): No keyboard for id 0
08-12 20:53:57.004: W/KeyCharacterMap(110): Using default keymap: 
/system/usr/keychars/qwerty.kcm.bin
08-12 20:53:57.004: W/KeyCharacterMap(289): No keyboard for id 0
08-12 20:53:57.004: W/KeyCharacterMap(289): Using default keymap: 
/system/usr/keychars/qwerty.kcm.bin
08-12 20:53:59.905: D/dalvikvm(61): GC_CONCURRENT freed 940K, 47% free 
4302K/8071K, external 2269K/3469K, paused 7ms+7ms
08-12 20:54:08.935: I/ActivityManager(61): Process 
com.android.inputmethod.latin (pid 422) has died.
08-12 20:54:09.965: D/dalvikvm(110): GC_EXTERNAL_ALLOC freed 144K, 45% free 
3459K/6279K, external 2554K/2586K, paused 975ms
08-12 20:54:12.974: D/dalvikvm(61): GC_CONCURRENT freed 1022K, 47% free 
4299K/8071K, external 2269K/3469K, paused 7ms+38ms
08-12 20:54:29.224: D/dalvikvm(61): GC_CONCURRENT freed 947K, 47% free 
4296K/8071K, external 2269K/3469K, paused 9ms+7ms
08-12 20:54:29.625: I/System.out(289): 
Class=org.openmobster.core.mobileCloud.android.module.connection.NetworkConnecto
r
08-12 20:54:29.625: I/System.out(289): Method=openSession
08-12 20:54:29.634: I/System.out(289): Param(0)=Secure=false
08-12 20:54:29.634: I/System.out(289): Param(1)=Message=http://192.168.3.4:1502/
08-12 20:54:29.634: I/System.out(289):  at 
org.openmobster.core.mobileCloud.android.module.connection.NetworkConnector.open
Session(NetworkConnector.java:72)
08-12 20:54:29.634: I/System.out(289):  at 
org.openmobster.android.api.rpc.MobileService.sendRequest(MobileService.java:93)
08-12 20:54:29.634: I/System.out(289):  at 
org.openmobster.android.api.rpc.MobileService.invoke(MobileService.java:55)
08-12 20:54:29.645: I/System.out(289):  at 
org.openmobster.core.mobileCloud.moblet.BootupConfiguration.bootup(BootupConfigu
ration.java:56)
08-12 20:54:29.645: I/System.out(289):  at 
org.openmobster.core.mobileCloud.manager.gui.command.ActivationCommand.doAction(
ActivationCommand.java:67)
08-12 20:54:29.645: I/System.out(289):  at 
org.openmobster.core.mobileCloud.android_native.framework.BusyAsyncTask.doInBack
ground(BusyAsyncTask.java:73)
08-12 20:54:29.645: I/System.out(289):  at 
org.openmobster.core.mobileCloud.android_native.framework.BusyAsyncTask.doInBack
ground(BusyAsyncTask.java:32)
08-12 20:54:29.645: I/System.out(289):  at 
android.os.AsyncTask$2.call(AsyncTask.java:185)
08-12 20:54:29.645: I/System.out(289):  at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
08-12 20:54:29.645: I/System.out(289):  at 
java.util.concurrent.FutureTask.run(FutureTask.java:138)
08-12 20:54:29.645: I/System.out(289):  at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
08-12 20:54:29.645: I/System.out(289):  at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
08-12 20:54:29.645: I/System.out(289):  at 
java.lang.Thread.run(Thread.java:1019)
08-12 20:54:29.675: I/System.out(289): java.lang.RuntimeException: An unknown 
error occured in the device network layer!!
08-12 20:54:29.745: I/System.out(289):  at 
org.openmobster.android.api.rpc.MobileService.invoke(MobileService.java:65)
08-12 20:54:29.844: I/System.out(289):  at 
org.openmobster.core.mobileCloud.moblet.BootupConfiguration.bootup(BootupConfigu
ration.java:56)
08-12 20:54:29.905: I/System.out(289):  at 
org.openmobster.core.mobileCloud.manager.gui.command.ActivationCommand.doAction(
ActivationCommand.java:67)
08-12 20:54:29.985: I/System.out(289):  at 
org.openmobster.core.mobileCloud.android_native.framework.BusyAsyncTask.doInBack
ground(BusyAsyncTask.java:73)
08-12 20:54:30.074: I/System.out(289):  at 
org.openmobster.core.mobileCloud.android_native.framework.BusyAsyncTask.doInBack
ground(BusyAsyncTask.java:32)
08-12 20:54:30.144: I/System.out(289):  at 
android.os.AsyncTask$2.call(AsyncTask.java:185)
08-12 20:54:30.314: I/System.out(289):  at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
08-12 20:54:30.384: D/dalvikvm(289): GC_CONCURRENT freed 359K, 52% free 
2914K/6023K, external 912K/1400K, paused 6ms+39ms
08-12 20:54:30.425: I/System.out(289):  at 
java.util.concurrent.FutureTask.run(FutureTask.java:138)
08-12 20:54:30.444: I/System.out(289):  at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
08-12 20:54:30.484: I/System.out(289):  at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
08-12 20:54:30.484: I/System.out(289):  at 
java.lang.Thread.run(Thread.java:1019)
08-12 20:54:32.214: W/InputManagerService(61): Window already focused, ignoring 
focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@40788220

What version of the product are you using? On what operating system?
2.2

Please provide any additional information below.

I am testing the platform for the 1st time. However when I am trying to connect 
directly from the emulator browser or the desktop system it is at least hitting 
the test cloud server and is able to connect

Original issue reported on code.google.com by sambitra...@gmail.com on 12 Aug 2012 at 3:26

GoogleCodeExporter commented 9 years ago
Hi Sambit,

Looking at this:
Param(1)=Message=http://192.168.3.4:1502/

It looks like for Cloud IP you may be providing an http address.

For IP just provide: 192.168.3.4

Assuming the Cloud Server is running on this IP, it should connect to it on 
port 1502

Let me know how it goes

Original comment by openmobs...@gmail.com on 28 Aug 2012 at 9:13

GoogleCodeExporter commented 9 years ago

Original comment by openmobs...@gmail.com on 3 Mar 2013 at 7:34