Take a look at this page. I've followed it to the T and I'm now getting a new error, which I'm praying is GOOD. Just substitute 19 for 111 for most things.
http://www.nabble.com/-jira--Created%3A-%28OFBIZ-1015%29-How-to-setup-the-Epson-JavaPOS-1.9.x--%21-td10779949.html On Tue, May 13, 2008 at 4:46 PM, Branden Strickland < [EMAIL PROTECTED]> wrote: > After doing some digging.. I feel like I'm a bit closer to some sort of > answer. > > I've read extensively that when you get the "service does not exist in JCL > registry" that basically for some reason or another, the root of the problem > is that the JCL.jar file doesn't know where jpos.xml is. jpos.xml is where > all the services are listed. The way jpos.xml is found, through the > jpos.properties file. This file is located in 3 yes that right, THREE > places. Should it be? I'm not sure. > > It's located in JCL.jar JPOS111.jar and > OFBIZ_HOME/specialpurpose/pos/config > > I've pointed all three of them to my > OFBIZ_HOME/specialpurpose/pos/config/jpos.xml. It still hasn't taken, but > I"m sifting through some other things right now, hoping to shed some more > light. > > I've also confirmed that you don't need the .jars (as far as I can tell > currently!) in the OFBIZ_HOME/specialpurpos/pos/lib/. I've moved them from > JAVA_HOME/jre/lib/ext to the .../pos/lib and my findings are that they are > read natively from the JAVA_HOME/jre/lib/ext directory and not the > .../pos/lib. Who knows... Maybe that is my problem. > > I figured I would post this just in case it would help anybody else. > > I'll post more when I find a more concrete path to printer-heaven. > > On Wed, May 7, 2008 at 5:10 PM, Ajey.bitin < > [EMAIL PROTECTED]> wrote: > >> >> Yes Branden, when i was exploring and searching contents over forums for >> related stuffs, I saw your mails and responses too. I'm aware of those and >> also i tried to implement them and test them. Unfortunately they didn't >> work >> at all in my situation. After that I was just busy with the customization >> of >> POS screens and all, so i couldn't continue with it. >> >> I wish you all the success for your works and experiments towards it >> because >> if you'll get success, it'll be a great news for all of us who are waiting >> for a remedy. >> >> Regards, >> >> Ajey Kumar >> >> >> >> Branden Strickland wrote: >> > >> > Here are some responses to my earlier email that may help you? Like I >> > said, >> > I'll be working on this today in just a few minutes, so hopefully we can >> > get >> > something working. >> > >> > DAN SHIELDS >> > "What is the contents of your $JAVA_HOME/jre/lib/ext directory? It's >> > contents (after running the Epson installer) made evident some >> interesting >> > classpath paradoxes in the way jpos is intialized. I have several >> > theories >> > about this that I am attempting to understand. To test one theory, I >> > moved >> > the jpos.xml file so that it resides on the bootclasspath rather than in >> > specialpurpose/pos/config, to my surprise this FIXED the problem!" >> > >> > CHRISTOPHER L >> > "Now that you mention the $JAVA_HOME/jre/lib/ext directory... >> > >> > I haven't always had success when directions call for putting files in >> > that >> > directory. In particular, the only way I was able to get my cash drawer >> > working in linux is to put the serial port configuration file >> > (javax.comm.properties) in the classpath. According to the >> instructions, >> > that file should have been fine in $JAVA_HOME/jre/lib/ext. >> > >> > I haven't experienced the particular problem you mention though." >> > >> > JACQUES >> > "Did you try to use -Djava.ext.dirs ? Not sure it's still right but you >> > may >> > be interested by this http://www.yoda.arachsys.com/java/extensions.html >> " >> > "IIRW, with my Epson TM-T88III and ADK 1.8, I simply put >> > >> > epsonJposServiceCommon.jar and epsonJposService180.jar in >> > specialpurpose\pos\lib >> > and comm.jar in jdk1.5.0_11\jre\lib\ext >> > and it worked." >> > >> > >> > >> > Actually It was working since I suspect one of the commits related to >> > https://issues.apache.org/jira/browse/OFBIZ-1630 and related tasks to >> have >> > broken the POS in the trunk (maybe r646697 or r643923) >> > >> > >> > >> > On Wed, May 7, 2008 at 2:14 PM, Ajey.bitin < >> > [EMAIL PROTECTED]> wrote: >> > >> >> >> >> You are right Branden, when we install EPSON ADK, it modifies our class >> >> path >> >> drastically (don't know where) and it breaks the references with our >> >> applications org.ofbiz.pos.jpos.factory.OfbizJposServiceFactory path >> and >> >> that is why none of the jpos device (maintained internally by ofbiz) >> >> works >> >> worthwhile. I'm too afcing the same problem after installing the ADK >> for >> >> EPSON. >> >> >> >> Sure, we can share stuffs and that will be really great lets see, who >> is >> >> going to tell a good news first :) >> >> >> >> Regards, >> >> >> >> Ajey Kumar >> >> >> >> >> >> >> >> Branden Strickland wrote: >> >> > >> >> > FYI, >> >> > >> >> > I know some of the guys (I have mainly worked with Jacques) around >> here >> >> > that >> >> > work very closely with the POS. They are typically (not to speak for >> >> > them!!) available for consulting work if you need to get them >> involved >> >> if >> >> > your back is "against the wall". They're not cheap (which is why I >> >> can't >> >> > currently afford them :P ) but they know their stuff in and out, and >> >> I'm >> >> > sure they could get things working. >> >> > >> >> > I'm going to be working on this problem more today when I get out of >> >> the >> >> > "full time" job. >> >> > >> >> > Hopefully we can help each other out! >> >> > >> >> > I did notice that NO MATTER how I go about installing the components >> >> here >> >> > is >> >> > the results. >> >> > >> >> > This is still currently using NULL PRINTER.. So I'm not even really >> >> > "calling" the Epson printer yet with my pos-component.xml file. >> >> > >> >> > Install JAVA COMM api. Programs starts fine. >> >> > Install RXTXcomm.jar Program starts fine. >> >> > Install JAI (java advanced imaging): Everything works fine. >> >> > Install EPSON ADK: Program STOPS working, even if I'm still calling >> >> the >> >> > NULL PRINTER. >> >> > >> >> > I'm very interested to dig through this with my JAVA guy today. I >> >> think >> >> > EPSON ADK is modifying something that causes OFBIZ to stop working by >> >> > modifying the JAVA environment. I'm not sure how yet.. But I hope I >> >> can >> >> > find out soon! >> >> > >> >> > Thanks for the reply! >> >> > >> >> > >> >> > On Wed, May 7, 2008 at 12:07 PM, Ajey.bitin < >> >> > [EMAIL PROTECTED]> wrote: >> >> > >> >> >> >> >> >> Hi Branden, >> >> >> >> >> >> At first thanx for your reply otherwise I was assuming that my >> problem >> >> >> will >> >> >> not get attention of even a single user. Anyways, definitely I'll >> post >> >> a >> >> >> message when my problem will get over. Right now I'm engaged in >> >> >> establishing >> >> >> database synchronization among POS terminals, PSS and MCS. But the >> >> EPSON >> >> >> printer is still a panic for me which I'll have to look for >> seriously >> >> but >> >> >> I'm not getting enough time for it. >> >> >> >> >> >> Hope you will let me know when you'll get some success. >> >> >> >> >> >> Thanx and my best wishes too. >> >> >> >> >> >> Regards, >> >> >> >> >> >> Ajey Kumar >> >> >> >> >> >> >> >> >> >> >> >> Branden Strickland wrote: >> >> >> > >> >> >> > This is quite a late reply. >> >> >> > >> >> >> > I've been busy so I didn't respond, but I wanted to let you know >> >> that >> >> >> > you're >> >> >> > in the same boat. >> >> >> > >> >> >> > I get the exact same error, and I've been trying to work on it for >> >> the >> >> >> > last >> >> >> > month or so.....To no avail. >> >> >> > >> >> >> > If I figure something out, I'll post it here... If you do, could >> you >> >> do >> >> >> > the >> >> >> > same? >> >> >> > >> >> >> > Thanks!! >> >> >> > >> >> >> > On Wed, Apr 2, 2008 at 9:57 PM, Ajey.bitin < >> >> >> > [EMAIL PROTECTED]> wrote: >> >> >> > >> >> >> >> >> >> >> >> Hi, >> >> >> >> >> >> >> >> >> >> >> >> I'm trying to implement EPSON TM-T88IV Thermal printer in POS. I >> >> >> failed >> >> >> >> to >> >> >> >> configure that because every time the application is shutting >> down >> >> >> with >> >> >> >> the >> >> >> >> exception given below. Even the application is not starting with >> >> EPSON >> >> >> >> TM-T88III printer which is a tested one. The error stack trace >> >> given >> >> >> >> below >> >> >> >> occurred for EPSON TM-T88III printer. >> >> >> >> >> >> >> >> I've installed the Java Communication API, copied the EPSOn Jar >> >> files >> >> >> in >> >> >> >> the >> >> >> >> lib directory of POS and modified the jpos.xml and >> >> pos-containers.xml >> >> >> >> files >> >> >> >> respectively. But everytime I'm getting this error. >> >> >> >> >> >> >> >> I've purchased one EPSON TM-T88IV printer to test and installed >> >> >> >> Epson_JavaPOS_ADK_194.exe on its behalf. Every time services not >> >> found >> >> >> >> error >> >> >> >> is coming. >> >> >> >> >> >> >> >> Can anybody suggest me how I should proceed and what are the >> >> required >> >> >> JAR >> >> >> >> files (and from where I can get them) for the said Printer. >> >> >> >> >> >> >> >> >> >> >> >> >> ======================================================================= >> >> >> >> 2008-04-03 05:55:54,687 (main) [ ComponentContainer.java:120:INFO >> ] >> >> >> All >> >> >> >> components loaded >> >> >> >> 2008-04-03 05:55:54,718 (main) [ClassLoaderContainer.java:50 >> :INFO >> >> ] >> >> >> >> CachedClassLoader created >> >> >> >> 2008-04-03 05:55:54,828 (main) [ ContainerLoader.java:74 :INFO >> ] >> >> >> >> [Startup] Starting containers... >> >> >> >> jpos/res/jpos.properties file not found >> >> >> >> jpos/res/jpos.properties file not found >> >> >> >> jpos/res/jpos.properties file not found >> >> >> >> 2008-04-03 05:55:55,109 (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) >> >> >> >> >> >> >> >> >> >> >> >> >> >> -------------------------------------------------------------------------------- >> >> >> >> >> >> >> >> 2008-04-03 05:55:55,109 (main) [JposDeviceContainer.java:52 :INFO >> ] >> >> >> >> **************************************************** >> >> >> >> ** >> >> >> >> 2008-04-03 05:55:55,109 (main) [JposDeviceContainer.java:53 :INFO >> ] >> >> >> >> Please >> >> >> >> verify that your receipt printer is connected >> >> >> >> ! >> >> >> >> 2008-04-03 05:55:55,140 (main) [JposDeviceContainer.java:54 :INFO >> ] >> >> >> >> **************************************************** >> >> >> >> ** >> >> >> >> org.ofbiz.base.start.StartupException: Cannot start() >> >> >> >> org.ofbiz.pos.container.JposDeviceContainer (null) >> >> >> >> at >> >> >> >> >> >> >> >> >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:82) >> >> >> >> 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:80) >> >> >> >> 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:63) >> >> >> >> at >> >> >> >> >> >> >> >> >> >> >> >> >> >> org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer.java:50) >> >> >> >> at >> >> >> >> >> >> >> >> >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80) >> >> >> >> 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) >> >> >> >> 2008-04-03 05:55:55,296 (OFBiz_Shutdown_Hook) [ >> >> >> >> ContainerLoader.java:93 >> >> >> >> :INFO ] Shutting down containers >> >> >> >> 2008-04-03 05:55:55,296 (OFBiz_Shutdown_Hook) [ >> >> >> >> DeviceLoader.java:241:ERROR] >> >> >> >> ---- 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:208) >> >> >> >> >> >> >> >> >> >> >> >> >> >> 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) >> >> >> >> >> >> >> >> >> >> >> >> >> >> -------------------------------------------------------------------------------- >> >> >> >> >> >> >> >> 2008-04-03 05:55:55,296 (OFBiz_Shutdown_Hook) >> >> >> >> [JposDeviceContainer.java:66 >> >> >> >> :ERROR] >> >> >> >> ---- 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) >> >> >> >> >> >> >> >> >> >> >> >> >> >> -------------------------------------------------------------------------------- >> >> >> >> >> >> >> >> 2008-04-03 05:55:55,296 (OFBiz_Shutdown_Hook) >> >> >> >> [JposDeviceContainer.java:68 >> >> >> >> :INFO ] JPOS Devices released and closed >> >> >> >> >> >> >> >> >> >> >> >> >> >> ============================================================================ >> >> >> >> >> >> >> >> Thanx, >> >> >> >> >> >> >> >> ajey.bitin >> >> >> >> -- >> >> >> >> View this message in context: >> >> >> >> >> >> >> >> >> >> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p16459450.html >> >> >> >> Sent from the OFBiz - User mailing list archive at Nabble.com. >> >> >> >> >> >> >> >> >> >> >> > >> >> >> > >> >> >> >> >> >> -- >> >> >> View this message in context: >> >> >> >> >> >> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17108049.html >> >> >> Sent from the OFBiz - User mailing list archive at Nabble.com. >> >> >> >> >> >> >> >> > >> >> > >> >> >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17111227.html >> >> Sent from the OFBiz - User mailing list archive at Nabble.com. >> >> >> >> >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17114862.html >> Sent from the OFBiz - User mailing list archive at Nabble.com. >> >> >
