Please use the mailing list [EMAIL PROTECTED] Do you use CardServiceRegistry.add() to add your MondexPurseCardServiceFactory? You should use this call instead of configuring your card service factory in the opencard.properties file. Peter Bendel, Smartcard Solutions, Tel.: +49-7031-16-4650, Fax -4888 Dept. 4969, Bldg. 7103-01, Room 01-109 Lotus Notes: bed@ibmde IBM Pervasive Computing Division Internet: [EMAIL PROTECTED] Please visit the OpenCard Framework's homepage at http://www.opencard.org Mondex SST <[EMAIL PROTECTED]> on 26.10.99 16:03:49 Please respond to Mondex SST <[EMAIL PROTECTED]> To: Peter Bendel/Germany/IBM@IBMDE cc: Uwe Hansmann/Germany/IBM@IBMDE Subject: RE: [OCF Info] OCF 1.1.1 problem using native browser support with Netscape Dear Sirs, Thank you very much for your prompt reply! >my own tests showed that the current Versions of Netscape allow only Java >classes to link to native code that are installed in the >local classpath. > >So to package your wallet correctly: > >Install the OCF core classes and the PCSC CardTerminal classes locally in the >classpath of the browser together with the >native DLL (OCFPCSC1). I searched all classes that called are with " native " keywards (presumably calling native codes) and not bundle these classes into the jar file. Meanwhile I set: classpath=<ocfpath>\base-core.jar;<ocfpath>\base-opt.jar; <ocfpath>\reference-terminals-windows.jar;<ocfpath>\reference-services so that all classes which may call native codes will be supplemented by the local classpath. > >The rest of the application (e.g. applet invoking OCF, OCF cardservices, OCF >SystemAccess class) can/should be >bundled in the signed jar file. > >Then it works fine. I tried to bundle all the classes including: - applet invoking OCF; - OCF classes from base-core.jar, base-opt.jar, reference-terminals.windows except opencard.core.util and opencard.core.terminal into a signed jar file but the following trace is still observed. It seems that our MondexPurseCardServiceFactory must be in the same location (local/jar) with some other essential classes. Note that this MondexPurseCardServiceFactory is actually already bundled into the signed jar file. May you help on this problem? Thanks for your attention. Cheung Ming Kee Self Service and Mondex Systems Development SST/TSV HSBC =========================================================== Java console trace: using NetscapeSystemAccess.getBoolean() using NetscapeSystemAccess.getBoolean() using NetscapeSystemAccess.getProperty() using NescapeSystemAccess.loadLibrary() using NescapeSystemAccess.loadLibrary() using NetscapeSystemAccess.getProperty() Class "MondexPurseCardServiceFactory" not found java.lang.NullPointerException at Wallet.getBalance(Compiled Code) at WebWallet.btnBalance_ActionPerformed(Compiled Code) at WebWallet$SymAction.actionPerformed(Compiled Code) at java.awt.Button.processActionEvent(Compiled Code) at java.awt.Button.processEvent(Compiled Code) at java.awt.Component.dispatchEventImpl(Compiled Code) * at java.awt.Component.dispatchEvent(Compiled Code) at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code) at java.awt.EventDispatchThread.run(Compiled Code) at netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled Code) --- > 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/
