Skip to Content

Java API: repository.login error

I MDM guru,

i habe the "little" problem with JAVA API SP2.

I have do the followings step:

- download last JAVA API from service.sap.com/swdc:

Support Packages and Patches->SAP NetWeaver->SAP MDM->SAP MDM 5.5->JAVA API

- download "MDM Java API Samples Framework"

- downloadn MDM_API_SAMPLES repository (import ad load it in the MDM server)

When run Application.java (with program = KeyMappingProgram.RETRIEVE) when exextute this line

repository.login(region, user, password);

i have this error

com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: Dati non convalidati da verifica CRC

at com.sap.mdm.commands.AuthenticateRepositorySessionCommand.execute(AuthenticateRepositorySessionCommand.java:94)

at com.sap.nw.mdm.rig.server.SessionImpl.authenticateRepositorySession(SessionImpl.java:136)

at com.sap.nw.mdm.rig.server.SessionImpl.<init>(SessionImpl.java:37)

at com.sap.nw.mdm.rig.server.RepositoryImpl.login(RepositoryImpl.java:61)

at com.sap.nw.mdm.rig.Application.start(Application.java:208)

at com.sap.nw.mdm.rig.Application.main(Application.java:157)

Caused by: com.sap.mdm.internal.protocol.manual.ServerException: Dati non convalidati da verifica CRC

at com.sap.mdm.internal.protocol.manual.AbstractProtocolCommand.execute(AbstractProtocolCommand.java:112)

at com.sap.mdm.commands.AuthenticateRepositorySessionCommand.execute(AuthenticateRepositorySessionCommand.java:88)

... 5 more

com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: Dati non convalidati da verifica CRC

at com.sap.mdm.commands.AuthenticateUserSessionCommand.execute(AuthenticateUserSessionCommand.java:84)

at com.sap.nw.mdm.rig.server.SessionImpl.authenticateUserSession(SessionImpl.java:87)

at com.sap.nw.mdm.rig.server.SessionImpl.<init>(SessionImpl.java:41)

at com.sap.nw.mdm.rig.server.RepositoryImpl.login(RepositoryImpl.java:61)

at com.sap.nw.mdm.rig.Application.start(Application.java:208)

at com.sap.nw.mdm.rig.Application.main(Application.java:157)

Caused by: com.sap.mdm.internal.protocol.manual.ServerException: Dati non convalidati da verifica CRC

at com.sap.mdm.internal.protocol.manual.AbstractProtocolCommand.execute(AbstractProtocolCommand.java:112)

at com.sap.mdm.commands.AuthenticateUserSessionCommand.execute(AuthenticateUserSessionCommand.java:79)

... 5 more

Where is the problem?

This is my configuration:

MDM Server 5.5

- mds Version 5.5.61.48 Built on 2008-Jan-12

Client Interface Version 5.5.61.12

Console Interface Version 5.5.61.06

Web Interface Version 5.5.61.12

mdm-core.jar:

Build Version 5.5.62.83

Public Interface Version 5.5.62.00 [Interface CRC=0xab59b8dc]

Console Interface Version 5.5.62.01 [Interface CRC=0xf3c104b6]

Web Interface Version 5.5.62.06 [Interface CRC=0x86541e49]

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • May 08, 2008 at 10:15 AM

    The error (CRC Check failed) is due to mismatch of the version between MDM Server and MDM Java APIs.

    Please use the same version of JAVA APIs.

    Best regards,

    Arun prabhu S

    Add comment
    10|10000 characters needed characters exceeded

  • May 09, 2008 at 12:10 PM

    well i got this error while creating a repository session. but the crc is for version mismatch as said in the previous post.

    Check the following wiki for details on the error

    https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action?pageId=4119

    I got this error when i moved my EP Server to MDM Java 602 and my MDM server was at 5.5

    Then i moved by EP server back to 5.5 and resolved the issue.

    I hope this will help.

    Add comment
    10|10000 characters needed characters exceeded