[ BaseChannel:isConnected1 ] Broken pipe

102 views
Skip to first unread message

Pavan Kumar U

unread,
Feb 7, 2017, 8:55:01 AM2/7/17
to jPOS Users
Hi Guys,

i'm getting javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: java.net.SocketException: Broken pipe while Wallet Transaction with jpos Code.

for Reference i'm sharing logs.PFB


<isomsg direction="incoming">
  <!-- org.unipay.iso.packager.ISO87BINNOPackager -->
  <header>6009990000</header>
  <field id="0" value="0200"/>
  <field id="3" value="100000"/>
  <field id="4" value="000000000100"/>
  <field id="11" value="000004"/>
  <field id="12" value="173948"/>
  <field id="13" value="0201"/>
  <field id="34" value="0026076428"/>
  <field id="41" value="00580001"/>
  <field id="45" value=" "/>
  <field id="60" value="0000000000"/>
  <field id="61" value=" "/>
  <field id="62" value="8860532795"/>
  <field id="63" value="INN70_DESK - 2.2.1"/>
</isomsg>
2017-02-01 17:39:49.774  INFO [ DbConnection:createCfgDbConnection:73 ] Present Config Request Sessions Count : 1HikariProxyConnection@894182718 wrapping com.mysql.jdbc.JDBC4Connection@1bf5df6a - Thread.activeCount() : 1
2017-02-01 17:39:49.775  INFO [ DbConnection:createTxnDbConnection:97 ] Present Txn Request Sessions Count : -6HikariProxyConnection@438379720 wrapping com.mysql.jdbc.JDBC4Connection@6f6c1fb0 - Thread.activeCount() : 1
2017-02-01 17:39:49.787  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 201 - Thread.activeCount() : 2
2017-02-01 17:39:49.791 1921681350058000120170201173949775 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:49.793 1921681350058000120170201173949775 INFO [ UnipayTerminalDao:getUnipayTerminalLookupDetails:80 ] Unipay Terminal lookup Details Query  :HikariProxyPreparedStatement@285266576 wrapping com.mysql.jdbc.JDBC4PreparedStatement@61149fb3: SELECT isethernet,isgprs,isbluetooth,is_dialup,ispc_lan,is_ssl,primary_configuration_ip,primary_configuration_port,secondary_configuration_ip,secondary_configuration_port,primary_transaction_ip,primary_transaction_port,secondary_transaction_ip,secondary_transaction_port,primary_nii,secondary_nii,apn,username,password,primary_nac,secondary_nac,isRemoteDownloadEnable,softwareversion,ftp_detail_id,remote_download_time_window FROM  unipay_terminal_lookup where utid = '00580001'
2017-02-01 17:39:49.795 1921681350058000120170201173949775 INFO [ UnipayTerminalDao:updateTerminalInnoStanNumber:27 ] stan no : 000004
2017-02-01 17:39:49.798  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 202 - Thread.activeCount() : 2
2017-02-01 17:39:49.800 1921681350058000120170201173949775 INFO [ UTIDStateProccessor:checkUtidStateInCi:54 ] UTID : 00580001 InputRequestType: SALEcurrent State: ACTIVE
2017-02-01 17:39:49.800 1921681350058000120170201173949775 ERROR [ ElapsedTimeDao:insertElapsedTime:47 ] unknown exception
2017-02-01 17:39:49.800 1921681350058000120170201173949775 ERROR [ ElapsedTimeDao:insertElapsedTime ] 1
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
         org.unipay.dao.utils.ElapsedTimeDao.insertElapsedTime(ElapsedTimeDao.java:22)
         org.unipay.transaction.state.ClientInputStateProcessor.clientInputStateProcessor(ClientInputStateProcessor.java:68)
         org.unipay.transaction.processor.TransactionProcessor.transactionProcessor(TransactionProcessor.java:50)
         org.unipay.iso.listener.UnipayQEMIRequestListener.process(UnipayQEMIRequestListener.java:47)
         org.jpos.iso.ISOServer$Session.run(ISOServer.java:160)
         org.jpos.util.ThreadPool$PooledThread.run(ThreadPool.java:72)
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
2017-02-01 17:39:49.800 1921681350058000120170201173949775 INFO [ TransactionUtils:txnProcessingState:692 ]  BtidSettlementDetailsFlag : false
2017-02-01 17:39:49.802 1921681350058000120170201173949775 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:49.804 1921681350058000120170201173949775 INFO [ SaleProcessor:doCiSaleProcessor:62 ]  InnoInvoice : 0
2017-02-01 17:39:49.804 1921681350058000120170201173949775 WARN [ SaleProcessor:doCiSaleProcessor:72 ] getCiUnipayField_32 is null
2017-02-01 17:39:49.805 1921681350058000120170201173949775 INFO [ TransactionProcessDao:updateTransactionStatus:500 ] Transaction State :: CI, transaction status to be updated :: 00011111
2017-02-01 17:39:49.809  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 203 - Thread.activeCount() : 2
2017-02-01 17:39:49.809 1921681350058000120170201173949775 INFO [ TransactionProcessDao:updateTransactionStatus:517 ] transaction status updated success :: 00011111
2017-02-01 17:39:49.809 1921681350058000120170201173949775 INFO [ BankInputStateProcessor:bankInputStateProcessor:26 ]  isOfflineTxn : false
2017-02-01 17:39:49.810 1921681350058000120170201173949775 INFO [ BankInputStateProcessor:bankInputStateProcessor:29 ] processing code : 100000 Ci Request Type : SALEIsDr : false
2017-02-01 17:39:49.810 1921681350058000120170201173949775 INFO [ BankTerminalDao:getBankTerminalDetails:34 ] bankid :: 29 :: utid :: 00580001
2017-02-01 17:39:49.811 1921681350058000120170201173949775 INFO [ BankTerminalDao:getTransactionBankTerminalDetails:172 ] bankid :: 29 :: utid :: 00580001
2017-02-01 17:39:49.812 1921681350058000120170201173949775 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:49.816 1921681350058000120170201173949775 INFO [ BankTerminalDao:insertTxnBankTerminalDetails:993 ]   1 rows inserted successfully in txn bank terminal table when added dynamically
2017-02-01 17:39:49.817 1921681350058000120170201173949775 INFO [ BtidStateProccessor:checkBtidStateInBi:111 ] btidStateValue : ACTIVE
2017-02-01 17:39:49.818 1921681350058000120170201173949775 INFO [ AcquiringBankDao:getBankNameFromId:20 ] bankId: 29
2017-02-01 17:39:49.819  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 204 - Thread.activeCount() : 2
2017-02-01 17:39:49.820 1921681350058000120170201173949775 INFO [ TransactionProcessDao:updateTxnBankInput:346 ] Bank Input Stan No :: 000001
2017-02-01 17:39:49.823 1921681350058000120170201173949775 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:49.824 1921681350058000120170201173949775 INFO [ BankInputStateProcessor:bankInputStateProcessor:76 ] isOfflineTxn : false
2017-02-01 17:39:49.825 1921681350058000120170201173949775 INFO [ TransactionProcessDao:updateTransactionStatus:500 ] Transaction State :: BI, transaction status to be updated :: 00000111
2017-02-01 17:39:49.828 1921681350058000120170201173949775 INFO [ TransactionProcessDao:updateTransactionStatus:517 ] transaction status updated success :: 00000111
2017-02-01 17:39:49.828 1921681350058000120170201173949775 INFO [ BankOutputStateProcessor:bankOutputStateProcessor:24 ]  isOffline : false
2017-02-01 17:39:49.828 1921681350058000120170201173949775 INFO [ BankOutputStateProcessor:bankOutputStateProcessor:25 ]  Ci Request Type : SALE IsDr : false
2017-02-01 17:39:49.830  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 205 - Thread.activeCount() : 2
2017-02-01 17:39:49.833 1921681350058000120170201173949775 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:49.834 1921681350058000120170201173949775 INFO [ FreeChargeUtils:generateCheckSumKey:20 ] generateCheckSumKey:salt : ********, mid: 1, terminalId : FR580001, transactionRefNumber: 1921681350058000120170201173949775
2017-02-01 17:39:49.835 1921681350058000120170201173949775 INFO [ FreeChargeServerConnection:createHttpsUrlConnection:22 ] createHttpsUrlConnection:Try to convert request Java object to JSON resquest :org.unipay.wallet.freecharge.model.FreeChargeWalletPayRequest@4cb23b1c
2017-02-01 17:39:49.841  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 206 - Thread.activeCount() : 2
2017-02-01 17:39:49.845 1921681350058000120170201173949775 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:49.851  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 207 - Thread.activeCount() : 2
2017-02-01 17:39:49.852 1921681350058000120170201173949775 ERROR [ BookKeeper:copyTransactionDataToSecondaryDB:218 ] Exception :: Duplicate entry '00580001-FR580001' for key 'PRIMARY'
2017-02-01 17:39:49.852 1921681350058000120170201173949775 ERROR [ BookKeeper:copyTransactionDataToSecondaryDB ] Duplicate entry '00580001-FR580001' for key 'PRIMARY'
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
         sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
         sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
         java.lang.reflect.Constructor.newInstance(Constructor.java:526)
         com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
         com.mysql.jdbc.Util.getInstance(Util.java:386)
         com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
         com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597)
         com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529)
         com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990)
         com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151)
         com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625)
         com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)
         com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2415)
         com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2333)
         com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2318)
         org.unipay.utils.BookKeeper.copyTransactionDataToSecondaryDB(BookKeeper.java:216)
         org.unipay.utils.BookKeeper.run(BookKeeper.java:94)
         java.lang.Thread.run(Thread.java:745)
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
2017-02-01 17:39:49.853 1921681350058000120170201173949775 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 0
2017-02-01 17:39:49.859  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 208 - Thread.activeCount() : 2
2017-02-01 17:39:49.863 1921681350058000120170201173949775 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:49.870  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 209 - Thread.activeCount() : 2
2017-02-01 17:39:49.873 1921681350058000120170201173949775 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:49.882 1921681350058000120170201173949775 INFO [ FreeChargeServerConnection:createHttpsUrlConnection:26 ] createHttpsUrlConnection:Converted Java object to JSON request : {"merchantID":"1","terminalID":"FR580001","platformId":"WB8qmHJoQBrN","transactionRefNumber":"1921681350058000120170201173949775","walletID":"8860532795","txnAmount":"000000000100","txnDatenTime":"01022017173949","ProcCode":"10","authToken":"6dfc30b2c3bc06a57165c4d4a22d41a6a8f20a8813f133d136648e73a522da05","additionalInfo":[{"Tag":"123","Value":"xyz"},{"Tag":"456","Value":"zyx"}]}
2017-02-01 17:39:49.886 1921681350058000120170201173949775 INFO [ FreeChargeServerConnection:createHttpsUrlConnection:34 ] createHttpsUrlConnection:getMethod() : POST https://stg-posservice.snapdeal.com:443/v0/pos/walletpay
2017-02-01 17:39:53.660 1921681350058000120170201173949775 INFO [ FreeChargeServerConnection:createHttpsUrlConnection:38 ] createHttpsUrlConnection:Response received from FreeCharge and response status code : 200
2017-02-01 17:39:53.689 1921681350058000120170201173949775 INFO [ FreeChargeServerConnection:createHttpsUrlConnection:42 ] createHttpsUrlConnection:Response received from FreeCharge  and JSON response {"responseCode":"00","responseDescription":"Success","txnId":100001000002223,"txnAmount":null,"additionalInfo":null}
2017-02-01 17:39:53.689 1921681350058000120170201173949775 INFO [ FreeChargeServerConnection:createHttpsUrlConnection:44 ] createHttpsUrlConnection:createHttpsUrlConnection:Try to convert http JSON response to Java object
2017-02-01 17:39:53.693 1921681350058000120170201173949775 INFO [ FreeChargeServerConnection:createHttpsUrlConnection:46 ] createHttpsUrlConnection:createHttpsUrlConnection:Converted http JSON response to Java object : org.unipay.wallet.freecharge.model.FreeChargeWalletPayResponse@30aa119a
2017-02-01 17:39:53.694 1921681350058000120170201173949775 INFO [ FreeChargeTransactionProcessor:processFreeChargeWalletPayTxn:75 ] processFreeChargeWalletPayTxn:getResponseObj :org.unipay.wallet.freecharge.model.FreeChargeWalletPayResponse@30aa119a
2017-02-01 17:39:53.694 1921681350058000120170201173949775 INFO [ FreeChargeUtils:getResponseFromFreeChargeServer:46 ] getResponseFromFreeChargeServer:transactionRefNumber : 1921681350058000120170201173949775 ,getResponseObjorg.unipay.wallet.freecharge.model.FreeChargeWalletPayResponse@30aa119a
2017-02-01 17:39:53.694 1921681350058000120170201173949775 INFO [ FreeChargeTransactionProcessor:processFreeChargeWalletPayTxn:78 ] fCWalletPayResponse :-->00
2017-02-01 17:39:53.694 1921681350058000120170201173949775 INFO [ FreeChargeTransactionProcessor:processFreeChargeWalletPayTxn:79 ] fCWalletPayResponse :-->null
2017-02-01 17:39:53.695 1921681350058000120170201173949775 INFO [ FreeChargeSaleTransaction:doBOFCSaleTransaction:64 ] Success 00
2017-02-01 17:39:53.695 1921681350058000120170201173949775 INFO [ BankTerminalDao:increaseStanNumber:354 ] BTID : FR580001
2017-02-01 17:39:53.695 1921681350058000120170201173949775 INFO [ BankTerminalDao:increaseStanNumber:358 ] increased stan number :: 000001
2017-02-01 17:39:53.701 1921681350058000120170201173949775 INFO [ TransactionProcessDao:updateWalletTxnBankOutput:1182 ] Bank Output Stan No :: 000001
2017-02-01 17:39:53.706 1921681350058000120170201173949775 INFO [ BankOutputStateProcessor:bankOutputStateProcessor:66 ] isOfflineTxn : false
2017-02-01 17:39:53.706 1921681350058000120170201173949775 INFO [ TransactionProcessDao:updateTransactionStatus:500 ] Transaction State :: BO, transaction status to be updated :: 00000001
2017-02-01 17:39:53.708  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 210 - Thread.activeCount() : 2
2017-02-01 17:39:53.710 1921681350058000120170201173949775 INFO [ TransactionProcessDao:updateTransactionStatus:517 ] transaction status updated success :: 00000001
2017-02-01 17:39:53.710 1921681350058000120170201173949775 INFO [ ClientOutputStateProcessor:clientOutputStateProcessor:32 ] isOffline : false
2017-02-01 17:39:53.711 1921681350058000120170201173949775 INFO [ BankTerminalDao:increaseInvoiceNumber:412 ] increased invoice number :: 2
2017-02-01 17:39:53.712 1921681350058000120170201173949775 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:53.715 1921681350058000120170201173949775 INFO [ COValidationUtil:saleSuccessPacketToPos:120 ] saleSuccessPacketToPos
2017-02-01 17:39:53.717 1921681350058000120170201173949775 INFO [ COValidationUtil:setTxnClientOutput:44 ] isOfflineTxn : false
2017-02-01 17:39:53.718 1921681350058000120170201173949775 INFO [ TransactionProcessDao:updateTxnClientOutput:284 ] Offline index value null
2017-02-01 17:39:53.723  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 211 - Thread.activeCount() : 2
2017-02-01 17:39:53.723 1921681350058000120170201173949775 INFO [ BankTerminalDao:updateBtidState:456 ] btidState: ACTIVE
2017-02-01 17:39:53.723 1921681350058000120170201173949775 INFO [ BankTerminalDao:updateBtidState:457 ] input request type: SALE
2017-02-01 17:39:53.723 1921681350058000120170201173949775 INFO [ BankTerminalDao:updateBtidState:458 ] is offline txn: false
2017-02-01 17:39:53.724 1921681350058000120170201173949775 INFO [ BankTerminalDao:updateBtidState:469 ] TotalSaleCount: 0TotalSaleAmount: 0TotalRefundCount: 0TotalRefundAmount: 0
2017-02-01 17:39:53.724 1921681350058000120170201173949775 INFO [ BankTerminalDao:updateBtidState:473 ] query::::: update txn_bank_terminal set tot_sale_count= ? , tot_sale_amount= ?,tot_refund_count= ? , tot_refund_amount= ?,btid_state= ?,reversal_prim_id=?, offline_received=?,offline_complete=?,issettled=? where btid= ? and utid=?
2017-02-01 17:39:53.728 1921681350058000120170201173949775 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:53.728 1921681350058000120170201173949775 INFO [ BankTerminalDao:updateBtidState:550 ] updated success
2017-02-01 17:39:53.730 1921681350058000120170201173949775 INFO [ TransactionProcessDao:updateTransactionStatus:500 ] Transaction State :: CO, transaction status to be updated :: 00000000
2017-02-01 17:39:53.734 1921681350058000120170201173949775 INFO [ TransactionProcessDao:updateTransactionStatus:517 ] transaction status updated success :: 00000000
2017-02-01 17:39:53.735 1921681350058000120170201173949775 INFO [ UnipayTerminalDao:updateUtidStateForCO:238 ] utidState to be updated to :: ACTIVE
2017-02-01 17:39:53.736  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 212 - Thread.activeCount() : 2
2017-02-01 17:39:53.737 1921681350058000120170201173949775 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:53.742 1921681350058000120170201173949775 INFO [ TransactionUtils:checkPendingOfflineTxnsAndClear:297 ] !transactionProcess.isOfflineTxn() true
2017-02-01 17:39:53.743 1921681350058000120170201173949775 WARN [ TransactionUtils:checkPendingOfflineTxnsAndClear:306 ] Offline Recieved and Offline Count are same 0
2017-02-01 17:39:53.743 PooledThread-0 INFO [ BaseChannel:send:701 ] Channel message :org.jpos.iso.channel.NCCChannel
2017-02-01 17:39:53.744 PooledThread-0 INFO [ BaseChannel:isConnected1:311 ] Header: [B@112c5095
2017-02-01 17:39:53.744 PooledThread-0 INFO [ BaseChannel:isConnected1:318 ] performing handshake..........
2017-02-01 17:39:53.745  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 213 - Thread.activeCount() : 2
2017-02-01 17:39:53.749 1921681350058000120170201173949775 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:53.756 PooledThread-0 INFO [ BaseChannel:isConnected1:347 ] OK
2017-02-01 17:39:53.756 PooledThread-0 INFO [ BaseChannel:send:716 ] packetLenght : 213
2017-02-01 17:39:53.757 PooledThread-0 INFO [ BaseChannel:send:753 ] message length : 220
<isomsg direction="outgoing">
  <!-- org.unipay.iso.packager.ISO87BINNOPackager -->
  <header>6000000999</header>
  <field id="0" value="0210"/>
  <field id="3" value="100000"/>
  <field id="4" value="000000000100"/>
  <field id="7" value="000001"/>
  <field id="8" value="000001"/>
  <field id="9" value="FR580001"/>
  <field id="10" value="WALLET"/>
  <field id="11" value="000004"/>
  <field id="12" value="173949"/>
  <field id="13" value="0102"/>
  <field id="15" value="000001"/>
  <field id="19" value="00"/>
  <field id="39" value="00"/>
  <field id="41" value="00580001"/>
  <field id="42" value="1"/>
  <field id="45" value="1921681350058000120170201173949775"/>
  <field id="49" value="29"/>
  <field id="58" value="#00580001:0:0:0:00:00#FR580001:000001:2:1:00:29"/>
  <field id="59" value="0"/>
  <field id="60" value="100001000002223"/>
  <field id="61" value=" "/>
  <field id="62" value="8860532795"/>
  <field id="63" value="FREECHARGE"/>
</isomsg>
2017-02-01 17:39:53.758  INFO [ DbConnection:closeCfgDBConnection:212 ] Session Count While Closing DB Connection : 0 - Thread activeCount : 1
2017-02-01 17:39:53.759  INFO [ DbConnection:closeTxnDBConnection:219 ] Session Count While Closing DB Connection : -7 - Thread activeCount : 1
2017-02-01 17:39:53.761  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 214 - Thread.activeCount() : 2
2017-02-01 17:39:53.764 1921681350058000120170201173949775 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:53.771  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 215 - Thread.activeCount() : 2
2017-02-01 17:39:53.775 1921681350058000120170201173949775 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
<peer-disconnect/>
2017-02-01 17:39:53.782  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 216 - Thread.activeCount() : 2
2017-02-01 17:39:53.786 1921681350058000120170201173949775 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:53.794  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 217 - Thread.activeCount() : 2
2017-02-01 17:39:53.798 1921681350058000120170201173949775 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:53.806  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 218 - Thread.activeCount() : 2
2017-02-01 17:39:53.810 1921681350058000120170201173949775 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:56.826 PooledThread-0 INFO [ BaseChannel:receive:914 ] network Channel type of incoming :org.jpos.iso.channel.NCCChannel
<isomsg direction="incoming">
  <!-- org.unipay.iso.packager.ISO87BINNOPackager -->
  <header>6009990000</header>
  <field id="0" value="0200"/>
  <field id="3" value="100100"/>
  <field id="4" value="000000000100"/>
  <field id="11" value="000005"/>
  <field id="12" value="173955"/>
  <field id="13" value="0201"/>
  <field id="34" value="0026076428"/>
  <field id="41" value="00580001"/>
  <field id="45" value="1921681350058000120170201173949775"/>
  <field id="60" value="175033,0"/>
  <field id="61" value="1234"/>
  <field id="62" value="8860532795"/>
  <field id="63" value="INN70_DESK - 2.2.1"/>
</isomsg>
2017-02-01 17:39:56.828  INFO [ DbConnection:createCfgDbConnection:73 ] Present Config Request Sessions Count : 1HikariProxyConnection@1549178601 wrapping com.mysql.jdbc.JDBC4Connection@1bf5df6a - Thread.activeCount() : 1
2017-02-01 17:39:56.829  INFO [ DbConnection:createTxnDbConnection:97 ] Present Txn Request Sessions Count : -7HikariProxyConnection@953010779 wrapping com.mysql.jdbc.JDBC4Connection@6f6c1fb0 - Thread.activeCount() : 1
2017-02-01 17:39:56.841  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 219 - Thread.activeCount() : 2
2017-02-01 17:39:56.845 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:56.848 1921681350058000120170201173956829 INFO [ UnipayTerminalDao:getUnipayTerminalLookupDetails:80 ] Unipay Terminal lookup Details Query  :HikariProxyPreparedStatement@988694315 wrapping com.mysql.jdbc.JDBC4PreparedStatement@7e233adf: SELECT isethernet,isgprs,isbluetooth,is_dialup,ispc_lan,is_ssl,primary_configuration_ip,primary_configuration_port,secondary_configuration_ip,secondary_configuration_port,primary_transaction_ip,primary_transaction_port,secondary_transaction_ip,secondary_transaction_port,primary_nii,secondary_nii,apn,username,password,primary_nac,secondary_nac,isRemoteDownloadEnable,softwareversion,ftp_detail_id,remote_download_time_window FROM  unipay_terminal_lookup where utid = '00580001'
2017-02-01 17:39:56.851 1921681350058000120170201173956829 INFO [ UnipayTerminalDao:updateTerminalInnoStanNumber:27 ] stan no : 000005
2017-02-01 17:39:56.854  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 220 - Thread.activeCount() : 2
2017-02-01 17:39:56.857 1921681350058000120170201173956829 INFO [ UTIDStateProccessor:checkUtidStateInCi:54 ] UTID : 00580001 InputRequestType: SALEcurrent State: ACTIVE
2017-02-01 17:39:56.859 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:56.862 1921681350058000120170201173956829 INFO [ ElapsedTimeDao:insertElapsedTime:38 ] insertElapsedTime : Rows Updated 1
2017-02-01 17:39:56.862 1921681350058000120170201173956829 INFO [ TransactionUtils:txnProcessingState:692 ]  BtidSettlementDetailsFlag : false
2017-02-01 17:39:56.867  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 221 - Thread.activeCount() : 2
2017-02-01 17:39:56.867 1921681350058000120170201173956829 INFO [ SaleProcessor:doCiSaleProcessor:62 ]  InnoInvoice : 000001
2017-02-01 17:39:56.868 1921681350058000120170201173956829 WARN [ SaleProcessor:doCiSaleProcessor:72 ] getCiUnipayField_32 is null
2017-02-01 17:39:56.868 1921681350058000120170201173956829 INFO [ TransactionProcessDao:updateTransactionStatus:500 ] Transaction State :: CI, transaction status to be updated :: 00011111
2017-02-01 17:39:56.872 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:56.873 1921681350058000120170201173956829 INFO [ TransactionProcessDao:updateTransactionStatus:517 ] transaction status updated success :: 00011111
2017-02-01 17:39:56.874 1921681350058000120170201173956829 INFO [ BankInputStateProcessor:bankInputStateProcessor:26 ]  isOfflineTxn : false
2017-02-01 17:39:56.874 1921681350058000120170201173956829 INFO [ BankInputStateProcessor:bankInputStateProcessor:29 ] processing code : 100100 Ci Request Type : SALEIsDr : false
2017-02-01 17:39:56.874 1921681350058000120170201173956829 INFO [ BankTerminalDao:getBankTerminalDetails:34 ] bankid :: 29 :: utid :: 00580001
2017-02-01 17:39:56.876 1921681350058000120170201173956829 INFO [ BankTerminalDao:getTransactionBankTerminalDetails:172 ] bankid :: 29 :: utid :: 00580001
2017-02-01 17:39:56.877 1921681350058000120170201173956829 INFO [ BtidStateProccessor:checkBtidStateInBi:111 ] btidStateValue : ACTIVE
2017-02-01 17:39:56.877 1921681350058000120170201173956829 INFO [ AcquiringBankDao:getBankNameFromId:20 ] bankId: 29
2017-02-01 17:39:56.879 1921681350058000120170201173956829 INFO [ TransactionProcessDao:updateTxnBankInput:346 ] Bank Input Stan No :: 000002
2017-02-01 17:39:56.880  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 222 - Thread.activeCount() : 2
2017-02-01 17:39:56.884 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:56.890 1921681350058000120170201173956829 INFO [ BankInputStateProcessor:bankInputStateProcessor:76 ] isOfflineTxn : false
2017-02-01 17:39:56.890 1921681350058000120170201173956829 INFO [ TransactionProcessDao:updateTransactionStatus:500 ] Transaction State :: BI, transaction status to be updated :: 00000111
2017-02-01 17:39:56.892  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 223 - Thread.activeCount() : 2
2017-02-01 17:39:56.894 1921681350058000120170201173956829 INFO [ TransactionProcessDao:updateTransactionStatus:517 ] transaction status updated success :: 00000111
2017-02-01 17:39:56.895 1921681350058000120170201173956829 INFO [ BankOutputStateProcessor:bankOutputStateProcessor:24 ]  isOffline : false
2017-02-01 17:39:56.895 1921681350058000120170201173956829 INFO [ BankOutputStateProcessor:bankOutputStateProcessor:25 ]  Ci Request Type : SALE IsDr : false
2017-02-01 17:39:56.896 1921681350058000120170201173956829 INFO [ FreeChargeUtils:generateCheckSumKey:20 ] generateCheckSumKey:salt : ********, mid: 1, terminalId : FR580001, transactionRefNumber: 1921681350058000120170201173949775
2017-02-01 17:39:56.896 1921681350058000120170201173956829 INFO [ FreeChargeServerConnection:createHttpsUrlConnection:22 ] createHttpsUrlConnection:Try to convert request Java object to JSON resquest :org.unipay.wallet.freecharge.model.FreeChargeWalletPayRequest@652ef96e
2017-02-01 17:39:56.896 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:56.897 1921681350058000120170201173956829 INFO [ FreeChargeServerConnection:createHttpsUrlConnection:26 ] createHttpsUrlConnection:Converted Java object to JSON request : {"merchantID":"1","terminalID":"FR580001","platformId":"WB8qmHJoQBrN","transactionRefNumber":"1921681350058000120170201173949775","walletID":"8860532795","OTP":"1234","txnAmount":"000000000100","txnDatenTime":"01022017173956","ProcCode":"10","authToken":"6dfc30b2c3bc06a57165c4d4a22d41a6a8f20a8813f133d136648e73a522da05","additionalInfo":[{"Tag":"123","Value":"xyz"},{"Tag":"456","Value":"zyx"}]}
2017-02-01 17:39:56.898 1921681350058000120170201173956829 INFO [ FreeChargeServerConnection:createHttpsUrlConnection:34 ] createHttpsUrlConnection:getMethod() : POST https://stg-posservice.snapdeal.com:443/v0/pos/walletpay
2017-02-01 17:39:56.903  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 224 - Thread.activeCount() : 2
2017-02-01 17:39:56.907 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:56.914  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 225 - Thread.activeCount() : 2
2017-02-01 17:39:56.918 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:56.926  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 226 - Thread.activeCount() : 2
2017-02-01 17:39:56.931 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:39:56.938  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 227 - Thread.activeCount() : 2
2017-02-01 17:39:56.941 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:40:04.679 1921681350058000120170201173956829 INFO [ FreeChargeServerConnection:createHttpsUrlConnection:38 ] createHttpsUrlConnection:Response received from FreeCharge and response status code : 200
2017-02-01 17:40:04.679 1921681350058000120170201173956829 INFO [ FreeChargeServerConnection:createHttpsUrlConnection:42 ] createHttpsUrlConnection:Response received from FreeCharge  and JSON response {"responseCode":"00","responseDescription":"Success","txnId":100001000002224,"txnAmount":0,"additionalInfo":null}
2017-02-01 17:40:04.679 1921681350058000120170201173956829 INFO [ FreeChargeServerConnection:createHttpsUrlConnection:44 ] createHttpsUrlConnection:createHttpsUrlConnection:Try to convert http JSON response to Java object
2017-02-01 17:40:04.680 1921681350058000120170201173956829 INFO [ FreeChargeServerConnection:createHttpsUrlConnection:46 ] createHttpsUrlConnection:createHttpsUrlConnection:Converted http JSON response to Java object : org.unipay.wallet.freecharge.model.FreeChargeWalletPayResponse@fc6c742
2017-02-01 17:40:04.680 1921681350058000120170201173956829 INFO [ FreeChargeTransactionProcessor:processFreeChargeWalletPayTxn:75 ] processFreeChargeWalletPayTxn:getResponseObj :org.unipay.wallet.freecharge.model.FreeChargeWalletPayResponse@fc6c742
2017-02-01 17:40:04.680 1921681350058000120170201173956829 INFO [ FreeChargeUtils:getResponseFromFreeChargeServer:46 ] getResponseFromFreeChargeServer:transactionRefNumber : 1921681350058000120170201173949775 ,getResponseObjorg.unipay.wallet.freecharge.model.FreeChargeWalletPayResponse@fc6c742
2017-02-01 17:40:04.681 1921681350058000120170201173956829 INFO [ FreeChargeTransactionProcessor:processFreeChargeWalletPayTxn:78 ] fCWalletPayResponse :-->00
2017-02-01 17:40:04.681 1921681350058000120170201173956829 INFO [ FreeChargeTransactionProcessor:processFreeChargeWalletPayTxn:79 ] fCWalletPayResponse :-->null
2017-02-01 17:40:04.681 1921681350058000120170201173956829 INFO [ FreeChargeSaleTransaction:doBOFCSaleTransaction:64 ] Success 00
2017-02-01 17:40:04.681 1921681350058000120170201173956829 INFO [ BankTerminalDao:increaseStanNumber:354 ] BTID : FR580001
2017-02-01 17:40:04.681 1921681350058000120170201173956829 INFO [ BankTerminalDao:increaseStanNumber:358 ] increased stan number :: 000002
2017-02-01 17:40:04.685 1921681350058000120170201173956829 INFO [ TransactionProcessDao:updateWalletTxnBankOutput:1182 ] Bank Output Stan No :: 000002
2017-02-01 17:40:04.690 1921681350058000120170201173956829 INFO [ TransactionUtils:setTotalSaleCountAndAmount:39 ] Txn RequestType :SALE
2017-02-01 17:40:04.690 1921681350058000120170201173956829 INFO [ TransactionUtils:setTotalSaleCountAndAmount:46 ] Sale
2017-02-01 17:40:04.690 1921681350058000120170201173956829 INFO [ TransactionUtils:setTotalSaleCountAndAmount:94 ] actualAmount 0 , requestAmount 100
2017-02-01 17:40:04.690 1921681350058000120170201173956829 INFO [ TransactionUtils:setTotalSaleCountAndAmount:95 ] totalSaleCount : 1, totalSaleAmt : 100
2017-02-01 17:40:04.690 1921681350058000120170201173956829 INFO [ BankOutputStateProcessor:bankOutputStateProcessor:66 ] isOfflineTxn : false
2017-02-01 17:40:04.691 1921681350058000120170201173956829 INFO [ TransactionProcessDao:updateTransactionStatus:500 ] Transaction State :: BO, transaction status to be updated :: 00000001
2017-02-01 17:40:04.693  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 228 - Thread.activeCount() : 2
2017-02-01 17:40:04.695 1921681350058000120170201173956829 INFO [ TransactionProcessDao:updateTransactionStatus:517 ] transaction status updated success :: 00000001
2017-02-01 17:40:04.695 1921681350058000120170201173956829 INFO [ ClientOutputStateProcessor:clientOutputStateProcessor:32 ] isOffline : false
2017-02-01 17:40:04.696 1921681350058000120170201173956829 INFO [ BankTerminalDao:increaseInvoiceNumber:412 ] increased invoice number :: 3
2017-02-01 17:40:04.697 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:40:04.699 1921681350058000120170201173956829 INFO [ COValidationUtil:saleSuccessPacketToPos:120 ] saleSuccessPacketToPos
2017-02-01 17:40:04.701 1921681350058000120170201173956829 INFO [ COValidationUtil:setTxnClientOutput:44 ] isOfflineTxn : false
2017-02-01 17:40:04.702 1921681350058000120170201173956829 INFO [ TransactionProcessDao:updateTxnClientOutput:284 ] Offline index value null
2017-02-01 17:40:04.706 1921681350058000120170201173956829 INFO [ BankTerminalDao:updateBtidState:456 ] btidState: ACTIVE
2017-02-01 17:40:04.706 1921681350058000120170201173956829 INFO [ BankTerminalDao:updateBtidState:457 ] input request type: SALE
2017-02-01 17:40:04.707 1921681350058000120170201173956829 INFO [ BankTerminalDao:updateBtidState:458 ] is offline txn: false
2017-02-01 17:40:04.707 1921681350058000120170201173956829 INFO [ BankTerminalDao:updateBtidState:469 ] TotalSaleCount: 1TotalSaleAmount: 100TotalRefundCount: 0TotalRefundAmount: 0
2017-02-01 17:40:04.707 1921681350058000120170201173956829 INFO [ BankTerminalDao:updateBtidState:473 ] query::::: update txn_bank_terminal set tot_sale_count= ? , tot_sale_amount= ?,tot_refund_count= ? , tot_refund_amount= ?,btid_state= ?,reversal_prim_id=?, offline_received=?,offline_complete=?,issettled=? where btid= ? and utid=?
2017-02-01 17:40:04.709  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 229 - Thread.activeCount() : 2
2017-02-01 17:40:04.711 1921681350058000120170201173956829 INFO [ BankTerminalDao:updateBtidState:550 ] updated success
2017-02-01 17:40:04.712 1921681350058000120170201173956829 INFO [ TransactionProcessDao:updateTransactionStatus:500 ] Transaction State :: CO, transaction status to be updated :: 00000000
2017-02-01 17:40:04.713 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:40:04.716 1921681350058000120170201173956829 INFO [ TransactionProcessDao:updateTransactionStatus:517 ] transaction status updated success :: 00000000
2017-02-01 17:40:04.716 1921681350058000120170201173956829 INFO [ UnipayTerminalDao:updateUtidStateForCO:238 ] utidState to be updated to :: ACTIVE
2017-02-01 17:40:04.720  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 230 - Thread.activeCount() : 2
2017-02-01 17:40:04.721 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:40:04.723 1921681350058000120170201173956829 INFO [ TransactionUtils:checkPendingOfflineTxnsAndClear:297 ] !transactionProcess.isOfflineTxn() true
2017-02-01 17:40:04.723 1921681350058000120170201173956829 WARN [ TransactionUtils:checkPendingOfflineTxnsAndClear:306 ] Offline Recieved and Offline Count are same 0
2017-02-01 17:40:04.723 PooledThread-0 INFO [ BaseChannel:send:701 ] Channel message :org.jpos.iso.channel.NCCChannel
2017-02-01 17:40:04.723 PooledThread-0 INFO [ BaseChannel:isConnected1:311 ] Header: [B@112c5095
2017-02-01 17:40:04.723 PooledThread-0 INFO [ BaseChannel:isConnected1:318 ] performing handshake..........
2017-02-01 17:40:04.724 PooledThread-0 ERROR [ BaseChannel:isConnected1 ] Broken pipe
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
         java.net.SocketOutputStream.socketWrite0(Native Method)
         java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
         java.net.SocketOutputStream.write(SocketOutputStream.java:159)
         sun.security.ssl.OutputRecord.writeBuffer(OutputRecord.java:377)
         sun.security.ssl.OutputRecord.write(OutputRecord.java:363)
         sun.security.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:847)
         sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:818)
         sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122)
         java.io.OutputStream.write(OutputStream.java:75)
         org.jpos.iso.BaseChannel.isConnected1(BaseChannel.java:335)
         org.jpos.iso.BaseChannel.send(BaseChannel.java:704)
         org.unipay.iso.listener.UnipayQEMIRequestListener.process(UnipayQEMIRequestListener.java:86)
         org.jpos.iso.ISOServer$Session.run(ISOServer.java:160)
         org.jpos.util.ThreadPool$PooledThread.run(ThreadPool.java:72)
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
<isomsg direction="incoming">
  <!-- org.unipay.iso.packager.ISO87BINNOPackager -->
  <header>6009990000</header>
  <field id="0" value="0210"/>
  <field id="3" value="100100"/>
  <field id="4" value="000000000100"/>
  <field id="7" value="000001"/>
  <field id="8" value="000002"/>
  <field id="9" value="FR580001"/>
  <field id="10" value="WALLET"/>
  <field id="11" value="000005"/>
  <field id="12" value="173956"/>
  <field id="13" value="0102"/>
  <field id="15" value="000002"/>
  <field id="19" value="00"/>
  <field id="39" value="00"/>
  <field id="41" value="00580001"/>
  <field id="42" value="1"/>
  <field id="45" value="1921681350058000120170201173956829"/>
  <field id="49" value="29"/>
  <field id="58" value="#00580001:0:0:0:00:00#FR580001:000002:3:1:00:29"/>
  <field id="59" value="0"/>
  <field id="60" value="100001000002224"/>
  <field id="61" value="1234"/>
  <field id="62" value="8860532795"/>
  <field id="63" value="FREECHARGE"/>
