Dear all:

I am trying an example by referencing the OPPurse example provided 
by Gemxpresso 211 PKIS, by reading OCF Programmer Guide V1.2 I know how 
to sign the class files (including opencard.opt.netscape.NetscapeSystemAccess.class)
and it detected the inserted card while I inserted the card of 
Gemxpresso 211 PKIS into the reader (Gemplus GC410) under Netscape 
Browser thru the PS/SC interface.  But after I included the following 
codes, some exceptions were thrown and found in Java Console.  

                ...
                ...
                ...
            // get the OP/VOP specific CardService
            serv = (CardServiceVOP211)
                sc.getCardService(CardServiceVOP211.class, true);

            // create the  high level API library object
            libService = new GemXpressoServiceVOP211();
            // set the OP/VOP CardService to the service library for communication
            libService.setCardService(serv);
                ...
                ...
                ...

//////////////////////////////////////////////////////////////////////////
// Following Exceptions found in Java Console in Netscape Browser       //             
 
// After I inserted the Card into the reader                            //
//////////////////////////////////////////////////////////////////////////
...
...
using NetscapeSystemAccess.getProperty()
using NetscapeSystemAccess.getProperty()
using NetscapeSystemAccess.getProperty()
Insert Gemplus Card

Exception caught in initOCF : null
netscape.security.AppletSecurityException: security.checkexit: -1  
at java.lang.Throwable.<init>(Compiled Code)  
at java.lang.Exception.<init>(Compiled Code)  
at java.lang.RuntimeException.<init>(Compiled Code)  
at java.lang.SecurityException.<init>(Compiled Code)  
at netscape.security.AppletSecurityException.<init>(Compiled Code)  
at netscape.security.AppletSecurityException.<init>(Compiled Code)  
at netscape.security.AppletSecurity.checkExit(Compiled Code)  
at java.lang.SecurityManager.checkExit(Compiled Code)  
at java.lang.Runtime.exit(Compiled Code)  
at java.lang.System.exit(Compiled Code)  
at Simple.init(Compiled Code)
* at netscape.applet.DerivedAppletFrame$InitAppletEvent.dispatch(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)
==========================================================================================

Could anyone tell me how to solve this problem with Gemxpresso 211 PKIS?

Best regards,
Simon


---
> 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.

Reply via email to