SAP Knowledge Base Article - Preview

1942891 - Error SQL Anywhere Error -638: Right truncation of string data being returned in SMP 2 3 during automatic device registration

Symptom

The below errors  are seen in both the  client and SUP server logs during automatic device registration.

  • MOCA log :
    23T153022.435160, T1, MclServerRmiCalls: addDeviceRegistration failed.  Error: 14899, Message:Database error : java.sql.SQLException: SQL Anywhere Error -638: Right truncation of string data
  • Server log :
    2013-10-23 15:30:07.402 ERROR   MMS          HttpChannel Thread-417 [com.sybase.sup.jmo.services.Registration] [] [] Registration SQL Exception java.sql.SQLException: SQL Anywhere Error -638: Right truncation of string data
    2013-10-23 15:30:07.407 ERROR   MMS          HttpChannel Thread-417 [com.sybase.sup.jmo.services.Registration] [] [] Registration failed for Device: SIMULATOR-SUPADMIN__SMP101 User: supAdminDevType: iphone ( Jmo ). Errorcode = 8015 ErrorMessage: Database error : java.sql.SQLException: SQL Anywhere Error -638: Right truncation of string data
  • Server Log Debug on MMS :
    2013-11-14 10:30:23.752 DEBUG MMS HttpChannel Thread-422 [com.sybase.sup.jmo.dblayer.DbUtils] [] [] Loading LBNodesInfo
    ....
    2013-11-14 10:30:23.771 ERROR MMS HttpChannel Thread-422 [com.sybase.sup.jmo.services.Registration] [] [] Registration SQL Exception java.sql.SQLException: SQL Anywhere Error -638: Right truncation of string data
    2013-11-14 10:30:23.771 ERROR MMS HttpChannel Thread-422 [com.sybase.sup.jmo.services.Registration] [] [] Registration failed for Device: SIMULATOR-SUPADMIN__SMP101 User: supAdminDevType: iphone ( Jmo ). Errorcode = 8015 ErrorMessage: Database error : java.sql.SQLException: SQL Anywhere Error -638: Right truncation of string data
  • Old Xcode log :
    2013-10-07 16:45:05.795 SMP101[3739:c07] ================================================\
    \cf6 2013-10-07 16:45:07.023 SMP101[3739:c07] [ERROR] [SUPApplication.m:1171] error @ registerApplication MessagingClientException \{\
        ErrorCode = 14899;\
        ErrorMessage = "Database error : java.sql.SQLException: SQL Anywhere Error -638: Right truncation of string data";\
    \}\
    2013-10-07 16:45:07.023 SMP101[3739:c07] =================================================\
    2013-10-07 16:45:07.024 SMP101[3739:c07] onRegistrationStatusChanged: status = 201, code = 14899, message = Database error : java.sql.SQLException: SQL Anywhere Error -638: Right truncation of string data\
    2013-10-07 16:45:07.024 SMP101[3739:c07] =================================================\
    2013-10-07 16:45:07.025 SMP101[3739:c07] [ERROR] [SUPApplication.m:1298] error @ registerApplicationMessagingClientException Database error : java.sql.SQLException: SQL Anywhere Error -638: Right truncation of string data}


Read more...

Environment

SMP 2.2.x and 2.3.x.

Product

SAP Mobile Platform 2.3 ; Sybase Unwired Platform 2.2

Keywords

KBA , MOB-SUP-RT-IMO , SUP Runtime Mobile Office , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.