ICO0056E   javax.resource.ResourceException:
ICO0056E:methodname error.
IMSConnectName is only valid for Local Option connections
which can only be used in z/OS or OS/390.

Explanation

Setting the IMSConnectName property of an IMSManagedConnectionFactory instance is required for managed connection factory to be used for Local Option connections. Also, you can use only Local Option to communicate with IMS™ Connect if the application that is using the IMS TM resource adapter is running on z/OS®. This exception indicates that you have specified a value for the IMSConnectName property but your application is not running on z/OS.

User response

Ensure that your application that is using the IMS TM resource adapter is running on z/OS. The Web application server where your application is running must be running in the same z/OS image as IMS Connect. If, for example, you plan to run your application on a workstation platform or if the Web server where you plan to run your application is on z/OS but in a different z/OS image from IMS Connect, ensure that the connection factory that is used by your application is set up to use TCP/IP communication.