<log realm="server-channel/196.632.103.73:5042" at="2017-02-14T10:49:35.154" lifespan="6ms">
 <send>
  <isomsg direction="outgoing">
   <!-- org.jpos.iso.packager.GenericPackager[config/genpackager.xml] -->
   <field id="0" value="0800"/>
   <field id="3" value="9A0000"/>
   <field id="7" value="0214104927"/>
   <field id="11" value="775146"/>
   <field id="12" value="104927"/>
   <field id="13" value="0214"/>
   <field id="41" value="2057XR41"/>
  </isomsg>
 </send>
</log>
<log realm="server-channel/196.632.103.73:5042" at="2017-02-14T10:49:35.289" lifespan="126ms">
 <receive>
  <isomsg direction="incoming">
   <!-- org.jpos.iso.packager.GenericPackager[config/genpackager.xml] -->
   <field id="0" value="0810"/>
   <field id="7" value="0214104927"/>
   <field id="11" value="775146"/>
   <field id="12" value="104927"/>
   <field id="13" value="0214"/>
   <field id="39" value="00"/>
   <field id="41" value="2057XR41"/>
   <field id="53" value="F2DB6F406F6E5690F839D7599A1D2EFB10DF390000000000000000000000000000000000000000000000000000000000" type="binary"/>
  </isomsg>
 </receive>
</log>
<log realm="server-channel/196.632.103.73:5042" at="2017-02-14T10:49:36.426" lifespan="2ms">
 <send>
  <isomsg direction="outgoing">
   <!-- org.jpos.iso.packager.GenericPackager[config/genpackager.xml] -->
   <field id="0" value="0200"/>
   <field id="2" value="506107_________1061"/>
   <field id="3" value="001000"/>
   <field id="4" value="0000050000"/>
   <field id="7" value="0214104935"/>
   <field id="11" value="776291"/>
   <field id="12" value="104935"/>
   <field id="13" value="0214"/>
   <field id="14" value="____"/>
   <field id="18" value="9399"/>
   <field id="22" value="051"/>
   <field id="23" value="001"/>
   <field id="25" value="00"/>
   <field id="26" value="04"/>
   <field id="28" value="D00000000"/>
   <field id="32" value="506107"/>
   <field id="35" value="519899______8014=____________________"/>
   <field id="37" value="2057XR776291"/>
   <field id="40" value="226"/>
   <field id="41" value="20390060"/>
   <field id="42" value="203900000000033"/>
   <field id="43" value="Flat 236, Justine Street"/>
   <field id="49" value="566"/>
   <field id="52" value="AA55AA55" type="binary"/>
   <field id="55" value="[WIPED]"/>
   <field id="123" value="211201513344002"/>
   <field id="128" value="47fc6fcef2f697bf8115cfc52d4281a22cd920d4496b895a7c040bbc0696761d"/>
  </isomsg>
 </send>
</log>
Response waiting
<log realm="server-channel/196.6.103.73:5042" at="2017-02-14T10:49:36.531" lifespan="99ms">
 <receive>
  <iso-exception>
   org.jpos.iso.IFA_NUMERIC: Problem unpacking field 0
   <nested-exception>
   java.lang.RuntimeException: Required 4 but just got 1 bytes
 at org.jpos.iso.AsciiInterpreter.uninterpret(AsciiInterpreter.java:56) at org.jpos.iso.AsciiInterpreter.uninterpret(AsciiInterpreter.java:56)
 at org.jpos.iso.ISOStringFieldPackager.unpack(ISOStringFieldPackager.java:182)
 at org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:267)
 at org.jpos.iso.ISOMsg.unpack(ISOMsg.java:467)
 at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:968)
 at org.jpos.iso.BaseChannel.receive(BaseChannel.java:738)
 at com.device.ISOMessages.ISOMessage.sendTransaction(ISOMessage.java:285)
 at com.device.ISOMessages.ISOPurchase.doTransaction(ISOPurchase.java:46)
 at devicePOS.devicePOS.doBillPayment(devicePOS.java:62)
 at devicePOS.devicePOS.TestTransaction(devicePOS.java:67)
 at devicePOS.devicePOS.main(devicePOS.java:29)
   </nested-exception>
   org.jpos.iso.ISOException: org.jpos.iso.IFA_NUMERIC: Problem unpacking field 0 (java.lang.RuntimeException: Required 4 but just got 1 bytes)
 at org.jpos.iso.ISOStringFieldPackager.unpack(ISOStringFieldPackager.java:187)
 at org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:267)
 at org.jpos.iso.ISOMsg.unpack(ISOMsg.java:467)
 at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:968)
 at org.jpos.iso.BaseChannel.receive(BaseChannel.java:738)
 at com.nibbs.ISOMessages.ISOMessage.sendTransaction(ISOMessage.java:285)
 at com.nibbs.ISOMessages.ISOPurchase.doTransaction(ISOPurchase.java:46)
 at devicePOS.devicePOS.doBillPayment(devicePOS.java:62)
 at devicePOS.devicePOS.TestTransaction(devicePOS.java:67)
 at devicePOS.devicePOS.main(devicePOS.java:29)
