I've seen this error before: it usually happens when there's a mismatch in JRE versions being used. If MMS is running on JRE 1.5, you're client's gotta run on the same version. I don't know why this is, but its so.
You are right. I used the Java1.6 at the client side. After I changed it to Java1.5, It worked! Thanks a lot!