Hi Everyone, Has been trying to setup Epson JavaPOS with ofbiz and
found the errors. Using the Epson JavaPOS ADK version 1.9.2 setup a POSPrinter
in jpos.xml file. Also the JavaPOS drivers were copied to the jre ext/
directory. The test program supplied with ADK works fine and detects the
printer. When I try the same settings with pos-containers.xml
and change the printer to “POSPrinter” the pos do now start and
throws an error. I have attached the error message along with the above 2
files. Any help would be appreciated. Thanks With best regards, Vikrant ---------JPOS XML entry for POSPrinter-------- <JposEntry logicalName="POSPrinter"> <creation
factoryClass="jp.co.epson.uposcommon.util.EpsonJposServiceInstanceFactory"
serviceClass="jp.co.epson.upos.pntr.U220DService"/> <vendor
name="SEIKO EPSON" url="http://www.epson.co.jp"/> <jpos
category="POSPrinter" version="1.9.2"/> <product
description="EPSON TM-U220D Printer Device Service" name="EPSON
Services for JavaPOS(TM) Standard" url="http://www.epson.co.jp"/> <!--Other
non JavaPOS required property (mostly vendor properties and bus specific
properties i.e. RS232 )--> <prop
name="Halftone" type="String" value="0"/> <prop
name="FlowType" type="String" value="1"/> <prop
name="PhysicalPrinterName" type="String" value="TM-U220D"/> <prop
name="NVRAMControlLevel" type="String" value="1"/> <prop
name="Stamp" type="String" value="0"/> <prop
name="OutputCompleteType" type="String" value="2"/> <prop
name="StatusThreadInterval" type="String" value="100"/> <prop
name="OutputTimeout" type="String" value="500"/> <prop
name="PortType" type="String" value="0"/> <prop
name="OutputBufferSize" type="String" value="4096"/> <prop
name="UsedNVRAM" type="String" value="0"/> <prop
name="FirmRecordLog" type="String" value="1"/> <prop
name="ReceiveTimeout" type="String" value="1000"/> <prop
name="SlpReverseEject" type="String" value="0"/> <prop
name="PortName" type="String" value="COM1"/> <prop
name="OfflineRetryIntervalTime" type="String" value="25"/> <prop
name="DefaultSlpClampTime" type="String" value="0"/> <prop
name="epson.trace.file" type="String" value="trace.log"/> <prop
name="AsyncProcessingSize" type="String" value="1"/> <prop
name="StopBits" type="String" value="0"/> <prop
name="KanjiTwoWaysPrint" type="String" value="0"/> <prop
name="PortInterfaceName" type="String" value="Serial"/> <prop
name="U375Compatible" type="String" value="0"/> <prop
name="BitLength" type="String" value="8"/> <prop
name="Parity" type="String" value="0"/> <prop
name="epson.tracing" type="String" value="false"/> <prop
name="epson.trace.max.size" type="String" value="1000"/> <prop
name="RecPaperSize" type="String" value="76"/> <prop
name="DeviceDesc" type="String" value="EPSON TM-U220D
POSPrinter"/> <prop
name="PageModeExt" type="String" value="0"/> <prop
name="SupportStatistics" type="String" value="1"/> <prop
name="FirmProgressRange" type="String" value="10"/> <prop
name="OutputErrorOption" type="String" value="0"/> <prop
name="SupportFirmware" type="String" value="0"/> <prop
name="InputTimeout" type="String" value="100"/> <prop
name="AutoPowerOff" type="String" value="0"/> <prop
name="SlpMoreColumns" type="String" value="0"/> <prop
name="RecPaperType" type="String" value="0"/> <prop
name="MemorySwitch" type="String" value="0"/> <prop
name="ReadThreadInterval" type="String" value="-1"/> <prop
name="QueuingOfflineTimeout" type="String" value="1000"/> <prop
name="InitializeThreadTime" type="String" value="1000"/> <prop
name="TwoColor" type="String" value="0"/> <prop
name="BaudRate" type="String" value="9600"/> <prop
name="TwoByteCharacter" type="String" value="0"/> <prop
name="FirmLogFileSize" type="String" value="1000"/> <prop
name="Peeler" type="String" value="0"/> <prop
name="ConfigurationFile" type="String" value="epson/xml/Setting/TM-U220DSetting.xml"/> <prop
name="Custom1Color" type="String" value="0xFF0000"/> <prop
name="FirmNotifyAllProgressEvents" type="String" value="0"/> <prop
name="InitializeResponseTimeout" type="String" value="1000"/> <prop
name="ReceiveRetryTime" type="String" value="25"/> <prop name="PrinterTransmitTimeout"
type="String" value="30000"/> <prop
name="RecMoreColumns" type="String" value="0"/> <prop
name="UsedInterCharacterSet" type="String" value="0"/> <prop
name="WriteThreadInterval" type="String" value="-1"/> <prop
name="RecNearEndSensor" type="String" value="0"/> <prop
name="LogObject" type="String" value=""/> <prop
name="Cutter" type="String" value="0"/> <prop
name="PhysicalDevice" type="String" value="TM-U220D"/> <prop
name="FirmLogFileName" type="String" value="Firmware.log"/> <prop
name="UsedPeeler" type="String" value="0"/> <prop
name="InputBufferSize" type="String" value="84"/> <prop
name="TransmitTimeout" type="String" value="5000"/> <prop
name="OfflineCount" type="String" value="2"/> <prop
name="TransmitRetryTime" type="String" value="100"/> <prop
name="DirectIOEventTimeout" type="String" value="5000"/> </JposEntry> --------------------------------------------------------------- -------error--------- 2007-04-02 11:31:00,037 (main)
[ DeviceLoader.java:118:ERROR] ---- exception report ---------------------------------------------------------- JPOS Exception Exception: jpos.JposException Message: The information is not described in XML. ---- stack trace --------------------------------------------------------------- jpos.JposException: The information is not described
in XML. jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknown
Source ) jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown
Source) jpos.BaseJposControl.open(Unknown Source) org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer.java:50) org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80) org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) org.ofbiz.base.start.Start.startServer(Start.java:314) org.ofbiz.base.start.Start.start(Start.java:318) org.ofbiz.base.start.Start.main(Start.java:404) -------------------------------------------------------------------------------- 2007-04-02 11:31:00,069 (main) [JposDeviceContainer.java:52
:INFO ] ************ ****************************************** 2007-04-02 11:31:00,069 (main) [JposDeviceContainer.java:53
:INFO ] Please verif y that your receipt printer is connected ! 2007-04-02 11:31:00,084 (main) [JposDeviceContainer.java:54
:INFO ] ************ ****************************************** org.ofbiz.base.start.StartupException: Cannot start() org.ofbiz.pos.container.Jp osDeviceContainer (null) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 2) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) org.ofbiz.base.container.ContainerException at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:55) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) org.ofbiz.base.util.GeneralException at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:119) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) jp.co.epson.uposcommon.util.XML.XMLParserException at jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown
Sourc e) at jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk nown Source) at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown
Source) at jpos.BaseJposControl.open(Unknown
Source) at org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) org.ofbiz.base.container.ContainerException at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:55) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) org.ofbiz.base.util.GeneralException at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:119) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) jp.co.epson.uposcommon.util.XML.XMLParserException at jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown
Sourc e) at jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk nown Source) at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown
Source) at jpos.BaseJposControl.open(Unknown
Source) at org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) org.ofbiz.base.util.GeneralException at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:119) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) jp.co.epson.uposcommon.util.XML.XMLParserException at jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown
Sourc e) at jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk nown Source) at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown
Source) at jpos.BaseJposControl.open(Unknown
Source) at org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) jp.co.epson.uposcommon.util.XML.XMLParserException at jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown
Sourc e) at jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk nown Source) at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown
Source) at jpos.BaseJposControl.open(Unknown
Source) at org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) 2007-04-02 11:31:00,256 (OFBiz_Shutdown_Hook)
[ ContainerLoader.java:93 :INFO ] Shutting down containers 2007-04-02 11:31:00,272 (OFBiz_Shutdown_Hook)
[ DeviceLoader.java:241:ERRO R] ---- exception report ---------------------------------------------------------- JPOS Exception Exception: jpos.JposException Message: Control not opened ---- stack trace --------------------------------------------------------------- jpos.JposException: Control not opened jpos.BaseJposControl.release(Unknown Source) org.ofbiz.pos.device.GenericDevice.close(GenericDevice.java:55) org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:235) org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:63) org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:99) org.ofbiz.base.start.Start.shutdownServer(Start.java:300) org.ofbiz.base.start.Start.access$000(Start.java:43) org.ofbiz.base.start.Start$1.run(Start.java:277) -------------------------------------------------------------------------------- 2007-04-02 11:31:00,287 (OFBiz_Shutdown_Hook) [JposDeviceContainer.java:66
:ERRO R] ---- exception report ---------------------------------------------------------- Exception: org.ofbiz.base.util.GeneralException Message: null ---- stack trace --------------------------------------------------------------- org.ofbiz.base.util.GeneralException org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:242) org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:63) org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:99) org.ofbiz.base.start.Start.shutdownServer(Start.java:300) org.ofbiz.base.start.Start.access$000(Start.java:43) org.ofbiz.base.start.Start$1.run(Start.java:277) -------------------------------------------------------------------------------- 2007-04-02 11:31:00,319 (OFBiz_Shutdown_Hook) [JposDeviceContainer.java:68
:INFO ] JPOS Devices released and closed |
Administrator
|
Hi Vikrant,
The POS currently uses the 1.8 javaPOS version (jpos18-controls.jar). Did you try with the corresponding ADK ? Also don't forget to copy the epsonJposService*.jar from EPSON_JPOS_ADK\JavaPOS\lib to specialpurpose/pos/lib Jacques ----- Message d'origine ----- De : [hidden email] À : [hidden email] Envoyé : lundi 2 avril 2007 05:38 Objet : POS problems Hi Everyone, Has been trying to setup Epson JavaPOS with ofbiz and found the errors. Using the Epson JavaPOS ADK version 1.9.2 setup a POSPrinter in jpos.xml file. Also the JavaPOS drivers were copied to the jre ext/ directory. The test program supplied with ADK works fine and detects the printer. When I try the same settings with pos-containers.xml and change the printer to "POSPrinter" the pos do now start and throws an error. I have attached the error message along with the above 2 files. Any help would be appreciated. Thanks With best regards, Vikrant ---------JPOS XML entry for POSPrinter-------- <JposEntry logicalName="POSPrinter"> <creation factoryClass="jp.co.epson.uposcommon.util.EpsonJposServiceInstanceFactory" serviceClass="jp.co.epson.upos.pntr.U220DService"/> <vendor name="SEIKO EPSON" url="http://www.epson.co.jp"/> <jpos category="POSPrinter" version="1.9.2"/> <product description="EPSON TM-U220D Printer Device Service" name="EPSON Services for JavaPOS(TM) Standard" url="http://www.epson.co.jp"/> <!--Other non JavaPOS required property (mostly vendor properties and bus specific properties i.e. RS232 )--> <prop name="Halftone" type="String" value="0"/> <prop name="FlowType" type="String" value="1"/> <prop name="PhysicalPrinterName" type="String" value="TM-U220D"/> <prop name="NVRAMControlLevel" type="String" value="1"/> <prop name="Stamp" type="String" value="0"/> <prop name="OutputCompleteType" type="String" value="2"/> <prop name="StatusThreadInterval" type="String" value="100"/> <prop name="OutputTimeout" type="String" value="500"/> <prop name="PortType" type="String" value="0"/> <prop name="OutputBufferSize" type="String" value="4096"/> <prop name="UsedNVRAM" type="String" value="0"/> <prop name="FirmRecordLog" type="String" value="1"/> <prop name="ReceiveTimeout" type="String" value="1000"/> <prop name="SlpReverseEject" type="String" value="0"/> <prop name="PortName" type="String" value="COM1"/> <prop name="OfflineRetryIntervalTime" type="String" value="25"/> <prop name="DefaultSlpClampTime" type="String" value="0"/> <prop name="epson.trace.file" type="String" value="trace.log"/> <prop name="AsyncProcessingSize" type="String" value="1"/> <prop name="StopBits" type="String" value="0"/> <prop name="KanjiTwoWaysPrint" type="String" value="0"/> <prop name="PortInterfaceName" type="String" value="Serial"/> <prop name="U375Compatible" type="String" value="0"/> <prop name="BitLength" type="String" value="8"/> <prop name="Parity" type="String" value="0"/> <prop name="epson.tracing" type="String" value="false"/> <prop name="epson.trace.max.size" type="String" value="1000"/> <prop name="RecPaperSize" type="String" value="76"/> <prop name="DeviceDesc" type="String" value="EPSON TM-U220D POSPrinter"/> <prop name="PageModeExt" type="String" value="0"/> <prop name="SupportStatistics" type="String" value="1"/> <prop name="FirmProgressRange" type="String" value="10"/> <prop name="OutputErrorOption" type="String" value="0"/> <prop name="SupportFirmware" type="String" value="0"/> <prop name="InputTimeout" type="String" value="100"/> <prop name="AutoPowerOff" type="String" value="0"/> <prop name="SlpMoreColumns" type="String" value="0"/> <prop name="RecPaperType" type="String" value="0"/> <prop name="MemorySwitch" type="String" value="0"/> <prop name="ReadThreadInterval" type="String" value="-1"/> <prop name="QueuingOfflineTimeout" type="String" value="1000"/> <prop name="InitializeThreadTime" type="String" value="1000"/> <prop name="TwoColor" type="String" value="0"/> <prop name="BaudRate" type="String" value="9600"/> <prop name="TwoByteCharacter" type="String" value="0"/> <prop name="FirmLogFileSize" type="String" value="1000"/> <prop name="Peeler" type="String" value="0"/> <prop name="ConfigurationFile" type="String" value="epson/xml/Setting/TM-U220DSetting.xml"/> <prop name="Custom1Color" type="String" value="0xFF0000"/> <prop name="FirmNotifyAllProgressEvents" type="String" value="0"/> <prop name="InitializeResponseTimeout" type="String" value="1000"/> <prop name="ReceiveRetryTime" type="String" value="25"/> <prop name="PrinterTransmitTimeout" type="String" value="30000"/> <prop name="RecMoreColumns" type="String" value="0"/> <prop name="UsedInterCharacterSet" type="String" value="0"/> <prop name="WriteThreadInterval" type="String" value="-1"/> <prop name="RecNearEndSensor" type="String" value="0"/> <prop name="LogObject" type="String" value=""/> <prop name="Cutter" type="String" value="0"/> <prop name="PhysicalDevice" type="String" value="TM-U220D"/> <prop name="FirmLogFileName" type="String" value="Firmware.log"/> <prop name="UsedPeeler" type="String" value="0"/> <prop name="InputBufferSize" type="String" value="84"/> <prop name="TransmitTimeout" type="String" value="5000"/> <prop name="OfflineCount" type="String" value="2"/> <prop name="TransmitRetryTime" type="String" value="100"/> <prop name="DirectIOEventTimeout" type="String" value="5000"/> </JposEntry> --------------------------------------------------------------- -------error--------- 2007-04-02 11:31:00,037 (main) [ DeviceLoader.java:118:ERROR] ---- exception report ---------------------------------------------------------- JPOS Exception Exception: jpos.JposException Message: The information is not described in XML. ---- stack trace --------------------------------------------------------------- jpos.JposException: The information is not described in XML. jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknown Source ) jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown Source) jpos.BaseJposControl.open(Unknown Source) org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer.java:50) org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80) org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) org.ofbiz.base.start.Start.startServer(Start.java:314) org.ofbiz.base.start.Start.start(Start.java:318) org.ofbiz.base.start.Start.main(Start.java:404) -------------------------------------------------------------------------------- 2007-04-02 11:31:00,069 (main) [JposDeviceContainer.java:52 :INFO ] ************ ****************************************** 2007-04-02 11:31:00,069 (main) [JposDeviceContainer.java:53 :INFO ] Please verif y that your receipt printer is connected ! 2007-04-02 11:31:00,084 (main) [JposDeviceContainer.java:54 :INFO ] ************ ****************************************** org.ofbiz.base.start.StartupException: Cannot start() org.ofbiz.pos.container.Jp osDeviceContainer (null) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 2) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) org.ofbiz.base.container.ContainerException at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:55) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) org.ofbiz.base.util.GeneralException at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:119) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) jp.co.epson.uposcommon.util.XML.XMLParserException at jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown Sourc e) at jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk nown Source) at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown Source) at jpos.BaseJposControl.open(Unknown Source) at org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) org.ofbiz.base.container.ContainerException at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:55) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) org.ofbiz.base.util.GeneralException at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:119) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) jp.co.epson.uposcommon.util.XML.XMLParserException at jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown Sourc e) at jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk nown Source) at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown Source) at jpos.BaseJposControl.open(Unknown Source) at org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) org.ofbiz.base.util.GeneralException at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:119) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) jp.co.epson.uposcommon.util.XML.XMLParserException at jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown Sourc e) at jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk nown Source) at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown Source) at jpos.BaseJposControl.open(Unknown Source) at org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) jp.co.epson.uposcommon.util.XML.XMLParserException at jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown Sourc e) at jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk nown Source) at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown Source) at jpos.BaseJposControl.open(Unknown Source) at org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) 2007-04-02 11:31:00,256 (OFBiz_Shutdown_Hook) [ ContainerLoader.java:93 :INFO ] Shutting down containers 2007-04-02 11:31:00,272 (OFBiz_Shutdown_Hook) [ DeviceLoader.java:241:ERRO R] ---- exception report ---------------------------------------------------------- JPOS Exception Exception: jpos.JposException Message: Control not opened ---- stack trace --------------------------------------------------------------- jpos.JposException: Control not opened jpos.BaseJposControl.release(Unknown Source) org.ofbiz.pos.device.GenericDevice.close(GenericDevice.java:55) org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:235) org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:63) org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:99) org.ofbiz.base.start.Start.shutdownServer(Start.java:300) org.ofbiz.base.start.Start.access$000(Start.java:43) org.ofbiz.base.start.Start$1.run(Start.java:277) -------------------------------------------------------------------------------- 2007-04-02 11:31:00,287 (OFBiz_Shutdown_Hook) [JposDeviceContainer.java:66 :ERRO R] ---- exception report ---------------------------------------------------------- Exception: org.ofbiz.base.util.GeneralException Message: null ---- stack trace --------------------------------------------------------------- org.ofbiz.base.util.GeneralException org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:242) org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:63) org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:99) org.ofbiz.base.start.Start.shutdownServer(Start.java:300) org.ofbiz.base.start.Start.access$000(Start.java:43) org.ofbiz.base.start.Start$1.run(Start.java:277) -------------------------------------------------------------------------------- 2007-04-02 11:31:00,319 (OFBiz_Shutdown_Hook) [JposDeviceContainer.java:68 :INFO ] JPOS Devices released and closed |
In reply to this post by Vikrant.Rathore
Hi Jacques,
My problem is I can only find JavaPOS ADK 1.9.2 for Epson could not find 1.8 version. If you know any link would you be kind enough to let me know. Thanks With best regards, Vikrant -----Original Message----- From: Jacques Le Roux [mailto:[hidden email]] Sent: Tuesday, April 03, 2007 5:00 AM To: [hidden email] Subject: Re: POS problems Hi Vikrant, The POS currently uses the 1.8 javaPOS version (jpos18-controls.jar). Did you try with the corresponding ADK ? Also don't forget to copy the epsonJposService*.jar from EPSON_JPOS_ADK\JavaPOS\lib to specialpurpose/pos/lib Jacques ----- Message d'origine ----- De : [hidden email] À : [hidden email] Envoyé : lundi 2 avril 2007 05:38 Objet : POS problems Hi Everyone, Has been trying to setup Epson JavaPOS with ofbiz and found the errors. Using the Epson JavaPOS ADK version 1.9.2 setup a POSPrinter in jpos.xml file. Also the JavaPOS drivers were copied to the jre ext/ directory. The test program supplied with ADK works fine and detects the printer. When I try the same settings with pos-containers.xml and change the printer to "POSPrinter" the pos do now start and throws an error. I have attached the error message along with the above 2 files. Any help would be appreciated. Thanks With best regards, Vikrant ---------JPOS XML entry for POSPrinter-------- <JposEntry logicalName="POSPrinter"> <creation factoryClass="jp.co.epson.uposcommon.util.EpsonJposServiceInstanceFactory" serviceClass="jp.co.epson.upos.pntr.U220DService"/> <vendor name="SEIKO EPSON" url="http://www.epson.co.jp"/> <jpos category="POSPrinter" version="1.9.2"/> <product description="EPSON TM-U220D Printer Device Service" name="EPSON Services for JavaPOS(TM) Standard" url="http://www.epson.co.jp"/> <!--Other non JavaPOS required property (mostly vendor properties and bus specific properties i.e. RS232 )--> <prop name="Halftone" type="String" value="0"/> <prop name="FlowType" type="String" value="1"/> <prop name="PhysicalPrinterName" type="String" value="TM-U220D"/> <prop name="NVRAMControlLevel" type="String" value="1"/> <prop name="Stamp" type="String" value="0"/> <prop name="OutputCompleteType" type="String" value="2"/> <prop name="StatusThreadInterval" type="String" value="100"/> <prop name="OutputTimeout" type="String" value="500"/> <prop name="PortType" type="String" value="0"/> <prop name="OutputBufferSize" type="String" value="4096"/> <prop name="UsedNVRAM" type="String" value="0"/> <prop name="FirmRecordLog" type="String" value="1"/> <prop name="ReceiveTimeout" type="String" value="1000"/> <prop name="SlpReverseEject" type="String" value="0"/> <prop name="PortName" type="String" value="COM1"/> <prop name="OfflineRetryIntervalTime" type="String" value="25"/> <prop name="DefaultSlpClampTime" type="String" value="0"/> <prop name="epson.trace.file" type="String" value="trace.log"/> <prop name="AsyncProcessingSize" type="String" value="1"/> <prop name="StopBits" type="String" value="0"/> <prop name="KanjiTwoWaysPrint" type="String" value="0"/> <prop name="PortInterfaceName" type="String" value="Serial"/> <prop name="U375Compatible" type="String" value="0"/> <prop name="BitLength" type="String" value="8"/> <prop name="Parity" type="String" value="0"/> <prop name="epson.tracing" type="String" value="false"/> <prop name="epson.trace.max.size" type="String" value="1000"/> <prop name="RecPaperSize" type="String" value="76"/> <prop name="DeviceDesc" type="String" value="EPSON TM-U220D POSPrinter"/> <prop name="PageModeExt" type="String" value="0"/> <prop name="SupportStatistics" type="String" value="1"/> <prop name="FirmProgressRange" type="String" value="10"/> <prop name="OutputErrorOption" type="String" value="0"/> <prop name="SupportFirmware" type="String" value="0"/> <prop name="InputTimeout" type="String" value="100"/> <prop name="AutoPowerOff" type="String" value="0"/> <prop name="SlpMoreColumns" type="String" value="0"/> <prop name="RecPaperType" type="String" value="0"/> <prop name="MemorySwitch" type="String" value="0"/> <prop name="ReadThreadInterval" type="String" value="-1"/> <prop name="QueuingOfflineTimeout" type="String" value="1000"/> <prop name="InitializeThreadTime" type="String" value="1000"/> <prop name="TwoColor" type="String" value="0"/> <prop name="BaudRate" type="String" value="9600"/> <prop name="TwoByteCharacter" type="String" value="0"/> <prop name="FirmLogFileSize" type="String" value="1000"/> <prop name="Peeler" type="String" value="0"/> <prop name="ConfigurationFile" type="String" value="epson/xml/Setting/TM-U220DSetting.xml"/> <prop name="Custom1Color" type="String" value="0xFF0000"/> <prop name="FirmNotifyAllProgressEvents" type="String" value="0"/> <prop name="InitializeResponseTimeout" type="String" value="1000"/> <prop name="ReceiveRetryTime" type="String" value="25"/> <prop name="PrinterTransmitTimeout" type="String" value="30000"/> <prop name="RecMoreColumns" type="String" value="0"/> <prop name="UsedInterCharacterSet" type="String" value="0"/> <prop name="WriteThreadInterval" type="String" value="-1"/> <prop name="RecNearEndSensor" type="String" value="0"/> <prop name="LogObject" type="String" value=""/> <prop name="Cutter" type="String" value="0"/> <prop name="PhysicalDevice" type="String" value="TM-U220D"/> <prop name="FirmLogFileName" type="String" value="Firmware.log"/> <prop name="UsedPeeler" type="String" value="0"/> <prop name="InputBufferSize" type="String" value="84"/> <prop name="TransmitTimeout" type="String" value="5000"/> <prop name="OfflineCount" type="String" value="2"/> <prop name="TransmitRetryTime" type="String" value="100"/> <prop name="DirectIOEventTimeout" type="String" value="5000"/> </JposEntry> --------------------------------------------------------------- -------error--------- 2007-04-02 11:31:00,037 (main) [ DeviceLoader.java:118:ERROR] ---- exception report ---------------------------------------------------------- JPOS Exception Exception: jpos.JposException Message: The information is not described in XML. ---- stack trace --------------------------------------------------------------- jpos.JposException: The information is not described in XML. jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknown Source ) jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown Source) jpos.BaseJposControl.open(Unknown Source) org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer.java:50) org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80) org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) org.ofbiz.base.start.Start.startServer(Start.java:314) org.ofbiz.base.start.Start.start(Start.java:318) org.ofbiz.base.start.Start.main(Start.java:404) -------------------------------------------------------------------------------- 2007-04-02 11:31:00,069 (main) [JposDeviceContainer.java:52 :INFO ] ************ ****************************************** 2007-04-02 11:31:00,069 (main) [JposDeviceContainer.java:53 :INFO ] Please verif y that your receipt printer is connected ! 2007-04-02 11:31:00,084 (main) [JposDeviceContainer.java:54 :INFO ] ************ ****************************************** org.ofbiz.base.start.StartupException: Cannot start() org.ofbiz.pos.container.Jp osDeviceContainer (null) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 2) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) org.ofbiz.base.container.ContainerException at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:55) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) org.ofbiz.base.util.GeneralException at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:119) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) jp.co.epson.uposcommon.util.XML.XMLParserException at jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown Sourc e) at jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk nown Source) at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown Source) at jpos.BaseJposControl.open(Unknown Source) at org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) org.ofbiz.base.container.ContainerException at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:55) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) org.ofbiz.base.util.GeneralException at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:119) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) jp.co.epson.uposcommon.util.XML.XMLParserException at jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown Sourc e) at jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk nown Source) at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown Source) at jpos.BaseJposControl.open(Unknown Source) at org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) org.ofbiz.base.util.GeneralException at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:119) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) jp.co.epson.uposcommon.util.XML.XMLParserException at jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown Sourc e) at jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk nown Source) at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown Source) at jpos.BaseJposControl.open(Unknown Source) at org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) jp.co.epson.uposcommon.util.XML.XMLParserException at jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown Sourc e) at jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk nown Source) at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown Source) at jpos.BaseJposControl.open(Unknown Source) at org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer .java:50) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 0) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) 2007-04-02 11:31:00,256 (OFBiz_Shutdown_Hook) [ ContainerLoader.java:93 :INFO ] Shutting down containers 2007-04-02 11:31:00,272 (OFBiz_Shutdown_Hook) [ DeviceLoader.java:241:ERRO R] ---- exception report ---------------------------------------------------------- JPOS Exception Exception: jpos.JposException Message: Control not opened ---- stack trace --------------------------------------------------------------- jpos.JposException: Control not opened jpos.BaseJposControl.release(Unknown Source) org.ofbiz.pos.device.GenericDevice.close(GenericDevice.java:55) org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:235) org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:63) org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:99) org.ofbiz.base.start.Start.shutdownServer(Start.java:300) org.ofbiz.base.start.Start.access$000(Start.java:43) org.ofbiz.base.start.Start$1.run(Start.java:277) -------------------------------------------------------------------------------- 2007-04-02 11:31:00,287 (OFBiz_Shutdown_Hook) [JposDeviceContainer.java:66 :ERRO R] ---- exception report ---------------------------------------------------------- Exception: org.ofbiz.base.util.GeneralException Message: null ---- stack trace --------------------------------------------------------------- org.ofbiz.base.util.GeneralException org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:242) org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:63) org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:99) org.ofbiz.base.start.Start.shutdownServer(Start.java:300) org.ofbiz.base.start.Start.access$000(Start.java:43) org.ofbiz.base.start.Start$1.run(Start.java:277) -------------------------------------------------------------------------------- 2007-04-02 11:31:00,319 (OFBiz_Shutdown_Hook) [JposDeviceContainer.java:68 :INFO ] JPOS Devices released and closed |
Administrator
|
Vikrant,
I tried but the link to 1.8.0 does not exist anymore. I did not even find the link to 1.9.2 :(. I have no more time for this now. What I propose is : Try on your side to use 1.9.2 (did you copy the epsonJposService*.jar from EPSON_JPOS_ADK\JavaPOS\lib to specialpurpose/pos/lib ?) When you get it to work (you should) send me the link to 1.9.2 and I will then upgrade OFBiz svn to javaPOS 1.9. Jacques > Hi Jacques, > > My problem is I can only find JavaPOS ADK 1.9.2 for Epson could not find 1.8 version. If you know any link would you be kind enough to let me know. > > Thanks > With best regards, > Vikrant > > > -----Original Message----- > From: Jacques Le Roux [mailto:[hidden email]] > Sent: Tuesday, April 03, 2007 5:00 AM > To: [hidden email] > Subject: Re: POS problems > > Hi Vikrant, > > The POS currently uses the 1.8 javaPOS version (jpos18-controls.jar). > Also don't forget to copy the epsonJposService*.jar from EPSON_JPOS_ADK\JavaPOS\lib to specialpurpose/pos/lib > > Jacques > ----- Message d'origine ----- > De : [hidden email] > À : [hidden email] > Envoyé : lundi 2 avril 2007 05:38 > Objet : POS problems > > > Hi Everyone, > > > > Has been trying to setup Epson JavaPOS with ofbiz and found the jpos.xml file. Also the JavaPOS drivers were copied to the jre ext/ directory. The test program supplied with ADK works fine and detects the printer. > > > > When I try the same settings with pos-containers.xml and change the printer to "POSPrinter" the pos do now start and throws an error. I have attached the error message along with the above 2 files. > > > > Any help would be appreciated. > > > > Thanks > > With best regards, > > Vikrant > > ---------JPOS XML entry for POSPrinter-------- > > <JposEntry logicalName="POSPrinter"> > > <creation y" serviceClass="jp.co.epson.upos.pntr.U220DService"/> > > <vendor name="SEIKO EPSON" url="http://www.epson.co.jp"/> > > <jpos category="POSPrinter" version="1.9.2"/> > > <product description="EPSON TM-U220D Printer Device Service" name="EPSON Services for JavaPOS(TM) Standard" url="http://www.epson.co.jp"/> > > > > <!--Other non JavaPOS required property (mostly vendor properties and bus specific properties i.e. RS232 )--> > > <prop name="Halftone" type="String" value="0"/> > > <prop name="FlowType" type="String" value="1"/> > > <prop name="PhysicalPrinterName" type="String" value="TM-U220D"/> > > <prop name="NVRAMControlLevel" type="String" value="1"/> > > <prop name="Stamp" type="String" value="0"/> > > <prop name="OutputCompleteType" type="String" value="2"/> > > <prop name="StatusThreadInterval" type="String" value="100"/> > > <prop name="OutputTimeout" type="String" value="500"/> > > <prop name="PortType" type="String" value="0"/> > > <prop name="OutputBufferSize" type="String" value="4096"/> > > <prop name="UsedNVRAM" type="String" value="0"/> > > <prop name="FirmRecordLog" type="String" value="1"/> > > <prop name="ReceiveTimeout" type="String" value="1000"/> > > <prop name="SlpReverseEject" type="String" value="0"/> > > <prop name="PortName" type="String" value="COM1"/> > > <prop name="OfflineRetryIntervalTime" type="String" > > <prop name="DefaultSlpClampTime" type="String" value="0"/> > > <prop name="epson.trace.file" type="String" value="trace.log"/> > > <prop name="AsyncProcessingSize" type="String" value="1"/> > > <prop name="StopBits" type="String" value="0"/> > > <prop name="KanjiTwoWaysPrint" type="String" value="0"/> > > <prop name="PortInterfaceName" type="String" value="Serial"/> > > <prop name="U375Compatible" type="String" value="0"/> > > <prop name="BitLength" type="String" value="8"/> > > <prop name="Parity" type="String" value="0"/> > > <prop name="epson.tracing" type="String" value="false"/> > > <prop name="epson.trace.max.size" type="String" > > <prop name="RecPaperSize" type="String" value="76"/> > > <prop name="DeviceDesc" type="String" value="EPSON TM-U220D POSPrinter"/> > > <prop name="PageModeExt" type="String" value="0"/> > > <prop name="SupportStatistics" type="String" value="1"/> > > <prop name="FirmProgressRange" type="String" value="10"/> > > <prop name="OutputErrorOption" type="String" value="0"/> > > <prop name="SupportFirmware" type="String" value="0"/> > > <prop name="InputTimeout" type="String" value="100"/> > > <prop name="AutoPowerOff" type="String" value="0"/> > > <prop name="SlpMoreColumns" type="String" value="0"/> > > <prop name="RecPaperType" type="String" value="0"/> > > <prop name="MemorySwitch" type="String" value="0"/> > > <prop name="ReadThreadInterval" type="String" value="-1"/> > > <prop name="QueuingOfflineTimeout" type="String" > > <prop name="InitializeThreadTime" type="String" value="1000"/> > > <prop name="TwoColor" type="String" value="0"/> > > <prop name="BaudRate" type="String" value="9600"/> > > <prop name="TwoByteCharacter" type="String" value="0"/> > > <prop name="FirmLogFileSize" type="String" value="1000"/> > > <prop name="Peeler" type="String" value="0"/> > > <prop name="ConfigurationFile" type="String" > > <prop name="Custom1Color" type="String" value="0xFF0000"/> > > <prop name="FirmNotifyAllProgressEvents" type="String" value="0"/> > > <prop name="InitializeResponseTimeout" type="String" value="1000"/> > > <prop name="ReceiveRetryTime" type="String" value="25"/> > > <prop name="PrinterTransmitTimeout" type="String" value="30000"/> > > <prop name="RecMoreColumns" type="String" value="0"/> > > <prop name="UsedInterCharacterSet" type="String" value="0"/> > > <prop name="WriteThreadInterval" type="String" value="-1"/> > > <prop name="RecNearEndSensor" type="String" value="0"/> > > <prop name="LogObject" type="String" value=""/> > > <prop name="Cutter" type="String" value="0"/> > > <prop name="PhysicalDevice" type="String" value="TM-U220D"/> > > <prop name="FirmLogFileName" type="String" > > <prop name="UsedPeeler" type="String" value="0"/> > > <prop name="InputBufferSize" type="String" value="84"/> > > <prop name="TransmitTimeout" type="String" value="5000"/> > > <prop name="OfflineCount" type="String" value="2"/> > > <prop name="TransmitRetryTime" type="String" value="100"/> > > <prop name="DirectIOEventTimeout" type="String" > > </JposEntry> > > --------------------------------------------------------------- > > -------error--------- > > 2007-04-02 11:31:00,037 (main) [ DeviceLoader.java:118:ERROR] > > ---- exception > > > > JPOS Exception > > Exception: jpos.JposException > > Message: The information is not described in XML. > > ---- stack > > > > jpos.JposException: The information is not described in XML. > > jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknow n Source > > ) > > jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown Source) > > jpos.BaseJposControl.open(Unknown Source) > > org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) > > va:50) > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80) > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > org.ofbiz.base.start.Start.startServer(Start.java:314) > > org.ofbiz.base.start.Start.start(Start.java:318) > > org.ofbiz.base.start.Start.main(Start.java:404) > > -------------------------------------------------------------------- > > > > > > 2007-04-02 11:31:00,069 (main) [JposDeviceContainer.java:52 :INFO ] ************ > > ****************************************** > > 2007-04-02 11:31:00,069 (main) [JposDeviceContainer.java:53 :INFO ] Please verif > > y that your receipt printer is connected ! > > 2007-04-02 11:31:00,084 (main) [JposDeviceContainer.java:54 :INFO ] ************ > > ****************************************** > > org.ofbiz.base.start.StartupException: Cannot start() org.ofbiz.pos.container.Jp > > osDeviceContainer (null) > > at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > 2) > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > at org.ofbiz.base.start.Start.start(Start.java:318) > > at org.ofbiz.base.start.Start.main(Start.java:404) > > org.ofbiz.base.container.ContainerException > > at > > .java:55) > > at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > 0) > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > at org.ofbiz.base.start.Start.start(Start.java:318) > > at org.ofbiz.base.start.Start.main(Start.java:404) > > org.ofbiz.base.util.GeneralException > > at > > at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer > > .java:50) > > at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > 0) > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > at org.ofbiz.base.start.Start.start(Start.java:318) > > at org.ofbiz.base.start.Start.main(Start.java:404) > > jp.co.epson.uposcommon.util.XML.XMLParserException > > at > > e) > > at jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk > > nown Source) > > at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown Source) > > at jpos.BaseJposControl.open(Unknown Source) > > at org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) > > at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) > > at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer > > .java:50) > > at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > 0) > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > at org.ofbiz.base.start.Start.start(Start.java:318) > > at org.ofbiz.base.start.Start.main(Start.java:404) > > org.ofbiz.base.container.ContainerException > > at > > .java:55) > > at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > 0) > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > at org.ofbiz.base.start.Start.start(Start.java:318) > > at org.ofbiz.base.start.Start.main(Start.java:404) > > org.ofbiz.base.util.GeneralException > > at > > at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer > > .java:50) > > at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > 0) > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > at org.ofbiz.base.start.Start.start(Start.java:318) > > at org.ofbiz.base.start.Start.main(Start.java:404) > > jp.co.epson.uposcommon.util.XML.XMLParserException > > at > > e) > > at jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk > > nown Source) > > at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown Source) > > at jpos.BaseJposControl.open(Unknown Source) > > at org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) > > at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) > > at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer > > .java:50) > > at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > 0) > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > at org.ofbiz.base.start.Start.start(Start.java:318) > > at org.ofbiz.base.start.Start.main(Start.java:404) > > org.ofbiz.base.util.GeneralException > > at > > at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer > > .java:50) > > at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > 0) > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > at org.ofbiz.base.start.Start.start(Start.java:318) > > at org.ofbiz.base.start.Start.main(Start.java:404) > > jp.co.epson.uposcommon.util.XML.XMLParserException > > at > > e) > > at jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk > > nown Source) > > at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown Source) > > at jpos.BaseJposControl.open(Unknown Source) > > at org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) > > at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) > > at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer > > .java:50) > > at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > 0) > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > at org.ofbiz.base.start.Start.start(Start.java:318) > > at org.ofbiz.base.start.Start.main(Start.java:404) > > jp.co.epson.uposcommon.util.XML.XMLParserException > > at > > e) > > at jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk > > nown Source) > > at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown Source) > > at jpos.BaseJposControl.open(Unknown Source) > > at org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) > > at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) > > at org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer > > .java:50) > > at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > 0) > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > at org.ofbiz.base.start.Start.start(Start.java:318) > > at org.ofbiz.base.start.Start.main(Start.java:404) > > 2007-04-02 11:31:00,256 (OFBiz_Shutdown_Hook) [ ContainerLoader.java:93 :INFO > > ] Shutting down containers > > 2007-04-02 11:31:00,272 (OFBiz_Shutdown_Hook) [ DeviceLoader.java:241:ERRO > > R] > > ---- exception report ---------------------------------------------------------- > > > > JPOS Exception > > Exception: jpos.JposException > > Message: Control not opened > > ---- stack > > > > jpos.JposException: Control not opened > > jpos.BaseJposControl.release(Unknown Source) > > org.ofbiz.pos.device.GenericDevice.close(GenericDevice.java:55) > > org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:235) > > a:63) > > org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:99) > > org.ofbiz.base.start.Start.shutdownServer(Start.java:300) > > org.ofbiz.base.start.Start.access$000(Start.java:43) > > org.ofbiz.base.start.Start$1.run(Start.java:277) > > -------------------------------------------------------------------- ------------ > > > > > > 2007-04-02 11:31:00,287 (OFBiz_Shutdown_Hook) [JposDeviceContainer.java:66 :ERRO > > R] > > ---- exception report ---------------------------------------------------------- > > > > Exception: org.ofbiz.base.util.GeneralException > > Message: null > > ---- stack trace --------------------------------------------------------------- > > > > org.ofbiz.base.util.GeneralException > > org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:242) > > org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.jav a:63) > > org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:99) > > org.ofbiz.base.start.Start.shutdownServer(Start.java:300) > > org.ofbiz.base.start.Start.access$000(Start.java:43) > > org.ofbiz.base.start.Start$1.run(Start.java:277) > > -------------------------------------------------------------------- ------------ > > > > > > 2007-04-02 11:31:00,319 (OFBiz_Shutdown_Hook) [JposDeviceContainer.java:68 :INFO > > ] JPOS Devices released and closed |
Administrator
|
In reply to this post by Vikrant.Rathore
Vikrant,
Did you download jpos191.jar and jpos191-controls.jar from http://www.javapos.com/downloads/JavaPOS-1.9.1-Dist.zip an copy them in specialpurpose/pos/lib ? Jacques > Hi Jacques, > > Please download the ADK from https://mail.inopi.com.cn/JavaPOS_ADK_Ver192W.zip, once you finish please let me know so that I can remove from the public domain. > > Thanks > With best regards, > Vikrant > > > -----Original Message----- > From: Jacques Le Roux [mailto:[hidden email]] > Sent: Tuesday, April 03, 2007 4:18 PM > To: Rathore, Vikrant, RHQ, Bertelsmann China > Subject: Re: POS problems > > Vikrant, > > Yes plase send me the ADK. At 1st gmance it seems that in this version > Epson have merged the drivers (EPOS and JPOS), WDYT ? > > Regards > > Jacques > > > > Hi Jacques, > > > > I can attach the ADK 1.9.2 for you, please let me know if you need > Here I am working with a POS manufacturer to get it working with ofbiz > and indeed this ADK was provided by the POS manufacturer. > > > > I will continue to test it. > > > > I could not find the epsonJposService*.jar but found another one which > is epsonupos.jar. The ADK install itself in jre ext directory. Although > I copied all of them back to special purpose pos directory and get > errors. > > > > The following is the list of files with ADK 1.9.2 > > 02/23/2007 01:25 PM 8,238 dnsns.jar > > 03/15/2006 11:15 PM 907,811 epsonupos.jar > > 03/30/2007 05:26 PM 418,640 jpos19.jar > > 06/22/2005 12:03 AM 4,788 linuxUsbDriver.jar > > 02/23/2007 01:25 PM 838,547 localedata.jar > > 02/23/2007 01:25 PM 521 meta-index > > 02/18/2006 10:12 AM 62,719 pos.jar > > 02/23/2007 01:25 PM 170,257 sunjce_provider.jar > > 02/23/2007 01:25 PM 31,632 sunmscapi.jar > > 02/23/2007 01:25 PM 224,493 sunpkcs11.jar > > 03/15/2006 11:15 PM 166,365 uposcommon.jar > > 11/02/2004 11:36 AM 1,010,806 xercesImpl.jar > > 11/02/2004 11:36 AM 124,724 xml-apis.jar > > > > Thanks > > With best regards, > > Vikrant > > > > > > > > -----Original Message----- > > From: Jacques Le Roux [mailto:[hidden email]] > > Sent: Tuesday, April 03, 2007 3:09 PM > > To: [hidden email] > > Subject: Re: POS problems > > > > Vikrant, > > > > I tried but the link to 1.8.0 does not exist anymore. I did not even > > find the link to 1.9.2 :(. > > > > I have no more time for this now. What I propose is : > > Try on your side to use 1.9.2 (did you copy the > > from EPSON_JPOS_ADK\JavaPOS\lib to specialpurpose/pos/lib ?) When you > > get it to work (you should) send me the link to 1.9.2 and I will then > > upgrade OFBiz svn to javaPOS 1.9. > > > > Jacques > > > > > Hi Jacques, > > > > > > My problem is I can only find JavaPOS ADK 1.9.2 for Epson could not > > find 1.8 version. If you know any link would you be kind enough to let > > me know. > > > > > > Thanks > > > With best regards, > > > Vikrant > > > > > > > > > -----Original Message----- > > > From: Jacques Le Roux [mailto:[hidden email]] > > > Sent: Tuesday, April 03, 2007 5:00 AM > > > To: [hidden email] > > > Subject: Re: POS problems > > > > > > Hi Vikrant, > > > > > > The POS currently uses the 1.8 javaPOS version > (jpos18-controls.jar). > > Did you try with the corresponding ADK ? > > > Also don't forget to copy the epsonJposService*.jar from > > EPSON_JPOS_ADK\JavaPOS\lib to specialpurpose/pos/lib > > > > > > Jacques > > > ----- Message d'origine ----- > > > De : [hidden email] > > > À : [hidden email] > > > Envoyé : lundi 2 avril 2007 05:38 > > > Objet : POS problems > > > > > > > > > Hi Everyone, > > > > > > > > > > > > Has been trying to setup Epson JavaPOS with ofbiz and found the > > errors. Using the Epson JavaPOS ADK version 1.9.2 setup a POSPrinter > in > > jpos.xml file. Also the JavaPOS drivers were copied to the jre ext/ > > directory. The test program supplied with ADK works fine and detects > the > > printer. > > > > > > > > > > > > When I try the same settings with pos-containers.xml and change > the > > printer to "POSPrinter" the pos do now start and throws an error. I > have > > attached the error message along with the above 2 files. > > > > > > > > > > > > Any help would be appreciated. > > > > > > > > > > > > Thanks > > > > > > With best regards, > > > > > > Vikrant > > > > > > ---------JPOS XML entry for POSPrinter-------- > > > > > > <JposEntry logicalName="POSPrinter"> > > > > > > <creation > > > > > y" serviceClass="jp.co.epson.upos.pntr.U220DService"/> > > > > > > <vendor name="SEIKO EPSON" url="http://www.epson.co.jp"/> > > > > > > <jpos category="POSPrinter" version="1.9.2"/> > > > > > > <product description="EPSON TM-U220D Printer Device > Service" > > name="EPSON Services for JavaPOS(TM) Standard" > > url="http://www.epson.co.jp"/> > > > > > > > > > > > > <!--Other non JavaPOS required property (mostly vendor > > properties and bus specific properties i.e. RS232 )--> > > > > > > <prop name="Halftone" type="String" value="0"/> > > > > > > <prop name="FlowType" type="String" value="1"/> > > > > > > <prop name="PhysicalPrinterName" type="String" > > value="TM-U220D"/> > > > > > > <prop name="NVRAMControlLevel" type="String" value="1"/> > > > > > > <prop name="Stamp" type="String" value="0"/> > > > > > > <prop name="OutputCompleteType" type="String" > > > > > > <prop name="StatusThreadInterval" type="String" > > value="100"/> > > > > > > <prop name="OutputTimeout" type="String" value="500"/> > > > > > > <prop name="PortType" type="String" value="0"/> > > > > > > <prop name="OutputBufferSize" type="String" value="4096"/> > > > > > > <prop name="UsedNVRAM" type="String" value="0"/> > > > > > > <prop name="FirmRecordLog" type="String" value="1"/> > > > > > > <prop name="ReceiveTimeout" type="String" value="1000"/> > > > > > > <prop name="SlpReverseEject" type="String" value="0"/> > > > > > > <prop name="PortName" type="String" value="COM1"/> > > > > > > <prop name="OfflineRetryIntervalTime" type="String" > > value="25"/> > > > > > > <prop name="DefaultSlpClampTime" type="String" > > > > > > <prop name="epson.trace.file" type="String" > > value="trace.log"/> > > > > > > <prop name="AsyncProcessingSize" type="String" value="1"/> > > > > > > <prop name="StopBits" type="String" value="0"/> > > > > > > <prop name="KanjiTwoWaysPrint" type="String" value="0"/> > > > > > > <prop name="PortInterfaceName" type="String" > > value="Serial"/> > > > > > > <prop name="U375Compatible" type="String" value="0"/> > > > > > > <prop name="BitLength" type="String" value="8"/> > > > > > > <prop name="Parity" type="String" value="0"/> > > > > > > <prop name="epson.tracing" type="String" value="false"/> > > > > > > <prop name="epson.trace.max.size" type="String" > > value="1000"/> > > > > > > <prop name="RecPaperSize" type="String" value="76"/> > > > > > > <prop name="DeviceDesc" type="String" value="EPSON > TM-U220D > > POSPrinter"/> > > > > > > <prop name="PageModeExt" type="String" value="0"/> > > > > > > <prop name="SupportStatistics" type="String" value="1"/> > > > > > > <prop name="FirmProgressRange" type="String" > > > > > > <prop name="OutputErrorOption" type="String" value="0"/> > > > > > > <prop name="SupportFirmware" type="String" value="0"/> > > > > > > <prop name="InputTimeout" type="String" value="100"/> > > > > > > <prop name="AutoPowerOff" type="String" value="0"/> > > > > > > <prop name="SlpMoreColumns" type="String" value="0"/> > > > > > > <prop name="RecPaperType" type="String" value="0"/> > > > > > > <prop name="MemorySwitch" type="String" value="0"/> > > > > > > <prop name="ReadThreadInterval" type="String" > > > > > > <prop name="QueuingOfflineTimeout" type="String" > > value="1000"/> > > > > > > <prop name="InitializeThreadTime" type="String" > > value="1000"/> > > > > > > <prop name="TwoColor" type="String" value="0"/> > > > > > > <prop name="BaudRate" type="String" value="9600"/> > > > > > > <prop name="TwoByteCharacter" type="String" value="0"/> > > > > > > <prop name="FirmLogFileSize" type="String" > > > > > > <prop name="Peeler" type="String" value="0"/> > > > > > > <prop name="ConfigurationFile" type="String" > > value="epson/xml/Setting/TM-U220DSetting.xml"/> > > > > > > <prop name="Custom1Color" type="String" value="0xFF0000"/> > > > > > > <prop name="FirmNotifyAllProgressEvents" type="String" > > value="0"/> > > > > > > <prop name="InitializeResponseTimeout" type="String" > > value="1000"/> > > > > > > <prop name="ReceiveRetryTime" type="String" value="25"/> > > > > > > <prop name="PrinterTransmitTimeout" type="String" > > value="30000"/> > > > > > > <prop name="RecMoreColumns" type="String" value="0"/> > > > > > > <prop name="UsedInterCharacterSet" type="String" > value="0"/> > > > > > > <prop name="WriteThreadInterval" type="String" > value="-1"/> > > > > > > <prop name="RecNearEndSensor" type="String" value="0"/> > > > > > > <prop name="LogObject" type="String" value=""/> > > > > > > <prop name="Cutter" type="String" value="0"/> > > > > > > <prop name="PhysicalDevice" type="String" > value="TM-U220D"/> > > > > > > <prop name="FirmLogFileName" type="String" > > value="Firmware.log"/> > > > > > > <prop name="UsedPeeler" type="String" value="0"/> > > > > > > <prop name="InputBufferSize" type="String" value="84"/> > > > > > > <prop name="TransmitTimeout" type="String" > > > > > > <prop name="OfflineCount" type="String" value="2"/> > > > > > > <prop name="TransmitRetryTime" type="String" value="100"/> > > > > > > <prop name="DirectIOEventTimeout" type="String" > > value="5000"/> > > > > > > </JposEntry> > > > > > > --------------------------------------------------------------- > > > > > > -------error--------- > > > > > > 2007-04-02 11:31:00,037 (main) [ > DeviceLoader.java:118:ERROR] > > > > > > ---- exception > > report ---------------------------------------------------------- > > > > > > > > > > > > JPOS Exception > > > > > > Exception: jpos.JposException > > > > > > Message: The information is not described in XML. > > > > > > ---- stack > > > > > > > > > > > > > > jpos.JposException: The information is not described in XML. > > > > > > > > > jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknow > > n Source > > > > > > ) > > > > > > jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown Source) > > > > > > jpos.BaseJposControl.open(Unknown Source) > > > > > > org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) > > > > > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) > > > > > > > > > > > va:50) > > > > > > > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80) > > > > > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > -------------------------------------------------------------------- > > ------------ > > > > > > > > > > > > > > > > > > 2007-04-02 11:31:00,069 (main) [JposDeviceContainer.java:52 > :INFO ] > > ************ > > > > > > ****************************************** > > > > > > 2007-04-02 11:31:00,069 (main) [JposDeviceContainer.java:53 > :INFO ] > > Please verif > > > > > > y that your receipt printer is connected ! > > > > > > 2007-04-02 11:31:00,084 (main) [JposDeviceContainer.java:54 > :INFO ] > > ************ > > > > > > ****************************************** > > > > > > org.ofbiz.base.start.StartupException: Cannot start() > > org.ofbiz.pos.container.Jp > > > > > > osDeviceContainer (null) > > > > > > at > > > > > > > > 2) > > > > > > at > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > org.ofbiz.base.container.ContainerException > > > > > > at > > org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer > > > > > > .java:55) > > > > > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > 0) > > > > > > at > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > org.ofbiz.base.util.GeneralException > > > > > > at > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:119) > > > > > > at > > > > > > > > .java:50) > > > > > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > 0) > > > > > > at > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > jp.co.epson.uposcommon.util.XML.XMLParserException > > > > > > at > > jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown Sourc > > > > > > e) > > > > > > at > > jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk > > > > > > nown Source) > > > > > > at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown > > Source) > > > > > > at jpos.BaseJposControl.open(Unknown Source) > > > > > > at > > org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) > > > > > > at > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) > > > > > > at > > > > > > > > .java:50) > > > > > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > 0) > > > > > > at > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > org.ofbiz.base.container.ContainerException > > > > > > at > > org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer > > > > > > .java:55) > > > > > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > 0) > > > > > > at > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > org.ofbiz.base.util.GeneralException > > > > > > at > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:119) > > > > > > at > > > > > > > > .java:50) > > > > > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > 0) > > > > > > at > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > jp.co.epson.uposcommon.util.XML.XMLParserException > > > > > > at > > jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown Sourc > > > > > > e) > > > > > > at > > jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk > > > > > > nown Source) > > > > > > at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown > > Source) > > > > > > at jpos.BaseJposControl.open(Unknown Source) > > > > > > at > > org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) > > > > > > at > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) > > > > > > at > > > > > > > > .java:50) > > > > > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > 0) > > > > > > at > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > org.ofbiz.base.util.GeneralException > > > > > > at > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:119) > > > > > > at > > > > > > > > .java:50) > > > > > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > 0) > > > > > > at > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > jp.co.epson.uposcommon.util.XML.XMLParserException > > > > > > at > > jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown Sourc > > > > > > e) > > > > > > at > > jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk > > > > > > nown Source) > > > > > > at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown > > Source) > > > > > > at jpos.BaseJposControl.open(Unknown Source) > > > > > > at > > org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) > > > > > > at > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) > > > > > > at > > > > > > > > .java:50) > > > > > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > 0) > > > > > > at > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > jp.co.epson.uposcommon.util.XML.XMLParserException > > > > > > at > > jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown Sourc > > > > > > e) > > > > > > at > > jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk > > > > > > nown Source) > > > > > > at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown > > Source) > > > > > > at jpos.BaseJposControl.open(Unknown Source) > > > > > > at > > org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) > > > > > > at > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) > > > > > > at > > > > > > > > .java:50) > > > > > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > 0) > > > > > > at > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > 2007-04-02 11:31:00,256 (OFBiz_Shutdown_Hook) [ > > ContainerLoader.java:93 :INFO > > > > > > ] Shutting down containers > > > > > > 2007-04-02 11:31:00,272 (OFBiz_Shutdown_Hook) [ > > DeviceLoader.java:241:ERRO > > > > > > R] > > > > > > ---- exception > > report ---------------------------------------------------------- > > > > > > > > > > > > JPOS Exception > > > > > > Exception: jpos.JposException > > > > > > Message: Control not opened > > > > > > ---- stack > > > > > > > > > > > > > > jpos.JposException: Control not opened > > > > > > jpos.BaseJposControl.release(Unknown Source) > > > > > > org.ofbiz.pos.device.GenericDevice.close(GenericDevice.java:55) > > > > > > org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:235) > > > > > > > > > > > a:63) > > > > > > > > > org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:99) > > > > > > org.ofbiz.base.start.Start.shutdownServer(Start.java:300) > > > > > > org.ofbiz.base.start.Start.access$000(Start.java:43) > > > > > > org.ofbiz.base.start.Start$1.run(Start.java:277) > > > > > > -------------------------------------------------------------------- > > ------------ > > > > > > > > > > > > > > > > > > 2007-04-02 11:31:00,287 (OFBiz_Shutdown_Hook) > > [JposDeviceContainer.java:66 :ERRO > > > > > > R] > > > > > > ---- exception > > report ---------------------------------------------------------- > > > > > > > > > > > > Exception: org.ofbiz.base.util.GeneralException > > > > > > Message: null > > > > > > ---- stack > > > > > > > > > > > > > > org.ofbiz.base.util.GeneralException > > > > > > org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:242) > > > > > > > > > > > a:63) > > > > > > > > > org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:99) > > > > > > org.ofbiz.base.start.Start.shutdownServer(Start.java:300) > > > > > > org.ofbiz.base.start.Start.access$000(Start.java:43) > > > > > > org.ofbiz.base.start.Start$1.run(Start.java:277) > > > > > > -------------------------------------------------------------------- > > ------------ > > > > > > > > > > > > > > > > > > 2007-04-02 11:31:00,319 (OFBiz_Shutdown_Hook) > > [JposDeviceContainer.java:68 :INFO > > > > > > ] JPOS Devices released and closed > > > |
In reply to this post by Vikrant.Rathore
Hi Jacques,
I am still getting the following error: -----Original Message----- From: Jacques Le Roux [mailto:[hidden email]] Sent: Wednesday, April 04, 2007 3:57 PM To: [hidden email] Cc: Rathore, Vikrant, RHQ, Bertelsmann China Subject: Re: POS problems Vikrant, Did you download jpos191.jar and jpos191-controls.jar from http://www.javapos.com/downloads/JavaPOS-1.9.1-Dist.zip an copy them in specialpurpose/pos/lib ? Jacques > Hi Jacques, > > Please download the ADK from https://mail.inopi.com.cn/JavaPOS_ADK_Ver192W.zip, once you finish please let me know so that I can remove from the public domain. > > Thanks > With best regards, > Vikrant > > > -----Original Message----- > From: Jacques Le Roux [mailto:[hidden email]] > Sent: Tuesday, April 03, 2007 4:18 PM > To: Rathore, Vikrant, RHQ, Bertelsmann China > Subject: Re: POS problems > > Vikrant, > > Yes plase send me the ADK. At 1st gmance it seems that in this version > Epson have merged the drivers (EPOS and JPOS), WDYT ? > > Regards > > Jacques > > > > Hi Jacques, > > > > I can attach the ADK 1.9.2 for you, please let me know if you need > Here I am working with a POS manufacturer to get it working with ofbiz > and indeed this ADK was provided by the POS manufacturer. > > > > I will continue to test it. > > > > I could not find the epsonJposService*.jar but found another one which > is epsonupos.jar. The ADK install itself in jre ext directory. Although > I copied all of them back to special purpose pos directory and get > errors. > > > > The following is the list of files with ADK 1.9.2 > > 02/23/2007 01:25 PM 8,238 dnsns.jar > > 03/15/2006 11:15 PM 907,811 epsonupos.jar > > 03/30/2007 05:26 PM 418,640 jpos19.jar > > 06/22/2005 12:03 AM 4,788 linuxUsbDriver.jar > > 02/23/2007 01:25 PM 838,547 localedata.jar > > 02/23/2007 01:25 PM 521 meta-index > > 02/18/2006 10:12 AM 62,719 pos.jar > > 02/23/2007 01:25 PM 170,257 sunjce_provider.jar > > 02/23/2007 01:25 PM 31,632 sunmscapi.jar > > 02/23/2007 01:25 PM 224,493 sunpkcs11.jar > > 03/15/2006 11:15 PM 166,365 uposcommon.jar > > 11/02/2004 11:36 AM 1,010,806 xercesImpl.jar > > 11/02/2004 11:36 AM 124,724 xml-apis.jar > > > > Thanks > > With best regards, > > Vikrant > > > > > > > > -----Original Message----- > > From: Jacques Le Roux [mailto:[hidden email]] > > Sent: Tuesday, April 03, 2007 3:09 PM > > To: [hidden email] > > Subject: Re: POS problems > > > > Vikrant, > > > > I tried but the link to 1.8.0 does not exist anymore. I did not even > > find the link to 1.9.2 :(. > > > > I have no more time for this now. What I propose is : > > Try on your side to use 1.9.2 (did you copy the > > from EPSON_JPOS_ADK\JavaPOS\lib to specialpurpose/pos/lib ?) When you > > get it to work (you should) send me the link to 1.9.2 and I will then > > upgrade OFBiz svn to javaPOS 1.9. > > > > Jacques > > > > > Hi Jacques, > > > > > > My problem is I can only find JavaPOS ADK 1.9.2 for Epson could not > > find 1.8 version. If you know any link would you be kind enough to let > > me know. > > > > > > Thanks > > > With best regards, > > > Vikrant > > > > > > > > > -----Original Message----- > > > From: Jacques Le Roux [mailto:[hidden email]] > > > Sent: Tuesday, April 03, 2007 5:00 AM > > > To: [hidden email] > > > Subject: Re: POS problems > > > > > > Hi Vikrant, > > > > > > The POS currently uses the 1.8 javaPOS version > (jpos18-controls.jar). > > Did you try with the corresponding ADK ? > > > Also don't forget to copy the epsonJposService*.jar from > > EPSON_JPOS_ADK\JavaPOS\lib to specialpurpose/pos/lib > > > > > > Jacques > > > ----- Message d'origine ----- > > > De : [hidden email] > > > À : [hidden email] > > > Envoyé : lundi 2 avril 2007 05:38 > > > Objet : POS problems > > > > > > > > > Hi Everyone, > > > > > > > > > > > > Has been trying to setup Epson JavaPOS with ofbiz and found the > > errors. Using the Epson JavaPOS ADK version 1.9.2 setup a POSPrinter > in > > jpos.xml file. Also the JavaPOS drivers were copied to the jre ext/ > > directory. The test program supplied with ADK works fine and detects > the > > printer. > > > > > > > > > > > > When I try the same settings with pos-containers.xml and change > the > > printer to "POSPrinter" the pos do now start and throws an error. I > have > > attached the error message along with the above 2 files. > > > > > > > > > > > > Any help would be appreciated. > > > > > > > > > > > > Thanks > > > > > > With best regards, > > > > > > Vikrant > > > > > > ---------JPOS XML entry for POSPrinter-------- > > > > > > <JposEntry logicalName="POSPrinter"> > > > > > > <creation > > > > > y" serviceClass="jp.co.epson.upos.pntr.U220DService"/> > > > > > > <vendor name="SEIKO EPSON" url="http://www.epson.co.jp"/> > > > > > > <jpos category="POSPrinter" version="1.9.2"/> > > > > > > <product description="EPSON TM-U220D Printer Device > Service" > > name="EPSON Services for JavaPOS(TM) Standard" > > url="http://www.epson.co.jp"/> > > > > > > > > > > > > <!--Other non JavaPOS required property (mostly vendor > > properties and bus specific properties i.e. RS232 )--> > > > > > > <prop name="Halftone" type="String" value="0"/> > > > > > > <prop name="FlowType" type="String" value="1"/> > > > > > > <prop name="PhysicalPrinterName" type="String" > > value="TM-U220D"/> > > > > > > <prop name="NVRAMControlLevel" type="String" value="1"/> > > > > > > <prop name="Stamp" type="String" value="0"/> > > > > > > <prop name="OutputCompleteType" type="String" > > > > > > <prop name="StatusThreadInterval" type="String" > > value="100"/> > > > > > > <prop name="OutputTimeout" type="String" value="500"/> > > > > > > <prop name="PortType" type="String" value="0"/> > > > > > > <prop name="OutputBufferSize" type="String" value="4096"/> > > > > > > <prop name="UsedNVRAM" type="String" value="0"/> > > > > > > <prop name="FirmRecordLog" type="String" value="1"/> > > > > > > <prop name="ReceiveTimeout" type="String" value="1000"/> > > > > > > <prop name="SlpReverseEject" type="String" value="0"/> > > > > > > <prop name="PortName" type="String" value="COM1"/> > > > > > > <prop name="OfflineRetryIntervalTime" type="String" > > value="25"/> > > > > > > <prop name="DefaultSlpClampTime" type="String" > > > > > > <prop name="epson.trace.file" type="String" > > value="trace.log"/> > > > > > > <prop name="AsyncProcessingSize" type="String" value="1"/> > > > > > > <prop name="StopBits" type="String" value="0"/> > > > > > > <prop name="KanjiTwoWaysPrint" type="String" value="0"/> > > > > > > <prop name="PortInterfaceName" type="String" > > value="Serial"/> > > > > > > <prop name="U375Compatible" type="String" value="0"/> > > > > > > <prop name="BitLength" type="String" value="8"/> > > > > > > <prop name="Parity" type="String" value="0"/> > > > > > > <prop name="epson.tracing" type="String" value="false"/> > > > > > > <prop name="epson.trace.max.size" type="String" > > value="1000"/> > > > > > > <prop name="RecPaperSize" type="String" value="76"/> > > > > > > <prop name="DeviceDesc" type="String" value="EPSON > TM-U220D > > POSPrinter"/> > > > > > > <prop name="PageModeExt" type="String" value="0"/> > > > > > > <prop name="SupportStatistics" type="String" value="1"/> > > > > > > <prop name="FirmProgressRange" type="String" > > > > > > <prop name="OutputErrorOption" type="String" value="0"/> > > > > > > <prop name="SupportFirmware" type="String" value="0"/> > > > > > > <prop name="InputTimeout" type="String" value="100"/> > > > > > > <prop name="AutoPowerOff" type="String" value="0"/> > > > > > > <prop name="SlpMoreColumns" type="String" value="0"/> > > > > > > <prop name="RecPaperType" type="String" value="0"/> > > > > > > <prop name="MemorySwitch" type="String" value="0"/> > > > > > > <prop name="ReadThreadInterval" type="String" > > > > > > <prop name="QueuingOfflineTimeout" type="String" > > value="1000"/> > > > > > > <prop name="InitializeThreadTime" type="String" > > value="1000"/> > > > > > > <prop name="TwoColor" type="String" value="0"/> > > > > > > <prop name="BaudRate" type="String" value="9600"/> > > > > > > <prop name="TwoByteCharacter" type="String" value="0"/> > > > > > > <prop name="FirmLogFileSize" type="String" > > > > > > <prop name="Peeler" type="String" value="0"/> > > > > > > <prop name="ConfigurationFile" type="String" > > value="epson/xml/Setting/TM-U220DSetting.xml"/> > > > > > > <prop name="Custom1Color" type="String" value="0xFF0000"/> > > > > > > <prop name="FirmNotifyAllProgressEvents" type="String" > > value="0"/> > > > > > > <prop name="InitializeResponseTimeout" type="String" > > value="1000"/> > > > > > > <prop name="ReceiveRetryTime" type="String" value="25"/> > > > > > > <prop name="PrinterTransmitTimeout" type="String" > > value="30000"/> > > > > > > <prop name="RecMoreColumns" type="String" value="0"/> > > > > > > <prop name="UsedInterCharacterSet" type="String" > value="0"/> > > > > > > <prop name="WriteThreadInterval" type="String" > value="-1"/> > > > > > > <prop name="RecNearEndSensor" type="String" value="0"/> > > > > > > <prop name="LogObject" type="String" value=""/> > > > > > > <prop name="Cutter" type="String" value="0"/> > > > > > > <prop name="PhysicalDevice" type="String" > value="TM-U220D"/> > > > > > > <prop name="FirmLogFileName" type="String" > > value="Firmware.log"/> > > > > > > <prop name="UsedPeeler" type="String" value="0"/> > > > > > > <prop name="InputBufferSize" type="String" value="84"/> > > > > > > <prop name="TransmitTimeout" type="String" > > > > > > <prop name="OfflineCount" type="String" value="2"/> > > > > > > <prop name="TransmitRetryTime" type="String" value="100"/> > > > > > > <prop name="DirectIOEventTimeout" type="String" > > value="5000"/> > > > > > > </JposEntry> > > > > > > --------------------------------------------------------------- > > > > > > -------error--------- > > > > > > 2007-04-02 11:31:00,037 (main) [ > DeviceLoader.java:118:ERROR] > > > > > > ---- exception > > report ---------------------------------------------------------- > > > > > > > > > > > > JPOS Exception > > > > > > Exception: jpos.JposException > > > > > > Message: The information is not described in XML. > > > > > > ---- stack > > > > > > > > > > > > > > jpos.JposException: The information is not described in XML. > > > > > > > > > jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknow > > n Source > > > > > > ) > > > > > > jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown Source) > > > > > > jpos.BaseJposControl.open(Unknown Source) > > > > > > org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) > > > > > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) > > > > > > > > > > > va:50) > > > > > > > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80) > > > > > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > -------------------------------------------------------------------- > > ------------ > > > > > > > > > > > > > > > > > > 2007-04-02 11:31:00,069 (main) [JposDeviceContainer.java:52 > :INFO ] > > ************ > > > > > > ****************************************** > > > > > > 2007-04-02 11:31:00,069 (main) [JposDeviceContainer.java:53 > :INFO ] > > Please verif > > > > > > y that your receipt printer is connected ! > > > > > > 2007-04-02 11:31:00,084 (main) [JposDeviceContainer.java:54 > :INFO ] > > ************ > > > > > > ****************************************** > > > > > > org.ofbiz.base.start.StartupException: Cannot start() > > org.ofbiz.pos.container.Jp > > > > > > osDeviceContainer (null) > > > > > > at > > > > > > > > 2) > > > > > > at > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > org.ofbiz.base.container.ContainerException > > > > > > at > > org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer > > > > > > .java:55) > > > > > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > 0) > > > > > > at > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > org.ofbiz.base.util.GeneralException > > > > > > at > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:119) > > > > > > at > > > > > > > > .java:50) > > > > > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > 0) > > > > > > at > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > jp.co.epson.uposcommon.util.XML.XMLParserException > > > > > > at > > jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown Sourc > > > > > > e) > > > > > > at > > jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk > > > > > > nown Source) > > > > > > at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown > > Source) > > > > > > at jpos.BaseJposControl.open(Unknown Source) > > > > > > at > > org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) > > > > > > at > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) > > > > > > at > > > > > > > > .java:50) > > > > > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > 0) > > > > > > at > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > org.ofbiz.base.container.ContainerException > > > > > > at > > org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer > > > > > > .java:55) > > > > > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > 0) > > > > > > at > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > org.ofbiz.base.util.GeneralException > > > > > > at > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:119) > > > > > > at > > > > > > > > .java:50) > > > > > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > 0) > > > > > > at > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > jp.co.epson.uposcommon.util.XML.XMLParserException > > > > > > at > > jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown Sourc > > > > > > e) > > > > > > at > > jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk > > > > > > nown Source) > > > > > > at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown > > Source) > > > > > > at jpos.BaseJposControl.open(Unknown Source) > > > > > > at > > org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) > > > > > > at > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) > > > > > > at > > > > > > > > .java:50) > > > > > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > 0) > > > > > > at > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > org.ofbiz.base.util.GeneralException > > > > > > at > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:119) > > > > > > at > > > > > > > > .java:50) > > > > > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > 0) > > > > > > at > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > jp.co.epson.uposcommon.util.XML.XMLParserException > > > > > > at > > jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown Sourc > > > > > > e) > > > > > > at > > jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk > > > > > > nown Source) > > > > > > at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown > > Source) > > > > > > at jpos.BaseJposControl.open(Unknown Source) > > > > > > at > > org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) > > > > > > at > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) > > > > > > at > > > > > > > > .java:50) > > > > > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > 0) > > > > > > at > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > jp.co.epson.uposcommon.util.XML.XMLParserException > > > > > > at > > jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown Sourc > > > > > > e) > > > > > > at > > jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk > > > > > > nown Source) > > > > > > at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown > > Source) > > > > > > at jpos.BaseJposControl.open(Unknown Source) > > > > > > at > > org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) > > > > > > at > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) > > > > > > at > > > > > > > > .java:50) > > > > > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > 0) > > > > > > at > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > at org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > 2007-04-02 11:31:00,256 (OFBiz_Shutdown_Hook) [ > > ContainerLoader.java:93 :INFO > > > > > > ] Shutting down containers > > > > > > 2007-04-02 11:31:00,272 (OFBiz_Shutdown_Hook) [ > > DeviceLoader.java:241:ERRO > > > > > > R] > > > > > > ---- exception > > report ---------------------------------------------------------- > > > > > > > > > > > > JPOS Exception > > > > > > Exception: jpos.JposException > > > > > > Message: Control not opened > > > > > > ---- stack > > > > > > > > > > > > > > jpos.JposException: Control not opened > > > > > > jpos.BaseJposControl.release(Unknown Source) > > > > > > org.ofbiz.pos.device.GenericDevice.close(GenericDevice.java:55) > > > > > > org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:235) > > > > > > > > > > > a:63) > > > > > > > > > org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:99) > > > > > > org.ofbiz.base.start.Start.shutdownServer(Start.java:300) > > > > > > org.ofbiz.base.start.Start.access$000(Start.java:43) > > > > > > org.ofbiz.base.start.Start$1.run(Start.java:277) > > > > > > -------------------------------------------------------------------- > > ------------ > > > > > > > > > > > > > > > > > > 2007-04-02 11:31:00,287 (OFBiz_Shutdown_Hook) > > [JposDeviceContainer.java:66 :ERRO > > > > > > R] > > > > > > ---- exception > > report ---------------------------------------------------------- > > > > > > > > > > > > Exception: org.ofbiz.base.util.GeneralException > > > > > > Message: null > > > > > > ---- stack > > > > > > > > > > > > > > org.ofbiz.base.util.GeneralException > > > > > > org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:242) > > > > > > > > > > > a:63) > > > > > > > > > org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:99) > > > > > > org.ofbiz.base.start.Start.shutdownServer(Start.java:300) > > > > > > org.ofbiz.base.start.Start.access$000(Start.java:43) > > > > > > org.ofbiz.base.start.Start$1.run(Start.java:277) > > > > > > -------------------------------------------------------------------- > > ------------ > > > > > > > > > > > > > > > > > > 2007-04-02 11:31:00,319 (OFBiz_Shutdown_Hook) > > [JposDeviceContainer.java:68 :INFO > > > > > > ] JPOS Devices released and closed > > > |
Administrator
|
Vikrant,
Forget about 1.91, it was a quick answer and dead end (AFAIK). Here are my investigations so far using my Epson TM-T88III on Windows XP Sp2 (I did some tests also on Ubuntu 6.06 LTS but things are complicated enough only on Windows ;o) : If I use the current OOTB setting (ADK 1.8) with the relevant proprietary files in pos/lib it works with jdk 1.4 but not with 1.5 (strictly same configuration only changing the java call on cmd line) I get : 2007-04-04 21:50:58,187 (main) [ClassLoaderContainer.java:50 :INFO ] CachedClassLoader created 2007-04-04 21:50:58,343 (main) [ ContainerLoader.java:74 :INFO ] [Startup] Starting containers... 2007-04-04 21:50:58,562 (main) [ DeviceLoader.java:62 :ERROR] ---- exception report ---------------------------------------------------------- JPOS Exception Exception: jpos.JposException Message: Service does not exist in loaded JCL registry ---- stack trace --------------------------------------------------------------- jpos.JposException: Service does not exist in loaded JCL registry jpos.loader.simple.SimpleServiceManager.createConnection(Unknown Source) jpos.loader.JposServiceLoader.findService(Unknown Source) jpos.BaseJposControl.open(Unknown Source) org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:60) org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer.ja va:50) org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80) org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) org.ofbiz.base.start.Start.startServer(Start.java:314) org.ofbiz.base.start.Start.start(Start.java:318) org.ofbiz.base.start.Start.main(Start.java:404) ------------------------------------------------------------------------ -------- In this case it's not specifically related to the printer : no device are recognised. To investigate... ================================================== I tried also with the ADK 1.92W, with jdk 1.4 I get 2007-04-04 21:51:27,718 (main) [ClassLoaderContainer.java:50 :INFO ] Cac hedClassLoader created 2007-04-04 21:51:27,859 (main) [ ContainerLoader.java:74 :INFO ] [Startup] Starting containers... 2007-04-04 21:51:28,812 (main) [ Keyboard.java:49 :INFO ] Keyboard [Keyboard] Claimed : true 2007-04-04 21:51:28,968 (main) [ Scanner.java:45 :INFO ] Scanner [KybScanner] Claimed : true 2007-04-04 21:51:29,062 (main) [ Msr.java:46 :INFO ] MSR [TestMsr] Claimed : true 2007-04-04 21:51:29,140 (main) [ DeviceLoader.java:118:ERROR] ---- exception report ---------------------------------------------------------- JPOS Exception Exception: jpos.JposException Message: Could not connect to service with logicalName = POSPrinter: Exception.message=Could not create service instance. ---- stack trace --------------------------------------------------------------- jpos.JposException: Could not connect to service with logicalName = POSPrinter: Exception.message=Could not create service instance. jpos.loader.simple.SimpleServiceConnection.connect(Unknown Source) jpos.BaseJposControl.open(Unknown Source) org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer.ja va:50) org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80) org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) org.ofbiz.base.start.Start.startServer(Start.java:314) org.ofbiz.base.start.Start.start(Start.java:318) org.ofbiz.base.start.Start.main(Start.java:404) ------------------------------------------------------------------------ -------- In this case the problem is on the printer only. I will investigate later too... So I guess if you did not try with jdk 1.4 and ADK 1.8 (it supports TM-U220, not sure for D) it is worth the try. You will find the ADK 1.8 on my site : http://www.les7arts.com/ADK1-8.zip I create a Jira issue for this (a bit specific but we *need* pos printers and Epson is a well selled brand) BTW it will be interesting to know if people using Star Printers have no problems with jdk 1.5... Thanks Jacques > Hi Jacques, > > I am still getting the following error: > > > -----Original Message----- > From: Jacques Le Roux [mailto:[hidden email]] > Sent: Wednesday, April 04, 2007 3:57 PM > To: [hidden email] > Cc: Rathore, Vikrant, RHQ, Bertelsmann China > Subject: Re: POS problems > > Vikrant, > > Did you download jpos191.jar and jpos191-controls.jar from > http://www.javapos.com/downloads/JavaPOS-1.9.1-Dist.zip an copy them > specialpurpose/pos/lib ? > > Jacques > > > Hi Jacques, > > > > Please download the ADK from > https://mail.inopi.com.cn/JavaPOS_ADK_Ver192W.zip, once you finish > please let me know so that I can remove from the public domain. > > > > Thanks > > With best regards, > > Vikrant > > > > > > -----Original Message----- > > From: Jacques Le Roux [mailto:[hidden email]] > > Sent: Tuesday, April 03, 2007 4:18 PM > > To: Rathore, Vikrant, RHQ, Bertelsmann China > > Subject: Re: POS problems > > > > Vikrant, > > > > Yes plase send me the ADK. At 1st gmance it seems that in this > > Epson have merged the drivers (EPOS and JPOS), WDYT ? > > > > Regards > > > > Jacques > > > > > > > Hi Jacques, > > > > > > I can attach the ADK 1.9.2 for you, please let me know if you need > it. > > Here I am working with a POS manufacturer to get it working with > > and indeed this ADK was provided by the POS manufacturer. > > > > > > I will continue to test it. > > > > > > I could not find the epsonJposService*.jar but found another one > which > > is epsonupos.jar. The ADK install itself in jre ext directory. > Although > > I copied all of them back to special purpose pos directory and get > > errors. > > > > > > The following is the list of files with ADK 1.9.2 > > > 02/23/2007 01:25 PM 8,238 dnsns.jar > > > 03/15/2006 11:15 PM 907,811 epsonupos.jar > > > 03/30/2007 05:26 PM 418,640 jpos19.jar > > > 06/22/2005 12:03 AM 4,788 linuxUsbDriver.jar > > > 02/23/2007 01:25 PM 838,547 localedata.jar > > > 02/23/2007 01:25 PM 521 meta-index > > > 02/18/2006 10:12 AM 62,719 pos.jar > > > 02/23/2007 01:25 PM 170,257 sunjce_provider.jar > > > 02/23/2007 01:25 PM 31,632 sunmscapi.jar > > > 02/23/2007 01:25 PM 224,493 sunpkcs11.jar > > > 03/15/2006 11:15 PM 166,365 uposcommon.jar > > > 11/02/2004 11:36 AM 1,010,806 xercesImpl.jar > > > 11/02/2004 11:36 AM 124,724 xml-apis.jar > > > > > > Thanks > > > With best regards, > > > Vikrant > > > > > > > > > > > > -----Original Message----- > > > From: Jacques Le Roux [mailto:[hidden email]] > > > Sent: Tuesday, April 03, 2007 3:09 PM > > > To: [hidden email] > > > Subject: Re: POS problems > > > > > > Vikrant, > > > > > > I tried but the link to 1.8.0 does not exist anymore. I did not > > > find the link to 1.9.2 :(. > > > > > > I have no more time for this now. What I propose is : > > > Try on your side to use 1.9.2 (did you copy the > epsonJposService*.jar > > > from EPSON_JPOS_ADK\JavaPOS\lib to specialpurpose/pos/lib ?) When > you > > > get it to work (you should) send me the link to 1.9.2 and I will > then > > > upgrade OFBiz svn to javaPOS 1.9. > > > > > > Jacques > > > > > > > Hi Jacques, > > > > > > > > My problem is I can only find JavaPOS ADK 1.9.2 for Epson could > not > > > find 1.8 version. If you know any link would you be kind enough to > let > > > me know. > > > > > > > > Thanks > > > > With best regards, > > > > Vikrant > > > > > > > > > > > > -----Original Message----- > > > > From: Jacques Le Roux [mailto:[hidden email]] > > > > Sent: Tuesday, April 03, 2007 5:00 AM > > > > To: [hidden email] > > > > Subject: Re: POS problems > > > > > > > > Hi Vikrant, > > > > > > > > The POS currently uses the 1.8 javaPOS version > > (jpos18-controls.jar). > > > Did you try with the corresponding ADK ? > > > > Also don't forget to copy the epsonJposService*.jar from > > > EPSON_JPOS_ADK\JavaPOS\lib to specialpurpose/pos/lib > > > > > > > > Jacques > > > > ----- Message d'origine ----- > > > > De : [hidden email] > > > > À : [hidden email] > > > > Envoyé : lundi 2 avril 2007 05:38 > > > > Objet : POS problems > > > > > > > > > > > > Hi Everyone, > > > > > > > > > > > > > > > > Has been trying to setup Epson JavaPOS with ofbiz and found > > > errors. Using the Epson JavaPOS ADK version 1.9.2 setup a POSPrinter > > in > > > jpos.xml file. Also the JavaPOS drivers were copied to the jre ext/ > > > directory. The test program supplied with ADK works fine and detects > > the > > > printer. > > > > > > > > > > > > > > > > When I try the same settings with pos-containers.xml and change > > the > > > printer to "POSPrinter" the pos do now start and throws an error. I > > have > > > attached the error message along with the above 2 files. > > > > > > > > > > > > > > > > Any help would be appreciated. > > > > > > > > > > > > > > > > Thanks > > > > > > > > With best regards, > > > > > > > > Vikrant > > > > > > > > ---------JPOS XML entry for POSPrinter-------- > > > > > > > > <JposEntry logicalName="POSPrinter"> > > > > > > > > <creation > > > > > > > > > y" serviceClass="jp.co.epson.upos.pntr.U220DService"/> > > > > > > > > <vendor name="SEIKO EPSON" > url="http://www.epson.co.jp"/> > > > > > > > > <jpos category="POSPrinter" version="1.9.2"/> > > > > > > > > <product description="EPSON TM-U220D Printer Device > > Service" > > > name="EPSON Services for JavaPOS(TM) Standard" > > > url="http://www.epson.co.jp"/> > > > > > > > > > > > > > > > > <!--Other non JavaPOS required property (mostly vendor > > > properties and bus specific properties i.e. RS232 )--> > > > > > > > > <prop name="Halftone" type="String" value="0"/> > > > > > > > > <prop name="FlowType" type="String" value="1"/> > > > > > > > > <prop name="PhysicalPrinterName" type="String" > > > value="TM-U220D"/> > > > > > > > > <prop name="NVRAMControlLevel" type="String" > > > > > > > > <prop name="Stamp" type="String" value="0"/> > > > > > > > > <prop name="OutputCompleteType" type="String" > value="2"/> > > > > > > > > <prop name="StatusThreadInterval" type="String" > > > value="100"/> > > > > > > > > <prop name="OutputTimeout" type="String" value="500"/> > > > > > > > > <prop name="PortType" type="String" value="0"/> > > > > > > > > <prop name="OutputBufferSize" type="String" > value="4096"/> > > > > > > > > <prop name="UsedNVRAM" type="String" value="0"/> > > > > > > > > <prop name="FirmRecordLog" type="String" value="1"/> > > > > > > > > <prop name="ReceiveTimeout" type="String" > > > > > > > > <prop name="SlpReverseEject" type="String" value="0"/> > > > > > > > > <prop name="PortName" type="String" value="COM1"/> > > > > > > > > <prop name="OfflineRetryIntervalTime" type="String" > > > value="25"/> > > > > > > > > <prop name="DefaultSlpClampTime" type="String" > value="0"/> > > > > > > > > <prop name="epson.trace.file" type="String" > > > value="trace.log"/> > > > > > > > > <prop name="AsyncProcessingSize" type="String" > value="1"/> > > > > > > > > <prop name="StopBits" type="String" value="0"/> > > > > > > > > <prop name="KanjiTwoWaysPrint" type="String" > > > > > > > > <prop name="PortInterfaceName" type="String" > > > value="Serial"/> > > > > > > > > <prop name="U375Compatible" type="String" value="0"/> > > > > > > > > <prop name="BitLength" type="String" value="8"/> > > > > > > > > <prop name="Parity" type="String" value="0"/> > > > > > > > > <prop name="epson.tracing" type="String" > > > > > > > > <prop name="epson.trace.max.size" type="String" > > > value="1000"/> > > > > > > > > <prop name="RecPaperSize" type="String" value="76"/> > > > > > > > > <prop name="DeviceDesc" type="String" value="EPSON > > TM-U220D > > > POSPrinter"/> > > > > > > > > <prop name="PageModeExt" type="String" value="0"/> > > > > > > > > <prop name="SupportStatistics" type="String" > > > > > > > > <prop name="FirmProgressRange" type="String" > value="10"/> > > > > > > > > <prop name="OutputErrorOption" type="String" value="0"/> > > > > > > > > <prop name="SupportFirmware" type="String" value="0"/> > > > > > > > > <prop name="InputTimeout" type="String" value="100"/> > > > > > > > > <prop name="AutoPowerOff" type="String" value="0"/> > > > > > > > > <prop name="SlpMoreColumns" type="String" value="0"/> > > > > > > > > <prop name="RecPaperType" type="String" value="0"/> > > > > > > > > <prop name="MemorySwitch" type="String" value="0"/> > > > > > > > > <prop name="ReadThreadInterval" type="String" > value="-1"/> > > > > > > > > <prop name="QueuingOfflineTimeout" type="String" > > > value="1000"/> > > > > > > > > <prop name="InitializeThreadTime" type="String" > > > value="1000"/> > > > > > > > > <prop name="TwoColor" type="String" value="0"/> > > > > > > > > <prop name="BaudRate" type="String" value="9600"/> > > > > > > > > <prop name="TwoByteCharacter" type="String" > > > > > > > > <prop name="FirmLogFileSize" type="String" > value="1000"/> > > > > > > > > <prop name="Peeler" type="String" value="0"/> > > > > > > > > <prop name="ConfigurationFile" type="String" > > > value="epson/xml/Setting/TM-U220DSetting.xml"/> > > > > > > > > <prop name="Custom1Color" type="String" > value="0xFF0000"/> > > > > > > > > <prop name="FirmNotifyAllProgressEvents" type="String" > > > value="0"/> > > > > > > > > <prop name="InitializeResponseTimeout" type="String" > > > value="1000"/> > > > > > > > > <prop name="ReceiveRetryTime" type="String" > > > > > > > > <prop name="PrinterTransmitTimeout" type="String" > > > value="30000"/> > > > > > > > > <prop name="RecMoreColumns" type="String" value="0"/> > > > > > > > > <prop name="UsedInterCharacterSet" type="String" > > value="0"/> > > > > > > > > <prop name="WriteThreadInterval" type="String" > > value="-1"/> > > > > > > > > <prop name="RecNearEndSensor" type="String" > > > > > > > > <prop name="LogObject" type="String" value=""/> > > > > > > > > <prop name="Cutter" type="String" value="0"/> > > > > > > > > <prop name="PhysicalDevice" type="String" > > value="TM-U220D"/> > > > > > > > > <prop name="FirmLogFileName" type="String" > > > value="Firmware.log"/> > > > > > > > > <prop name="UsedPeeler" type="String" value="0"/> > > > > > > > > <prop name="InputBufferSize" type="String" > > > > > > > > <prop name="TransmitTimeout" type="String" > value="5000"/> > > > > > > > > <prop name="OfflineCount" type="String" value="2"/> > > > > > > > > <prop name="TransmitRetryTime" type="String" > value="100"/> > > > > > > > > <prop name="DirectIOEventTimeout" type="String" > > > value="5000"/> > > > > > > > > </JposEntry> > > > > > > > > > > > > > > > -------error--------- > > > > > > > > 2007-04-02 11:31:00,037 (main) [ > > DeviceLoader.java:118:ERROR] > > > > > > > > ---- exception > > > report ---------------------------------------------------------- > > > > > > > > > > > > > > > > JPOS Exception > > > > > > > > Exception: jpos.JposException > > > > > > > > Message: The information is not described in XML. > > > > > > > > ---- stack > > > > trace --------------------------------------------------------------- > > > > > > > > > > > > > > > > jpos.JposException: The information is not described in XML. > > > > > > > > > > > > > > > > > n Source > > > > > > > > ) > > > > > > > > jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown Source) > > > > > > > > jpos.BaseJposControl.open(Unknown Source) > > > > > > > > org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) > > > > > > > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) > > > > > > > > > > > > > > > > > va:50) > > > > > > > > > > > > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80) > > > > > > > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > > > org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > > > org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > > > org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > > > > > > ------------ > > > > > > > > > > > > > > > > > > > > > > > > 2007-04-02 11:31:00,069 (main) [JposDeviceContainer.java:52 > > :INFO ] > > > ************ > > > > > > > > ****************************************** > > > > > > > > 2007-04-02 11:31:00,069 (main) [JposDeviceContainer.java:53 > > :INFO ] > > > Please verif > > > > > > > > y that your receipt printer is connected ! > > > > > > > > 2007-04-02 11:31:00,084 (main) [JposDeviceContainer.java:54 > > :INFO ] > > > ************ > > > > > > > > ****************************************** > > > > > > > > org.ofbiz.base.start.StartupException: Cannot start() > > > org.ofbiz.pos.container.Jp > > > > > > > > osDeviceContainer (null) > > > > > > > > at > > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > > > 2) > > > > > > > > at > > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > > > at > org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > > > org.ofbiz.base.container.ContainerException > > > > > > > > at > > > > org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer > > > > > > > > .java:55) > > > > > > > > at > > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > > > 0) > > > > > > > > at > > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > > > at > org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > > > org.ofbiz.base.util.GeneralException > > > > > > > > at > > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:119) > > > > > > > > at > > > > org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer > > > > > > > > .java:50) > > > > > > > > at > > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > > > 0) > > > > > > > > at > > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > > > at > org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > > > jp.co.epson.uposcommon.util.XML.XMLParserException > > > > > > > > at > > > jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown > Sourc > > > > > > > > e) > > > > > > > > at > > > > jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk > > > > > > > > nown Source) > > > > > > > > at > jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown > > > Source) > > > > > > > > at jpos.BaseJposControl.open(Unknown Source) > > > > > > > > at > > > org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) > > > > > > > > at > > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) > > > > > > > > at > > > > org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer > > > > > > > > .java:50) > > > > > > > > at > > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > > > 0) > > > > > > > > at > > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > > > at > org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > > > org.ofbiz.base.container.ContainerException > > > > > > > > at > > > > org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer > > > > > > > > .java:55) > > > > > > > > at > > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > > > 0) > > > > > > > > at > > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > > > at > org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > > > org.ofbiz.base.util.GeneralException > > > > > > > > at > > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:119) > > > > > > > > at > > > > org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer > > > > > > > > .java:50) > > > > > > > > at > > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > > > 0) > > > > > > > > at > > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > > > at > org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > > > jp.co.epson.uposcommon.util.XML.XMLParserException > > > > > > > > at > > > jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown > Sourc > > > > > > > > e) > > > > > > > > at > > > > jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk > > > > > > > > nown Source) > > > > > > > > at > jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown > > > Source) > > > > > > > > at jpos.BaseJposControl.open(Unknown Source) > > > > > > > > at > > > org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) > > > > > > > > at > > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) > > > > > > > > at > > > > org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer > > > > > > > > .java:50) > > > > > > > > at > > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > > > 0) > > > > > > > > at > > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > > > at > org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > > > org.ofbiz.base.util.GeneralException > > > > > > > > at > > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:119) > > > > > > > > at > > > > org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer > > > > > > > > .java:50) > > > > > > > > at > > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > > > 0) > > > > > > > > at > > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > > > at > org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > > > jp.co.epson.uposcommon.util.XML.XMLParserException > > > > > > > > at > > > jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown > Sourc > > > > > > > > e) > > > > > > > > at > > > > jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk > > > > > > > > nown Source) > > > > > > > > at > jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown > > > Source) > > > > > > > > at jpos.BaseJposControl.open(Unknown Source) > > > > > > > > at > > > org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) > > > > > > > > at > > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) > > > > > > > > at > > > > org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer > > > > > > > > .java:50) > > > > > > > > at > > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > > > 0) > > > > > > > > at > > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > > > at > org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > > > jp.co.epson.uposcommon.util.XML.XMLParserException > > > > > > > > at > > > jp.co.epson.uposcommon.util.XML.XMLParser.executeParser(Unknown > Sourc > > > > > > > > e) > > > > > > > > at > > > > jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unk > > > > > > > > nown Source) > > > > > > > > at > jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown > > > Source) > > > > > > > > at jpos.BaseJposControl.open(Unknown Source) > > > > > > > > at > > > org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44) > > > > > > > > at > > > org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116) > > > > > > > > at > > > > org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer > > > > > > > > .java:50) > > > > > > > > at > > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:8 > > > > > > > > 0) > > > > > > > > at > > > org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > > > > > > > at > org.ofbiz.base.start.Start.startServer(Start.java:314) > > > > > > > > at org.ofbiz.base.start.Start.start(Start.java:318) > > > > > > > > at org.ofbiz.base.start.Start.main(Start.java:404) > > > > > > > > 2007-04-02 11:31:00,256 (OFBiz_Shutdown_Hook) [ > > > ContainerLoader.java:93 :INFO > > > > > > > > ] Shutting down containers > > > > > > > > 2007-04-02 11:31:00,272 (OFBiz_Shutdown_Hook) [ > > > DeviceLoader.java:241:ERRO > > > > > > > > R] > > > > > > > > ---- exception > > > report ---------------------------------------------------------- > > > > > > > > > > > > > > > > JPOS Exception > > > > > > > > Exception: jpos.JposException > > > > > > > > Message: Control not opened > > > > > > > > ---- stack > > > > trace --------------------------------------------------------------- > > > > > > > > > > > > > > > > jpos.JposException: Control not opened > > > > > > > > jpos.BaseJposControl.release(Unknown Source) > > > > > > > > > > > > > > > > org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:235) > > > > > > > > > > > > > > org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.jav > > > a:63) > > > > > > > > > > > > > > org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:99) > > > > > > > > org.ofbiz.base.start.Start.shutdownServer(Start.java:300) > > > > > > > > org.ofbiz.base.start.Start.access$000(Start.java:43) > > > > > > > > org.ofbiz.base.start.Start$1.run(Start.java:277) > > > > > > > > -------------------------------------------------------------------- > > > ------------ > > > > > > > > > > > > > > > > > > > > > > > > 2007-04-02 11:31:00,287 (OFBiz_Shutdown_Hook) > > > [JposDeviceContainer.java:66 :ERRO > > > > > > > > R] > > > > > > > > ---- exception > > > report ---------------------------------------------------------- > > > > > > > > > > > > > > > > Exception: org.ofbiz.base.util.GeneralException > > > > > > > > Message: null > > > > > > > > ---- stack > > > > trace --------------------------------------------------------------- > > > > > > > > > > > > > > > > org.ofbiz.base.util.GeneralException > > > > > > > > org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:242) > > > > > > > > > > > > > > > > > a:63) > > > > > > > > > > > > > > org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:99) > > > > > > > > org.ofbiz.base.start.Start.shutdownServer(Start.java:300) > > > > > > > > org.ofbiz.base.start.Start.access$000(Start.java:43) > > > > > > > > org.ofbiz.base.start.Start$1.run(Start.java:277) > > > > > > > > -------------------------------------------------------------------- > > > ------------ > > > > > > > > > > > > > > > > > > > > > > > > 2007-04-02 11:31:00,319 (OFBiz_Shutdown_Hook) > > > [JposDeviceContainer.java:68 :INFO > > > > > > > > ] JPOS Devices released and closed > > > > > > |
Free forum by Nabble | Edit this page |