</isomsg>
<exception name="java.net.SocketException -----------l">
java.net.SocketException: java.net.SocketException -----------l
        at org.jpos.iso.BaseChannel.send(BaseChannel.java:705)
        at org.unipay.iso.listener.UnipayQEMIRequestListener.process(UnipayQEMIRequestListener.java:86)
        at org.jpos.iso.ISOServer$Session.run(ISOServer.java:160)
        at org.jpos.util.ThreadPool$PooledThread.run(ThreadPool.java:72)
</exception>
2017-02-01 17:40:04.724 1921681350058000120170201173956829 ERROR [ UnipayQEMIRequestListener:process ] java.net.SocketException -----------l
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
         org.jpos.iso.BaseChannel.send(BaseChannel.java:705)
         org.unipay.iso.listener.UnipayQEMIRequestListener.process(UnipayQEMIRequestListener.java:86)
         org.jpos.iso.ISOServer$Session.run(ISOServer.java:160)
         org.jpos.util.ThreadPool$PooledThread.run(ThreadPool.java:72)
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
2017-02-01 17:40:04.725  INFO [ DbConnection:closeCfgDBConnection:212 ] Session Count While Closing DB Connection : 0 - Thread activeCount : 1
2017-02-01 17:40:04.725  INFO [ DbConnection:closeTxnDBConnection:219 ] Session Count While Closing DB Connection : -8 - Thread activeCount : 1
2017-02-01 17:40:04.730  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 231 - Thread.activeCount() : 2
2017-02-01 17:40:04.733 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:40:04.741  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 232 - Thread.activeCount() : 2
2017-02-01 17:40:04.744 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:40:04.751  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 233 - Thread.activeCount() : 2
2017-02-01 17:40:04.761 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:40:04.767  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 234 - Thread.activeCount() : 2
2017-02-01 17:40:04.770 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:40:04.777  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 235 - Thread.activeCount() : 2
2017-02-01 17:40:04.780 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:40:04.787  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 236 - Thread.activeCount() : 2
2017-02-01 17:40:04.791 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1






