Hi Larry, did you read and follow the sequence documented here:https://www.ibm.com/docs/en/ims/14.1.0?topic=cci-sample-application-code??? 1. Create mcf = new IMSManagedConnectionFactory2. Use the setter methods3. IMSConnectionFactory icf = (IMSConnectionFactory)mcf.createConnectionFactory(); (if you dont create your own poolmgr instance)4. IMSConnectionSpec ics = new IMSConnectionSpec()5. Use the setter methods6. conn = icf.getConnection(ics); Hope it helps.
-----Original Message----- From: Larry Zhang <000003b304d39e8e-dmarc-requ...@listserv.ua.edu> To: IBM-MAIN@LISTSERV.UA.EDU Sent: Fri, Sep 10, 2021 4:35 am Subject: Re: IMS Resource Adaptor to ( IMS connect) Error -for ManagedConnectionFactory yes, I already went there, if you read it, this article helps me nothing; - IBM IMS - 14.1.0 FeedbackProduct list ICO0054E javax.resource.ResourceException: ICO0054E:methodname error. Invalid ConnectionSpec. Explanation The IMS TM resource adapter was unable to cast the provided connectionSpec for this connection to type IMSConnectionSpec. Although the Common Client Interface accepts a connectionSpec object for any supported connector, the IMS TM resource adapter works only with an IMSConnectionSpec or a derivative of IMSConnectionSpec as its connectionSpec. User response Ensure that the connectionSpec used by your application is an IMSConnectionSpec or inherits from IMSConnectionSpec.Parent topic:IMS TM resource adapter messages and exceptions On Thursday, September 9, 2021, 08:05:13 PM EDT, Sri h Kolusu <skol...@us.ibm.com> wrote: > ICO0054E: com.ibm.connector2.ims.ico.IMSConnectionFactory@2a5c2062.getConnection(ConnectionSpec) > error. Invalid ConnectionSpec. Larry zhang, Did you try to resolve the above error? https://www.ibm.com/docs/en/ims/14.1.0?topic=exceptions-ico0054e Thanks, Kolusu ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN