Plz, help me~! not upload  cap file.

I am new to the javacard technology.
I have implementing an applet by using eclipse 3.1 + JCOP plug-in.
And I set my project to build against JC211.
The created cap-file I'm trying to upload works fine when used with a simulated card.
But, When i try to upload it to my cards(G&D smartcare expert 3.1) I get the following error.
upload "F:\02. 2006\05. 10\10.17\\HelloWorld\bin\HelloWorld\javacard\HelloWorld.cap"
jcshell: Cannot read <F:\02. 2006\05. 10\10.17\\HelloWorld\bin\HelloWorld\javacard\HelloWorld.cap>: java.util.zip.ZipException
??> install -i d4106509900010 -q C9#() d410650990 d4106509900010
=> 80 E6 0C 00 1C 05 D4 10 65 09 90 07 D4 10 65 09 ........e.....e.
90 00 10 07 D4 10 65 09 90 00 10 01 00 02 C9 00 ......e.........
00 00 ..
(121415 usec)
<= 6A 80 j.
Status: Wrong data
jcshell: Error code: 6a80 (Wrong data)
jcshell: Wrong response APDU: 6A80
Unexpected error; aborting execution
Has anyone seen this error before?
Anyone help me, plz!!
plz! plz! plz! plz! plz! Help me~~~!

Make sure you are using the right java card library version (JavaCard and OpenCard version).
Most cards only support jc2.1.2 - in opposite of the emulator which was designed for jc2.2.1.
Jan

