cancel
Showing results for 
Search instead for 
Did you mean: 

MDM Java connect fails

Former Member
0 Kudos

Hi all,

i'm trying to connect to the MDM Server with this Code:

	     CatalogData catalog = new CatalogData();
		catalog.Login("192.192.192.192", 2000, "user", "pass", "German [DE]");
		int resultLogin = catalog.GetReadyStatus();
		
		if(resultLogin != RC.RC_OK){
			System.out.println("Error logging into MDM server: " + resultLogin);
			System.exit(-1);
		}
		
		System.out.println("Logged into MDM server.n");

But i always geht the returncode "2" (resultLogin), and 2 stands for RC_False (dont know what is false)

Any ideas?

Thx for help

Edit: ok i enabled the log file and get the errorcode:

RC_BADCRC = -2147352562;

Message was edited by:

Wolfgang Plank

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

This often happens when the version of MDM4J is different to the MDM Server version. You should always use the same versions.

If this is not the problem, I will try to help you further.

Walter

Former Member
0 Kudos

Hi i checked the Versions:

Java API: 5.5.34.46

MDM Server: 5.5.35.16

thx for your help

Answers (1)

Answers (1)

Former Member
0 Kudos

Finally it was really the version missmatch.

Thx for help!