Opencard.Terminal

Hi guys,
I'm trying to communicate with a smartcard through an omnikey 3121 reader using OpenCard Framework.
My problem is about the configuration of the opencard.properties: What is the command line I have to put
in order to correctly set the communication between the host and my omnikey smart card reader?
I have everything I need except this little particular and I'm becoming crazy!!!
I have written the following command line: OpenCard.terminals=com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
But the reader is not recognized: the error code is 8010000f!
Thanks in advance to everyone able to reply to me!

Hi,
This could be due to your card OS doing a self check on power up. Once the card has validated itself it will start responding. Is this a contact or contactless card you are using?
Cheers,
Shane

Similar Messages

  • Opencard.core.terminal.CardTerminalException: no response from smartcard

    I am using GemPlus GemPC410 cardreader and JCOP 3.0 java card. The applet has been installed on the card but when you try to send any APDU it throws the above error "opencard.core.terminal.CardTerminalException: no response from smartcard".
    The complete stack trace of the error is as below
    opencard.core.terminal.CardTerminalException: no response from smartcard at com.gemplus.opencard.terminal.GemplusSerialCardTerminal.internalSendAPDU(GemplusSerialCardTerminal.java:763)
         at com.gemplus.opencard.terminal.GemCoreCardTerminal.internalSendAPDU(GemCoreCardTerminal.java:349)
         at opencard.core.terminal.CardTerminal.sendAPDU(CardTerminal.java:494)
         at opencard.core.terminal.SlotChannel.sendAPDU(SlotChannel.java:115)
         at opencard.core.service.CardChannel.sendCommandAPDU(CardChannel.java:222)
         at opencard.opt.applet.ISOAppletSelector.selectApplet(ISOAppletSelector.java:134)
         at opencard.opt.applet.BasicAppletCardService.selectApplet(BasicAppletCardService.java:155)
         at opencard.opt.applet.BasicAppletCardService.sendCommandAPDU(BasicAppletCardService.java:186)
         at purse.wallet.MyCardProxy.selectApplet(MyCardProxy.java:220)
         at purse.wallet.FirstApp.cardInserted(FirstApp.java:75)
         at opencard.core.event.EventGenerator.updateCards(EventGenerator.java:233)
         at opencard.core.terminal.CardTerminalRegistry.cardInserted(CardTerminalRegistry.java:281)
         at opencard.core.terminal.CardTerminal.cardInserted(CardTerminal.java:577)
         at com.gemplus.opencard.terminal.GemplusSerialCardTerminal.poll(GemplusSerialCardTerminal.java:633)
         at opencard.core.event.EventGenerator.run(EventGenerator.java:199)
         at java.lang.Thread.run(Thread.java:595)The point where exception occurs in our code is given below : -
    public boolean selectApplet()
        throws CardServiceInvalidCredentialException,
               CardServiceOperationFailedException,
               CardServiceInvalidParameterException,
               CardServiceUnexpectedResponseException,
               CardServiceException,
               CardTerminalException {
        try {
            // Set up the command APDU and send it to the card.
             System.out.println("Inside selApplet");
              allocateCardChannel();
             channel = getCardChannel();
            byte[] SelAid= { (byte)0x00, (byte)0xA4, (byte)0x04, (byte)0x00,
                      (byte)0x05,(byte)0x37, (byte)0x36, (byte)0x35,
                      (byte)0x34, (byte)0x33 };
            selectAPDU = new CommandAPDU( SelAid, 5 );
            // Send command APDU and check the response.
            //this is where the exception is thrown
            ResponseAPDU response =channel.sendCommandAPDU(channel,selectAPDU,this.getAppletID());
            System.out.println("response " + response);
            switch (response.sw() & 0xFFFF) {
                case OK :
                    return true;
                default :
                    throw new
                        CardServiceUnexpectedResponseException
                        ("RC=" + response.sw());
        } finally {
            releaseCardChannel();
        what could be the solution?
    thanks for reading.

    Hi,
    This could be due to your card OS doing a self check on power up. Once the card has validated itself it will start responding. Is this a contact or contactless card you are using?
    Cheers,
    Shane

  • Exception at opencard.opt.iso.fs.FileSystemCardService

    I am Trying to test my Smart card with some Sample Programs which i got it from archives.I am using Twitiko's ChipDrive Micro 100 Reader and
    MPCOS Card.When i tried to run TestMPCOS.java getting this following exception.I am sure that base-opt.jar is in my classpath.any comments will be appreciated .
    Waiting for card...
    Card detected
    java.lang.ClassNotFoundException: CardService implementing interface opencard.opt.iso.fs.FileSystemCardService
    at opencard.core.service.CardServiceRegistry.getCardServiceInstance(CardServiceRegistry.java:269)
    at opencard.core.service.SmartCard.getCardService(SmartCard.java:331)
    at TestMPCOS.<init>(TestMPCOS.java:52)
    at TestMPCOS.main(TestMPCOS.java:104)
    Opencard.properties:
    OpenCard.services = \
    com.ibm.opencard.factory.MFCCardServiceFactory \
    opencard.opt.util.PassThruCardServiceFactory
    OpenCard.terminals=com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory

    Hi Joseph,
    I am using Twitiko's ChipDrive 100 Reader and Gemplus MPCOS-EMV card.
    When i run the sample application I am getting the same exception.U told it is J2SE error .In My class path I included all the jar files.
    In my Application if i use
    CardRequest cr = new CardRequest(CardRequest.NEWCARD, null,ileAccessCardService.class); then only i am getting this exception.
    If i use CardRequest cr = new CardRequest()(deprecated) Just displaying Waiting for card eventhrough i inserted my card..
    Please help me how to solve.
    Waiting for card...
    Card detected
    java.lang.ClassNotFoundException: CardService implementing interface opencard.op
    t.iso.fs.FileSystemCardService
    at opencard.core.service.CardServiceRegistry.getCardServiceInstance(Card
    ServiceRegistry.java:269)
    at opencard.core.service.SmartCard.getCardService(SmartCard.java:331)
    at TestMPCOS.<init>(TestMPCOS.java:53)
    at TestMPCOS.main(TestMPCOS.java:106)
    Here is my Classpath:c:\jdk1.3\lib\tools.jar;\c:\jdk1.3\lib;c:\jdk1.3\lib\comm.jar;C:\smartcards\OCF1.2\lib\base-core.jar;C:\jdk1.3\jre\lib\ext\gemplus-gpk-0.1.jar;C:\jdk1.3\j
    re\lib\ext\gemplus-service-0.3.jar;C:\OpenCard\OCF1.2\lib\pcsc-wrapper-src.jar;C:\jdk1.3\jre\lib\ext\reference-services.jar;C:\OpenCard\OCF1.2\lib\base-opt.jar;C:\OpenCard\OCF1.2\lib\reference-terminals-windows.jar;C:\OpenCard\OCF1.2\lib\migterminals.jar;

  • Where is OPENCARD FRAMEWORK?????

    Hi guys!
    Does anybody knows where the OCF official site has gone??? If i go to www.opencard.org there is a japanese site and the only thing I can understand is a strange picture of white feathers!!!
    I need to download the OCF v1.2 but I absolutely don't know where! In the past I have downloaded the OCF, actually i don't remember if it was in the official site, but now it seems that OCF has disappeared from the web!!!
    If someone have the jar file of the OCF version 1.2 and the com.gemplus.opencard.terminal library(i can't find that neither!!!) could you please send it to me to the following e-mail: [email protected]:
    please, it's very urgent!!!
    Thanks in advance,
    Daniele

    Hi,
    I am working on OCF and very new with this.. i am using the RTE8000 reader and the smart card. But i dont know whether i can used this reader with ocf .
    RTE8000 is not a smart card reader and its a port(com & lpt) reader. Has i read that maximum people using ocf with smart card reader.
    Thanks
    Gopal

  • Error while Accessing Smart Card using Open Card Frame Work

    HI
    Using Open Card Frame work I am trying to access GemAlto provided Smart Card (java card). I downloaded the Open Card Frame work from “http://www.openscdp.org/ocf/download.html”.
    I am executing a basic program to access the data stored in smart card.
    public static void main(String[] args)
                        System.out.println("reading smartcard file...");
                        try {
                        SmartCard.start();
                        CardRequest cr = (FileAccessCardService.class);
                        System.out.println("calling waitforCard");
                        SmartCard sc = SmartCard.waitForCard(cr); //Error comes after this line
                        System.out.println("After waitForCard called");
                        FileAccessCardService facs = (FileAccessCardService)
                        sc.getCardService(FileAccessCardService.class, true);
                        CardFile root = new CardFile(facs);
                        CardFile file = new CardFile(root, ":c009");
                        byte[] data = facs.read(file.getPath(), 0,
                        file.getLength() );
                        sc.close();
                        String entry = new String(data);
                        entry = entry.trim();
                        System.out.println(entry);
                        } catch (Exception e) {
                             e.printStackTrace(System.err);
                        System.exit(0);
    The content of the opencard.properties are :
              OpenCard.services = opencard.opt.util.PassThruCardServiceFactory
    OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
    OpenCard.trace = opencard:5 com.ibm:4 opencard.opt.database:6
    After the line “ SmartCard sc = SmartCard.waitForCard(cr);”
    the program is expecting a card to be inserted but while inserting Smartcard the following error message come :
              calling waitforCard
              [ERROR    ] com.ibm.opencard.terminal.pcsc10.OCFPCSC1.OCFPCSC1.SCardConnect
    --- message
    --- thread Thread[Thread-0,5,main]
    --- source com.ibm.opencard.terminal.pcsc10.OCFPCSC1@2e7263
    [ERROR    ] com.ibm.opencard.terminal.pcsc10.OCFPCSC1.OCFPCSC1.SCardConnect
    --- message Protocol = 0
    --- thread Thread[Thread-0,5,main
    --- source com.ibm.opencard.terminal.pcsc10.OCFPCSC1@2e7263
    Basically the error is coming from the SCardConnect function of OCFPCSC1.cpp file.
    Please reply to my mail id if any body has any idea how to resolve this issue.
    MAIL-ID : [email protected]
    With Regards
    Swarup
    Finacle Archie
    Infosys Technologies Limited,Bhubaneswar,India

    Sounds like an issue that has to do with JavaScript Origin policy. You'll have to use Domain Relaxing for this. Read all about it here:
    http://help.sap.com/saphelp_nw04/helpdata/en/59/87b54064c2742ae10000000a155106/frameset.htm
    here:
    http://help.sap.com/saphelp_nw04/helpdata/en/5e/473d4124b08739e10000000a1550b0/frameset.htm
    and here:
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/f8751d8c6b254dac189f4029c76112/frameset.htm

  • Error uploading in host directory

    Hi
    I've seen different topics on this but I still can't seem to fix my problem.
    Whenever I put a host directory (in my case: www) I get an error message. Please check out the two files below for more insight.
    This used to work before so it's a total mystery to me.
    Thanks in advance!

    Which reader you're using?
    If you use GemPlus like, check your opencard.properties and find this line:
    OpenCard.terminals=com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
    I had the same problem, using new pscs wrapper, because the previous line was like this:
    OpenCard.terminals=com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory|myGEMPlus|GEM430PC|SHARED.
    After I removed the reader definition, everything was ok.
    Regarding the second error, check your APDU command, is it properly structured. If you send command, without data, then the command should look like this (without LC):
    CLA, INS, P1, P2, LE
    Cheers

  • Class Not Found Error in JDeveloper with Applet

    HI Gentlemen,
    I have to set up an applet for my project using JDeveloper. I created an ADF application with Model and View projects, where the Model project has a very simple Applet and a HTML page to call it. The whole thing is located in ..\mywork\.. using only JDeveloper defaults. The applet only has a text field with preset contents "HI, I am the applet!" just to see that it is working. Now, when I start the run target HTML page against the applet viewer, it is OK. However, when I start against the built-in Weblogic server, the following Java console results:
    Java Plug-in 1.6.0_31
    Verwendung der JRE-Version 1.7.0_02-b13 Java HotSpot(TM) Client VM
    Home-Verzeichnis des Benutzers = C:\Users\gksadmin
    c: Konsole löschen
    f: Objekte in Finalisierungswarteschlange finalisieren
    g: Speicherbereinigung
    h: Diese Hilfemeldung anzeigen
    l: ClassLoader-Liste ausgeben
    m: Speicherbelegung anzeigen
    o: Protokollierung auslösen
    q: Konsole ausblenden
    r: Richtlinien-Konfiguration neu laden
    s: System- und Bereitstellungseigenschaften ausgeben
    t: Threadliste ausgeben
    v: Thread-Stack ausgeben
    x: ClassLoader-Cache löschen
    0-5: Trace-Stufe auf <n> setzen
    Laden: Klasse card.model.Applet1 nicht gefunden.
    java.lang.ClassNotFoundException: card.model.Applet1
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:722)
    Ausnahme: java.lang.ClassNotFoundException: card.model.Applet1
    I'm sorry about it--if I add the ..\model\ directory to the Classpath, it does the same. Nothing happens with the browser.
    Can anyone help me?
    Thank you in advance, kind regards from
    Miklos HERBOLY

    HI Frank,
    After expanding your Applet example it used to work fine. Now as I installed both Java and JDeveloper/Weblogic Server several times, it always complains about some jrockit. I am blurred why this option was included in the java command. Can you help a little bit?
    [Waiting for the domain to finish building...]
    [02:19:31 PM] Creating Integrated Weblogic domain...
    [02:19:54 PM] Extending Integrated Weblogic domain...
    [02:20:00 PM] Integrated Weblogic domain processing completed successfully.
    *** Using port 7101 ***
    C:\Users\gksadmin\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m
    WLS Start Mode=Development
    CLASSPATH=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Java\JDK17~1.0\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;.;C:\ocf\lib\ocf-cc.jar;c:\windows\system32;c:\windows\SysWOW64;lib/gemplus-service-0.3.jar;C:\ocf\de\cardcontact\opencard\terminal\ctapi4ocf;C:\Java\jdk1.7.0\jre\lib\plugin.jar
    PATH=C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\native;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\Java\JDK17~1.0\jre\bin;C:\Java\JDK17~1.0\bin;C:\Program Files (x86)\PC Connectivity Solution\;D:\app\gksadmin\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\"Program Files (x86)"\Java\jdk1.7.0\bin;c:\ocf\lib;c:\Windows/System32;C:\Java\jdk1.7.0\bin;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    *  To start WebLogic Server, use a username and   *
    *  password assigned to an admin-level user.  For *
    *  server administration, use the WebLogic Server *
    *  console at http:\\hostname:port\console        *
    starting weblogic with Java version:
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.
    Unrecognized option: -jrockit
    Starting WLS with line:
    C:\Java\JDK17~1.0\bin\java -jrockit   -Xms256m -Xmx512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true  -Xverify:none  -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server  -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\Users\gksadmin\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1 -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\Users\gksadmin\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=C:\Users\gksadmin\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1  -Digf.arisidbeans.carmlloc=C:\Users\gksadmin\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\carml  -Digf.arisidstack.home=C:\Users\gksadmin\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\Users\gksadmin\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\Users\gksadmin\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol  -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\gksadmin\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\oracle\store\gmds   -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath  weblogic.Server
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.
    Unrecognized option: -jrockit
    Process exited.Thank you very much, regrads:
    Miklos

  • Smart Card and  Java Card (URGENT)

    Dear everyone.
    I have purchased a card reader (which is supposed to be java card compatible).
    I have 2 problems.
    1. I just wonder if i can use a Smart Card generally available. Do i need to have a special card for Java Card??
    2. Can i use card kit to interface to the reader/writer? How do i install my applets??
    Please reply soon.
    Thank you very much.

    I tried to execute the OCF samples.
    this code
    OpenCard.services = com.ibm.opencard.factory.MFCCardServiceFactory
    did not give any trouble
    this code
    OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
    gave some troubles. May be because iam not using ibm terminal(card).
    And also, i think the OCF samples will not work anyhow, because the Reflex reader is not OCF complaint.
    So the following may not work
    OpenCard.services = com.slb.opencard.Cyberflex
    I have most imp. questions to ask you now.
    1. What card should i purchase and from whom (along with some software if necessary)?
    2. What is the procedure for reading/writing to that card using the Reflex reader.
    Please help.
    Thanks
    Goldy.

  • ClassNotFoundException in OCF

    I have code fragment
    FileAccessCardService facs = null;
    try
               //sm is SmartCard Object
                facs = (FileAccessCardService)sm.getCardService(FileAccessCardService.class, true);
    catch(ClassNotFoundException e)
                e.printStackTrace();
                //System.out.println("xxx");
            catch(CardServiceException e)
                e.printStackTrace();
                //System.out.println("555");
    }when I run my Project i found error
    java.lang.ClassNotFoundException: CardService implementing interface opencard.opt.iso.fs.FileAccessCardService
    and my opencard.properties is
    OpenCard.services = \
    com.ibm.opencard.factory.MFCCardServiceFactory \
    opencard.opt.util.PassThruCardServiceFactory
    OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
    OpenCard.trace = opencard:5and I add OCF lib to classpath
    How I solve my problem to my project can run?
    Thank you

    I have code fragment
    FileAccessCardService facs = null;
    try
               //sm is SmartCard Object
                facs = (FileAccessCardService)sm.getCardService(FileAccessCardService.class, true);
    catch(ClassNotFoundException e)
                e.printStackTrace();
                //System.out.println("xxx");
            catch(CardServiceException e)
                e.printStackTrace();
                //System.out.println("555");
    }when I run my Project i found error
    java.lang.ClassNotFoundException: CardService implementing interface opencard.opt.iso.fs.FileAccessCardService
    and my opencard.properties is
    OpenCard.services = \
    com.ibm.opencard.factory.MFCCardServiceFactory \
    opencard.opt.util.PassThruCardServiceFactory
    OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
    OpenCard.trace = opencard:5and I add OCF lib to classpath
    How I solve my problem to my project can run?
    Thank you

  • Unable to bypass jrockit option

    HI Gentlemen,
    I have downloaded a good sample Applet/ADF program. It has been working A1 with my Java7 and JDeveloper 11.1.1.0.6. After installing Java and Fusion Middleware several times, now trying to execute the .jspx page with the builtin weblogic server always generates a java command with -jrockit, which is not available. I am completely blocked from further development. Can anyone help me, why it now complains about jrockit, which I do not use at all?
    Thank you, kind regards:
    Miklos HERBOLY
    [Waiting for the domain to finish building...]
    [11:18:27 AM] Creating Integrated Weblogic domain...
    [11:18:52 AM] Extending Integrated Weblogic domain...
    [11:18:58 AM] Integrated Weblogic domain processing completed successfully.
    *** Using port 7101 ***
    C:\Users\gksadmin\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m
    WLS Start Mode=Development
    CLASSPATH=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Java\JDK17~1.0\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;.;C:\ocf\lib\ocf-cc.jar;c:\windows\system32;c:\windows\SysWOW64;lib/gemplus-service-0.3.jar;C:\ocf\de\cardcontact\opencard\terminal\ctapi4ocf;C:\Java\jdk1.7.0\jre\lib\plugin.jar
    PATH=C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\native;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\Java\JDK17~1.0\jre\bin;C:\Java\JDK17~1.0\bin;C:\Program Files (x86)\PC Connectivity Solution\;D:\app\gksadmin\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\"Program Files (x86)"\Java\jdk1.7.0\bin;c:\ocf\lib;c:\Windows/System32;C:\Java\jdk1.7.0\bin;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    *  To start WebLogic Server, use a username and   *
    *  password assigned to an admin-level user.  For *
    *  server administration, use the WebLogic Server *
    *  console at http:\\hostname:port\console        *
    starting weblogic with Java version:
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.
    Unrecognized option: -jrockit
    Starting WLS with line:
    C:\Java\JDK17~1.0\bin\java -jrockit   -Xms256m -Xmx512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true  -Xverify:none  -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server  -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\Users\gksadmin\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1 -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\Users\gksadmin\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=C:\Users\gksadmin\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1  -Digf.arisidbeans.carmlloc=C:\Users\gksadmin\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\carml  -Digf.arisidstack.home=C:\Users\gksadmin\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\Users\gksadmin\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\Users\gksadmin\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol  -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\gksadmin\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\oracle\store\gmds   -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath  weblogic.Server
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.
    Unrecognized option: -jrockit
    Process exited.

    Check out bug 14320684 - I reported this previously.

  • Problems using OpenCardFramework

    Hello everybody,
    I'm working on an application interacting with a PC/SC smart card reader.
    When I call the OCF- Method 'waitForCard()' there is one Exception occuring (after I've inserted a card) I don't understand:
    opencard.core.terminal.CardTerminalException: Pcsc10CardTerminal: PCSC
    Exception in method SCardConnect
    return code = 8010000f
    what does the return code mean?
    Although the invoked CardTerminal has a type and a name there is no address. What should I try?
    Thankfull for your advice!!!

    Hi !
    I had the same problem trying to use the PCSC class, even downloaded from Gemplus their version of the same class, which, according to them, should work with any card - supporting PCSC !
    But had again the strange error code returned !
    Then read in a mail-arcihve, that OpenCard had some kind of Migrational Classes for CardTerminals - tried them, and it works ! For now ;)
    So , try them:
    enter in your opencard.properties file:
    OpenCard.terminals=\ com.ibm.opencard.terminal.pcscmig.PcscMigCardTerminalFactory
    thus tellyng the registry, to look and find whatever is on your machine .

  • Bridge OCF for windows

    Hello,
    I currently work on linux. To communicate with the card, I use PCSC, then a bridge PCSC-OCF and OCF. This architecture is easy to implement on linux.
    But how to make with Windows.
    Where find PCSC for Windows?
    Where find bridge PCSC-OCF for Windows?
    Think you

    I use PCSC, then a bridge PCSC-OCF and OCF.
    But how to make with Windows. PC/SC driver normally come with the driver of your Smartcard reader.
    Where find PCSC for Windows? In Windows 2K/XP it is already included ("smartcard" service).
    Where find bridge PCSC-OCF for Windows?Everything you need in OCF is to add
    com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
    to your list of OpenCard.terminals in the opencard.properties and make sure that
    pcsc-wrapper-src.jar is in your classpath, when running your client-application.

  • OCF APDU

    Hi,
    I am using a Multos card/ PCSC reader / com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal
    The pcsc wrapper alone is replaced in OCF1.2 from the following location:
    http://www.gemplus.com/techno/opencard/cardterminals/pcsc/doc/README-PCSCWrapper.html
    Following is the APDU I am trying to send. It means "Get Manufacturer Data command"
    80 02 00 00 00 00 16But I get an error as ,
    opencard.core.terminal.CardTerminalException: Did not recognize the APDU command
         at com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.internalSendAPDU(Pcsc10CardTerminal.java:807)
         at opencard.core.terminal.CardTerminal.sendAPDU(CardTerminal.java:494)
         at opencard.core.terminal.SlotChannel.sendAPDU(SlotChannel.java:115)I know this may not be the right place to post, but there are no other popular places to discuss about cards.
    Hope to hear from you,
    Thanks,
    Rajesh

    Thanks a lot!
    I had filled the empty with 0x00.
    This APDU works fine.
    80 02 00 00 16   Rajesh

  • OCF installation help

    I I am try to setup OCF using windows XP and ToWITOKO Chip Drive 100., I have read loads of article saying that it is supported. I have been doing this for 3 days now with no end in sight and could desperately do with any help.. I no this maybe a bit off topic but I'm sure there must be others who have gone though this and solved it.
    I am using C:\jdk1.3.1_10 JRE
    I have unzip OCF to c:\ocf\OCF
    I have installed the Readers driver which have been piece up by the OS and showing the reader and the card (JCOP).
    I am using Eclipse Platform Version: 2.1.2 to compile the soucre.
    The workspace env variables are as follows
    <?xml version="1.0" encoding="UTF-8"?>
    <classpath>
    <classpathentry exported="true" kind="lib" path="C:/ocf/OCF1.2/lib/base-opt.jar"/>
    <classpathentry exported="true" kind="lib" path="C:/ocf/OCF1.2/lib/pcsc-wrapper-2.0.jar"/>
    <classpathentry exported="true" kind="lib" path="C:/ocf/OCF1.2/lib/base-core.jar"/>
    <classpathentry exported="true" kind="lib" path="C:/ocf/OCF1.2/lib/reference-services.jar"/>
    <classpathentry kind="src" path="smart"/>
    <classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    <classpathentry kind="output" path="bin"/>
    </classpath>
    My OS env is at follows
    CLASSPATH=C:\ocf\OCF1.2\lib\pcsc-wrapper-2.0.jar;C:\ocf\OCF1.2\lib\reference-services.jar;C:\ocf\OCF1.2\lib\base-opt.jar;C:\ocf\OCF1.2\lib\base-core.jar;C:\java_card_kit-2_2_1\lib\api.jar;C:\java_card_kit-2_2_1\lib\jcrmiclientframework.jar;C:\java_card_kit-2_2_1\lib\javacardframework.jar;%CLASSPATH%
    CLIENTNAME=Console
    COMMONHOME=C:\Program Files\Rational\common
    CommonProgramFiles=C:\Program Files\Common Files
    COMPUTERNAME=GAMERSCH-GAM
    ComSpec=C:\WINDOWS\system32\cmd.exe
    HOME=C:\Documents and Settings\sean
    HOMEDRIVE=C:
    HOMEPATH=\Documents and Settings\sean
    JAVA_HOME=C:\jdk1.3.1_10
    JC_HOME=C:\java_card_kit-2_2_1
    LOGONSERVER=\\GAMERSCH-GAM
    NUMBER_OF_PROCESSORS=1
    NUTCROOT=C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT
    NUTSUFFIX=1
    NUT_SUFFIXED_SEARCHING=1
    OCF=C:\ocf\OCF1.2
    OS=Windows_NT
    Path=C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin;C:\jdk1.3.1_10\bin;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin\x11;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt;C:\WINDOWS\system32;C:\WINDOWS;
    C:\WINDOWS\System32\Wbem;%PATH%;"C:\Program Files\Hummingbird\Connectivity\7.00\Accessories\";C:\java_card_kit-2_2_1\bin;C:\jdk1.3.1_10\bin;%PATH%;C:\jdk1.3.1_10\jre\lib\ext;C:\C:\jdk1.3.1_1
    0\jre\lib;C:\Program Files\Rational\common;C:\ocf\OCF1.2\lib;C:\Program Files\Rational\Rose\TopLink\;C:\Program Files\Rational\Rational Test;C:\Documents and Settings\sean;C:\Documents and S
    ettings\sean\studio5se_user\AboutExamples\test
    This the source code that i am using to picece up the reader
    i
    mport java.io.FileNotFoundException;
    import opencard.core.OpenCardException;
    import opencard.core.service.SmartCard;
    import opencard.core.service.CardRequest;
    import opencard.opt.iso.fs.FileAccessCardService;
    import opencard.opt.iso.fs.CardFile;
    public class ReadFile2 {
    public static void main(String[] args) throws ClassNotFoundException{
    System.out.println("reading smartcard file...");
    try {
    SmartCard.start();
    // wait for a smartcard with file access support
    CardRequest cr = new CardRequest(CardRequest.NEWCARD, null, FileAccessCardService.class);
    SmartCard sc = SmartCard.waitForCard(cr);
    FileAccessCardService facs = (FileAccessCardService)
    sc.getCardService(FileAccessCardService.class, true);
    CardFile root = new CardFile(facs);
    CardFile file = new CardFile(root, ":c009");
    byte[] data = facs.read(file.getPath(), 0, file.getLength() );
    sc.close();
    String entry = new String(data);
    entry = entry.trim();
    System.out.println(entry);
    } catch (OpenCardException e) {
    e.printStackTrace(System.err);
    } catch (FileNotFoundException e) {
                             // TODO Auto-generated catch block
                             e.printStackTrace();
                        } finally { // even in case of an error...
    try {
    SmartCard.shutdown();
    } catch ( OpenCardException e ){
    e.printStackTrace(System.err);
    System.exit(0);
    And here is the error that i have had for days, i have t put OCFPCSC1 in the path and in the source folder of the project
    reading smartcard file...
    [DEBUG    ] opencard.core.service.SmartCard.getRegistryEntry
    --- message tag OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
    --- thread Thread[main,5,main]
    --- source class opencard.core.service.SmartCard
    [DEBUG    ] opencard.core.service.SmartCard.<shutdown>
    --- message shutdown OpenCard
    --- thread Thread[main,5,main]
    --- source class opencard.core.service.SmartCard
    java.lang.UnsatisfiedLinkError: no OCFPCSC1 in java.library.path
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1344)
         at java.lang.Runtime.loadLibrary0(Runtime.java:744)
         at java.lang.System.loadLibrary(System.java:815)
         at opencard.core.util.SystemAccess.loadLibrary(SystemAccess.java:111)
         at com.ibm.opencard.terminal.pcsc10.OCFPCSC1.loadLib(OCFPCSC1.java:64)
         at com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory.open(Pcsc10CardTerminalFactory.java:217)
         at com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory.<init>(Pcsc10CardTerminalFactory.java:84)
         at java.lang.Class.newInstance0(Native Method)
         at java.lang.Class.newInstance(Class.java:232)
         at opencard.core.service.SmartCard.handleTerminalFactoryEntries(SmartCard.java:424)
         at opencard.core.service.SmartCard.configureTerminalRegistry(SmartCard.java:261)
         at opencard.core.service.SmartCard.start(SmartCard.java:534)
         at ReadFile2.main(ReadFile2.java:31)
    Exception in thread "main"
    Any help much appreciated, sorry for the long posting just need to give you all the info
    Many Thanks
    Sean

    Hi Joseph
    As always thanks for the good advice .After 3 days of looking at the same error i am only to happy to get another to look at :-) , however i do feel i am getting closer. I must say i am quite tempted just to cut my losses and buy another reader, but being a student thats not a very good option unless there really isn't any other alternative, and after 3 days work i would feel gutted .
    Having followed your advice i am now faced with this
    C:\eclipse\workspace\test\smart>java -Djava.library.path=[%OCF%/lib/OCFPCSC1.dll];%CLASSPATH% TerminalSample
    [DEBUG    ] opencard.core.service.SmartCard.getRegistryEntry
    --- message tag OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory|micro|Chipdrive_Micro|COM1
    --- thread Thread[main,5,main]
    --- source class opencard.core.service.SmartCard
    [DEBUG    ] opencard.core.terminal.CardTerminal.<init>
    --- message (TOWITOKO CHIPDRIVE 0, PCSC10, )
    --- thread Thread[main,5,main]
    --- source class opencard.core.terminal.CardTerminal
    Uses ISOTPDU
    [DEBUG    ] opencard.core.event.EventGenerator.updateTerminals
    --- message new pollable Terminal = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal@14fe5c
    + name TOWITOKO CHIPDRIVE 0
    + type PCSC10
    + addr
    --- thread Thread[main,5,main]
    --- source class opencard.core.event.EventGenerator
    opencard.core.terminal.CardTerminalException: No reader found by PC/SC : micro Chipdrive_Micro COM1
    at com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory.createCardTerminals(Pcsc10CardTerminalFactory.java:197)
    at opencard.core.service.SmartCard.handleTerminalFactoryEntries(SmartCard.java:432)
    at opencard.core.service.SmartCard.configureTerminalRegistry(SmartCard.java:261)
    at opencard.core.service.SmartCard.start(SmartCard.java:534)
    at TerminalSample.main(TerminalSample.java:28)
    C:\eclipse\workspace\test\smart>
    Im not sure why this is not being picked up by eclipse i have added to the source directory of the source code and it the first statement in the PATH variable.
    Path=C:\ocf\OCF1.2lib\OCFPCSC1.dll;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin;C:\jdk1.3.1_10\bin;C:\PROGRA~
    Again thanks for any advice given
    Sean

  • Return code = 00000057 using a gem pc twin reader with OCF

    Hello, i really need help.
    I'm having the famous return code = 00000057 when i try to send an APDU command, I'm using a applet proxy, so it send an select APDU inside the OCF framework, and the result is success, so i'm able to send an select Applet, but when i try to send the following apdu:
    allocateCardChannel();
    // Set up the command APDU and send it to the card.
    getBalanceAPDU.setLength(0);
    getBalanceAPDU.append(MyAPPLET_CLA); // Class
    getBalanceAPDU.append(VERIFY_INS); // Instr'n
    getBalanceAPDU.append((byte) 0x00); // P1
    getBalanceAPDU.append((byte) 0x00); // P2
    getBalanceAPDU.append((byte) 0x00); // Lc
    getBalanceAPDU.append((byte) 0x05); // Le
    // Send command APDU and check the response.
    ResponseAPDU response;
    //response = new ResponseAPDU(07);
    response = sendCommandAPDU(getCardChannel(), MY_CARD_AID,
    getBalanceAPDU);
    i got that error. I pasted, all the debug message below. I already updated the pcsc-wrapper-2.0.jar file, but i'm still having this error, as i said i'm using an gem pc twin cardreader with gemxpresso card. My opencard.properties file:
    # Card service configuration #
    OpenCard.services = com.ibm.opencard.factory.MFCCardServiceFactory \
    opencard.opt.util.PassThruCardServiceFactory \
    br.com.neac.petrobras.medidorgas.process.NastekCardProxyFactory
    #OpenCard.services = br.com.neac.petrobras.medidorgas.process.NastekCardProxyFactory
    # Card terminal configuration #
    #OpenCard.terminals = GemplusCardTerminalFactory
    OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory|Autodetect|*|SHARED
    #OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
    #OpenCard.terminals=com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory|myGEMPlus|GEM430PC|SHARED
    # Trace configuration #
    OpenCard.trace = opencard:9
    ----- the debug----
    [DEBUG    ] opencard.core.service.SmartCard.getRegistryEntry
    --- message tag OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory|Autodetect|*|SHARED
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.service.SmartCard
    [DEBUG    ] opencard.core.terminal.CardTerminal.<init>
    --- message (Gemplus USB Smart Card Reader 0, PCSC10, )
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.terminal.CardTerminal
    [DEBUG    ] opencard.core.event.EventGenerator.updateTerminals
    --- message new pollable Terminal = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal@1e1df6e
    + name Gemplus USB Smart Card Reader 0
    + type PCSC10
    + addr
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.event.EventGenerator
    [DEBUG    ] com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.cardInserted
    --- message slotID 0, )
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal@1e1df6e
    + name Gemplus USB Smart Card Reader 0
    + type PCSC10
    + addr
    [DEBUG    ] opencard.core.event.EventGenerator.updateCards
    --- message card inserted slotID = 0
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.event.EventGenerator
    [DEBUG    ] opencard.core.service.SmartCard.getRegistryEntry
    --- message tag OpenCard.services = com.ibm.opencard.factory.MFCCardServiceFactory opencard.opt.util.PassThruCardServiceFactory br.com.neac.petrobras.medidorgas.process.NastekCardProxyFactory
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.service.SmartCard
    [DEBUG    ] opencard.core.service.CardServiceFactory.<init>
    --- message instantiating
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.service.CardServiceFactory
    [DEBUG    ] opencard.core.service.CardServiceRegistry.add
    --- message com.ibm.opencard.factory.MFCCardServiceFactory@103368e
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceRegistry@1f2ae62++ registered factory [email protected]c68b6f
    [DEBUG    ] opencard.core.service.CardServiceFactory.<init>
    --- message instantiating
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.service.CardServiceFactory
    [DEBUG    ] opencard.opt.service.OCF11CardServiceFactory.<init>
    --- message instantiating
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.opt.service.OCF11CardServiceFactory
    [DEBUG    ] opencard.core.service.CardServiceRegistry.add
    --- message opencard.opt.util.PassThruCardServiceFactory@94cc7
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceRegistry@1f2ae62++ registered factory [email protected]c68b6f
    ++ registered factory com.ibm.opencard.factory.MFCCardServiceFactory@103368e
    [DEBUG    ] opencard.core.service.CardServiceFactory.<init>
    --- message instantiating
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.service.CardServiceFactory
    [DEBUG    ] opencard.core.service.CardServiceRegistry.add
    --- message [email protected]fa0f0
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceRegistry@1f2ae62++ registered factory [email protected]c68b6f
    ++ registered factory com.ibm.opencard.factory.MFCCardServiceFactory@103368e
    ++ registered factory opencard.opt.util.PassThruCardServiceFactory@94cc7
    [DEBUG    ] opencard.core.service.SmartCard.<start>
    --- message finished
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.service.SmartCard
    [DEBUG    ] opencard.core.service.CardServiceRegistry.getSmartCard
    --- message CTEvent opencard.core.event.CardTerminalEvent[source=com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal@1e1df6e
    + name Gemplus USB Smart Card Reader 0
    + type PCSC10
    + addr ]
    ---source com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal@1e1df6e
    + name Gemplus USB Smart Card Reader 0
    + type PCSC10
    + addr
    ---id 1
    card inserted in slot 0
    terminal com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal@1e1df6e
    + name Gemplus USB Smart Card Reader 0
    + type PCSC10
    + addr
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceRegistry@1f2ae62++ registered factory [email protected]c68b6f
    ++ registered factory com.ibm.opencard.factory.MFCCardServiceFactory@103368e
    ++ registered factory opencard.opt.util.PassThruCardServiceFactory@94cc7
    ++ registered factory [email protected]fa0f0
    [DEBUG    ] com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.openSlotChannel
    --- message for slot #0
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal@1e1df6e
    + name Gemplus USB Smart Card Reader 0
    + type PCSC10
    + addr
    [DEBUG    ] com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.openSlotChannel
    --- message new SlotChannel is opencard.core.terminal.SlotChannel@182815a
    + state open
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal@1e1df6e
    + name Gemplus USB Smart Card Reader 0
    + type PCSC10
    + addr
    [DEBUG    ] opencard.core.service.CardServiceRegistry.allocateCardServiceScheduler
    --- message instantiating CardServiceScheduler
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceRegistry@1f2ae62++ registered factory [email protected]c68b6f
    ++ registered factory com.ibm.opencard.factory.MFCCardServiceFactory@103368e
    ++ registered factory opencard.opt.util.PassThruCardServiceFactory@94cc7
    ++ registered factory [email protected]fa0f0
    [DEBUG    ] opencard.core.service.CardServiceScheduler.<init>
    --- message slotChannel opencard.core.terminal.SlotChannel@182815a
    + state open
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.service.CardServiceScheduler
    [DEBUG    ] opencard.core.service.CardChannel.<init>
    --- message (opencard.core.terminal.SlotChannel@182815a
    + state open)
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.service.CardChannel
    [DEBUG    ] opencard.core.service.CardServiceRegistry.getSmartCard
    --- message using CardServiceScheduler opencard.core.service.CardServiceScheduler@4ab8b9, is alive
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceRegistry@1f2ae62++ registered factory [email protected]c68b6f
    ++ registered factory com.ibm.opencard.factory.MFCCardServiceFactory@103368e
    ++ registered factory opencard.opt.util.PassThruCardServiceFactory@94cc7
    ++ registered factory [email protected]fa0f0
    [DEBUG    ] opencard.core.service.CardServiceScheduler.createSmartCard
    --- message creating SmartCard
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceScheduler@4ab8b9, is alive
    [DEBUG    ] opencard.core.service.SmartCard.<init>
    --- message scheduler opencard.core.service.CardServiceScheduler@4ab8b9, is alive, cid opencard.core.terminal.CardID@1a5ba75 ATR: 3B 7D 94 00 00 80 31 80 65 B0 83 01 02 90 83 00
    90 00
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.service.SmartCard
    [DEBUG    ] opencard.core.service.SmartCard.getCardService
    --- message (class br.com.neac.petrobras.medidorgas.process.NastekCardProxy)
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.SmartCard@fb7efa
    [DEBUG    ] opencard.core.service.CardServiceRegistry.getCardServiceInstance
    --- message for class br.com.neac.petrobras.medidorgas.process.NastekCardProxy from opencard.core.service.SmartCard@fb7efa
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceRegistry@1f2ae62++ registered factory [email protected]c68b6f
    ++ registered factory com.ibm.opencard.factory.MFCCardServiceFactory@103368e
    ++ registered factory opencard.opt.util.PassThruCardServiceFactory@94cc7
    ++ registered factory [email protected]fa0f0
    [DEBUG    ] opencard.core.service.CardServiceRegistry.getCardServiceInstance
    --- message checking [email protected]c68b6f
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceRegistry@1f2ae62++ registered factory [email protected]c68b6f
    ++ registered factory com.ibm.opencard.factory.MFCCardServiceFactory@103368e
    ++ registered factory opencard.opt.util.PassThruCardServiceFactory@94cc7
    ++ registered factory [email protected]fa0f0
    [DEBUG    ] opencard.core.service.CardService.<init>
    --- message default constructor of br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.service.CardService
    [DEBUG    ] opencard.opt.applet.AppletProxy.<init>
    --- message (A0 00 00 00 62 03 01 0C 02,opencard.core.service.CardServiceScheduler@4ab8b9, is alive,opencard.core.service.SmartCard@fb7efa,true)
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.opt.applet.AppletProxy
    [DEBUG    ] br.com.neac.petrobras.medidorgas.process.NastekCardProxy.initialize
    --- message (opencard.core.service.CardServiceScheduler@4ab8b9, is alive,opencard.core.service.SmartCard@fb7efa)
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    [DEBUG    ] opencard.opt.applet.BasicAppletCardService.<init>
    --- message (opencard.core.service.CardServiceScheduler@4ab8b9, is alive,opencard.core.service.SmartCard@fb7efa,true)
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.opt.applet.BasicAppletCardService
    [DEBUG    ] br.com.neac.petrobras.medidorgas.process.NastekCardProxy.allocateCardChannel
    --- message allocating
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    [DEBUG    ] opencard.core.service.CardServiceScheduler.allocateCardChannel
    --- message applicant br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceScheduler@4ab8b9, is alive
    [DEBUG    ] opencard.core.service.CardChannel.open
    --- message opening CardChannel
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardChannel@9bb457, not open, not jammed
    BasicAppletCardService - allocated CardChannel()
    [DEBUG    ] br.com.neac.petrobras.medidorgas.process.NastekCardProxy.releaseCardChannel
    --- message releasing
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    [DEBUG    ] opencard.core.service.CardServiceScheduler.releaseCardChannel
    --- message releasing opencard.core.service.CardChannel@9bb457, is open, not jammed
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceScheduler@4ab8b9, is alive
    ++ channel is allocated
    [DEBUG    ] opencard.core.service.CardChannel.close
    --- message CardChannel closed
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardChannel@9bb457, not open, not jammed
    [DEBUG    ] br.com.neac.petrobras.medidorgas.process.NastekCardProxy.allocateCardChannel
    --- message allocating
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    [DEBUG    ] opencard.core.service.CardServiceScheduler.allocateCardChannel
    --- message applicant br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceScheduler@4ab8b9, is alive
    [DEBUG    ] opencard.core.service.CardChannel.open
    --- message opening CardChannel
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardChannel@9bb457, not open, not jammed
    [DEBUG    ] br.com.neac.petrobras.medidorgas.process.NastekCardProxy.releaseCardChannel
    --- message releasing
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    [DEBUG    ] opencard.core.service.CardServiceScheduler.releaseCardChannel
    --- message releasing opencard.core.service.CardChannel@9bb457, is open, not jammed
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceScheduler@4ab8b9, is alive
    ++ channel is allocated
    [DEBUG    ] opencard.core.service.CardChannel.close
    --- message CardChannel closed
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardChannel@9bb457, not open, not jammed
    [DEBUG    ] opencard.core.service.CardServiceRegistry.getCardServiceInstance
    --- message factory [email protected]c68b6f produced br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceRegistry@1f2ae62++ registered factory [email protected]c68b6f
    ++ registered factory com.ibm.opencard.factory.MFCCardServiceFactory@103368e
    ++ registered factory opencard.opt.util.PassThruCardServiceFactory@94cc7
    ++ registered factory [email protected]fa0f0
    [DEBUG    ] br.com.neac.petrobras.medidorgas.process.NastekCardProxy.allocateCardChannel
    --- message allocating
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    [DEBUG    ] opencard.core.service.CardServiceScheduler.allocateCardChannel
    --- message applicant br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceScheduler@4ab8b9, is alive
    [DEBUG    ] opencard.core.service.CardChannel.open
    --- message opening CardChannel
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardChannel@9bb457, not open, not jammed
    [DEBUG    ] opencard.opt.applet.BasicAppletCardService.sendCommandAPDU(channel,...)
    --- message sending opencard.core.terminal.CommandAPDU@1d92803
    0000: 00 20 00 00 00 05 . ....
    to <A0 00 00 00 62 03 01 0C 02>
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.opt.applet.BasicAppletCardService
    [DEBUG    ] opencard.opt.applet.BasicAppletCardService.selectApplet
    --- message selecting A0 00 00 00 62 03 01 0C 02
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.opt.applet.BasicAppletCardService
    [DEBUG    ] opencard.opt.applet.ISOAppletSelector.selectApplet
    --- message selecting A0 00 00 00 62 03 01 0C 02
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.opt.applet.ISOAppletSelector
    [DEBUG    ] opencard.core.service.CardChannel.sendCommandAPDU
    --- message opencard.core.terminal.CommandAPDU@1d206f0
    0000: 00 A4 04 00 09 A0 00 00 00 62 03 01 0C 02 00 .........b.....
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardChannel@9bb457, is open, not jammed
    [DEBUG    ] opencard.core.service.CardChannel.response:
    --- message opencard.core.terminal.ResponseAPDU@1f23f8b
    0000: 90 00 ..
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardChannel@9bb457, is open, not jammed
    [DEBUG    ] opencard.opt.applet.ISOAppletSelector.selectApplet
    --- message Selection response sw = 0x9000
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.opt.applet.ISOAppletSelector
    [DEBUG    ] opencard.core.service.CardChannel.sendCommandAPDU
    --- message opencard.core.terminal.CommandAPDU@1d92803
    0000: 00 20 00 00 00 05 . ....
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardChannel@9bb457, is open, not jammed
    [DEBUG    ] br.com.neac.petrobras.medidorgas.process.NastekCardProxy.releaseCardChannel
    --- message releasing
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    [DEBUG    ] opencard.core.service.CardServiceScheduler.releaseCardChannel
    --- message releasing opencard.core.service.CardChannel@9bb457, is open, not jammed
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceScheduler@4ab8b9, is alive
    ++ channel is allocated
    [DEBUG    ] opencard.core.service.CardChannel.close
    --- message CardChannel closed
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardChannel@9bb457, not open, not jammed
    opencard.core.terminal.CardTerminalException: Pcsc10CardTerminal: PCSC Exception in method SCardTransmit: error occurred with SCardTransmit
    return code = 00000057
    at com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.translatePcscException(Pcsc10CardTerminal.java:502)

    Hello, i really need help.
    I'm having the famous return code = 00000057 when i try to send an APDU command, I'm using a applet proxy, so it send an select APDU inside the OCF framework, and the result is success, so i'm able to send an select Applet, but when i try to send the following apdu:
    allocateCardChannel();
    // Set up the command APDU and send it to the card.
    getBalanceAPDU.setLength(0);
    getBalanceAPDU.append(MyAPPLET_CLA); // Class
    getBalanceAPDU.append(VERIFY_INS); // Instr'n
    getBalanceAPDU.append((byte) 0x00); // P1
    getBalanceAPDU.append((byte) 0x00); // P2
    getBalanceAPDU.append((byte) 0x00); // Lc
    getBalanceAPDU.append((byte) 0x05); // Le
    // Send command APDU and check the response.
    ResponseAPDU response;
    //response = new ResponseAPDU(07);
    response = sendCommandAPDU(getCardChannel(), MY_CARD_AID,
    getBalanceAPDU);
    i got that error. I pasted, all the debug message below. I already updated the pcsc-wrapper-2.0.jar file, but i'm still having this error, as i said i'm using an gem pc twin cardreader with gemxpresso card. My opencard.properties file:
    # Card service configuration #
    OpenCard.services = com.ibm.opencard.factory.MFCCardServiceFactory \
    opencard.opt.util.PassThruCardServiceFactory \
    br.com.neac.petrobras.medidorgas.process.NastekCardProxyFactory
    #OpenCard.services = br.com.neac.petrobras.medidorgas.process.NastekCardProxyFactory
    # Card terminal configuration #
    #OpenCard.terminals = GemplusCardTerminalFactory
    OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory|Autodetect|*|SHARED
    #OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
    #OpenCard.terminals=com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory|myGEMPlus|GEM430PC|SHARED
    # Trace configuration #
    OpenCard.trace = opencard:9
    ----- the debug----
    [DEBUG    ] opencard.core.service.SmartCard.getRegistryEntry
    --- message tag OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory|Autodetect|*|SHARED
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.service.SmartCard
    [DEBUG    ] opencard.core.terminal.CardTerminal.<init>
    --- message (Gemplus USB Smart Card Reader 0, PCSC10, )
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.terminal.CardTerminal
    [DEBUG    ] opencard.core.event.EventGenerator.updateTerminals
    --- message new pollable Terminal = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal@1e1df6e
    + name Gemplus USB Smart Card Reader 0
    + type PCSC10
    + addr
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.event.EventGenerator
    [DEBUG    ] com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.cardInserted
    --- message slotID 0, )
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal@1e1df6e
    + name Gemplus USB Smart Card Reader 0
    + type PCSC10
    + addr
    [DEBUG    ] opencard.core.event.EventGenerator.updateCards
    --- message card inserted slotID = 0
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.event.EventGenerator
    [DEBUG    ] opencard.core.service.SmartCard.getRegistryEntry
    --- message tag OpenCard.services = com.ibm.opencard.factory.MFCCardServiceFactory opencard.opt.util.PassThruCardServiceFactory br.com.neac.petrobras.medidorgas.process.NastekCardProxyFactory
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.service.SmartCard
    [DEBUG    ] opencard.core.service.CardServiceFactory.<init>
    --- message instantiating
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.service.CardServiceFactory
    [DEBUG    ] opencard.core.service.CardServiceRegistry.add
    --- message com.ibm.opencard.factory.MFCCardServiceFactory@103368e
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceRegistry@1f2ae62++ registered factory [email protected]c68b6f
    [DEBUG    ] opencard.core.service.CardServiceFactory.<init>
    --- message instantiating
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.service.CardServiceFactory
    [DEBUG    ] opencard.opt.service.OCF11CardServiceFactory.<init>
    --- message instantiating
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.opt.service.OCF11CardServiceFactory
    [DEBUG    ] opencard.core.service.CardServiceRegistry.add
    --- message opencard.opt.util.PassThruCardServiceFactory@94cc7
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceRegistry@1f2ae62++ registered factory [email protected]c68b6f
    ++ registered factory com.ibm.opencard.factory.MFCCardServiceFactory@103368e
    [DEBUG    ] opencard.core.service.CardServiceFactory.<init>
    --- message instantiating
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.service.CardServiceFactory
    [DEBUG    ] opencard.core.service.CardServiceRegistry.add
    --- message [email protected]fa0f0
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceRegistry@1f2ae62++ registered factory [email protected]c68b6f
    ++ registered factory com.ibm.opencard.factory.MFCCardServiceFactory@103368e
    ++ registered factory opencard.opt.util.PassThruCardServiceFactory@94cc7
    [DEBUG    ] opencard.core.service.SmartCard.<start>
    --- message finished
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.service.SmartCard
    [DEBUG    ] opencard.core.service.CardServiceRegistry.getSmartCard
    --- message CTEvent opencard.core.event.CardTerminalEvent[source=com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal@1e1df6e
    + name Gemplus USB Smart Card Reader 0
    + type PCSC10
    + addr ]
    ---source com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal@1e1df6e
    + name Gemplus USB Smart Card Reader 0
    + type PCSC10
    + addr
    ---id 1
    card inserted in slot 0
    terminal com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal@1e1df6e
    + name Gemplus USB Smart Card Reader 0
    + type PCSC10
    + addr
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceRegistry@1f2ae62++ registered factory [email protected]c68b6f
    ++ registered factory com.ibm.opencard.factory.MFCCardServiceFactory@103368e
    ++ registered factory opencard.opt.util.PassThruCardServiceFactory@94cc7
    ++ registered factory [email protected]fa0f0
    [DEBUG    ] com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.openSlotChannel
    --- message for slot #0
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal@1e1df6e
    + name Gemplus USB Smart Card Reader 0
    + type PCSC10
    + addr
    [DEBUG    ] com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.openSlotChannel
    --- message new SlotChannel is opencard.core.terminal.SlotChannel@182815a
    + state open
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal@1e1df6e
    + name Gemplus USB Smart Card Reader 0
    + type PCSC10
    + addr
    [DEBUG    ] opencard.core.service.CardServiceRegistry.allocateCardServiceScheduler
    --- message instantiating CardServiceScheduler
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceRegistry@1f2ae62++ registered factory [email protected]c68b6f
    ++ registered factory com.ibm.opencard.factory.MFCCardServiceFactory@103368e
    ++ registered factory opencard.opt.util.PassThruCardServiceFactory@94cc7
    ++ registered factory [email protected]fa0f0
    [DEBUG    ] opencard.core.service.CardServiceScheduler.<init>
    --- message slotChannel opencard.core.terminal.SlotChannel@182815a
    + state open
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.service.CardServiceScheduler
    [DEBUG    ] opencard.core.service.CardChannel.<init>
    --- message (opencard.core.terminal.SlotChannel@182815a
    + state open)
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.service.CardChannel
    [DEBUG    ] opencard.core.service.CardServiceRegistry.getSmartCard
    --- message using CardServiceScheduler opencard.core.service.CardServiceScheduler@4ab8b9, is alive
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceRegistry@1f2ae62++ registered factory [email protected]c68b6f
    ++ registered factory com.ibm.opencard.factory.MFCCardServiceFactory@103368e
    ++ registered factory opencard.opt.util.PassThruCardServiceFactory@94cc7
    ++ registered factory [email protected]fa0f0
    [DEBUG    ] opencard.core.service.CardServiceScheduler.createSmartCard
    --- message creating SmartCard
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceScheduler@4ab8b9, is alive
    [DEBUG    ] opencard.core.service.SmartCard.<init>
    --- message scheduler opencard.core.service.CardServiceScheduler@4ab8b9, is alive, cid opencard.core.terminal.CardID@1a5ba75 ATR: 3B 7D 94 00 00 80 31 80 65 B0 83 01 02 90 83 00
    90 00
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.service.SmartCard
    [DEBUG    ] opencard.core.service.SmartCard.getCardService
    --- message (class br.com.neac.petrobras.medidorgas.process.NastekCardProxy)
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.SmartCard@fb7efa
    [DEBUG    ] opencard.core.service.CardServiceRegistry.getCardServiceInstance
    --- message for class br.com.neac.petrobras.medidorgas.process.NastekCardProxy from opencard.core.service.SmartCard@fb7efa
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceRegistry@1f2ae62++ registered factory [email protected]c68b6f
    ++ registered factory com.ibm.opencard.factory.MFCCardServiceFactory@103368e
    ++ registered factory opencard.opt.util.PassThruCardServiceFactory@94cc7
    ++ registered factory [email protected]fa0f0
    [DEBUG    ] opencard.core.service.CardServiceRegistry.getCardServiceInstance
    --- message checking [email protected]c68b6f
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceRegistry@1f2ae62++ registered factory [email protected]c68b6f
    ++ registered factory com.ibm.opencard.factory.MFCCardServiceFactory@103368e
    ++ registered factory opencard.opt.util.PassThruCardServiceFactory@94cc7
    ++ registered factory [email protected]fa0f0
    [DEBUG    ] opencard.core.service.CardService.<init>
    --- message default constructor of br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.core.service.CardService
    [DEBUG    ] opencard.opt.applet.AppletProxy.<init>
    --- message (A0 00 00 00 62 03 01 0C 02,opencard.core.service.CardServiceScheduler@4ab8b9, is alive,opencard.core.service.SmartCard@fb7efa,true)
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.opt.applet.AppletProxy
    [DEBUG    ] br.com.neac.petrobras.medidorgas.process.NastekCardProxy.initialize
    --- message (opencard.core.service.CardServiceScheduler@4ab8b9, is alive,opencard.core.service.SmartCard@fb7efa)
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    [DEBUG    ] opencard.opt.applet.BasicAppletCardService.<init>
    --- message (opencard.core.service.CardServiceScheduler@4ab8b9, is alive,opencard.core.service.SmartCard@fb7efa,true)
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.opt.applet.BasicAppletCardService
    [DEBUG    ] br.com.neac.petrobras.medidorgas.process.NastekCardProxy.allocateCardChannel
    --- message allocating
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    [DEBUG    ] opencard.core.service.CardServiceScheduler.allocateCardChannel
    --- message applicant br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceScheduler@4ab8b9, is alive
    [DEBUG    ] opencard.core.service.CardChannel.open
    --- message opening CardChannel
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardChannel@9bb457, not open, not jammed
    BasicAppletCardService - allocated CardChannel()
    [DEBUG    ] br.com.neac.petrobras.medidorgas.process.NastekCardProxy.releaseCardChannel
    --- message releasing
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    [DEBUG    ] opencard.core.service.CardServiceScheduler.releaseCardChannel
    --- message releasing opencard.core.service.CardChannel@9bb457, is open, not jammed
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceScheduler@4ab8b9, is alive
    ++ channel is allocated
    [DEBUG    ] opencard.core.service.CardChannel.close
    --- message CardChannel closed
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardChannel@9bb457, not open, not jammed
    [DEBUG    ] br.com.neac.petrobras.medidorgas.process.NastekCardProxy.allocateCardChannel
    --- message allocating
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    [DEBUG    ] opencard.core.service.CardServiceScheduler.allocateCardChannel
    --- message applicant br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceScheduler@4ab8b9, is alive
    [DEBUG    ] opencard.core.service.CardChannel.open
    --- message opening CardChannel
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardChannel@9bb457, not open, not jammed
    [DEBUG    ] br.com.neac.petrobras.medidorgas.process.NastekCardProxy.releaseCardChannel
    --- message releasing
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    [DEBUG    ] opencard.core.service.CardServiceScheduler.releaseCardChannel
    --- message releasing opencard.core.service.CardChannel@9bb457, is open, not jammed
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceScheduler@4ab8b9, is alive
    ++ channel is allocated
    [DEBUG    ] opencard.core.service.CardChannel.close
    --- message CardChannel closed
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardChannel@9bb457, not open, not jammed
    [DEBUG    ] opencard.core.service.CardServiceRegistry.getCardServiceInstance
    --- message factory [email protected]c68b6f produced br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceRegistry@1f2ae62++ registered factory [email protected]c68b6f
    ++ registered factory com.ibm.opencard.factory.MFCCardServiceFactory@103368e
    ++ registered factory opencard.opt.util.PassThruCardServiceFactory@94cc7
    ++ registered factory [email protected]fa0f0
    [DEBUG    ] br.com.neac.petrobras.medidorgas.process.NastekCardProxy.allocateCardChannel
    --- message allocating
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    [DEBUG    ] opencard.core.service.CardServiceScheduler.allocateCardChannel
    --- message applicant br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceScheduler@4ab8b9, is alive
    [DEBUG    ] opencard.core.service.CardChannel.open
    --- message opening CardChannel
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardChannel@9bb457, not open, not jammed
    [DEBUG    ] opencard.opt.applet.BasicAppletCardService.sendCommandAPDU(channel,...)
    --- message sending opencard.core.terminal.CommandAPDU@1d92803
    0000: 00 20 00 00 00 05 . ....
    to <A0 00 00 00 62 03 01 0C 02>
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.opt.applet.BasicAppletCardService
    [DEBUG    ] opencard.opt.applet.BasicAppletCardService.selectApplet
    --- message selecting A0 00 00 00 62 03 01 0C 02
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.opt.applet.BasicAppletCardService
    [DEBUG    ] opencard.opt.applet.ISOAppletSelector.selectApplet
    --- message selecting A0 00 00 00 62 03 01 0C 02
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.opt.applet.ISOAppletSelector
    [DEBUG    ] opencard.core.service.CardChannel.sendCommandAPDU
    --- message opencard.core.terminal.CommandAPDU@1d206f0
    0000: 00 A4 04 00 09 A0 00 00 00 62 03 01 0C 02 00 .........b.....
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardChannel@9bb457, is open, not jammed
    [DEBUG    ] opencard.core.service.CardChannel.response:
    --- message opencard.core.terminal.ResponseAPDU@1f23f8b
    0000: 90 00 ..
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardChannel@9bb457, is open, not jammed
    [DEBUG    ] opencard.opt.applet.ISOAppletSelector.selectApplet
    --- message Selection response sw = 0x9000
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source class opencard.opt.applet.ISOAppletSelector
    [DEBUG    ] opencard.core.service.CardChannel.sendCommandAPDU
    --- message opencard.core.terminal.CommandAPDU@1d92803
    0000: 00 20 00 00 00 05 . ....
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardChannel@9bb457, is open, not jammed
    [DEBUG    ] br.com.neac.petrobras.medidorgas.process.NastekCardProxy.releaseCardChannel
    --- message releasing
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source br.com.neac.petrobras.medidorgas.process.NastekCardProxy@8f57a
    [DEBUG    ] opencard.core.service.CardServiceScheduler.releaseCardChannel
    --- message releasing opencard.core.service.CardChannel@9bb457, is open, not jammed
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardServiceScheduler@4ab8b9, is alive
    ++ channel is allocated
    [DEBUG    ] opencard.core.service.CardChannel.close
    --- message CardChannel closed
    --- thread Thread[AWT-EventQueue-0,6,main]
    --- source opencard.core.service.CardChannel@9bb457, not open, not jammed
    opencard.core.terminal.CardTerminalException: Pcsc10CardTerminal: PCSC Exception in method SCardTransmit: error occurred with SCardTransmit
    return code = 00000057
    at com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.translatePcscException(Pcsc10CardTerminal.java:502)

Maybe you are looking for

  • Pagelets not rendering in Fusion ADF application pages deployed on standalone weblogic server

    HI All, I am creating a Pagelet Producer connection, and dragging a pagelet on the page as iframe, with height auto. When I run the application in the integrated weblogic server, I am able to see the pagelet. However when I deploy the application on

  • Collection of multiple idocs into a file

    while activating the BPM,i m getting error "Expression must not return a multiline value" in transformation step of BPM at the source message.My source message is Abstract asynchronous type idoc which i m sending into BPM and value is container varia

  • HT5548 can you make apps appear on only one users launchpad

    Hi I have recently got an imac and on the computer we have my user page, my wifes user page and one for our kids. We have downloaded some educational apps for the kids but I was just wondering if there was a way to make them just appear on the kids p

  • トラブル「¥pre¥Backend¥Src¥Time¥Time.cpp-389」

    DVD書き込みの際,下記メッセージ 「¥pre¥Backend¥Src¥Time¥Time.cpp-389」が出てしまい,書き込みが一時停止される.その後,「続行」を選択するとDVD書き込みが再開され,DVDは完成す るが,キャプチャー画面(シーン画面)のサムネイルが,動く設定で書き込んだにもかかわらず,動かない.と,いうトラブルです.それ以外は,完成したDVDは,観られるのですが.宜しくお願い いたします.

  • ServerSocket skrews everything up

    I have created a server socket that runs in a separate thread that is a subclass of Thread. When the server socket is created, there are a bunch of problems that occur after it that seem unrelated: In the "main" thread, I try to add an ActionListener