i've got this problem too. i'm using a gcr415 (pretending to be a 410) & javax.comm. i started seeing this after trying to use the passthru service. [EMAIL PROTECTED] On Mon, 17 Jan 2000, Erik-Oliver Blass wrote: > Dear List, > > > after trying for serveral hours I'm desperate: > > Exception in thread "main" java.lang.IllegalAccessError: try to access field ope > ncard/core/service/CardServiceFactory.class$opencard$core$service$CardServiceFac > tory from class opencard/opt/service/OCF11CardServiceFactory > at opencard.opt.service.OCF11CardServiceFactory.<init>(OCF11CardServiceF > actory.java:67) > at opencard.opt.util.PassThruCardServiceFactory.<init>(PassThruCardServi > ceFactory.java:81) > at java.lang.Class.newInstance0(Native Method) > at java.lang.Class.newInstance(Class.java:241) > at opencard.core.service.SmartCard.configureServiceRegistry(SmartCard.ja > va, Compiled Code) > at opencard.core.service.SmartCard.start(SmartCard.java:528) > at GetProperties.main(GetProperties.java:66) > > > > is the Exception I get from Towitoko Chipdrive Mini, Win NT 4.0, Jdk 1.2, > OCF 1.1.1 after starting GetProperties from the samples directory. > > My opencard.proberties contains: > OpenCard.services = opencard.opt.util.PassThruCardServiceFactory > OpenCard.terminals =com.ibm.opencard.terminal.pcscmig.PcscMigCardTerminalFactory > > readers.cfg is: > Reader[1] > PORT_NUMBER = 2 > READER_NAME = TOWITOKO terminals > DLL_NAME = gen_twk.dll > > everything as described in the Towitoko manuals. > > My classpath is: > classpath=.;d:\opencard\ocf1.1.1\lib\base-core.jar;d:\opencard\ocf1.1.1\lib\base > -opt.jar;d:\opencard\ocf1.1.1\lib\reference-services.jar;d:\opencard\ocf1.1.1\li > b\reference-terminals-windows.jar;c:\program files\javasoft\jre\1.2\lib\comm.jar > ;d:\opencard\ocf1.1.1\lib\ibmservices.jar;d:\opencard\ocf1.1.1\lib\migterminals. > jar > > Can you help me out ? > > > Best regards, > Erik, Karlsruhe/Germany > > P.S.: The debug messages just before the exception are: > > [...] > [DEBUG ] opencard.core.terminal.CardTerminalRegistry.cardTerminalAdded > --- message (com.ibm.opencard.terminal.pcscmig.PcscMigCardTerminal@feb6a8fd > + name TOWITOKO terminals > + type PCSCMIG > + addr ) > --- thread Thread[main,5,main] > --- source opencard.core.terminal.CardTerminalRegistry@f792a8fd > > [DEBUG ] opencard.core.terminal.CardTerminalRegistry.addPollable > --- message (com.ibm.opencard.terminal.pcscmig.PcscMigCardTerminal@feb6a8fd > + name TOWITOKO terminals > + type PCSCMIG > + addr ) > --- thread Thread[main,5,main] > --- source opencard.core.terminal.CardTerminalRegistry@f792a8fd > > [DEBUG ] opencard.core.service.CardServiceRegistry.<init> > --- message instantiating > --- thread Thread[main,5,main] > --- source class opencard.core.service.CardServiceRegistry > > [DEBUG ] opencard.core.service.SmartCard.getRegistryEntry > --- message tag OpenCard.services = opencard.opt.util.PassThruCardServiceFacto > ry > --- thread Thread[main,5,main] > --- source class opencard.core.service.SmartCard > > [DEBUG ] opencard.core.service.CardServiceFactory.<init> > --- message instantiating > --- thread Thread[main,5,main] > --- source class opencard.core.service.CardServiceFactory > > > > --- > > Visit the OpenCard web site at http://www.opencard.org/ for more > > information on OpenCard---binaries, source code, documents. > > This list is being archived at http://www.opencard.org/archive/opencard/ > > ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email > ! to > ! [EMAIL PROTECTED] > ! containing the word > ! unsubscribe > ! in the body. --- > Visit the OpenCard web site at http://www.opencard.org/ for more > information on OpenCard---binaries, source code, documents. > This list is being archived at http://www.opencard.org/archive/opencard/ ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email ! to ! [EMAIL PROTECTED] ! containing the word ! unsubscribe ! in the body.
