Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JPOS Programming - Configuring EPSON TM - U220

807591May 26 2008 — edited May 26 2008
Hello,
I am trying to configure the Epson TM-U220 printer to Oracle Point-of-Service Application. Here's what I have done so far...
1. Installed the POS application (it uses j2sdk1.4.1_07)
2. Installed the Epson Advanced Printer Driver
3. Installed the JavaPos ADK 1.9.2, giving the path of the jpos.xml that the POS application refers to and the same j2sdk.
4. Setup the printer using SetupPOS
5. On running the CheckHealth.bat, I get the following exception :

ErrorCode : 106
ErrorCodeExtended : 0
Message :
Failed the native method processing.
!! StackTrace !!
jpos.JposException: Failed the native method processing.
at jp.co.epson.upos.pntr.CommonUPOSExceptionCreator.createJposException(Unknown Source)
at jp.co.epson.upos.pntr.CommonUPOSExceptionCreator.createJposException(Unknown Source)
at jp.co.epson.upos.pntr.CommonPrinterService.openPort(Unknown Source)
at jp.co.epson.upos.pntr.CommonPrinterService.claim(Unknown Source)
at jpos.BaseJposControl.claim(Unknown Source)
at checkhealthtool.CheckHealthTool.executeCheckHealth(Unknown Source)
at checkhealthtool.CheckHealthTool.checkHealthButton_Click(Unknown Source)
at checkhealthtool.CheckHealthTool.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5134)
at java.awt.Component.processEvent(Component.java:4931)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3639)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1590)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

---------InnerException-----------

Message :
10
!! StackTrace !!
jp.co.epson.pos.comm.CommControlException: 10
at jp.co.epson.pos.comm.CommonPortIO.throwCommException(Unknown Source)
at jp.co.epson.pos.comm.CommonPortIO.throwCommException(Unknown Source)
at jp.co.epson.pos.comm.WinSerialIO.initializePortSetting(Unknown Source)
at jp.co.epson.pos.comm.WinSerialIO.openSerialPort(Unknown Source)
at jp.co.epson.pos.comm.WinSerialIO.portOpen(Unknown Source)
at jp.co.epson.pos.comm.PortControl.openPort(Unknown Source)
at jp.co.epson.upos.pntr.CommonPrinterService.openPort(Unknown Source)
at jp.co.epson.upos.pntr.CommonPrinterService.claim(Unknown Source)
at jpos.BaseJposControl.claim(Unknown Source)
at checkhealthtool.CheckHealthTool.executeCheckHealth(Unknown Source)
at checkhealthtool.CheckHealthTool.checkHealthButton_Click(Unknown Source)
at checkhealthtool.CheckHealthTool.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5134)
at java.awt.Component.processEvent(Component.java:4931)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3639)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1590)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)


Am I missing any anything?
Please help.

Thanks,
Rajani
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 23 2008
Added on May 26 2008
3 comments
1,383 views