X Forwarding issue on Solaris 11

Hello All , Need assistance in finding out a solution for X Forwarding issue

IBM applications requires X Forwarding . Server X11 works fine when i try xclock but not this application . On a different server with the same OS it is working . Need inputs .

OS Version : Solaris 11 with updated patches .

Error

The program 'IBMIM' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 46 error_code 2 request_code 147 minor_code 4)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
The program 'IBMIM' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 46 error_code 2 request_code 147 minor_code 4)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Sorry, but no! This doesn't look like an "forwarding issue" at all. Haven't read the error message: "BadValue (integer parameter out of range for operation)"?

hmm, if the same program is working on another server my first supposition would be some detail: maybe it tries to use a wrong shared library because of a wrong "$LIBPATH" or something such? Check the environments of both the working and the non-working servers and see if you find any differences.

To narrow your target: have a look where the function gdk_x_error() comes from. Also, do as the error message suggested and run the program with the "--sync" option.

I hope this helps.

bakunin