I need to connect to IMS Connect through Java, using the IMS Connect API.
I've set up a Websphere with the TM Resource Adapter and deployed the IVP Project. It works like a charm.
Because we want to avoid Licensing for Websphere and Rational (which seems to be necessary if you want make proper Use of the Resource Adapter), I also tried out the plain Java IMS Connect API.
I followed the instructions here, and set up the Project and the Code.
The initial connection to the Host is working, but executing a command fails with an HWS0008E error code (see also: HWS0008E).
The reason for the error is an EOFException, the full stack trace being:
12.03.2015 11:36:36 com.ibm.ims.connect.impl.ConnectionImpl receive
SEVERE: IOException caught in Connection.receive(). Exception caught was: com.ibm.ims.connect.ImsConnectCommunicationException: HWS0008E: Failed to send or receive messages to and from IMS Connect hostName [host], portNumber [port]. Original error: [EOFException]
com.ibm.ims.connect.ImsConnectCommunicationException: HWS0008E: Failed to send or receive messages to and from IMS Connect hostName [host], portNumber [port]. Original error: [EOFException]
at com.ibm.ims.connect.impl.ConnectionImpl.receive(ConnectionImpl.java:1609)
at com.ibm.ims.connect.impl.TmInteractionImpl.execute(TmInteractionImpl.java:660)
at Main.main(Main.java:66)
What I have noticed is that in the settings for the Connection Factory I can set Username and Password, while the Connection asks for a "RACF" User.
My suspicion is that the Connect API does not support the type of Authentication (just plain host User and password) that we're using, but the Resource Adapter does.
Does anybody have any experience in this matter and can help me out with any tips or advice? Thanks in advance.