cancel
Showing results for 
Search instead for 
Did you mean: 

Running SUP Odata Application on Blackberry Device

Former Member
0 Kudos

It is been big big pain : Can some one help???????

I have got MDS service runing in my device.

When I use networkdignostic tool ( a java app) on blackberry it shows MDS connection available and working.

I have got fresh installation of my app along with all 4 requires SUP libs/dependent modules ( common, moca, messeging and sup_json) on device.

SUP control centre user is also new ( seprate form one i used for simulator).

I have got filter in place to choose right credintals based on profile ( either simulator or device).

When I do

UserManager.initialize(

ResourceManager.getString(XYZResource.

DEFAULT_APPNAME) and then check for user isRegistered and then setConnection profile.

On setConnectionProfile and call

UserManager.asyncRegisterUser(username, actcode);

: if i use relay server url along with farm id and correct port it comes back with

UserManageException -- 7003 which means REGISTRATION_FAILED_FOR_UNKNOWN_ERROR

and if I use direct SUP server url with 5001 port and farm id as "0" , in ecplise log it says :

catastrophic error occured and relay url template error.

I have to then delete all libs and apps form device.

In all it is been very very painfull process and still can not get to work.

Same application and code is wokring properly on simulator so very disapplinted with support I get here.

I am been doing mobile development from many years but this has to be worst support side till now.

Regards,

Hemal

Accepted Solutions (0)

Answers (5)

Answers (5)

shivakishore
Explorer
0 Kudos

Hi Hemal,

Have you configured a BES in your device??

I faced this issue when i clear BES configuration from my device.

Please check your device and if the BES is not configured, configure the same.

thanks & regards,

Shivakishore

ParagJain
Participant
0 Kudos

FYI in case anybody also goes thru this -

We faced this exception - net.rim.device.api.system.ControlledAccessException on a BB OS 7.1 device and raised an OSS and got back a set of new libraries / COD files (CommonClient, MOCA, etc.) from the SAP support team which resolved this issue.

In our case the application used to work on a security wipe but any subsequent install resulted in this error.

Regards,

Parag.

Former Member
0 Kudos

Hi,

   Can you please let us know the issue you are facing with complete logs ? Are you able to deploy the application on device and open it.If not
Follow the below steps:-

1. Register for code signing key , use the link http://us.blackberry.com/developers/javaappdev/codekeys.jsp

2. You  will receive 3 different  .csi file from blackberry through mail.Download them to your system

3. Go to eclipse ->select you project ->right click ->seelct Blackberry->Select "Sign with Signature Tools.." option->Install New   Key Tools ->point to the  3 ' .csi ' files  downloaded in step-2, one after the other

4. Once the  above step is completed, a   .cod file will be created

5. Upload the above .cod file on the device and now your application is ready to test on device.

And get back to us if issue still persists.

Thanks,

Srikanth M

Former Member
0 Kudos

Hi Srikanth,

Thanks for reply.

Hi Stan,

Thanks for reply really appriciate.

We can send you full ecplise log.

I know about signing key and we have siging key very long now and we have sgined it properly and able to deploy it on device and run. If it is not signed it wont run on device.

We have singed and deplyed the application on device. Also before laoding applciation we have deployed all 4 dependency cod file using Blackberry dektop software or java loader on device.

Application is running with out any error. Also when we try app initialize and setConnectionProfile and  asyncRegisterUser we get log with resolved relay server url ias_relay_server/client/rd_client.dll

After that we get this error in log :

[394.976] 13T172315, T4, A catastrophic error occurred and MOCA server queue processing is shutting down.  Exc[394.976] eption: net.rim.device.api.system.ControlledAccessException

Our SUP is on hosted on our server and it is exposed to external world.

When try to hit SUP server from internet I can reach there which I verified from Blakcberry device browser. Also I verified form device browser about http://relayserver.mycompany.net/ias_relay_server/client/rd_client.dll and it gives proper response on browser also I can see that request on IIS log.

On BB device I  have MDS service enabled. To confirm we used network dignostic toll ( a java app by RIM ) on device to confirm MDS is enabled on device.

From simulator we were able to hit relay server with proper farm id and dire sup with fram id as "0", both way with out any problem.

We have make sure about difference SUP user name to use in simulator adn device.

I can share all logs if you it helpfull. Please let me know.

Regards,

Hemal

Also

Your help and post is really appricated and sorry if found my post in wrong manner but as problem is not that we are not able hit the SUP server and getting authentication but main problem is we do not know what is the problem.

Hemal

Former Member
0 Kudos

Hi Stan and Srikanth,

Here is complete Log from device :

[883.015] FirstTimeLoginScreen:in doRegister
[883.062] VM:NCICv=25,w=0
[883.085] VM:CMPOv=3
[883.148] VM:CMPOv=8
[883.179] VM:CMPOv=4
[883.242] VM:CMPOv=8
[883.289] VM:CMPOv=3
[883.328] VM:CMPOv=4
[883.375] VM:CMPOv=5
[883.414] VM:CMPOv=4
[883.429] VM:CMPOv=2
[883.46] VM:CMPOv=3
[883.507] VM:CMPOv=5
[883.578] VM:CMPOv=9
[883.609] CMM: -5(593) no sig from 0x33
[883.656] VM:FSOMv=4
[883.679] VM:CMPOv=3
[883.726] VM:CMPOv=2
[883.75] VM:CMPOv=2
[883.765] VM:CMPOv=2
[883.859] VM:CMPOv=2
[883.945] VM:FSOMv=2
[883.968] VM:CMPOv=3
[883.984] VM:CMPOv=2
[884.031] VM:LMMOr=1d390800,t=net.rim.device.internal.io.store.FileImpl
[884.046] VM:CMPOv=2
[884.101] VM:CMPOv=6
[884.171] VM:CMPOv=2
[884.265] VM:CMPOv=3
[884.335] VM:CMPOv=9
[884.429] VM:CMPOv=9
[884.554] VM:CMPOv=3
[884.609] VM:CMPOv=2
[884.765] 17T112640, T1, ThreadID = Thread[Thread-506613760,5] maps to short thread id 1
[884.789] VM:CMPOv=3
[884.804] 17T112640, T1, Starting Log.  Current time: 20120917T112640
[884.843] VM:CMPOv=5
[884.851] 17T112640, T1, MocaLog Logging Level: Everything
[884.882] VM:CMPOv=4
[884.89] 17T112641, T1, MocaLog AppId: ManageTimeSheet
[884.906] VM:CMPOv=2
[884.914] 17T112641, T1, iMo Version Number: 2.1.3.6319
[884.937] VM:CMPOv=3
[884.945] 17T112641, T1, MessagingClientLib: initInstance. App ID: ManageTimeSheet, Log Level 4
[884.96] VM:CMPOv=2
[884.968] 17T112641, T1, Starting CmoBinary::cleanOldFiles
[885.054] VM:CMPOv=11
[885.07] 17T112641, T1, Searching file pattern: file:///store/home/user/Sybase/MessagingLib/mobinary/mobinary[885.07] _cookie_*
[885.085] VM:CMPOv=2
[885.148] 17T112641, T1, Finished CmoBinary::cleanOldFiles
[885.195] VM:CMPOv=6
[885.335] VM:CMPOv=7
[885.414] VM:CMPOv=7
[885.484] VM:CMPOv=7
[885.554] BBSUPAppController:After user initialize ....
[885.617] VM:CMPOv=6
[885.71] VM:CMPOv=10
[885.796] VM:CMPOv=9
[885.867] VM:CMPOv=7
[885.929] VM:CMPOv=6
[885.929] JVM: bklt @885929: timer
[885.929] JVM: bklt[1] @885929: usrIdle 4, usrTime 30, usrAct 1
[885.929] JVM: bklt[1] @885929: chkIdle 24, currTime 31
[885.929] JVM: bklt @885929: setTimer 26
[886.039] VM:CMPOv=11
[886.375] VM:CMPOv=8
[886.804] NVS: same 69
[886.804] NVS: commit 0
[886.859] VM:CMPOv=2
[887.359] FS: CLEAN(854 5)
[888.234] VM:CMPOv=5
[888.679] BBSUPAppController:registerUser12
[888.703] FS: CLEAN(968 5)
[889.945] BBSUPAppController:asyncRegisterUser called
[890.75] FS: CLEAN(1158 5)
[891.867] VM:CMPOv=4
[891.968] VM:EGLCv=16496
[892.101] VM:EGLCv=16736
[892.156] VM:EGLCv=17004
[892.156] FS: CLEAN(1161 5)
[892.531] VM:EGLCv=17268
[892.562] VM:EGLCv=17548
[892.601] VM:EGLCv=17836
[892.648] VM:EGLCv=18124
[892.671] 17T112649, T2, ThreadID = Thread[Thread-314182656,5] maps to short thread id 2
[892.687] VM:CMPOv=2
[892.703] 17T112649, T2, MessagingClientLib: setConnectionProperties
[892.773] VM:CMPOv=9
[892.781] 17T112649, T2, ClientConfig: commit
[892.914] VM:CMPOv=17
[892.929] 17T112650, T2, ClientConfig: notify change: 1
[893.039] VM:CMPOv=14
[893.062] 17T112650, T2, ClientConfig: notify listeners prop: 1
[893.117] VM:CMPOv=7
[893.25] 17T112650, T2, ClientConfig: notify change: 2
[893.296] VM:CMPOv=6
[893.312] 17T112650, T2, ClientConfig: notify listeners prop: 2
[893.335] VM:CMPOv=3
[893.382] 17T112650, T2, ClientConfig: notify change: 3
[893.484] VM:CMPOv=13
[893.5] 17T112650, T2, ClientConfig: notify listeners prop: 3
[893.695] VM:CMPOv=25
[893.703] 17T112651, T2, ClientConfig: notify change: 10001
[893.867] VM:CMPOv=21
[893.89] 17T112651, T2, ClientConfig: notify listeners prop: 10001
[893.976] VM:CMPOv=11
[893.992] 17T112651, T2, ClientConfig: notify change: 10002
[894.093] VM:CMPOv=13
[894.109] 17T112651, T2, ClientConfig: notify listeners prop: 10002
[894.14] VM:CMPOv=4
[894.203] VM:CMPOv=8
[894.218] VM:EGLCv=18532
[894.226] FS: CLEAN(1162 5)
[894.898] VM:EGLCv=18828
[894.921] VM:EGLCv=19080
[894.945] VM:EGLCv=19336
[894.968] VM:EGLCv=19624
[894.984] 17T112652, T2, MessagingClientLib: register MocaObject.
[895.031] VM:CMPOv=6
[895.039] 17T112652, T2, MessagingClientLib: initClient.
[895.054] VM:CMPOv=2
[895.07] 17T112652, T2, OBEngine version: 1.0.0
[895.101] VM:CMPOv=4
[895.117] 17T112652, T2, ClientConfig: commit
[895.14] VM:CMPOv=3
[895.148] 17T112652, T2, ClientConfig: notify change: 1401
[895.234] VM:CMPOv=11
[895.25] 17T112653, T2, ClientConfig: notify listeners prop: 1401
[895.335] VM:CMPOv=11
[895.398] VM:CMPOv=7
[895.523] 17T112653, T2, ClientConfig: commit
[895.546] VM:CMPOv=3
[895.546] 17T112653, T2, ClientConfig: notify change: 1202
[895.632] VM:CMPOv=11
[895.648] 17T112653, T2, ClientConfig: notify listeners prop: 1202
[895.828] VM:CMPOv=23
[896.195] VM:CMPOv=47
[896.242] 17T112654, T2, ClientConfig: commit
[896.343] VM:CMPOv=13
[896.359] 17T112654, T2, ClientConfig: notify change: 1203
[896.359] FS: CLEAN(1167 5)
[896.867] VM:CMPOv=65
[896.882] 17T112655, T2, ClientConfig: notify listeners prop: 1203
[896.898] VM:CMPOv=2
[896.921] 17T112655, T2, ClientConfig: commit
[896.945] 17T112655, T2, ClientConfig: notify change: 1200
[896.96] 17T112655, T2, ClientConfig: notify listeners prop: 1200
[897.007] VM:CMPOv=4
[897.109] VM:CMPOv=2
[897.132] VM:CMPOv=3
[897.25] VM:CMPOv=7
[897.257] 17T112655, T2, Reencode persistent data, wait for ticket. Current generation: 0, stored generation: [897.257] -1
[897.281] VM:CMPOv=3
[897.289] 17T112655, T2, Reencode persistent data. Got ticket.
[897.32] VM:CMPOv=4
[897.335] 17T112655, T2, encodeMocaQueues
[897.359] VM:CMPOv=3
[897.375] 17T112655, T2, ClientConfig: commit
[897.398] VM:CMPOv=3
[897.46] VM:CMPOv=8
[897.515] 17T112656, T2, MocaClient register MocaObject named: MocaClientAgent
[897.546] FS: CLEAN(1185 5)
[899.148] VM:-LGCMt=206,s=144188,p=
[899.156] VM:CMPOv=207
[899.164] 17T112657, T2, MocaClient register MocaObject named: SettingsExchange
[899.328] 17T112657, T2, MocaClient register MocaAsyncResponse named: SettingsExchangeRestartResponse
[899.343] 17T112658, T2, MocaClient register MocaObject named: RobieFileTransfer
[899.351] 17T112658, T2, MocaLibrary: CLIENT_INITIALIZED:
[899.367] 17T112658, T2, MocaClient register MocaObject named: SUP
[899.39] 17T112658, T2, MessagingClientLib: register MocaObject.
[899.445] VM:CMPOv=7
[899.46] 17T112658, T2, MocaClient register MocaObject named: GetDeviceLogs
[899.531] VM:CMPOv=9
[899.562] VM:EGLCv=19924
[899.664] 17T112658, T2, MessagingClientLib: addConnectionStateListener
[899.695] VM:CMPOv=4
[899.726] VM:EGLCv=20220
[899.734] FS: CLEAN(1192 5)
[900.992] 17T112659, T2, MessagingClientLib: addConfigurationChangeListener
[901.007] VM:CMPOv=2
[901.054] VM:EGLCv=20552
[901.085] VM:EGLCv=20888
[901.093] 17T112700, T2, MessagingClientLib: startClient.
[901.117] 17T112700, T2, Applog Status - 11:27:00 Engine Startup
[901.14] VM:CMPOv=3
[901.148] 17T112700, T2, MessagingClientLib: setConfigProperty
[901.195] VM:CMPOv=6
[901.21] 17T112700, T2, MessagingClientLib: propertyDisplayOnly
[901.234] VM:CMPOv=3
[901.257] 17T112700, T2, MessagingClientLib: setConfigProperty (2701): 679370763
[901.335] VM:CMPOv=9
[901.343] 17T112700, T2, ClientConfig: commit
[901.359] VM:CMPOv=2
[901.367] 17T112700, T2, ClientConfig: notify change: 2701
[901.398] VM:CMPOv=4
[901.421] 17T112700, T2, ClientConfig: notify listeners prop: 2701
[901.5] VM:CMPOv=10
[901.523] VM:CMPOv=2
[901.539] 17T112700, T2, MessagingClientLib: getConfigProperty
[901.57] VM:CMPOv=4
[901.843] 17T112701, T2, Push port changed. Setting push port. Old port: 0 New port: 46013
[901.843] VM:FSOMv=2
[901.937] VM:CMPOv=12
[901.953] 17T112701, T2, MessagingClientLib: setConfigProperty
[902.0] VM:CMPOv=6
[902.015] 17T112701, T2, MessagingClientLib: propertyDisplayOnly
[902.117] VM:CMPOv=13
[902.132] 17T112701, T2, MessagingClientLib: setConfigProperty (2702): 46013
[902.156] VM:CMPOv=3
[902.164] 17T112701, T2, ClientConfig: commit
[902.203] VM:CMPOv=5
[902.21] 17T112701, T2, ClientConfig: notify change: 2702
[902.296] VM:CMPOv=11
[902.32] 17T112702, T2, ClientConfig: notify listeners prop: 2702
[902.398] VM:CMPOv=10
[902.484] VM:CMPOv=11
[902.5] 17T112702, T3, ThreadID = Thread[Thread-174823424,5] maps to short thread id 3
[902.507] FS: CLEAN(1196 5)
[903.101] VM:CMPOv=77
[903.117] VM:EGLCv=21140
[903.132] 17T112702, T3, Starting Push Listener.
[903.148] VM:CMPOv=2
[903.179] 17T112703, T3, MessagingClientLib: getConfigProperty
[903.203] VM:EGLCv=21440
[903.218] 17T112703, T3, Push enabled. Client will be running in Push mode.
[903.281] VM:CMPOv=8
[903.304] VM:EGLCv=21796
[903.39] VM:EGLCv=22148
[903.554] VM:EGLCv=22492
[903.695] VM:EGLCv=22832
[903.703] FS: CLEAN(1209 5)
[904.992] 17T112705, T4, ThreadID = Thread[Thread-137416704,5] maps to short thread id 4
[905.007] VM:CMPOv=2
[905.007] 17T112705, T4, MocaProcessServerQueue.ProcessTillStopped started.
[905.078] 17T112705, T2, MocaProcessQueue.start -- queue processing started
[905.101] 17T112705, T4, Device not in low storage state: 0, null
[905.125] 17T112705, T2, MocaProcessQueue.start -- queue processing started
[905.14] VM:CMPOv=2
[905.164] 17T112705, T5, ThreadID = Thread[Thread-136273920,5] maps to short thread id 5
[905.226] VM:CMPOv=8
[905.234] 17T112705, T5, MocaProcessClientQueue.ProcessTillStopped started.
[905.25] VM:CMPOv=2
[905.265] 17T112705, T4, MocaConnectionConditions::isLowStorage- Storage sufficient unchanged (0)
[905.304] VM:CMPOv=5
[905.32] 17T112705, T2, MocaClient Started
[905.375] VM:CMPOv=7
[905.39] 17T112705, T4, Device not in low storage state: 0, null
[905.406] VM:CMPOv=2
[905.429] 17T112705, T2, requestServerSettings
[905.507] VM:CMPOv=10
[905.523] 17T112706, T4, MocaConnectionConditions::isLowStorage- Storage sufficient unchanged (0)
[905.546] VM:CMPOv=3
[905.57] 17T112706, T2, Get client timestamp: null
[905.671] VM:CMPOv=13
[905.687] 17T112706, T4, Device not in low storage state: 0, null
[905.789] VM:CMPOv=13
[905.804] 17T112706, T2, getDeviceSettings from server: 358922041622310__ManageTimeSheet : Thu Feb 01 00:00:00[905.804]  Europe/Dublin 2001
[905.851] VM:CMPOv=6
[905.859] 17T112706, T4, MocaConnectionConditions::isLowStorage- Storage sufficient unchanged (0)
[906.007] VM:CMPOv=19
[906.023] 17T112707, T2, Applog Status - 11:27:06 Queued Settings Request
[906.062] VM:CMPOv=5
[906.085] 17T112707, T4, Attempting Connect.
[906.14] VM:CMPOv=7
[906.156] 17T112707, T2, execute:  objectName='monet:SettingsExchange.dll:SettingsExchange' methodName='GetDev[906.156] iceSettings' param count(false)=2
[906.25] VM:CMPOv=12
[906.257] 17T112707, T4, execute:  objectName='MOInternalMO' methodName='Echo' param count(false)=0
[906.335] VM:CMPOv=10
[906.351] 17T112707, T2, Device not in low storage state: 0, null
[906.406] VM:CMPOv=7
[906.421] 17T112707, T4, execute:  refreshing stale ServerVersionInfo
[906.468] VM:CMPOv=6
[906.578] 17T112707, T2, MocaConnectionConditions::isLowStorage- Storage sufficient unchanged (0)
[906.609] VM:CMPOv=4
[906.632] 17T112708, T4, Starting URL Template discovery
[906.664] VM:CMPOv=4
[906.671] 17T112708, T2, writeToStream parameter: name='sDeviceName' type=0 passtype=1
[906.679] FS: CLEAN(1235 5)
[907.257] VM:CMPOv=75
[907.265] JVM: bklt @907265: timer
[907.265] JVM: bklt[1] @907265: usrIdle 31, usrTime 30, usrAct 1
[907.265] JVM: bklt[1] @907265: chkIdle 46, currTime 31
[907.265] JVM: bklt[1] @907265: enableBacklight 0
[907.265] JVM: bklt[1]: setTimeout 30
[907.273] 17T112708, T4, Testing Relay Server URL Template:/tm/?cid=%cid%
[907.289] VM:CMPOv=2
[907.398] 17T112709, T2, writeToStream parameter: name='dtDeviceTimestamp' type=14 passtype=1
[907.468] VM:CMPOv=2
[907.57] FD Turned Off;
[907.57] 17T112709, T2, MOCA message for server queued. RequestID=1 (monet:SettingsExchange.dll:SettingsExcha[907.57] nge.GetDeviceSettings)
[907.765] 17T112709, T2, Send Client Settings to server
[907.843] 17T112709, T5, MoDataBuffer:getArray()
[907.914] VM:CMPOv=9
[908.062] 17T112709, T2, Get client timestamp: null
[908.125] VM:CMPOv=8
[908.312] 17T112710, T5, MoDataBuffer:getArray(), got ticket.
[908.351] VM:CMPOv=5
[908.453] 17T112710, T2, MocaLibrary: CLIENT_STARTED:
[908.593] VM:CMPOv=14
[908.757] VM:EGLCv=23148
[908.82] 17T112710, T5, parseStream parameter 0
[908.859] VM:CMPOv=5
[908.914] VM:CMPOv=5
[908.929] VM:EGLCv=23456
[909.023] 17T112711, T5, parseStream parameter name='sDeviceName' type=0 passtype=1
[909.031] FS: CLEAN(1236 5)
[910.101] VM:CMPOv=137
[910.117] VM:EGLCv=23720
[910.125] FS: CLEAN(1241 5)
[910.343] 17T112712, T5, parseStream parameter 1
[910.359] VM:CMPOv=2
[910.375] VM:EGLCv=23996
[910.382] 17T112712, T5, parseStream parameter name='dtDeviceTimestamp' type=14 passtype=1
[910.382] VM:FSOMv=1
[910.429] 17T112712, T5, process client queue - processing RequestID=1 (monet:SettingsExchange.dll:SettingsExc[910.429] hange.GetDeviceSettings)
[910.953] JVM: bklt[1] @910953: JBSC on=0
[910.953] JVM: bklt[1] @910953: SC 0, fadeEnd: 910953
[910.953] JVM: bklt[1]: setTimeout 30
[911.46] 17T112713, T4, Testing Relay Server URL Template:/cli/iarelayserver/%cid%/tm
[911.523] VM:CMPOv=8
[911.531] FD Back On
[911.546] FD Turned Off;
[913.046] 17T112715, T4, Testing Relay Server URL Template:/ias_relay_server/client/rs_client.dll/%cid%/tm
[913.07] VM:CMPOv=3
[913.078] FD Back On
[913.085] FD Turned Off;
[914.468] 17T112717, T4, ClientConfig: commit
[914.492] VM:CMPOv=3
[914.5] 17T112717, T4, ClientConfig: notify change: 1305
[914.554] VM:CMPOv=7
[914.57] 17T112717, T4, ClientConfig: notify listeners prop: 1305
[914.632] VM:CMPOv=8
[914.632] JVM: bklt[1] @914601: JBSC on=1
[914.632] JVM: bklt[1] @914601: SC 1, fadeEnd: 914601
[914.632] JVM: bklt @914632: setTimer 30
[914.671] 17T112717, T4, Found good Relay Server URL Template: /ias_relay_server/client/rs_client.dll/%cid%/tm[914.671]
[914.703] VM:CMPOv=4
[914.718] 17T112717, T4, A catastrophic error occurred and MOCA server queue processing is shutting down.  Exc[914.718] eption: net.rim.device.api.system.ControlledAccessException
[914.734] VM:CMPOv=2
[914.804] JVM: bklt[1] @914804: JBSC on=1
[914.804] JVM: bklt[1] @914804: SC 1, fadeEnd: 915054
[914.804] JVM: bklt @914804: setTimer 31
[914.734] VM:CMPOv=2
[914.804] JVM: bklt[1] @914804: JBSC on=1
[914.804] JVM: bklt[1] @914804: SC 1, fadeEnd: 915054
[914.804] JVM: bklt @914804: setTimer 31
[924.71] 17T112727, T1, network - signalLevel - iLevel -70
[924.726] SE13 Locale: 1701726018
[924.734] Signal level only changed - ONS not updated
[945.703] JVM: bklt @945703: timer
[945.703] JVM: bklt[1] @945703: usrIdle 31, usrTime 30, usrAct 1
[945.703] JVM: bklt[1] @945703: chkIdle 30, currTime 31
[945.703] JVM: bklt @945703: setTimer 1
[946.593] JVM: bklt @946593: timer
[946.593] JVM: bklt[1] @946593: usrIdle 32, usrTime 30, usrAct 1
[946.593] JVM: bklt[1] @946593: chkIdle 31, currTime 31
[946.593] JVM: bklt[1] @946593: enableBacklight 0
[946.593] JVM: bklt[1]: setTimeout 30
[950.96] JVM: bklt[1] @950960: JBSC on=0
[950.96] JVM: bklt[1] @950960: SC 0, fadeEnd: 950960
[950.96] JVM: bklt[1]: setTimeout 30
[952.14] JVM: bklt[1] @952140: JBSC on=1
[952.14] JVM: bklt[1] @952140: SC 1, fadeEnd: 952140
[952.14] JVM: bklt @952140: setTimer 30
[952.468] JVM: bklt[1] @952468: JBSC on=1
[952.468] JVM: bklt[1] @952468: SC 1, fadeEnd: 952718
[952.468] JVM: bklt @952468: setTimer 31
[961.226] VM:CMPOv=16
[961.226] VM:ECTTt=16,c=20,p=net_rim_sync_daemon
[961.242] VM:CMPOv=2
[983.414] JVM: bklt @983414: timer
[983.414] JVM: bklt[1] @983414: usrIdle 31, usrTime 30, usrAct 1
[983.414] JVM: bklt[1] @983414: chkIdle 30, currTime 31
[983.414] JVM: bklt @983414: setTimer 1
[984.367] 17T112827, T1, network - signalLevel - iLevel -70
[984.382] VM:CMPOv=2
[984.382] JVM: bklt @984382: timer
[984.382] JVM: bklt[1] @984382: usrIdle 32, usrTime 30, usrAct 1
[984.382] JVM: bklt[1] @984382: chkIdle 31, currTime 31
[984.382] JVM: bklt[1] @984382: enableBacklight 0
[984.382] JVM: bklt[1]: setTimeout 30
[984.39] SE13 Locale: 1701726018
[984.39] Signal level only changed - ONS not updated
[988.726] JVM: bklt[1] @988726: JBSC on=0
[988.726] JVM: bklt[1] @988726: SC 0, fadeEnd: 988726
[988.726] JVM: bklt[1]: setTimeout 30
[1016.5] VM:CMPOv=7
[1016.5] VM:IDLCt=7
[1016.539] VM:CMPOv=2
[1016.593] VM:CMPOv=2
[1030.226] VM:EGLCv=24292
[1030.226] FS: CLEAN(1243 5)
[1030.656] VM:EGLCv=24656
[1030.671] BBSUPAppController:Registration failed..! --- This is form call back of asyncRegisterUser which was failure with UserManagerException : Number: REGISTRATION_FAILED_UNKNOWN_ERROR 70003
[1030.679] 17T113052, T1, network - signalLevel - iLevel -70
[1030.695] SE13 Locale: 1701726018
[1030.703] Signal level only changed - ONS not updated
[1030.75] SE13 Locale: 1701726018
[1030.757] 17T113052, T1, network - signalLevel - iLevel -70
[1030.789] Signal level only changed - ONS not updated

former_member190800
Contributor
0 Kudos

Hi Hemal,

let me pass this in around the engineers.  Rocky is right, this is not a support forum, but let me see if we can get you some help. 

Question:  Are you using the hosted SUP instance?  Is the simulator on your local machine?  Can you point the simulator at the relay server successfully?

Stan

**edit:

I found a developer who had a similar issue on BB 9900 with the Hybrid Web Container a month ago.  He commented the following:

On the device under Permissions for workflow an IT Policy is enforced. The permission "Security Timer Reset" is set to Deny and I am not allowed to change it on the device to Allow.  This means that workflow can not modify the time out for the device to go into standby mode.

I'm trying to track him down to see how it was resolved--you might check to see if you have control on your device for this?

former_member190800
Contributor
0 Kudos

Discovered answer:

BB applications have to be signed to run on real devices. The BB developer's guide will have more details on setting up your development environment, obtaining signing keys, etc.

Former Member
0 Kudos

Hi Stan,

Thanks for reply.

Our SUP is on hosted on our server and it is exposed to external world.

When we try to hit SUP server from internet we can reach there with out any problem  which I verified from Blakcberry device browser. Also I verified form device browser about http://relayserver.mycompany.net/ias_relay_server/client/rd_client.dll and it gives proper response on browser also I can see that request on IIS log.

Simulator is in my local machine only and it is able to talk to relay server and able to register SUP user, authenticate SAP user and get Odata response like service document, metdata of service also the actual data set properly.

On BB device I  have MDS service enabled but not sure about time out capability.

Also I know about signing key and we have siging key very long now and we have sgined it properly and able to deploy it on device and run. If it is not signed it wont run on device.

Your help and post is really appricated and sorry if found my post in wrong manner but as problem is not that we are not able hit the SUP server and getting authentication but main problem is we do not know what is the problem.

Hemal

Former Member
0 Kudos

This is the error i get

[394.976] 13T172315, T4, A catastrophic error occurred and MOCA server queue processing is shutting down.  Exc[394.976] eption: net.rim.device.api.system.ControlledAccessException

Former Member
0 Kudos

We checked log on relay server iis and request do come to it properly

it get proper relay url but then it gives error..

so one must help here!!!!!!

here is log from BB decvie coming to eclipse consol

[675.89] 13T180548, T4, Found good Relay Server URL Template: /ias_relay_server/client/rs_client.dll/%cid%/tm[675.89]


[675.914] VM:CMPOv=3


[675.914] 13T180549, T4, A catastrophic error occurred and MOCA server queue processing is shutting down.  Exc[675.914] eption: net.rim.device.api.system.ControlledAccessException


[675.929] VM:CMPOv=2

Former Member
0 Kudos

Hi Hemal,

I understand your frustration here, however, please be mindful that this forum is NOT a support side. This is a discussion forum where you seek advice and help from the community. Please read the license agreement one more time. There is no  support in this forum and there is no need to be exclamatory. Your action will simply turn people away from helping you.

Rocky

Former Member
0 Kudos

Hi Rocky,

I would like to appologise from outset.

I do under stnad it is not support forum so sorry again.

But this is unprecedented level of no information and very unlike acrros many other developer forum.

Restriction in place to get even basic application running is so high.

I do take your point that the way I wrote it would put people away from help so I would be mindfull but if you see all question related to Balckberry SUP application runing on device remained unanswered since mid of 2011 which shows lack of support for community by SAP and SUP team.

Thanks for your suggestion and as I said appology again if you found my post in wrong manner.

Hemal