on 03-12-2007 7:08 AM
Hi,
I am unable to login into the MDM 5.5 SP4 (5.5.34.46) respository using Java API (MDM4J Ver5.5.33.13).
Please note that I have problem with this version of MDM only. I doubt that this login faliure may be due to the compatibality issue of the Java API and MDM.
Here is the sample code:
CatalogData catalogData = new CatalogData();
if(catalogData.Login("mdmserver1",2345,"Admin","Admin",2,5,0,"cataloglog.txt")
!= RC.RC_OK)
{
catalogData = null;
}
if (catalogData == null) {
System.out.println("can't create catalog data>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
}
When I run this code the following messages are logged into the cataloglog.txt:
"
2007/03/11 19:54:19.031 main Connect
2007/03/11 19:54:19.078 main Connect failed: rc=-2147352562
2007/03/11 19:54:19.078 main Connect, 0x8002000e
2007/03/11 19:54:19.078 main Unable to connect to server mdmserver1, user Admin, port 2345, status -2147352562
"
I would really appreciate the prompt responses.
Regards,
-
Shahid Nadeem
Hi Shahid,
Yep, it is the version problem only. Get MDM4J for 5.5.34.46 and try it again.
Regards,
Mausam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Perhaps for future versions of the JAVA API more detailed error messages would be nice
for example: "API version differ from Server" instead of 0x8002000e
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Error 8002000e means "File failed a crc check".
I'd therefore start diagnosing by aligning the API and server versions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.