其他分享
首页 > 其他分享> > SAP SUP MAF的一个issue

SAP SUP MAF的一个issue

作者:互联网

I can confirm resolveLogout() is working as expected. After I successfully log on p280605, I can see one entry for my user:

Then I click reset button in our app, resolveLogout() is called. I refresh SUP, the entry is gone. I also called ODPClientConnection.getInstance().clearServerVerificationKey();
After LogonManager.resolveLogout():

Then I log on a new SUP server, this time the error changes to HTTP 503 error.

03-19 15:23:21.000: E/ODP(3980): Error: 558 Message: Error: 558 Message: ‘HTTP Error: 503’
03-19 15:23:21.000: E/ODP(3980): at com.sybase.mobile.lib.client.ODPClientConnectionLiteConnectionStateListener.onConnectionStateChanged(ODPClientConnection.java:560)031915:23:21.000:E/ODP(3980):atcom.sybase.mo.ListenerManager.onConnectionStateChanged(ListenerManager.java:72)031915:23:21.000:E/ODP(3980):atcom.sybase.mo.RobieMocaClient.onConnectStatus(RobieMocaClient.java:95)031915:23:21.000:E/ODP(3980):atcom.sybase.mo.MocaClient.setConnectStatus(MocaClient.java:229)031915:23:21.000:E/ODP(3980):atcom.sybase.mo.MocaProcessServerQueue.processTillStoppedGuts(MocaProcessServerQueue.java:314)031915:23:21.000:E/ODP(3980):atcom.sybase.mo.MocaProcessServerQueue.processTillStopped(MocaProcessServerQueue.java:123)031915:23:21.000:E/ODP(3980):atcom.sybase.mo.MocaProcessQueueLiteConnectionStateListener.onConnectionStateChanged(ODPClientConnection.java:560) 03-19 15:23:21.000: E/ODP(3980): at com.sybase.mo.ListenerManager.onConnectionStateChanged(ListenerManager.java:72) 03-19 15:23:21.000: E/ODP(3980): at com.sybase.mo.RobieMocaClient.onConnectStatus(RobieMocaClient.java:95) 03-19 15:23:21.000: E/ODP(3980): at com.sybase.mo.MocaClient.setConnectStatus(MocaClient.java:229) 03-19 15:23:21.000: E/ODP(3980): at com.sybase.mo.MocaProcessServerQueue.processTillStoppedGuts(MocaProcessServerQueue.java:314) 03-19 15:23:21.000: E/ODP(3980): at com.sybase.mo.MocaProcessServerQueue.processTillStopped(MocaProcessServerQueue.java:123) 03-19 15:23:21.000: E/ODP(3980): at com.sybase.mo.MocaProcessQueueLiteConnectionStateListener.onConnectionStateChanged(ODPClientConnection.java:560)03−1915:23:21.000:E/ODP(3980):atcom.sybase.mo.ListenerManager.onConnectionStateChanged(ListenerManager.java:72)03−1915:23:21.000:E/ODP(3980):atcom.sybase.mo.RobieMocaClient.onConnectStatus(RobieMocaClient.java:95)03−1915:23:21.000:E/ODP(3980):atcom.sybase.mo.MocaClient.setConnectStatus(MocaClient.java:229)03−1915:23:21.000:E/ODP(3980):atcom.sybase.mo.MocaProcessServerQueue.processTillStoppedGuts(MocaProcessServerQueue.java:314)03−1915:23:21.000:E/ODP(3980):atcom.sybase.mo.MocaProcessServerQueue.processTillStopped(MocaProcessServerQueue.java:123)03−1915:23:21.000:E/ODP(3980):atcom.sybase.mo.MocaProcessQueueMocaProcessQueueThread.run(MocaProcessQueue.java:165)
03-19 15:23:21.000: E/ODP(3980): (com.sybase.mobile.lib.client.ODPUserManager:registerUser:194) Error occurred while registring the user synchronously
03-19 15:23:21.000: E/ODP(3980): Error: 558 Message: Error: 558 Message: ‘HTTP Error: 503’
03-19 15:23:21.000: E/ODP(3980): at com.sybase.mobile.lib.client.ODPClientConnection.startClient(ODPClientConnection.java:256)
03-19 15:23:21.000: E/ODP(3980): at com.sybase.mobile.lib.client.ODPUserManager.registerUser(ODPUserManager.java:180)
03-19 15:23:21.000: E/ODP(3980): at com.sybase.mobile.lib.client.ODPUserManager$asyncUserRegistration.run(ODPUserManager.java:309)
03-19 15:23:21.000: I/LogonManager(3980): Calling onLogonFailed with Error: 558 Message: ‘HTTP Error: 503’, 558
03-19 15:23:21.000: I/LogonView(3980): Hide progress dialog

If I choose “Clear data” in Android device setting menu, then everything works again.

[外链图片转存失败(img-yTHGqrfJ-1566692941793)(https://upload-images.jianshu.io/upload_images/2085791-dcc88e58a67cac8c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)]要获取更多Jerry的原创文章,请关注公众号"汪子熙":

标签:03,23,ODP,3980,21.000,sybase,MAF,SAP,issue
来源: https://blog.csdn.net/i042416/article/details/100059757