Biometry Sample Problem on JCOP v2.4.1 R3

Hi,
I find some errors on running JCOP v2.4.1 R3 simulation of biometry sample included on JC 2.2.2 Dev Kit by using Eclipse. The CAP file has been produced but cannot upload like following session.
cm> set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f
cm> init-update 255
=> 80 50 00 00 08 19 52 78 8C 9C 5A 0D 62 00 .P....Rx..Z.b.
(4531 usec)
<= 00 00 DE 81 34 18 39 B7 09 70 FF 02 00 00 3D 02 ....4.9..p....=.
9C 31 C7 89 E5 7F 86 4B FE 01 55 DA 90 00 .1.....K..U...
Status: No Error
cm> ext-auth plain
=> 84 82 00 00 10 12 F2 5E 0E 56 EC 74 C3 1F D9 BD .......^.V.t....
28 6B 7B 9D F7 (k{..
(10955 usec)
<= 90 00 ..
Status: No Error
cm> delete -r a00000006203010c0f02
=> 80 E4 00 80 0C 4F 0A A0 00 00 00 62 03 01 0C 0F .....O.....b....
02 00 ..
(1994 usec)
<= 6A 88 j.
Status: Reference data not found
jcshell: Error code: 6a88 (Reference data not found)
jcshell: Wrong response APDU: 6A88
Ignoring expected error
cm> delete -r a00000006203010c0f01
=> 80 E4 00 80 0C 4F 0A A0 00 00 00 62 03 01 0C 0F .....O.....b....
01 00 ..
(1264 usec)
<= 6A 88 j.
Status: Reference data not found
jcshell: Error code: 6a88 (Reference data not found)
jcshell: Wrong response APDU: 6A88
Ignoring expected error
cm> upload -c -b 250 "C:\Downloads\Eclipse\workspace\Biometry\bin\com\sun\javacard\samples\biometry\bioServer\javacard\bioServer.cap"
=> 80 E6 02 00 17 0A A0 00 00 00 62 03 01 0C 0F 01 ..........b.....
08 A0 00 00 00 03 00 00 00 00 00 00 00 .............
(2812 usec)
<= 00 90 00 ...
Status: No Error
Start loading Header.cap (71 byte)
=> 80 E8 00 00 47 C4 82 02 2F 01 00 40 DE CA FF ED ....G.../..@....
02 02 04 00 01 0A A0 00 00 00 62 03 01 0C 0F 01 ..........b.....
2B 63 6F 6D 2F 73 75 6E 2F 6A 61 76 61 63 61 72 +com/sun/javacar
64 2F 73 61 6D 70 6C 65 73 2F 62 69 6F 6D 65 74 d/samples/biomet
72 79 2F 62 69 6F 53 65 72 76 65 72 00 ry/bioServer.
(2532 usec)
<= 00 90 00 ...
Status: No Error
Header.cap loaded (71 byte)
Start loading Directory.cap (36 byte)
=> 80 E8 00 01 24 02 00 21 00 40 00 21 00 0F 00 15 ....$..!.@.!....
00 36 00 41 00 E7 00 0A 00 27 00 00 01 08 06 DE .6.A.....'......
00 00 00 00 00 00 02 01 00 00 ..........
(2914 usec)
<= 00 90 00 ...
Status: No Error
Directory.cap loaded (36 byte)
Start loading Import.cap (24 byte)
=> 80 E8 00 02 18 04 00 15 02 03 01 07 A0 00 00 00 ................
62 01 01 02 01 07 A0 00 00 00 62 02 02 00 b.........b...
(4714 usec)
<= 6A 80 j.
Status: Wrong data
jcshell: Error code: 6a80 (Wrong data)
jcshell: Wrong response APDU: 6A80
Unexpected error; aborting execution
This error is exactly same when I'm using the real NXP JCOP v2.4.1 R3 card (J3A040). What's wrong with this? I have not do any editing, just import the .java files from Dev Kit into Eclipse workspace.
Best regards,

Hi,
You may be able to find an open source biometric library. It would probably not be the javacardx.biometry package though. I have not looked for one but you could search the forum for similar posts. I believe this has been discussed before.
Cheers,
Shane

Similar Messages

  • EXS Sampler Problems any one Help Help Help

    I Have recently been having loads of problems with my sampler instruments. When I click on some of them they take a while to load I have used the Project Manager in Logic Pro 7.1.1 to scan and that used to work but now no matter what I do in it whether doing an expanded scan or a selected scan or designated selected paths to scan it doesn't seem to make any difference. I have trashed the PM Prefs even the Logic Prefs even trashed logic and put on a fresh install.
    I recently in a desperate bid downloaded the demo of EXs Manager from Redmatica to re link my samples with the EXS interments after doing a little song and dance it came back with a great marketing ploy of having scanned so many instrument's it realised that I had more samples than the demo could handle to re-link the whole lot would need the full version which I will need to get at some point just to see whether it can do what it proclaims on the box.
    I am getting an error message when trying to load a few samples which reads 'Logical end-of -file reached during read operation Result code=-39'
    Can anyone tell me what this means

    I haven't had that problem, but my gut is telling me you have a bad drive or corrupt data on that drive. I'd run disk repair, and then if that passes run Disk Warrior or something like it to verify your data.
    EXS Manager works great, but it doesn't make samples load faster in my experience. EXS manager is more file management than anything...helps weed out unused samples and tidy up the organization.

  • Eyedropper Current Layer sampling problem.

    Using the "current layer" sampling setting for the eye dropper before I apply any top layer adjustments (adding a top layer with a different blending more or adding an adjustment layer) it works fine. When I use any adjustment layers or any layer that has a blending mode, it affects the way the eyedropper picks color especially when set to current layer.
    For instance, If I paint a new blank layer with random colors, I create a black and white adjustment layer on top of that one, I select the first color layer I go to pick a color using the eye dropper with the current layer sampling set, it picks a grey color (which is wrong). BUT!! if I open up the color picker with the color layer selected it picks the correct color. Now, if I delete the black and white adjustment layer, and I am back to only having the color layer, I then go to pick a color with current layer sampling still set, it chooses a grey color again?!?! There are no more layers on top of the original color layer I painted first, and yet it chooses a grey color?!?! I hope this makes sense, any ideas on why this is happening?
    I am working on Photoshop CS5 12.1 64bit

    I'm having the same problem in CS5.
    With current layer selected and a not visible layer of curves (contrast) and trying to pick from the current layer it picks as if the curves layer was visible.
    I have attached 2 images: first trying to pick with the curves layer off (you can see that it's picking a black color where brown should be picked. Second one with the curves layer on.
    After restarting Photoshop every thing work fine again. So I have assumed that the problem is vinculated with the action done before:
    Duplicate image 2 times
    Gaussian blur of 6px to the first image
    Apply image of the gaussian (RGB channel) inverted in mode "Add", scale 2, displacement 0.
    And I create a group as you can see on the screen shots.
    http://www.youtube.com/watch?v=wh6eIyrzbt0&t=1m8s
    I can reproduce this issue every time I use this technique...

  • JSP/EJB sample-problem

    Hi,
    I'm having difficulties to get the Oracle JSP sample to wrok.
    I deployed the JSP App and also the StackDemo app and changed the envrionment variables as requested .
    But each time I try to use the DemoStack bean by submitting a 'create stack' I get the message :
    "The requested access method is not allowed for that object"
    Can anybody help me with this problem?
    Michel.

    Alex,
    I use OAS 4.0.8.1.
    I also reloaded the application after deployment.
    I used a clinet snippet that is compiled in JDevelope 3.0 and I run it from there .
    It finds THE EJB , ic reated and deployed without giving any error messages. The problem rises the moment I try to use one of the functions of the remote interface of the EJB. In these functions I try to use functionality of viewObjects that are provided by a bussines component that I generated using JDeveloper 3.0.
    The wrb log file mentions a 'null pointer exeption'.
    I think that I do something wrong when initializing the application module that wraps the business component, but I can't see what is wrong.
    This is the code I use in my EJB :
    String theAM = "EDMpackage.EDMAppModule";
    ApplicationModule root = null;
    String sessionDefName = ApplicationModule.DEFAULT_DEF_FULL_NAME;
    Hashtable env = new Hashtable(2);
    env.put(Context.INITIAL_CONTEXT_FACTORY, JboContext.JBO_CONTEXT_FACTORY);
    env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);
    try
    Context ic = new InitialContext(env);
    ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup(sessionDefName);
    root = home.create();
    catch(Exception e)
    e.printStackTrace();
    localAppMod = root.createApplicationModule( "EDMAppMod",theAM );
    This works fine , but when I try to get a ViewObject through the localAppMod, I get the error. So I think I am wrong somewhere here.
    Michel.

  • Adobe Acrobat XI SDK Samples problem

    I am having problems building and running SDK samples.
    When built “out of the box”, the WebLinkDemo fails while getting HFT for AcroColor.
    After some googling, I found Adobe Acrobat XI SDK Release Notes:
    http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/release- notes-acrobatxisdk.PDF
    Following their directions:
    deleted
    /D PI_ACROCOLOR_VERSION=0x00060000
    inserted
    /D READER_PLUGIN
    WebLinkDemo builds OK, but required SnippetRunner fails to compile with multiple errors like:
    >c:\code\adobe\acrobat xi sdk\samples\snippetrunner\sources\snippets\shared\acetranspdetextcolorsnip.cpp(60): error C2065: 'PDEContentGetNumElemsSELPROTO' : undeclared identifier
    SELPROTO seems to be the commot suffix.
    Any suggestions?
    Thank you!

    Perhaps a little more context. You should understand that the Acrobat SDK is a tool for encouraging people to buy Acrobat - especially the consumers of plug-ins.
    Reader plug-ins can be made, subject to technical limitations, but Adobe do not especially like the lost sales of Acrobat this may represent.
    In addition to purchasing Acrobat, you will need to buy a Reader integration key, after negotatiation. Approval is not automatic!  There are also two scales of fees, one for regular Reader plug-ins and one for security related plug-ins, for which Adobe has a much higher fee and demands much more oversight.
    "How much does a Reader Integration key cost?
    Reader Integration keys are only available to strategic partners based on a negotiated price. If you are developing a digital rights management (DRM) Adobe Reader plug-in, the standard (non-DRM) RIKLA contract does not apply. Adobe does offer a DRM agreement specifically for developers building such Adobe Reader plug-ins. The current fee structure for the DRM RIKLA includes a $50,000 annual fee and a 5.5% revenue royalty."
    http://www.adobe.com/devnet/reader/ikla.html
    So, yes, to experiment with plug-ins, whether for Acrobat or eventually for Reader, please listen to what we are telling you and if you want to do this, buy Acrobat.

  • Debug Problem on Jcop Tools

    Hello,
    I have developed a Java Card Applet on Eclipse and I can run it through Jcop Tools' simulator. However, when I try to debug it, simulator returns 6A80 to upload command. Would you please tell me, what can be the reason of this problem?
    Thanks in Advance,
    Regards

    Dear ankey21, thank you for your response. Restarting Eclipse could not solve the problem.
    Here is apdu trace:
    cm>  upload -d -b 250 "D:\**.cap"
    => 80 E6 02 00 12 05 6D 79 61 70 70 08 A0 00 00 00    ......myapp.....
        03 00 00 00 00 00 00 00                            ........
    (1556 usec)
    <= 00 90 00                                           ...
    Status: No Error
    => 80 E8 00 00 FA C4 83 01 1E D7 01 00 15 DE CA FF    ................
        ED 02 02 04 00 01 05 6D 79 61 70 70 05 6D 79 61    .......myapp.mya
        70 70 02 00 21 00 15 00 21 00 09 00 32 04 56 00    pp..!...!...2.V.
        55 4A 89 00 DD 0A 62 00 00 0C 5F B7 73 00 18 00    UJ....b..._.s...
        0B 00 B2 05 01 00 04 00 32 05 02 01 07 A0 00 00    ........2.......
        00 62 01 01 02 01 07 A0 00 00 00 62 02 01 02 01    .b.........b....
        07 A0 00 00 00 62 01 02 00 01 06 A0 00 00 01 51    .....b.........Q
        00 00 01 07 A0 00 00 00 62 00 01 03 00 09 01 05    ........b.......
        4D 79 41 70 70 04 09 06 00 55 00 00 80 00 80 03    MyApp....U......
        43 00 40 04 06 00 00 04 32 FF FF 04 1D 04 3C 32    [email protected].....<2
        E3 32 EE 00 84 00 07 00 07 01 02 00 08 47 4D 47    .2...........GMG
        72 46 56 46 66 46 95 46 D1 47 11 47 E1 47 F6 48    rFVFfF.F.G.G.G.H
        04 00 84 00 08 00 07 01 00 00 0A 49 6E 49 BA 49    ...........InI.I
        C4 49 D0 49 EB 4A 0C 4A 1B 4A 2D 4A 3F 4A 71 07    .I.I.J.J.J-J?Jq.
        4A 89 24 03 D3 80 1A 03 ED 00 00 04 25 80 04 04    J.$.........%...
        2B 00 AB 04 54 01 AE 06 04 00 64 04 54 01 AE 00    +...T.....d.T...
    (864915 nsec)
    <= 6A 80                                              j.
    Status: Wrong data
    jcshell: Error code: 6a80 (Wrong data)
    jcshell: Wrong response APDU: 6A80
    Unexpected error; aborting executionRegards,

  • DI Server sample: problem with login

    Hi,
    I am studying the DI Server/WSClient sample and I try to connect with de DI Server to my company.
    When I try with the DI API, with the same username and passwords, servername etc..., it will succeed.
    When I use the DI Server it generates the following error for the sessionID:
    Error env:Receiver -1 General Error Login
    Because it is the sample delivered with SAP BO, I assume that there are people who examined this example.
    Does anyone know what I do wrong??
    I found that in administration->licence
    I select the tab Properties and select "DI-Server (DIS)"
    I see: Total Number = 2 and Available licence numbers = 2.
    Which means that the licences are not assigned to any user yet.
    When I select the Configuration tab and I select user manager, I see that I can select licences for professional user, SAP Addons and SDK Tools. But I can't assign a licence for the DIS. This could be te reason of the problem. The question is: How can I solve this??
    Greetz
    Eddy
    Message was edited by: Eddy Aper

    > Eddy,
    >
    > Please look at this link to another question and
    > answer in this forum that looks similar to the issue
    > that you are having.
    >
    > https://www.sdn.sap.com/sdn/collaboration.sdn?contentt
    > ype=url&content=https%3A//forums.sdn.sap.com/thread.js
    > pa%3FforumID%3D56%26threadID%3D33989%26messageID%3D342
    > 192%23342192
    >
    > Hope this helps,
    >
    > Eddy
    Eddy,
    i am having a similar problem with the DI server, but i can find the post that you have mentioned, it goes to a page moved screen and then back to the main page. Can you please advice how to fix the DI server Genreal Error issue.
    Thanks in advance
    Mitesh

  • CRIO 9076 AI Sampling Problem

    Hi,
    I have a question about the NI 9223 samping rate in our cRIO 9076 system.
    Since we are hoping to samping at a rate up to 500K or 1M,  we are now using the user controlled I/O sampling.
    Right now, we are sampling at 500K (2us). But I got a tick count of 99 ticks (around 2.5us) for the sampling node only.
    Should I be expecting so many ticks for the sampling block? Did I do anything wrong?
    Thank you so much!
    Solved!
    Go to Solution.
    Attachments:
    problem.JPG ‏399 KB

    Hi hang-up,
    It looks like you are specifying the loop rate for the entire while loop you are in, and not just that one specific part of code.  Because you have your loop timer controlled by an front panel object, it is possible that the code compiled, but if you change the loop time to a low value, the code cannot complete in time.  I would suggest that you isolate the acquisition you are trying to do in it's own loop so that it can run at full speed.
    Additionally, in order to get the full MS/s acquisition, you are going to need to architect your acquisition.  I would encourage you to check out the example code in our Example Finder for the NI 9223 User Controlled II Compositionally for the best way to get these maximum acquisition rates.  Additionally, depending on how you are going to be exporting this data from the FPGA, your ART controller may not be able to handle a sustained MS/s throughput.
    To explicitly answer your question, I suspect that because you are trying to complete a large loop in a short amount of time, the FPGA cannot complete the task in time, so it defaults to a rate that can be better handled.  For the control you are looking for, I would encourage you to move your application over to the architecture found in the example project to get the behavior you are looking for.
    Ben N.
    Applications Engineering
    Certified LabVIEW Developer

  • Samples Problem (Channel disconnected)

    I am running Tomcat 6 and JRE 1.5, with FDS. Running the
    Dashboard sample is not a problem (except for a lack of heapspace
    in the JRE sometimes). However, the CRM sample is not working. I
    get the error "Channel disconnected" on the client side, and on the
    server side I am seeing a JRE error ... specifically a
    javax/transaction/SystemException throwable. The last entry in the
    stack trace is: java.lang.NoClassDefFoundError:
    javax/transaction/SystemException at
    flex.data.DataService.serviceMessage(DataService.java:305). I have
    installed JOTM JARs in the Tomcat common\lib directory, and created
    a "samples.xml" file in the conf\Catalina\localhost directory.
    I am new to Flex2 (and FDS), and I am also new to Tomcat. But
    I am really not trying to get too sophisticated right now. I am
    frustrated, and I appreciate any help that anyone can give me!
    All I really want to do is to create a simple application
    that communicates using RTMP to transport POJOs on the server side
    to AS classes on the client side. I have run the
    tutorial
    that Christophe Coenraets provided, and it works just fine. But
    when I try to build a test from scratch by installing Tomcat, FDS,
    JOTM (do I really need that piece?), and then creating the mxml,
    as, and class files I have problems. Which caused me to try the
    samples that come with FDS.
    As a side note ... there is a statement that memory for the
    JRE should be increased, but no specific instructions for
    increasing it. That's not my immediate problem with the CRM sample,
    and so I'll figure it out later.

    Just an update ... although I am not sure that anyone will
    ever see any of this:
    I reinstalled Tomcat, FDS, and JOTM. I actually put the JOTM
    JARs into the tomcat/lib directory, since I wasn't certain where
    Tomcat will look. I added the TransactionFactory element to
    tomcat/conf/context.xml. This entry specifies to Tomcat that the
    default transaction factory is JOTM. I also changed the heap size
    for the JVM, which I realized can be changed using the Tomcat
    configuration program shown in the Tomcat menu under the Windows
    Start Menu.
    I am still getting a "Channel disconnected" error when I
    attempt to update a value in the CRM sample application. The
    exception in the Tomcat window is:
    java.lang.ExceptionInInitializerError. This appears to be thrown in
    the constructor of the jotm Current class.
    Does anyone have any ideas? Or at least a similar problem?
    Thanks!

  • JNI sample problem

    Hi, I am trying to make a sample native method to work but not able till now. I need help to understand what I am doing wrong.
    This is the example I am following : http://netbeans.org/kb/docs/cnd/beginning-jni-linux.html
    The example is for linux, but I am using windows XP ( In the part of including directories I add win32 from java folder, except linux - I hope this is not the problem).
    I do everything from the example good, build without errors, except the last build. It gives me this message:
    run:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: jnidemojava.Main.nativePrint()V
            at jnidemojava.Main.nativePrint(Native Method)
            at jnidemojava.Main.main(Main.java:20)
    Java Result: 1
    BUILD SUCCESSFUL (total time: 0 seconds)and this is the code in my main method (done as in the example)
    I am using Netbeans IDE 6.9.1
    Please, every help will be appreciated. I am stuck with this samples, try about ten different samples from the net, and still have not been made one of them working ... It is important for me to make one of them working because I am new in JNI and reading something like book about it but in the book everything is done in eclipse and to continue with the reading I have to understand how to make the samples there in NetBeans IDE.
    Thanks in advance.
    EDIT: I was not given to extract the code. I message tells my : " Sorry, this content is not allowed " ... I will try to past it somehow...
    Edited by: gotqn on Feb 27, 2011 2:35 PM
    Edited by: gotqn on Feb 27, 2011 2:36 PM

    jshell, thanks for the answers, I understand that you do not want to click on links that may make to go to unsecured areas in the net ... It is a kind of insulting because I have just wanted to be helped, not to the something bad to people I do not know. Anyway, this is your right and I respect it.
    It is very useless for me that I am not able to post my code and at the same time I am not said what is wrong with it. My code is not something big, we are talking about my first Java Native Interface program. It includes only few lines.
    I really need help, so I will try to post anything it is possible.
    This is part of java class main. I am not able to past the static load method, so I have to describe it: "I am adding the path way in the project VM options filed and I use load library adding only the name of the object without its extension."
    public static void main(String[] args) {
            new Main().nativePrint();
        private native void nativePrint();This is my header file, that has been generated and add into the C/C++ library project:
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include <jni.h>
    /* Header for class helloworld_Main */
    #ifndef _Included_helloworld_Main
    #define _Included_helloworld_Main
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class:     helloworld_Main
    * Method:    nativePrint
    * Signature: ()V
    JNIEXPORT void JNICALL Java_helloworld_Main_nativePrint
      (JNIEnv *, jobject);
    #ifdef __cplusplus
    #endif
    #endifThis is the source file and the native method:
    #include <jni.h>
    #include <stdio.h>
    #include "Main.h"
    JNIEXPORT void JNICALL Java_jnidemojava_Main_nativePrint
            (JNIEnv *env, jobject obj)
        printf("\nHello World from C\n");
    }Edited by: gotqn on Mar 1, 2011 2:21 AM
    Edited by: gotqn on Mar 1, 2011 2:24 AM
    Edited by: gotqn on Mar 1, 2011 2:25 AM

  • Adobe LiveCycle Designer Samples - problem

    Hello,
    i've just downloaded the DataImportExport.zip from
    http://partners.adobe.com/public/developer/livecycle/designer/index_samples.html
    and i have one question.
    Why i am unable to run first example: "Export Data: User to specify the file name" ?
    Does anyone have the same problem ? I have Reader 7.0.5.
    Also the third example works.
    Please help me !

    You need Acrobat, not Reader, to export data.
    Carl Young
    www.pdftrain.com

  • EXS 24 Sampler problems.

    I have just loaded Logic X onto a 27 inch i7 imac and have 32 gig of ram.
    I have always used homemade EXS 24 sample banks successfully on previous set ups Logic 8&9 - and have created new samples to use on the new supposedly more powerful Logic X using convert to sampler function.
    Playing one track of these samples come out fine, however when I have two or more sampler tracks playing togther, I seem to get a sort of crunch noise every now and again - as if the CPU or Ram is overloading.
    Does anyone have a solution for this please.
    Thank you !

    hi, again,
    sound like you are trying to do everything at once!!!
    even the beefiest macs will fold if you push this approach!!
    render some of you're VI's to audio, or freeze them.
    i have a very old machine but as long as i'm careful and PLAN everything, i have no trouble getting ~ 64- 96 stereo clips @ ~3min ea. running with fx at mixdown.
    also, audio clips allow you too inspect the timing, groove of the song and tighten/loosen it to taste in an accurate repeatable fashion.
    best, david r.

  • BI Beans Samples Problem

    Hi,
    I've installed BI Beans samples and they are working fine except servlet samples.
    Only bootstrap servlet example is working fine but other servlet samples generates errors. Custom query tool shows crosstab, but when i try to drill down, or try to change time and press go, then a got javascript error Object expected.
    In page source I can find link to javascript src file MarlinCoreA4.js, but a can't find this file on my HDD.
    Have any ideas.
    Thx.

    I would recommend upgrading if possible to JDev/BI Beans 10g as this new release has a lot of cool new features that make development a lot faster and easier. Included in JDev/BI Beans 10g Help System (this might also be present in the 904 documentation - sorry I cannot remember) are topics that should help you develop your servlet application.
    The Help system provides working code for the following areas:
    Building Servlet Applications
    Rendering HTML pages
    Handling thin beans events
    Using thin bean dialogs
    Preparing a dialog or wizard page in a Servlet
    Adding a graph or crosstab wizard to a Servlet
    Adding a PresentationBuilder to a Servlet
    Adding a Graph or Crosstab Wizard to a Servlet
    Adding a Presentation Wizard Page to a Servlet
    Managing state information
    Managing thin presentations
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • Problem with JCOP tool

    Hi all,
    I wrote simple applet and I tried to test it with JCOP Tool (eclipse) but I get this error
    cm>  /term "Remote|localhost:8050"
    /card -a a000000003000000 -c com.ibm.jc.CardManagerATR: 3BFA1300008131FE454A434F5034315632323196
    ATR: T=1, FI=1/DI=3 (93clk/etu), N=0, IFSC=254, BWI=4/CWI=5, Hist="JCOP41V221"
    cm>  set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f
    cm>  init-update 255
    cm>  ext-auth plain
    cm>  delete 4422331234
    cm>  delete 4422331234
    jcshell: Error code: 6a88 (Reference data not found)
    jcshell: Wrong response APDU: 6A88
    Ignoring expected error
    cm>  delete 0000000001
    cm>  delete 0000000011
    cm>  upload -b 250 "D:\Development\Java\projects\JavaCard\HelloWorld\bin\org\erno\jc\hello\javacard\hello.cap"
    cm>  install -i 0000000001  -q C9#() 0000000011 0000000001
    cm>  upload -b 250 "D:\Development\Java\projects\JavaCard\test\bin\org\erno\test\javacard\test.cap"
    cm>  install -i 4422331234  -q C9#() 4422331234 4422331234
    jcshell: Error code: 6985 (Conditions of use not satisfied)
    jcshell: Wrong response APDU: 6985
    Unexpected error; aborting executiondoes anybody know what is wrong with it? I am new about this :-(. thanx for any help.
    regards
    p.s. I'm using simulator not real card.

    Hy,
    here is the status I get when I try to run my applet
    -  /term "Remote|localhost:50337"
    --Opening terminal
    /card -a a000000003000000 -c com.ibm.jc.CardManagerresetCard with timeout: 0 (ms)
    --Waiting for card...
    ATR=3B FA 13 00 00 81 31 FE 45 4A 43 4F 50 34 31 56    ;.....1.EJCOP41V
        32 32 31 96                                        221.
    ATR: T=1, FI=1/DI=3 (93clk/etu), N=0, IFSC=254, BWI=4/CWI=5, Hist="JCOP41V221"
    => 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00          ..............
    (15538 usec)
    <= 6F 10 84 08 A0 00 00 00 03 00 00 00 A5 04 9F 65    o..............e
        01 FF 90 00                                        ....
    Status: No Error
    cm>  set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f
    cm>  init-update 255
    => 80 50 00 00 08 D7 5D 16 84 88 87 8B B0 00          .P....].......
    (4177 usec)
    <= 00 00 57 F3 97 D9 7F 72 88 55 FF 02 00 00 3D 02    ..W....r.U....=.
        9C 31 C7 89 90 D8 41 D7 23 6B DD B4 90 00          .1....A.#k....
    Status: No Error
    cm>  ext-auth plain
    => 84 82 00 00 10 45 11 3E D7 C1 3E 63 40 3A 2F EF    .....E.>..>c@:/.
        C1 E6 93 3C 0F                                     ...<.
    (3099 usec)
    <= 90 00                                              ..
    Status: No Error
    cm>  delete 0000000012
    => 80 E4 00 00 07 4F 05 00 00 00 00 12 00             .....O.......
    (1459 usec)
    <= 6A 88                                              j.
    Status: Reference data not found
    jcshell: Error code: 6a88 (Reference data not found)
    jcshell: Wrong response APDU: 6A88
    Ignoring expected error
    cm>  delete 0000000012
    => 80 E4 00 00 07 4F 05 00 00 00 00 12 00             .....O.......
    (1613 usec)
    <= 6A 88                                              j.
    Status: Reference data not found
    jcshell: Error code: 6a88 (Reference data not found)
    jcshell: Wrong response APDU: 6A88
    Ignoring expected error
    cm>  upload -b 250 "D:\Development\Java\projects\JavaCard\JCErnad\bin\erno\jc\javacard\jc.cap"
    => 80 E6 02 00 12 05 00 00 00 00 12 08 A0 00 00 00    ................
        03 00 00 00 00 00 00 00                            ........
    (3475 usec)
    <= 00 90 00                                           ...
    Status: No Error
    => 80 E8 80 00 E8 C4 81 E5 01 00 17 DE CA FF ED 02    ................
        02 04 00 01 05 00 00 00 00 12 07 65 72 6E 6F 2F    ...........erno/
        6A 63 02 00 21 00 17 00 21 00 09 00 0B 00 1E 00    jc..!...!.......
        0E 00 3D 00 0A 00 0B 00 00 00 4D 01 A3 00 00 00    ..=.......M.....
        00 00 00 01 01 00 04 00 0B 01 02 01 07 A0 00 00    ................
        00 62 01 01 03 00 09 01 05 00 00 00 00 12 00 08    .b..............
        06 00 0E 00 00 00 80 03 00 FF 00 07 01 00 00 00    ................
        1C 07 00 3D 00 01 10 18 8C 00 06 7A 05 30 8F 00    ...=.......z.0..
        03 3D 8C 00 00 18 1D 04 41 18 1D 25 8B 00 01 7A    .=......A..%...z
        02 21 18 8B 00 02 60 03 7A 19 8B 00 04 2D 1A 04    .!....`.z....-..
        25 73 00 09 00 00 00 00 00 0F 11 6D 00 8D 00 05    %s.........m....
        7A 08 00 0A 00 00 00 00 00 00 00 00 00 00 05 00    z...............
        1E 00 07 06 00 00 01 03 80 03 02 03 80 03 03 01    ................
        00 02 00 03 80 0A 01 06 80 07 01 06 80 03 00 09    ................
        00 0B 00 00 00 07 05 06 04 0A 07 07 13 00          ..............
    (18434 usec)
    <= 00 90 00                                           ...
    Status: No Error
    Load report:
      232 bytes loaded in 0.0 seconds
      effective code size on card:
          + package AID       5
          + applet AIDs       12
          + classes           17
          + methods           64
          + statics           0
          + exports           0
            overall           98  bytes
    cm>  install -i 0000000012  -q C9#() 0000000012 0000000012
    => 80 E6 0C 00 18 05 00 00 00 00 12 05 00 00 00 00    ................
        12 05 00 00 00 00 12 01 00 02 C9 00 00 00          ..............
    (3280 usec)
    <= 69 85                                              i.
    Status: Conditions of use not satisfied
    jcshell: Error code: 6985 (Conditions of use not satisfied)
    jcshell: Wrong response APDU: 6985
    Unexpected error; aborting executionthanks
    regards
    erno

  • URL v2 Sample Problems...Help Please!!!

    I have successfully installed the PDK Java v2 and am able to view portlets on a page correctly, however, after registering the sample URL provider, when trying to view portlets on a page, the following error occurs:
    SOAP-ENV:Server.Exception, , java.lang.NullPointerException at oracle.portal.provider.v2.http.URLProviderInstance.initSession(Unknown Source) at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.initSession(Unknown Source) at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.initSession(Unknown Source) at java.lang.reflect.Method.invoke(Native Method) at oracle.webdb.provider.v2.utils.soap.SOAPProcessor.doMethodCall(Unknown Source) at oracle.webdb.provider.v2.utils.soap.SOAPProcessor.processInternal(Unknown Source) at oracle.webdb.provider.v2.utils.soap.SOAPProcessor.process(Unknown Source) at oracle.webdb.provider.v2.adapter.SOAPServlet.doSOAPCall(Unknown Source) at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:691) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:276) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:737) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:247) at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    PDK Java Release 9.02 (Release Notes say last updated March 18, 2002)
    Portal 3.0.9.8.0
    OC4J Developers Preview (Oracle 9iAS 9.0.3.0.0)
    Thanks in advance

    Please provider additional information to reproduce the exceptions you are facing. Since the same samples working are fine under my system environment.
    1) PDK V2 download location (version)
    2) Portal used register the sample URL provider.

Maybe you are looking for

  • Unable to embed data in any of the components

    I have an xlf file that contains a series of charts, tables and other components with data embedded in them. As I get new data, I update the previous data. But, currently I am unable to embed data in the existing charts or any other new components th

  • Unable to use the Logo Image

    Hi all, I want to use Logo Image at the Title of a report. But the problem is i am unable to use this .jpg file in Title Logo. I have copied the desired jpg in these two locations : OracleBI\Oracle_BI1\bifoundation\web\app\res\s_blafp\images OracleBI

  • IPod causes windows to freeze...NTSF format problem?

    Hi. I formatted my ipod classic as NTSFso i could fit a large file on there. So i done that, but straight after i re-connected the ipod it hasn't been working. Windows will eventually recognize the ipod as a removable disk, but when i try to right cl

  • Deprecation Warnings

    Hi I am using 3.2.3 and when I set a JLabel's label the code generated is label.setLabel - can I get JDeveloper to generate setText instead? Marc

  • An APP for Writers

    I am trying to locate an APP for writers that will allow me to assemble and store my writing and my research in one place. The writing section would allow me to compose the text material as well as preview it and store it securely. The research area