Similar Messages

  • Help:  Problem in Uploading Cap File to JCOP41v22  Card

    Hi,
    I am new in Java Card development.
    Having successfully tested the simulation with HelloWorld Applet using JCOP Tools 3.1 on Eclipse, I tried to excecute the code using the real JCOP41V22 card, I encountered the following error message after the Cap File is uploaded:
    jcshell: Error code: 45d (0x045D)
    jcshell: Command failed: SCardTransmit(): 0x45d, PCSC failed with 0x45D: 0x45D (OK,--,(System))
    Unexpected error; aborting execution
    What could go wrong?
    Please endlighten.

    Finally, I got the answer from IBM Zurich Research Lab after sending 4 emails to three different email addresses there within a week.
    It boils down to the Gemplus USB GemPC430 smart card reader which is not fully ISO-compliant.
    After switching to Sclumberger Refelx USB reader, it works perfectly.
    CrreativeMan,
    I strongly recommend JCOP java card if you are keen to embark on the development. You need to install Eclispse Java IDE first, download the JCOP Tools and;
    - Buy an activation code at CHF 40 to make use of the Java Card Simulator
    - or buy a JCOP Engineering Sample Card at CHF 75. The activation code is bundled with the card. It will be activated automatically when you click Run Java Card Application the first time. Once activated, you can either work in simulation or real card condition.
    - As for the reader, I have just replied that Schlumberger Relext USB reader works fine.
    JCOP ordering information is at
    http://www.zurich.ibm.com/jcop/order/tools.html
    The delivery by Federal Express is very fast . Mine took three days only..
    I hope the above informatio will help.

  • I want to upload a Banner to my iTunes U page. The banner file has all the requirements like as, kind, size, frame, and etc. Infortunately,  I could not upload the file. It does not show in Provider Page Configuration or the preview.   Someone could help

    I want to upload a Banner to my iTunes U page.
    The banner file has all the requirements like as, kind, size, frame, and etc.
    Infortunately,  I could not upload the file. It does not show in Provider Page Configuration or the preview.
    Someone could help me?

    Sounds like a driver issue. I never tested in bridge, so I could be wrong. But it sounds to me that when you are connected to that screen, your settings are not set to the full resolution of that screen.

  • Upload cap file by net on client card, and protect cap file. Encode cap?

    How upload cap file by internet on client card, and protect cap file. Encode cap file?
    cap file > Server (keys) --> internet --> Client Program --> JCOP10 card
    Can I use secure channel protocol ? How ?

    Thanks for response.
    Problem for me is communication between client program(computer) -> reader -> card.     
    The cap file is in Bin format.
    Transmission can by easy scanned. How to protect this step of upload process?.
    Internet is no problem.
    My English is pure, and I have problem to understand specification.
    Can I upload, install cap file encoded by Secure Channel Protocol '02' ?
    If yes, then some example, log file can help me understand how to do this and how build APDU commend. I Use my program (Delphi) to communicate with reader and card.

  • Firefox 7.0 - Can not upload the file from local machine to server...gives "error 404 : file not found"

    firefox 7.0 - Can not upload the file from local machine to server...gives "error 404 : file not found"

    you have not understood my point
    how does this code will run on servlet when I want to upload a file from client's
    machine to server machine
    what I am doing is I am giving an option to the user that he/she can browse the file and then select any file and finally it's action is post in the jsp form for which I have sent the code
    All the computers are connected in LAN
    So how to upload a file from client's machine to server's machine
    Plz give me a solution

  • ITunes No Longer Runs--iTunes Helper Resources Not a Valid File Name

    I made a dumb mistake (I think) and tried to install iTunes onto an SD card.  At first, my computer would only let me open iTunes if the SD card was installed.  I tried to reinstall to the C drive, but keep getting the "I Tunes Helper Resources not a Valid File Name" message.  At this point I want to uninstall everything and start over, but I'm afraid I'll lose my music.  I still have all the files but, of course, none will open since I don't have a properly installed iTunes anymore.   Would appreciate any assistance in uninstalling, reinstalling and saving my current music files.

    Here's what I decided to do.  Fortunately, all the files were still available, so I simply backed them up from my iTunes Music Library onto a 32 GB flash drive then transferred the new stuff onto an older computer in my office with an older version of iTunes.  I had to do this in several shifts since I have more than 32GB of music.  Everything that transferred plays well.  Next I'll try to wipe iTunes completely off the new computer, reinstall an older version of iTunes and then reload all the files onto the new computer.  What a PITA!

  • Help:Can not find the file in jar!

    Hello everyone:
    I build a project using Netbeans 5.0 and make a jar file with it...
    The code in the project as follows will throw an exception described that it can not find the file named datasource-config.xml
    String dataFilePath = getClass().getResource(dataFile).getPath();
    //System.out.println("filepath:"+dataFilePath);
    InputStream input = new FileInputStream(dataFilePath);
    when I run the project with the main() function as an entry it works perfectly and output:
    filepath:/C:/projects/java_project/search/build/classes/com/cn/wxjt/lucene/config/datasource-config.xml
    But when I compressed the project with jar and run it , it will show:
    filepath:file:/C:/projects/java_project/search/dist/search.jar!/com/cn/wxjt/lucene/config/datasource-config.xml
    there is a (!) between search.jar and /com/cn/wxjt...
    I dont know why I generate a ! symbol in the file path... Is it cause the exception->
    java.io.FileNotFoundException: file:\C:\projects\java_project\search\dist\search.jar!\com\cn\wxjt\lucene\config\datasource-config.xml
    If you have any idea, plz tell me.
    Thank you and best wishes to you !
    :)

    If the file you want to read is in your jar file, use
    getClass ().getResourceAsStream
    (relative_path_file_name)Hope that help,
    Jackhey jack i want to open the file as new File
    i m using this.getClass().getResource("resource/backend.xml");
    the resource is the directory inside the jar file.
    when i prints the url it shows:
    the jar file is in the WORK directory
    URL : jar:file:/home/neeraj/WORK/show.jar!/resource/backend.xml
    now when i creates new File using the url.getFile() method the file does not exist.
    although the same programs runs well when i uses the InputStream
    so plz tell me cant I create a new File from the above method????
    thanks in advance
    with regards
    neeraj

  • Help Required:How Upload Excel file Into Oracle Table Using PLSQL Procedure

    Please Help , Urgent Help Needed.
    Requirement is to Upload Excel file Into Oracle Table Using PLSQL Procedure/Package.
    Case's are :
    1. Excel File is On Users/ Client PC.
    2. Application is on Remote Server(Oracle Forms D2k).
    3. User Is Using Application Using Terminal Server LogIn.
    4. So If User Will Use to GET_FILE_NAME() function of D2K to Get Excel File , D2k Will Try to pick File from That Remote Server(Bcs User Logind from Terminal Server Option).
    5. Cannot Use Util_File Package Or Oracle Directory to Place That File on Server.
    6. we are Using Oracle 8.7
    So Need Some PL/SQL Package or Fuction/ Procedure to Upload Excel file on User's Pc to Oracle Table.
    Please Guide me wd some Code. or with Some Pl/SQL Package, or With SOme Hint. Or any Link ....
    Jus help to Sort This Issue ........
    you can also write me on :
    [email protected], [email protected]

    TEXT_IO is a PL/SQL package available only in Forms (you'll want to post in the Forms forum for more information). It is not available in a stored procedure in the database (where the equivalent package is UTL_FILE).
    If the Terminal Server machine and the database machine do not have access to the file system on the client machine, no application running on either machine will have access to the file. Barring exceptional setups (like the FTP server on the client machine), your applications are not going to have more access to the client machine than the operating system does.
    If you map the client drives from the Terminal Server box, there is the potential for your Forms application to access those files. If you want the files to be accessible to a stored procedure in the database, you'll need to move the files somewhere the database can access them.
    Justin

  • Manually upload .cap file on a java card

    Hi
    I wonder how to manually upload a .cap file on a java card. I do know that it must be an or more APDUs that contain the file and so on.
    What I wonder is how to convert a .cap file into a byte array (byte array that on-card installer can read and understand) without using JCOP or any other tools? Does (must) this array have a special format or something?
    I am interested in the process of taking a.cap file and convert it to byte array (nothing else).
    Thanks in advance!
    /Lyudmila

    The .cap file uploading mechanism depends if you have a java card or a GlobalPlatform card.Java Card cards are GlobalPlatform based.
    If you have a java card you can use the same mechanism that it is used with Cref (see Java Card Kit - Development Kit - Chapter 11): .cap file is divided in n apdus, one or more (if a component not fit in one apdu, for example method component) for component (first:Header.cap, second:directory.cap, third:import.cap, etc).
    If you use a GlobalPlatform card, the mechanism is more complex:
    first you have to create a session using a specific protocol (SCP01, SCP02, etc) through INITIALIZE UPDATE and EXTERNAL AUTHENTICATE commands, then an INSTALL FOR LOAD command and n LOAD commads as they are necessary.
    To use GlobalPlatform mechanism, see GlobalPlatform Specification 2.1.1.The JCRE spec does not define the applet loader and CREF has a basic version of an applet loader that is not GP compliant, but this is not the Java Card standard. To load onto any physical Java Card you will need to follow the GlobalPlatform specification.
    - Shane

  • Can not upload Excel file

    We developed a web site,There are file upload function.
    Web site running on the NetWeaver
    Can upload .rar .pdf .bin   files. But when upload Excel file ,It Often failed,Occasionally, the success of.
    I have imp notes for update sevletinputstreamreadtimeout parameter, now it is 180000.
    Pls help me

    Hi,
    I have had issues with sporadic document upload problems. There are several SAP notes. Primarily there is an issue with Internet Explorer and keepalive timouts. Try each/all of these three options.
    1) Examine the keepalivetimeout settings (see SAP note 900804)
    2) Examine MaxRequestContentLenght setting (see SAP note 898637)
    3) Ensure that your Temporary directories for the J2EE server are set correctly use the Config Tool to add new parameters
    -Djava.io.tmpdir=[a suitable temp directory ([SID]ADM user needs read write acces)]
    -Dcm.tmpdir=e:\EP_TEMP (example) (see SAP Note 898637)
    Hope this helps
    Regards
    Alex

  • Plz help....JAR file needed.......

    Hi Friends,
    I want to use the IUrlGeneratorService and IPortalUrlGenerator classes for a URL generation task. But I cannot find the JAR file having these classes. I tried finding com.sap.portal.appintegrator.sap.bwc_api.jar in my eclipse/plugins but could not find it.
    Where can I find this JAR, or any other JAR having the files I need?
    Plz help.

    Hi,
    You can find jar files from this link also
    <a href="http://www.alphaworks.ibm.com/aw.nsf/reqs/jarclassfinder">Jar Files</a>
    And check in your portalapps folder the name of the jar file for urlgenerator is bc.rf.global.service.urlgenerator_api.jar.
    Regards,
    Venkatesh.K.

  • Help please to Upload a file from my PC to server's KM

    Hello:
    I can't Upload correctly a file from my local PC to a KM of the server.
    My problem is after that I've uploaded any file from my PC to KM, sometimes when I open or download it from the KM appears blank, and when I try another way to write the file (out.write()) I've uploaded a bad file that can't be downloaded or opened it. I can't get the file Data of the file for uploading, I need to set it with the fileResource (I tried with fileResource.read(false))
    I use a FileUpload in my view.
    <b>My Context:</b>
    File (node)
         |----fileResource  (com.sap.ide.webdynpro.uielementdefinitions.Resource)
         |----fileData  (binary)   
         |----fileName  (String)
    wdDoInit(){
         IPrivateUploadDownloadKMView.IFileElement fileBind = wdContext.createFileElement();
         wdContext.nodeFile().bind(fileBind);
         IWDAttributeInfo attInfo = wdContext.nodeFile().getNodeInfo().getAttribute("fileData");
         ISimpleTypeModifiable type = attInfo.getModifiableSimpleType();
    onActionSubir(){
          IPrivateUploadDownloadKMView.IFileElement fileElement = wdContext.currentFileElement();
          IWDResource resource = fileElement.getFileResource();
          fileElement.setFileName(resource.getResourceName());
          fileElement.setFileData(fileData);
          byte[] fileData=new byte[resource.read(false).available()];
          fileElement.setFileData(fileData);
          fileName = fileElement.getFileName();
         try{               
               File file = new File(fileName);
               FileOutputStream out = new FileOutputStream(file);
               out.write(fileElement.getFileData());
               out.close();
               fin = new FileInputStream(fileName);
               fin.read();
               Content content = new Content(fin,null, -1);
                IResource newResource = folder.createResource(fileElement.getFileName(),null, content);
          catch(Exception e){
                 IWDMessageManager mm = wdControllerAPI.getComponent().getMessageManager();
                 mm.reportWarning("error: "+e.getMessage());
    Can you help me?, any sugestions to solve my problem or improve my code?
    Regards
    Jonatan.

    If you have got the permission to access <b>content management</b> in portal appliction server consle,then click on content management >select the KM Repository and clik on it.Then right click on <b>folder</b>>new-->upload.After clicking the upload option one page will be open and then you can browse your local file and upload to the KM Repository.

  • Can not upload a file to office365 in SharePoint

    We have an Operation site in SharePoint, created a Shared Document directory. When we drag any file into that folder it uploads it there for viewing/editing etc. (The system use to do this) Now with version 37 release it does not upload, it just says it is uploading but does not. (see pic) What settings have to change?
    Note: on previous versions the top header bar (in black) would display icons (links) to outlook emails and my IM photo
    Attach a chome version with and a firefox version without.......
    I take it back the system will NOT upload images....

    http://kb.mozillazine.org/Unable_to_save_or_download_files

  • Help, will not play hdv file?

    I have a movie I shot and edited when I was at university using Final cut pro and HDV cams.
    I need to show this movie on my macbook pro, but I purchased final cut express, and have just found out my Quicktime does not play this file.. the screen is just black?
    I assume I need a HDV 1080i50 codec for quicktime??? is this correct?
    Where can I get it?
    I intend to give a presentation was going to use OpenOffice or use my Quicktime just for moving image
    Any suggestions?
    Regards

    Without FCP installed, you need a decoder. Calibrated has you covered:
    http://www.calibratedsoftware.com/QXD.asp
    Shane

  • Plz help droid  not sending mms!

    just says under it sending and never sending it. plzs help me fix this! thanks

    Well, they are pretty much your only option to resolve this. Are you using a supported carrier? Are they on this list? http://support.apple.com/kb/ht1937

Maybe you are looking for

  • HP Photosmart all in one c309a, trying to download driver/software for windows 7

    I have a HP touchsmart 600PC windows 7 64bit  AND a HP Photosmart Premium c309a printer/all in one. The Photosmart operating CD is not compatible with windows 7 so it said to go online to download the software and driver. I did this and the scanning

  • Cannot print more than one copy! Any ideas?

    My wife came home with a HP 5400dn officejet pro the other night from Staples. After setting the thing up with a successful test page, I tried a real print job. So far so good. Then I tried to use the duplex function but wait, where is the option to

  • Can't get SSL to work :(

    Hi guys, Little question: I can't get SSL up and running . I used the cer. that was created by the installation of my new mac OSX 10.6 Server. I exported the cer. and have imported it in my Macbook Pro (Mac OSX 10.6.1) now I want to use it with a VPN

  • Airplay,Ipad not possible to stream in English (Only German)

    I am exoeriencing the following issue: When streaming from Ipad, Iphone or Mac Pro to the Apple TV (Gen2) it is not possible to listen to a dual soundtrack film (German/English) in any other language than German. It is possible to select and listen t

  • Burn slideshow to dvd

    Found out Elements 12 can not burn a slideshow of still pictures with music to a DVD that can then be played on a DVD player.   Appears I have to buy Premiere as well.  Please confirm.