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.

Reply via email to