Epson POS printers do not work with jdk 1.5
------------------------------------------- Key: OFBIZ-871 URL: https://issues.apache.org/jira/browse/OFBIZ-871 Project: OFBiz (The Open for Business Project) Issue Type: Test Components: pos Affects Versions: SVN trunk Reporter: Jacques Le Roux Assigned To: Jacques Le Roux 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:58:36,734 (main) [ClassLoaderContainer.java:50 :INFO ] CachedClassLoader created 2007-04-04 21:58:36,828 (main) [ ContainerLoader.java:74 :INFO ] [Startup] Starting containers... 2007-04-04 21:58:36,984 (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.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) -------------------------------------------------------------------------------- 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:57:54,921 (main) [ClassLoaderContainer.java:50 :INFO ] CachedClassLoader created 2007-04-04 21:57:55,031 (main) [ ContainerLoader.java:74 :INFO ] [Startup] Starting containers... 2007-04-04 21:57:55,937 (main) [ Keyboard.java:49 :INFO ] Keyboard [Keyboard] Claimed : true 2007-04-04 21:57:56,078 (main) [ Scanner.java:45 :INFO ] Scanner [KybScanner] Claimed : true 2007-04-04 21:57:56,203 (main) [ Msr.java:46 :INFO ] MSR [TestMsr] Claimed : true 2007-04-04 21:57:56,328 (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.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) -------------------------------------------------------------------------------- In this case the problem is on the printer only. To investigate too... BTW it will be interesting to know if people using Star Printers have no problems with jdk 1.5... Thanks -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489577 ] Dan Shields commented on OFBIZ-871: ----------------------------------- I don't know about Windows, but on LInux (using a corresponding configuration), all OOTB, I observed the same thing with jdk 1.5, but with 1.4 I just had to 'modprobe usbtm' and then it got through the Loader without generating any exceptions. Perhaps there is a usbtm service in Windows thst just needs to be turned ON? > Epson POS printers do not work with jdk 1.5 > ------------------------------------------- > > Key: OFBIZ-871 > URL: https://issues.apache.org/jira/browse/OFBIZ-871 > Project: OFBiz (The Open for Business Project) > Issue Type: Test > Components: pos > Affects Versions: SVN trunk > Reporter: Jacques Le Roux > Assigned To: Jacques Le Roux > > 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:58:36,734 (main) [ClassLoaderContainer.java:50 :INFO ] CachedClassLoader created > 2007-04-04 21:58:36,828 (main) [ ContainerLoader.java:74 :INFO ] [Startup] Starting containers... > 2007-04-04 21:58:36,984 (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.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) > -------------------------------------------------------------------------------- > 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:57:54,921 (main) [ClassLoaderContainer.java:50 :INFO ] CachedClassLoader created > 2007-04-04 21:57:55,031 (main) [ ContainerLoader.java:74 :INFO ] [Startup] Starting containers... > 2007-04-04 21:57:55,937 (main) [ Keyboard.java:49 :INFO ] Keyboard [Keyboard] Claimed : true > 2007-04-04 21:57:56,078 (main) [ Scanner.java:45 :INFO ] Scanner [KybScanner] Claimed : true > 2007-04-04 21:57:56,203 (main) [ Msr.java:46 :INFO ] MSR [TestMsr] Claimed : true > 2007-04-04 21:57:56,328 (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.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) > -------------------------------------------------------------------------------- > In this case the problem is on the printer only. To investigate too... > BTW it will be interesting to know if people using Star Printers have no problems with jdk 1.5... Thanks -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-871. --------------------------------- Resolution: Invalid Fix Version/s: SVN trunk Thanks Dan for your comment, Actually it was only a side effect of the ADK 1.92W installation. After getting rid of it and reinstalling ADK 1.80W and a brend new JDK 1.5_11 everything was correct. It works well also with JDK 1.6 so I will try now to use it since it has the reputation to be faster. > Epson POS printers do not work with jdk 1.5 > ------------------------------------------- > > Key: OFBIZ-871 > URL: https://issues.apache.org/jira/browse/OFBIZ-871 > Project: OFBiz (The Open for Business Project) > Issue Type: Test > Components: pos > Affects Versions: SVN trunk > Reporter: Jacques Le Roux > Assigned To: Jacques Le Roux > Fix For: SVN trunk > > > 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:58:36,734 (main) [ClassLoaderContainer.java:50 :INFO ] CachedClassLoader created > 2007-04-04 21:58:36,828 (main) [ ContainerLoader.java:74 :INFO ] [Startup] Starting containers... > 2007-04-04 21:58:36,984 (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.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) > -------------------------------------------------------------------------------- > 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:57:54,921 (main) [ClassLoaderContainer.java:50 :INFO ] CachedClassLoader created > 2007-04-04 21:57:55,031 (main) [ ContainerLoader.java:74 :INFO ] [Startup] Starting containers... > 2007-04-04 21:57:55,937 (main) [ Keyboard.java:49 :INFO ] Keyboard [Keyboard] Claimed : true > 2007-04-04 21:57:56,078 (main) [ Scanner.java:45 :INFO ] Scanner [KybScanner] Claimed : true > 2007-04-04 21:57:56,203 (main) [ Msr.java:46 :INFO ] MSR [TestMsr] Claimed : true > 2007-04-04 21:57:56,328 (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.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) > -------------------------------------------------------------------------------- > In this case the problem is on the printer only. To investigate too... > BTW it will be interesting to know if people using Star Printers have no problems with jdk 1.5... Thanks -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |