WebSphere MQ with zLinux

We have an existing J2EE application that uses WebSphere MQ to fetch data from IMS. The J2EE application sends the IMS transaction name to MQ, which retrieves the IMS data. The returned data is then analyzed for further processing.

We recently migrated the application to WebSphere 7. The application worked fine in a windowed window. However, when we ported the application to zLinux (Linux on System z), we were able to talk to IMS and the data was fed back from the IMS to the J2EE application. However, the parsing process throws an ArrayIndexOutofBoundsException.

The inputs are the same in both environments, and while the operating code is the same (same java assembly) there is a significant difference in behavior. Is this because the CharacterCodeSet is not accepted by the zLinux framework? We are using a hardcoded value for the CCSID from a J2EE application.

Is it because the zLinux environment does not support the existing CCSID, a different CCSID is required?

+2


source to share


1 answer


By the way, the answer to this question lies in the BIG ENDIAN / LITTLE ENDIAN problem. Linux presents little information about bytes bytes in a different way compared to AIX / windows fields. This caused the parsing to fail, meaning the piece of code that parsed the message returned from MQ successfully failed to parse it on Linux when the format was different.



0


source







All Articles