Thanks for your quick support. Now i did some changes like i installed Epson JavaPOS ADK 1.94, but i am still using epsonJposService180.jar instead of epsonJposService182.jar which is supposed to be there because i am unable to download epsonJposService182.jar from any location.This time exception is different and i have attached error file with this mail.it seems like service did not have exclusive access to the device. It may be mismatch of service jar (180 /182) as i guess.
AnandM wrote: > > Hi , i am unable to start POS when i attached a printer with it. i > modified jpos.xml , pos-containers.xml according to steps provided in > forums. i installed java comm api. i installed "Epson JavaPOS ADK > 1.82".Also i copied epsonJposService180.jar, epsonJposServiceCommon.jar" > to /ofbiz/specialpurpose/pos/lib. when i am starting POS , i am getting > following error====. Do i have to configure some file. Thanks in > advance!!!! > > Exception in thread "main" java.lang.NoClassDefFoundError: > jpos/loader/JposServiceInstanceFactory > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(Unknown Source) > at java.security.SecureClassLoader.defineClass(Unknown Source) > at java.net.URLClassLoader.defineClass(Unknown Source) > at java.net.URLClassLoader.access$100(Unknown Source) > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClassInternal(Unknown Source) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Unknown Source) > at jpos.loader.simple.SimpleServiceConnection.connect(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:101) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:261) > at org.ofbiz.base.start.Start.startServer(Start.java:310) > at org.ofbiz.base.start.Start.start(Start.java:314) > at org.ofbiz.base.start.Start.main(Start.java:397) > 2008-06-16 16:42:17,125 (OFBiz_Shutdown_Hook) [ > ContainerLoader.java:114:INFO ] Shutting down containers > 2008-06-16 16:42:17,156 (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:235) > org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:63) > org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:122) > org.ofbiz.base.start.Start.shutdownServer(Start.java:299) > org.ofbiz.base.start.Start.access$000(Start.java:43) > org.ofbiz.base.start.Start$2.run(Start.java:276) > > -- View this message in context: http://www.nabble.com/problem-in-adding-a-printer-on-pos-tp17862571p17881888.html Sent from the OFBiz - User mailing list archive at Nabble.com.
