I used the work-around for the mismatch between Java2 and CommAPI. I
just placed that portion of code in front of the SmartCard.start() but
an exception occured and that's what I got in the Java Plugin console.
I replaced the IPs with ****.
JAR cache enabled.
rsion 1.2.2_007
Using JRE version 1.2.2
User home directory = C:\WINNT\Profiles\******
Proxy Configuration: Manual Configuration
Proxy: http=*******;ftp=*********
Proxy Overrides: *www
Opening http://*********/PHP/*********/OCFApplet.jar
CacheHandler file name: C:\Program
Files\Netscape\Users\default\cache\MVD6KH0K.JAR
Opening http://*********/PHP/*********/base-core.jar
CacheHandler file name: C:\Program
Files\Netscape\Users\default\cache\M02QUIMB.JAR
Opening http://*********/PHP/*********/base-opt.jar
CacheHandler file name: C:\Program
Files\Netscape\Users\default\cache\MVIEG99O.JAR
Opening http://*********/PHP/*********/comm.jar
CacheHandler file name: C:\Program
Files\Netscape\Users\default\cache\M1TI7T5M.JAR
Opening http://*********/PHP/*********/gemplus-services.jar
CacheHandler file name: C:\Program
Files\Netscape\Users\default\cache\M0H5ESOH.JAR
Opening http://*********/PHP/*********/gemxpresso.jar
CacheHandler file name: C:\Program
Files\Netscape\Users\default\cache\M1TF5HDL.JAR
Opening http://*********/PHP/*********/gemplus-rad-terminals.jar
CacheHandler file name: C:\Program
Files\Netscape\Users\default\cache\MU9AU588.JAR
Opening http://*********/PHP/*********/gemplus-terminals.jar
CacheHandler file name: C:\Program
Files\Netscape\Users\default\cache\MV1F1S9M.JAR
Opening http://*********/PHP/*********/gse.jar
CacheHandler file name: C:\Program
Files\Netscape\Users\default\cache\MVNTDUIV.JAR
Opening http://*********/PHP/*********/com/sun/comm/Win32Diver.class
CacheHandler file name: null
Connecting http://*********/PHP/*********/com/sun/comm/Win32Diver.class
with proxy=193.52.45.51:8080
Exception caught in initOCF :
com/gemplus/opencard/terminal/GemplusRadCardTerminalFactory
This is the code of the work around and the exact place where it is:
---------------------------------------------------------------
try {
String drivername = "com.sun.comm.Win32Diver";
try {
CommDriver driver =
(CommDriver)
Class.forName(drivername).newInstance();
driver.initialize();
}catch (Exception e) {
textArea1.append("Exception caught in drivername:" +
e.getMessage());
}
//start OCF layer
SmartCard.start();
// fixe the target
-------------------------------------------------------------------------
Maybe is the name of the driver, because the sample where I got the
work-around, it was for Linux, and the name was for
"gnu.io.RXTXCommDriver". Anybody knows if it's correct the way I used
it, or which is the good way?
Is there something a miss?
Thank you, very much!
---
> 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.