Hi there!
We are migrating our Android native app from SUP 2.1.3 to 2.2#3. There is a DOE scenario and the user is connection via SUP to the Netweaver Mobile Server. On the SUP there is a connection template with auto registration enabled so application connections can be created in SUP automatically. But this doesn't work with our brand new SUP 2.2 server.
To focus the problem, we have written a Hello World-App, looking like this (no DOE scenario):
Application app = Application.getInstance();
app.setApplicationIdentifier("de.db.netz.mde.hello22.sup");
app.setApplicationContext(getApplicationContext());
Hello22DB.setApplication(app);
ConnectionProperties connProps = app.getConnectionProperties();
connProps.setServerName(SUP-SERVER-URI);
connProps.setPortNumber(5001);
connProps.setNetworkProtocol("http");
LoginCredentials loginCred = new LoginCredentials(SUP-USER_NAME, PASSWORD);
connProps.setLoginCredentials(loginCred);
if (app.getRegistrationStatus() != RegistrationStatus.REGISTERED) {
app.registerApplication(TIMEOUT);
} else {
app.startConnection(TIMEOUT);
}
The connnection template looks like this:
For the hello word, the MBO package is deployed in domain default and security conifiguration admin is configured in the domain, too. All seems fine.
But the app log fires out an error:
05-06 15:04:37.808: D/com.sybase.mobile.Application(28104): registerApplication
05-06 15:04:37.808: D/com.sybase.mobile.Application(28104): Error: 14899
05-06 15:04:37.808: D/com.sybase.mobile.Application(28104): at com.sybase.messaging.MclServerRmiCalls.addDeviceRegistration(MclServerRmiCalls.java:143)
05-06 15:04:37.808: D/com.sybase.mobile.Application(28104): at com.sybase.messaging.MclServerRmiCalls.addDeviceRegistration(MclServerRmiCalls.java:206)
05-06 15:04:37.808: D/com.sybase.mobile.Application(28104): at com.sybase.mobile.Application$1.run(Application.java:371)
05-06 15:04:37.808: V/MainActivity(28104): onRegistrationStatusChanged 201 14899
The error 14899 is a very common one, so, for me, it doesn't point me to the solution.
Every hint is welcome!