Pavan Kumar U

unread,
Feb 7, 2017, 8:58:48 AM2/7/17
to jPOS Users
i'm using HA-Proxy for better Reliability.

Andrés Alcarraz

unread,
Feb 7, 2017, 12:32:19 PM2/7/17
to jpos-...@googlegroups.com

It seems the connection with the other side simply was taken down.

If this happend olny one time it may be a simple network problem.

Else if the other side isn't understanding the message the problem may be your channel/packager does not match the other side specifications.

It seems you need to provide more information about your config if you want help, help us hel you by making an smart question.

best regards

Andrés


El 07/02/17 a las 10:58, Pavan Kumar U escribió:
2017-02-01 17:40:04.725  INFO [ DbConnection:closeTxnDBConnection:219 ] Session Count While Closing DB Connection : -8 - Thread activeCount : 12017-02-01 17:40:04.730  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 231 - Thread.activeCount() : 2

2017-02-01 17:40:04.733 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:40:04.741  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 232 - Thread.activeCount() : 2
2017-02-01 17:40:04.744 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:40:04.751  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 233 - Thread.activeCount() : 2
2017-02-01 17:40:04.761 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:40:04.767  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 234 - Thread.activeCount() : 2
2017-02-01 17:40:04.770 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:40:04.777  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 235 - Thread.activeCount() : 2
2017-02-01 17:40:04.780 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1
2017-02-01 17:40:04.787  INFO [ DbConnection:createReplicaDbConnection:116 ] Present Request Sessions Count : 236 - Thread.activeCount() : 2
2017-02-01 17:40:04.791 1921681350058000120170201173956829 INFO [ BookKeeper:copyTransactionDataToSecondaryDB:222 ] BookKeeper : copyTransactionDataToSecondaryDB : Rows Updated : 1