Nested:java.lang.RuntimeException: Required 4 but just got 1 bytes
 at org.jpos.iso.AsciiInterpreter.uninterpret(AsciiInterpreter.java:56)
 at org.jpos.iso.ISOStringFieldPackager.unpack(ISOStringFieldPackager.java:182)
 at org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:267)
 at org.jpos.iso.ISOMsg.unpack(ISOMsg.java:467)
 at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:968)
 at org.jpos.iso.BaseChannel.receive(BaseChannel.java:738)
 at com.device.ISOMessages.ISOMessage.sendTransaction(ISOMessage.java:285)
 at com.device.ISOMessages.ISOPurchase.doTransaction(ISOPurchase.java:46)
 at devicePOS.devicePOS.doBillPayment(devicePOS.java:62)
 at devicePOS.devicePOS.TestTransaction(devicePOS.java:67)
 at devicePOS.devicePOS.main(devicePOS.java:29)
  </iso-exception>
14-02-2017 10:49:36,535 INFO Â (com.device.ISOMessages.ISOMessage:92) - doTransaction: ISOException: Â org.jpos.iso.IFA_NUMERIC: Problem unpacking field 0
BUILD SUCCESSFUL (total time: 12 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/2ddafdf0-ee45-47cd-87c3-d76cd5fa5fee%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 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/CAAgSK%3Dk5yWYVuRb8RdA5LGVMOY81%3DTf7t3-MqNB%2BQV9b0ENe2A%40mail.gmail.com.
Hello Alejandro,Thanks for your response, I have been using the application with IFB_LLNUM for field 2 and it was working fine. But all of a sudden it stopped working and that was when I started getting the error I posted earlier.ÂBut I just tried using your suggestion which is the IFB_LLNUM and I got the following error below.Â<log realm="nibss-channel/196.6.103.72:5043" at="Fri Aug 31 20:59:35 WAT 2018.358" lifespan="203ms"> <receive>  <iso-exception>   org.jpos.iso.IFB_LLNUM: Problem unpacking field 2 (org.jpos.iso.ISOException: Field length 34 too long. Max: 19) unpacking field=2, consumed=20   org.jpos.iso.ISOException: org.jpos.iso.IFB_LLNUM: Problem unpacking field 2 (org.jpos.iso.ISOException: Field length 34 too long. Max: 19) unpacking field=2, consumed=20at org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:265)at org.jpos.iso.ISOMsg.unpack(ISOMsg.java:420)
On Fri, Aug 31, 2018 at 7:39 PM Alejandro Revilla <a...@jpos.org> wrote:
--Are you sure IFA_LLNUM is the appropriate field packager for field 2? Perhaps it's packed BCD and you should use IFB_LLNUM?
You have to carefully read the spec.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAAgSK%3Dk5yWYVuRb8RdA5LGVMOY81%3DTf7t3-MqNB%2BQV9b0ENe2A%40mail.gmail.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 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAGLwso1MhVJ2gagRNgecJz8-j276jd8ESdgr%2BxWdGHQC4uaBeQ%40mail.gmail.com.
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/CAAgSK%3Dk5yWYVuRb8RdA5LGVMOY81%3DTf7t3-MqNB%2BQV9b0ENe2A%40mail.gmail.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 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/CAGLwso1MhVJ2gagRNgecJz8-j276jd8ESdgr%2BxWdGHQC4uaBeQ%40mail.gmail.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 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/CAAgSK%3Dm%3DvrhNdev66OyqOFHr%2BmmWEwmy1DPaDjzp7tqky-ir9Q%40mail.gmail.com.
      SimpleLogListener logListener = new SimpleLogListener();
      Â
      Logger logger = Logger.getLogger("nibss-logger");
      logger.addListener(logListener);
      Â
      xmlc = new XMLChannel("localhost", 8000, new XMLPackager());
      xmlc.setTimeout(60*1000);
      xmlc.setLogger(logger, "");Â
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAGLwso3k5ePxt01hS3zHQyfC%3Dmm95rzNjnsZW%2BhD7%3D%2BKoBttmw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAFgMZMWtwkU1%2BKy7U%3DqUHXNAQKLtWfA0jm%3DQu52j0_bddNRNHw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAGLwso0c%2B9NZjWiJnV%3Dn%2BcrXR%3DZpO_uvvfsEUcPJ-f2B7CQGDA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAGLwso0c%2B9NZjWiJnV%3Dn%2BcrXR%3DZpO_uvvfsEUcPJ-f2B7CQGDA%40mail.gmail.com.
There are lots of possible reasons for not getting a response.
One of them is if the other system just didn't respond, and that
could also be for a number of reasons, it didn't like the message,
the channel is not aligned and is expecting more bytes, etc.
Can you ask the other side what they see?
Can you show us your configuration?, e.g, the channel
configuration, the timeout you see is because the channel didn't
receive anything from the other side during the configured timeout
of the channel.
What is the connection of your issue with the message you are
responding to?
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/89ff689c-f19d-44b3-b73b-d32ed2ca0afan%40googlegroups.com.
038303032323338303030303030383030303030394730303030303530393034333334303030303032333034333334303035303932313031504C3531
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/j54GkdF1V1Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jpos-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/968db7f9-6fd2-4875-9c97-1606dc272385n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/2c8c9539-f904-47cc-b477-456d8507ef08n%40googlegroups.com.