Hello Experts
I am getting the following error when trying to access Mincom Ellipse using the Java API and IBM CICS:
"CICS GATEWAY ERROR 'CCL6668E: Initial handshake flow failed"
I am not sure if I am using the correct connection parameters inside my Java code though. Please can you have a looke at the JAVA Code Extract below to see if I am using the correct format for the connection parameters?
Thanks and regards,
Brendon
JAVA Code Extract:
------------------
//Declarations
MimsSessionFactory sessionFactory = MimsSessionFactory.getMimsSessionFactory();
IMimsSession mySession = sessionFactory.getMimsSession("Cics");
mySession.setTracing();
MIMSBlock myBlock = new MIMSBlock();
MIMSRequest myRequest = myBlock.getRequests().create();
// Determine whether the session is connected, and if not, then connect
if (!mySession.isConnected()) {
try {
mySession.connect("servername.com:13100",13100, "USERNAME", "PASSWORD");
mySession.login"USERNAME", "PASSWORD","0001","");
}
catch (InterruptedIOException i) {
System.out.println("InterruptedIOException caught i=" + i.getMessage());
}
catch (IOException e) {
System.out.println("IOException caught e=" + e.getMessage());
}
catch (ServerException e) {
System.out.println("ServerException caught e=" + e.getMessage() + e.block + e.block.makeCbrBuffer(3));
}
/*
catch (MwareException e) {
System.out.println("MwareException caught e=" + e.getMessage() + e.block);
}
*/
catch (CBRException e) {
System.out.println("CBRException caught e=" + e.getMessage());
} }
I am getting the following error when trying to access Mincom Ellipse using the Java API and IBM CICS:
"CICS GATEWAY ERROR 'CCL6668E: Initial handshake flow failed"
I am not sure if I am using the correct connection parameters inside my Java code though. Please can you have a looke at the JAVA Code Extract below to see if I am using the correct format for the connection parameters?
Thanks and regards,
Brendon
JAVA Code Extract:
------------------
//Declarations
MimsSessionFactory sessionFactory = MimsSessionFactory.getMimsSessionFactory();
IMimsSession mySession = sessionFactory.getMimsSession("Cics");
mySession.setTracing();
MIMSBlock myBlock = new MIMSBlock();
MIMSRequest myRequest = myBlock.getRequests().create();
// Determine whether the session is connected, and if not, then connect
if (!mySession.isConnected()) {
try {
mySession.connect("servername.com:13100",13100, "USERNAME", "PASSWORD");
mySession.login"USERNAME", "PASSWORD","0001","");
}
catch (InterruptedIOException i) {
System.out.println("InterruptedIOException caught i=" + i.getMessage());
}
catch (IOException e) {
System.out.println("IOException caught e=" + e.getMessage());
}
catch (ServerException e) {
System.out.println("ServerException caught e=" + e.getMessage() + e.block + e.block.makeCbrBuffer(3));
}
/*
catch (MwareException e) {
System.out.println("MwareException caught e=" + e.getMessage() + e.block);
}
*/
catch (CBRException e) {
System.out.println("CBRException caught e=" + e.getMessage());
} }