first version of the trunk are you running?
it looks like you installed JRE 1.1.3.
Trunk uses JDK 1.5 or higher.
does you jpos.xml contain something like
http://docs.ofbiz.org/pages/viewpage.action?pageId=5063


gopalbi sent the following on 10/30/2008 6:52 AM:
> Hello Friend i need your great help,
> 
>     I am using TM-U220D printer in ofbiz. But few exception is come. I had
> check this printer with Epson_JavaPOS_ADK_1112.exe .
>  I had install the  Epson_JavaPOS_ADK_1112.exe. and then install the
> jai-1_1_3-lib-windows-i586-jre.exe then check into the healthcheck it is
> working fine.
> 
> But when i am trying this thing with ofbiz then it show exception
> I am writing step what i was done.
> modify the jpos.xml [attachment]
> modify the pos-containers.xml [attachment]
> and add few lib files
> OFBiz\specialpurpose\pos\lib\
>         pos.jar, uposcommon.jar, epsonupos.jar
>         jpos111.jar 
>         linuxUsbDriver.jar (No need for Win)
>         xercesImpl.jar, xml-apis.jar
>         looks-1.2.2.jar, looks-2.0.2.jar
> 
> 6.Modified the pos-containers.xml, under \OFBiz\framework\base\config:
> For <container name="jpos.device-container"
> class="org.ofbiz.pos.container.JposDeviceContainer">,
> 
> Made the device name same as you register in jpos.xml file, eg:
>         <property name="Receipt" value="POSPrinter"/> 
> 
> 
> 
> When a run the pos then this exception is come:
> ------------------------------***************--------------------------
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no
> jp_co_epson_upos_f
> irm_FirmNativeAccess in java.library.path
>         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)
>         at java.lang.Runtime.loadLibrary0(Runtime.java:823)
>         at java.lang.System.loadLibrary(System.java:1030)
>         at jp.co.epson.upos.pntr.CommonPrinterService.<clinit>(Unknown
> Source)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:169)
>         at
> jp.co.epson.uposcommon.util.EpsonJposServiceInstanceFactory.createIns
> tance(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:1
> 01)
>         at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
>         at org.ofbiz.base.start.Start.startServer(Start.java:312)
>         at org.ofbiz.base.start.Start.start(Start.java:316)
>         at org.ofbiz.base.start.Start.main(Start.java:399)
> 
> Please help me :
> 
> Thanks in advance:
> Gopal Bisht
> 
> 

Reply via email to