Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CICS GATEWAY ERROR 'CCL6668E: Initial handshake failed

Status
Not open for further replies.

brendondb

Programmer
Nov 10, 2011
1
US
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());
} }
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top