--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/1231e36b-24c8-46c1-a519-5ab483012af0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Pavan Kumar U

unread,
Feb 8, 2017, 12:48:49 AM2/8/17
to jpos-...@googlegroups.com
we are using HA-PROXY for Load Balancing.
HA-PROXY  disconnecting the Socket between jpos and EDC Terminal.
that's why i'm getting broken pipe issue.


Best Regards
Pavan.u

To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.

To post to this group, send email to jpos-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/1231e36b-24c8-46c1-a519-5ab483012af0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to a topic in the Google Groups "jPOS Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jpos-users/uOSCMBUnNF8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jpos-users+unsubscribe@googlegroups.com.

To post to this group, send email to jpos-...@googlegroups.com.

Andrés Alcarraz

unread,
Feb 8, 2017, 9:36:57 AM2/8/17
to jPOS Users
Hi you failed to provide the configuration of your channel and your BaseChannel implementation seems not to be the standard one, I guess you need to catch the exception in BaseChannel.isConnected1 and return false in that case.

Also it seems jpos is not seeing the disconnection when it happens, depending on your setup that could be mitigated by using a timeout in your channel see http://jpos.org/blog/2014/04/you-want-a-timeout/

Andrés Alcarraz

Pavan Kumar U

unread,
Feb 9, 2017, 4:27:58 AM2/9/17
to jpos-...@googlegroups.com
Hi Andres,

i'm sharing basechannel implementation and channel configuaration PFA

Best Regards
Pavan.u

BaseChannel.java
unipay.xml
NCCChannel.java

Mark Salter

unread,
Feb 9, 2017, 6:23:56 AM2/9/17
to jPOS Users


On Thursday, February 9, 2017 at 9:27:58 AM UTC, Pavan Kumar U wrote:
i'm sharing basechannel implementation and channel configuaration PFA
I think you misunderstand...

.. Andrés is very unlikely to do anything with your (potentially) modified jPOS code and setup.

You can simply take the advice given, add whatever handling of your exception you need to your copy of 'our' code.

Please also trim your posts here, for people that get a daily digest the amount of text your post included that was no longer needed was high.

Thanks

--
Mark

A Haris Kurniawan

unread,
Feb 9, 2017, 7:55:42 AM2/9/17
to jpos-...@googlegroups.com
If the ha-proxy is killing the socket then you should talk to the guys that manage it. On the ha-proxy, Check for any policy that will kill the socket on a specific time such as session-timeout or idle-timeout. 

Or you could implement something that will keep the socket active with data for a given time, such as sending echo-test using somekind of logon manager every couple of seconds.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages