Anyone out there used the POStest in suse linux? My install has jpos installed and I think running ok, java 1.4.2, and when I try to run the posttest.sh it dies saying something about invalid arguments... Have I missed a basic step to configure something or add a classpath, the JPOS class path was done ok, and I manually added the path to the postest directory and even the postest jar- all to no avail.
Also just tried on a windows box, and had the same failure message...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
/downloads/posttest # ./POStest.sh
Exception in thread "main" java.lang.VerifyError: (class: jpos/config/simple/xml/XercesRegPopulator, method: load signature: ()V) Incompatible object argument for method call
at jpos.config.simple.xml.SimpleXmlRegPopulator.<init>(Unknown Source)
at com.jpos.POStest.ConfiguredDevicesPanel.make(ConfiguredDevicesPanel.java:41)
at com.jpos.POStest.POStestGUI.<init>(POStestGUI.java:34)
at com.jpos.POStest.POStest.main(POStest.java:68)
Does this imply that I should have used jpos.config/loader to set things up, I have loaded the config/loader but was unable to get it running either as it seems to want the Reference Implimentation setup. How do I get the JCL RI which is the simple JCL setup ? The documents dont seem to match the distribution. I dont have a jclall.jar to add to the classpath or an src.jar in the src directory ???
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looks like you need to download the Xerces library. POSTest uses xerces to parse the xml file. Go to <http://xerces.apache.org/xerces2-j/download.cgi> and download the latest version, then place xercesImpl.jar somewhere on you classpath.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anyone out there used the POStest in suse linux? My install has jpos installed and I think running ok, java 1.4.2, and when I try to run the posttest.sh it dies saying something about invalid arguments... Have I missed a basic step to configure something or add a classpath, the JPOS class path was done ok, and I manually added the path to the postest directory and even the postest jar- all to no avail.
Also just tried on a windows box, and had the same failure message...
Can you post the exact failure message.
Sorry should have done so before:
/downloads/posttest # ./POStest.sh
Exception in thread "main" java.lang.VerifyError: (class: jpos/config/simple/xml/XercesRegPopulator, method: load signature: ()V) Incompatible object argument for method call
at jpos.config.simple.xml.SimpleXmlRegPopulator.<init>(Unknown Source)
at com.jpos.POStest.ConfiguredDevicesPanel.make(ConfiguredDevicesPanel.java:41)
at com.jpos.POStest.POStestGUI.<init>(POStestGUI.java:34)
at com.jpos.POStest.POStest.main(POStest.java:68)
Does this imply that I should have used jpos.config/loader to set things up, I have loaded the config/loader but was unable to get it running either as it seems to want the Reference Implimentation setup. How do I get the JCL RI which is the simple JCL setup ? The documents dont seem to match the distribution. I dont have a jclall.jar to add to the classpath or an src.jar in the src directory ???
Thanks
Looks like you need to download the Xerces library. POSTest uses xerces to parse the xml file. Go to <http://xerces.apache.org/xerces2-j/download.cgi> and download the latest version, then place xercesImpl.jar somewhere on you classpath.