Search this mailing list for an work-around for this problem. It-s
caused by a mismatch between CommAPI and Java Plugin. It's called on
this mailing list Hariprya-Kanduri work-around(for the name of the guy
that proposed it).
    Simply said, you should add some lines of code, before
SmartCard.start().
    The Hariprya Kanduri work-around is posted here by Chris Muller at :


            http://www.opencard.org/archive/opencard/1374.html


    My code look like this:

.........................................................
            String drivername = "com.sun.comm.Win32Driver";
            try {
                CommDriver driver =
                    (CommDriver)
Class.forName(drivername).newInstance();
                driver.initialize();
            }catch (Exception e) {
                textArea1.append("Exception caught in drivername:" +
e.getMessage());
            }
            //start OCF layer
            textArea1.append("\nInitializing OCF...");
            SmartCard.start();
.................................................................

    It's working now. You will see an error message on the console but
don't mention it because it's working anyway. The driver is initialized
now by you, and it's not necessary for the Plugin to do anything in this
matter.
    Hope it will help you!





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