Unable to get idle session because the max allowable number of failed initializing Telnet sessions has been reached. : Connection id: -1

Document created by Nikita_nandakumar on Jun 18, 2015Last modified by vreddy on Mar 1, 2016
Version 2Show Document
  • View in full screen mode
An integration process running between Salesforce and QAD failed due to the following error :
ConnectionException: Unable to get idle session because the max allowable number of failed initializing Telnet sessions has been reached. : Connection id: -1
at com.qad.xmlengine.pools.ConnectionPool.getAnIdleSession(Unknown Source)
at com.qad.xmlengine.pools.ConnectionPool.getIdleSession(Unknown Source)
at com.qad.qxtend.adapters.APIProcessor.setProcessAgent(APIProcessor.java:1142)
at com.qad.qxtend.adapters.APIProcessor.processAPI(APIProcessor.java:321)
at com.qad.qxtend.adapters.QdocXMLAdapter.processTransaction(QdocXMLAdapter.java:59)
at com.qad.common.transaction.Routing.processRoutingTask(Unknown Source)
at com.qad.common.transaction.Routing.routeTransaction(Unknown Source)
at com.qad.common.transaction.Transaction.processSynchronousTransaction(Unknown Source)
at com.qad.common.transaction.TransactionManager.processSynchronousTransaction(Unknown Source)
at com.qad.qxtend.qdocs.QdocWebService.processQdocMessage(QdocWebService.java:188)
at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
QAD is a cloud ERP system. The error is returned from the QAD application and it occurs when the max session number setting is too low in Connection Manager or Telnet Maintenance.

 

Please check and verify the following :

 

1) Go to connection manager | Configuration parameters and check Maximum failures.The "Unable to get idle session" error will occur if Maximum Failures is set too low.

 

2) Go to Connection Manager | Functions | Update Configuration settings. Check the Minimum Connections and Maximum Connections settings. The Minimum Connections cannot be 0. The Maximum Connections is going to limit the maximum sessions that the system can handle (i.e 5 users opening 5 telnet sessions: Maximum Connections = 25.)

Attachments

    Outcomes