Extending CR4E using Eclipse RCP plugin's

<p>Hi Sean,</p><p>I have not started checking this for myself, so this question is more theoretical.</p><p>I plan to customize and extend CR4E using Eclipse RCP plugin architecture. The two main requirements are to add a custom data-source type/provider to the report wizard, and to add a custom result-set wrapper for the said data-source. Other requiremnets may be more look&feel related.</p><p>Assuming licensing issues are met, I had a few questions.</p><p>1. Are there suitable extension points for this in CR4E</p><p>2. Given your current roadmap, is the api stable.</p><p>Thanks,</p><p>Nathaniel</p>

<p>Unfortunately, developing against these extension points is not currently supported. We definitely plan to support building against these extension points in the future, but in the initial release this was just not in the timeframe. The extension points are likely to change in future releases and we didn&#39;t want to be bound to the initial definition released in version 1. I will keep you updated when this feature does become available. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) </p>

Similar Messages

  • How to extending CR4E from Eclipse RCP plugin's

    Hi All,
    I want to create a eclipse RCP application which will extend CR4E and let me create my own wizards for data source customization.
    I read it from crystal report for eclipse 2.0 guide that RCP and CR4E support possible but please let me know how ? and is ther any material or sample for this? any where?
    Any related information will be highly appreciated.
    Regards,
    Sunil Kumar Sahoo.
    Sr. Software Engg.

    Dear Ted,
    I want to create one RCp application . which will invoke the custom plugins created by exteding eclipse extension pionts. Is it possiblle to invoke these eclipse plugins inside RCP applications. So that I can invoke my custom eclipse designer having custom data source and few more branding wizards ,inside RCP standalone application?
    If yes , Please kindly refer  how and which material describes this?
    your reply  will be hignly appreciated .
    Regards,
    Sunil Kumar Sahoo

  • Developing an Eclipse RCP Plugin Project with CE and NWDI

    Hallo,
    I want to know what's the best way to create an Eclipse RCP application and have the sources managed by the NWDI.
    My problem is that development components within a software component can only be plain java projects and not plugin projects. Now I can convert a plugin project to a development component but when I try to build this dc it fails because the needed libraries for this origin plugin project (Plug-In Dependencies) are not available because is it now just a plain java project.
    However I could create another dc with the needed libraries and add this dc as a required dc but then it is not the same as a standard plugin project and I don't know if that could create problems then.
    In case anybody knows how to solve this problems, please give me a hint.
    Fabian

    Hi,
    I fixed the java.lang.NoClassDefFoundError problem in the Eclipse 3.1 Plug-in: in the Run > Environment, set the CLASSPATH variable to the directory containing the target program's package hierarchy. Now the Trace program runs ok when invoked from the plug-in.
    However, when I repeated the same configuration in Eclipse 3.0.2, I got the following runtime error.
    Unhandled event loop exception
    Reason:
    com/sun/jdi/connect/VMStartException
    Isn't Eclipse 3.0.2 supposed to behave in the same way? Any help will be much appreciated!
    Sunny

  • Eclipse RCP & RMI

    Hi,
    I might be considered a noob with these two technologies and I have a problem using RMI with my eclipse RCP app.
    Simple RMI server and client works fine, however if use eclipse rcp as the client, it hangs forever while "lookup".
    Simple Server Code:
    System.setSecurityManager(new RMISecurityManager());
    Registry registry = LocateRegistry.getRegistry("localhost", 1099);
    HelloImpl obj = new HelloImpl();
    registry.rebind("HelloServer", obj);Simple RCP Client Code: (executed in a job scheduled)
    System.setSecurityManager(new MySecurityManager());
    Registry registry = LocateRegistry.getRegistry("localhost", 1099);
    Hello obj = (Hello) registry.lookup("HelloServer");  //hangs here
    String message = obj.sayHello();MySecurityManager:
    public class MySecurityManager extends SecurityManager {
    public MySecurityManager() {}
    public void checkPermission() {}
    public void checkPermission(Permission perm) {}
    public void checkPermission(Permission perm, Object context) {}
    }Client code works fine if it is a simple application. The only difference to me was VM arguments and I added "codebase" and "policy" arguments but no change at all. (actually, rcp client already has stub file)
    Is there any specific configuration I need to adjust to make it work?
    Any help would be appreciated.
    Thx

    okay, it wasnt hanged, it throws an exception.my bad..
    java.lang.ClassCastException: HelloImpl_Stub
    So, I remove the stub file from Client and change codebase arg to
    -Djava.rmi.server.codebase=file:${workspace_loc:/RMIServer/bin}
    didnt work..
    Both classes are generated by same SDK (1.5). Client and server are running on same machine (local)
    someone claimns to have a solution in your forum here:
    http://www.genady.net/forum/viewtopic.php?t=205
    and another one here:
    http://forum.java.sun.com/thread.jspa?forumID=58&threadID=721143
    here is the new code:
    ClassLoader oldLoader = Thread.currentThread().getContextClassLoader();
    Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader());
    System.setSecurityManager(new MySecurityManager());     
    Registry registry = LocateRegistry.getRegistry("localhost", 1099);
    Hello obj = (Hello) registry.lookup("HelloServer");
    String message = obj.sayHello();
    System.out.println(message);
    Thread.currentThread().setContextClassLoader(oldLoader);Still I get the same exception.

  • Mediatek looking for - Software Engineer -Java/Eclipse/RCP

    DESCRIPTION
    Looking for a strong software engineer with a background in Eclipse RCP plugin development, and strong programming skills in Java to work on toolchain debugger development and processor simulator integration for embedded DSP processors. Role will include development, testing and verification of software development tools on both Linux and Windows environments. Role will also present the opportunity to define and implement processor-specific toolkit features.
    QUALIFICATIONS
    1. BS/MS in relevant degree area.
    2. Experienced in Eclipse RCP plugin development with Java and SWT is must.
    3. Experience of cross-platform development and debugging with Eclipse on Linux and Windows is desired
    4. Experience in C++ is plus.
    EDUCATION REQUIREMENTS
    B.S. in Computer Science or related field
    EXPERIENCE
    More than 2 Years Work Expe.
    Please submit resume at careers section in Mediatek US website or email to [email protected]

    Depending on individual experience and capability, it would not be too hard to figure out the market value of software engineer with some googling.

  • Eclipse RCP Editor

    Hello , i dont know if this is the right forum to post but i cannot find another forum.
    So i have a simple yet difficult problem with Eclipse RCP.
    I have a menu that says Open new Editor, and i try to create a new Editor and display it in the Editor Area. I always get Unknown editor ID even if there is one editor specified in the extension.
    Can anyone point me to a good totorial on how to create a simple editor using eclipse RCP ?
    Thank you

    I found that when getting the id of the Application property returns null, the error is HResult 2147417843. I googled it and found that it seems to correspond to the OLE error 0x8001010D. I didn't find a lot of help about this error. It seems to have something to do with synchronous call to the Ole component but it doesn't really help me.

  • Eclipse RCP Application, Plugins and Classloader

    Hi there,
    I'm currently evaluatin KODO within an eclipse RCP application.
    Anything went fine until I started to modularize my classes into
    different plugins.
    Background:
    ===========
    The application consists of a "main" plugin, a "basic persistence layer"
    plugin and an "additional persitent classes" plugin.
    "basic" contains anything for kodo connections and persistence managers
    and some general persitent classes
    "additional" introduces some applicationspecific persitent classes.
    the persistent classes of any plugin are registered using
    "kodo.PersistentClasses".
    I use "kodo.ClassResolver" to point to a class
    "MultiPluginClassResolver" which inherits from
    "MultiLoaderClassResolver" and has the classloader of each plugin
    registered.
    main depends on "basic" and "additional".
    Problem:
    ========
    Whenever I instaniate a PersistenceManager from within plugin "basic"
    kodo throws a ClassNotFoundException as shown below.
    de.bioassay.pla.assay.Assay is a class from plugin "additional"
    What am I missing?
    297 WARN [main] kodo.Runtime - java.lang.ClassNotFoundException:
    de.bioassay.pla.assay.Assay
    java.lang.ClassNotFoundException: de.bioassay.pla.assay.Assay
         at serp.util.MultiClassLoader.findClass(MultiClassLoader.java:230)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at
    kodo.runtime.PersistenceManagerFactoryImpl.loadPersistentClasses(PersistenceManagerFactoryImpl.java:208)
         at
    kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:151)
         at
    kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:104)
         at
    kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:97)
    regards
    Markus

    Hi again.
    could solve the problem on my own:
    the "additional" plugin didn't have the jdo libraries within the
    runtime classpath. The solution was to export the jdo libraries from
    within the "base" plugin.
    regards
    Markus
    M. Stier schrieb:
    Problem:
    ========
    Whenever I instaniate a PersistenceManager from within plugin "basic"
    kodo throws a ClassNotFoundException as shown below.
    de.bioassay.pla.assay.Assay is a class from plugin "additional"
    What am I missing?

  • Simulation using Eclipse plugin for JCOP tools

    Dear All,
    In search for a simulation environment for java card applet development I tried to use Eclipse plugin for JCOP tools.
    The samples which comes with the JCOP tools works fine but when try to debug my applet I receive the error: Wrong Data 6A 80.
    Generic JCOP v2.4.1 is selected for Java Card Simulation.
    Following is the JCOP Shell screen:
    cm- /term "Remote|localhost:8050"
    --Opening terminal
    /card -a a000000003000000 -c com.ibm.jc.CardManagerresetCard with timeout: 0 (ms)
    --Waiting for card...
    ATR=3B F8 13 00 00 81 31 FE 45 4A 43 4F 50 76 32 34 ;.....1.EJCOPv24
    31 B7 1.
    IOCTL().
    ATR: T=1, FI=1/DI=3 (93clk/etu), N=0, IFSC=254, BWI=4/CWI=5, Hist="JCOPv241"
    => 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00 ..............
    (908058 nsec)
    <= 6F 65 84 08 A0 00 00 00 03 00 00 00 A5 59 9F 65 oe...........Y.e
    01 FF 9F 6E 06 47 91 92 18 00 00 73 4A 06 07 2A ...n.G.....sJ..*
    86 48 86 FC 6B 01 60 0C 06 0A 2A 86 48 86 FC 6B .H..k.`...*.H..k
    02 02 01 01 63 09 06 07 2A 86 48 86 FC 6B 03 64 ....c...*.H..k.d
    0B 06 09 2A 86 48 86 FC 6B 04 02 15 65 0B 06 09 ...*.H..k...e...
    2B 85 10 86 48 64 02 01 03 66 0C 06 0A 2B 06 01 +...Hd...f...+..
    04 01 2A 02 6E 01 02 90 00 ..*.n....
    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 B1 04 15 2B 41 3F 62 AB 00 .P......+A?b..
    (2668 usec)
    <= 00 00 F9 02 71 E3 BB AD BD CD FF 02 00 00 3D 02 ....q.........=.
    9C 31 C7 89 AD 44 8E 13 17 15 2E 5A 90 00 .1...D.....Z..
    Status: No Error
    cm> ext-auth plain
    => 84 82 00 00 10 CE 6C DC D2 8C BE 5E 33 EC 58 D0 ......l....^3.X.
    57 3A 52 D2 24 W:R.$
    (2288 usec)
    <= 90 00 ..
    Status: No Error
    cm> delete -r a00000006203010c04
    => 80 E4 00 80 0B 4F 09 A0 00 00 00 62 03 01 0C 04 .....O.....b....
    00 .
    (1084 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 -d -b 250 "D:\JCOP\eclipse\projects\DigitalTachograph\bin\digitaltachograph\javacard\digitaltachograph.cap"
    => 80 E6 02 00 16 09 A0 00 00 00 62 03 01 0C 04 08 ..........b.....
    A0 00 00 00 03 00 00 00 00 00 00 00 ............
    (2100 usec)
    <= 00 90 00 ...
    Status: No Error
    => 80 E8 00 00 FA C4 82 84 42 01 00 25 DE CA FF ED ........B..%....
    02 02 04 00 01 09 A0 00 00 00 62 03 01 0C 04 11 ..........b.....
    64 69 67 69 74 61 6C 74 61 63 68 6F 67 72 61 70 digitaltachograp
    68 02 00 21 00 25 00 21 00 0E 00 29 03 3E 00 CD h..!.%.!...).>..
    23 D2 01 BB 04 44 00 00 09 E3 4B E5 00 11 00 05 #....D....K.....
    01 A2 04 01 00 04 00 29 04 00 01 07 A0 00 00 00 .......)........
    62 00 01 02 01 07 A0 00 00 00 62 01 01 02 01 07 b.........b.....
    A0 00 00 00 62 01 02 02 01 07 A0 00 00 00 62 02 ....b.........b.
    01 03 00 0E 01 0A A0 00 00 00 62 03 01 0C 04 01 ..........b.....
    01 DF 06 00 CD 00 00 00 80 00 00 FF 00 01 00 00 ................
    00 01 81 03 13 00 12 07 03 00 00 02 01 03 06 0B ................
    8C 81 00 00 00 80 00 0B 00 0B 01 01 00 00 0B F9 ................
    00 80 00 11 00 0F 01 01 00 10 0E A9 0D D4 0D F7 ................
    0E 07 0E 18 0E 26 0E 35 0E 44 0E 50 0E 72 0E 81 .....&.5.D.P.r..
    0E 90 0E 9B 0E F5 11 05 11 1A 11 50 00 80 00 05 ...........P....
    00 04 01 04 00 01 13 AF 13 B5 13 BA 14 0C 13 00 ................
    (6775 usec)
    <= 6A 80 j.
    Status: Wrong data
    jcshell: Error code: 6a80 (Wrong data)
    jcshell: Wrong response APDU: 6A80
    Unexpected error; aborting execution
    I will be very happy if you can help me. I am desperately in need of a working debugging environment.
    Thanks in advance!
    Kind regards,
    Mehmet

         * Processes incoming READ_BINARY APDUs. Returns data of the currently
         * selected file.
         * @param apdu   where the offset is carried in header bytes p1 and p2.
         * @param le  expected length by terminal
         * @return length of the response APDU
        private short processReadBinary(APDU apdu, boolean protectedApdu,  short leUnprotected) {
            if (!hasFileSelected()) {
                ISOException.throwIt(SW_CONDITIONS_NOT_SATISFIED);
            byte[] buffer = apdu.getBuffer();
            // retrieve p1p2 from apdu buffer
            byte p1 = buffer[OFFSET_P1];
            byte p2 = buffer[OFFSET_P2];
            short offset = Util.makeShort(p1, p2);     // offset encoded in P1/P2, 15 lowest bit
            // offset encoded in P1/P2, 15 lowest bit
            // check if le != 0 <-- no response expected
            if (leUnprotected == 0) {
                ISOException.throwIt(ISO7816.SW_WRONG_LENGTH);
            if (selectedFile == null) {
                ISOException.throwIt(ISO7816.SW_FILE_NOT_FOUND);
            if ((selectedFile.getAccessConditions() & READ_REQUIRES_SM) == READ_REQUIRES_SM) {
                if(!protectedApdu)
                   ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
            short fileSize = (short) selectedFile.getFileLength();
            // check offset
            if (offset >= fileSize) {
                ISOException.throwIt(ISO7816.SW_INCORRECT_P1P2);
            // check expected length
            if ((short) (offset + leUnprotected) > fileSize) {
                ISOException.throwIt(ISO7816.SW_WRONG_LENGTH);
                //ISOException.throwIt(SW_TAMAM);
            short bufferOffset = 0;
            crypto.setEncryptionStatus(isSelectedFileEncrypted());
            if (protectedApdu) {
                bufferOffset = crypto.getApduBufferOffsetDT(leUnprotected);
                if(isSelectedFileEncrypted())
                   bufferOffset = crypto.getApduBufferOffset(leUnprotected);
                apdu.setOutgoing();
            Util.arrayCopyNonAtomic(selectedFile.getData(), offset, buffer, bufferOffset, leUnprotected);
            return leUnprotected;
         * Processes and UPDATE_BINARY apdu. Writes data in the currently selected
         * file.
         * @param apdu
         *            carries the offset where to write date in header bytes p1 and
         *            p2.
        private void processUpdateBinary(APDU apdu, boolean protectedApdu) {
            if (!hasFileSelected() || isLocked()) {
                ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
            if ((selectedFile.getAccessConditions() & DigitalTachograph.UPDATE_ALW) != DigitalTachograph.UPDATE_ALW) {
                if ((selectedFile.getAccessConditions() & DigitalTachograph.UPDATE_REQUIRES_SM) != DigitalTachograph.UPDATE_REQUIRES_SM) {
                    ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
                    return;
                }else if(!protectedApdu){
                        ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
            byte[] buffer = apdu.getBuffer();
            byte p1 = buffer[OFFSET_P1];
            byte p2 = buffer[OFFSET_P2];
            short offset = Util.makeShort(p1, p2);
            short readCount = (short) (buffer[ISO7816.OFFSET_LC] & 0xff);
            //if (!protectedApdu){
                readCount = apdu.setIncomingAndReceive();
            while (readCount > 0) {
                selectedFile.writeData(offset, buffer, OFFSET_CDATA, readCount);
                offset += readCount;
                readCount = apdu.receiveBytes(ISO7816.OFFSET_CDATA);
        private short processInternalAuthenticate(APDU apdu , boolean protectedApdu) throws CryptoException {
            byte[] buffer = apdu.getBuffer();
            short lc = (short) (buffer[OFFSET_LC] & 0xFF);
            if (lc != (short) (KID_LENGTH * 2)) {
                ISOException.throwIt(SW_WRONG_LENGTH);
            if (apdu.setIncomingAndReceive() != lc) {
                ISOException.throwIt(ISO7816.SW_WRONG_DATA);
            // Check if VU.CHR maches the one of the selected certificate on the card
            if (Util.arrayCompare(buffer, (short) (OFFSET_CDATA + KID_LENGTH), keyStore.selected_KID, (short) 0, KID_LENGTH) != 0) {
                ISOException.throwIt(SW_REFERENCE_DATA_NOT_FOUND);
            if (Util.arrayCopyNonAtomic(buffer, OFFSET_CDATA, Rnd1, (short) 0, (short) 8) != (short) 8) { // Receive Rnd1
                ISOException.throwIt(ISO7816.SW_WRONG_DATA);
            // Hash(PRnd2||K1||Rnd1||VU.CHR)
            random.generateData(PRnd2, (short) 0, (short) 90);
            random.generateData(K1, (short) 0, (short) 16);
            crypto.shaDigest.update(PRnd2, (short) 0, (short) 90); // PRnd2
            crypto.shaDigest.update(K1, (short) 0, (short) 16); // PRnd2||K1
            crypto.shaDigest.doFinal(buffer, OFFSET_CDATA, lc, digest, (short) 0); //Rnd1||VU.CHR
            BigNumber mod = new BigNumber((short) 128);
            mod.init(keyStore.Card_PubMod, (short) 0, (short) keyStore.Card_PubMod.length, BigNumber.FORMAT_HEX);
            mod.subtract(signed, (short) 0, (short) 128, BigNumber.FORMAT_HEX);
            if (mod.compareTo(signed, (short) 0, (short) 128, BigNumber.FORMAT_HEX) == -1) {
                mod.toBytes(signed, (short) 0, (short) 128, BigNumber.FORMAT_HEX);
            // To be added: if the selected private key is considered corrupted, the processing state returned is '6400' or '6581'.
            signed[0] = (byte) 0x6A;
            Util.arrayCopyNonAtomic(PRnd2, (short) 0, signed, (short) 1, (short) 90);
            Util.arrayCopyNonAtomic(K1, (short) 0, signed, (short) 91, (short) 16);
            Util.arrayCopyNonAtomic(digest, (short) 0, signed, (short) 107, (short) 20);
            signed[127] = (byte) 0xBC;
            if (!keyStore.cardPrivateKey.isInitialized()) {
                CryptoException.throwIt(CryptoException.ILLEGAL_VALUE);
            try {
                crypto.rsaSigner.init(keyStore.cardPrivateKey, Signature.MODE_SIGN);
                crypto.rsaSigner.doFinal(signed, (short) 0, (short) 128, signed, (short) 0);
            } catch (Exception e) {
                ISOException.throwIt(SW_REFERENCE_DATA_NOT_FOUND);
            if (!keyStore.selectedPublicKey.isInitialized()) {
                CryptoException.throwIt(CryptoException.ILLEGAL_VALUE);
            try {
                crypto.rsaCipher.init(keyStore.selectedPublicKey, Cipher.MODE_ENCRYPT);
                crypto.rsaCipher.doFinal(signed, (short) 0, (short) 128, signed, (short) 0);
            } catch (Exception e) {
                ISOException.throwIt(SW_REFERENCE_DATA_NOT_FOUND);
            apdu.setOutgoing();
            Util.arrayCopyNonAtomic(signed, (short) 0, buffer, (short) 0, (short) 128);
            return (short) signed.length;
        private void processExternalAuthenticate(APDU apdu) {
            short equipmentType = 0;
            if (keyStore.Selected_Cert != null) {
                equipmentType = (short) keyStore.Selected_Cert.CHA[6]; // check equipment type
            if (equipmentType != (short) 1 && equipmentType != (short) 2 && equipmentType != (short) 3 && equipmentType != (short) 4 && equipmentType != (short) 6) {
                ISOException.throwIt(ISO7816.SW_FUNC_NOT_SUPPORTED); // Instead of 6F00 throw a more meaningfull SW in case CHA is not valid.
            if (Util.arrayCompare(keyStore.Selected_Cert.CHA, (short) 0, TACHOGRAPH_AID, (short) 0, (short) 6) != 0) {
                ISOException.throwIt(ISO7816.SW_FUNC_NOT_SUPPORTED);
            byte[] buffer = apdu.getBuffer();
            byte p1 = (byte) (buffer[OFFSET_P1] & 0xff);
            byte p2 = (byte) (buffer[OFFSET_P2] & 0xff);
            if (p1 != 0 || p2 != 0) {
                ISOException.throwIt(SW_WRONG_P1P2);
            short lc = (short) (buffer[OFFSET_LC] & 0xFF);
            if (lc != (short) (128)) {
                ISOException.throwIt(SW_WRONG_LENGTH);
            if (apdu.setIncomingAndReceive() != lc) {
                ISOException.throwIt(ISO7816.SW_WRONG_DATA);
            Util.arrayCopyNonAtomic(buffer, OFFSET_CDATA, signed, (short) 0, (short) 128); // receive the cryptogram from the VU
            // decrypt the encrypted message with the card private key
            try {
                crypto.rsaCipher.init(keyStore.cardPrivateKey, Cipher.MODE_DECRYPT);
                crypto.rsaCipher.doFinal(signed, (short) 0, (short) 128, signed, (short) 0);
            } catch (Exception e) {
                ISOException.throwIt(SW_REFERENCE_DATA_NOT_FOUND);
            // verify the signature with the VU public key
            try {
                crypto.rsaCipher.init(keyStore.selectedPublicKey, Signature.MODE_VERIFY); // Cipher.MODE_ENCRYPT
                crypto.rsaCipher.doFinal(signed, (short) 0, (short) 128, signed, (short) 0);
            } catch (Exception e) {
                ISOException.throwIt(SW_REFERENCE_DATA_NOT_FOUND);
            if (signed[0] != (byte) 0x6A || signed[127] != (byte) 0xBC) {
                ISOException.throwIt(Util.makeShort(signed[0], signed[127]));
            try {
                verifyCardCertificates();
                Util.arrayCopyNonAtomic(signed, (short) 1, preDigest, (short) 0, (short) 106); // accumulate preDigest
                Util.arrayCopyNonAtomic(Rnd3, (short) 0, preDigest, (short) 106, (short) 8); // accumulate preDigest
                Util.arrayCopyNonAtomic(keyStore.Card_Cert.CHR, (short) 0, preDigest, (short) 114, (short) 8); // accumulate preDigest
                Util.arrayCopyNonAtomic(signed, (short) 91, K2, (short) 0, (short) 16); // receive K2 value
                crypto.shaDigest.update(signed, (short) 1, (short) 106); // PRnd4||K2
                crypto.shaDigest.update(Rnd3, (short) 0, (short) 8); // Rnd3
                crypto.shaDigest.doFinal(keyStore.Card_Cert.CHR, (short) 0, (short) 8, digest, (short) 0); //||Card.CHR
            } catch (Exception e) {
                ISOException.throwIt(SW_TAMAM);
            if (Util.arrayCompare(signed, (short) 107, digest, (short) 0, (short) 20) != 0) {
                ISOException.throwIt(SW_TAMAM);
            volatileState[0] |= MUTUAL_AUTHENTICATED;
            try {
                DTUtil.xor(K1, (short) 0, K2, (short) 0, KaKb, (short) 0, (short) 16);
                Util.arrayCopyNonAtomic(Rnd3, (short) 4, SSC, (short) 0, (short) 4); // tail of Rnd3
                Util.arrayCopyNonAtomic(Rnd1, (short) 4, SSC, (short) 4, (short) 4); // tail of Rnd1
            } catch (Exception e) {
                ISOException.throwIt(SW_TAMAM);
            try {
                keyStore.setKey_Ka(KaKb, (short) 0);
                keyStore.setKey_Kb(KaKb, (short) 8);
                keyStore.setSecureMessagingKeys(KaKb, (short) 0, KaKb, (short) 0);
            } catch (Exception e) {
                ISOException.throwIt(SW_TAMAM_DEGIL);
            return;
        private short returnPreDigest(APDU apdu) {
            byte[] buffer = apdu.getBuffer();
            apdu.setOutgoing();
            Util.arrayCopyNonAtomic(preDigest, (short) 0, buffer, (short) 0, (short) 122);
            return (short)preDigest.length;
        private short returnDigest(APDU apdu) {
            byte[] buffer = apdu.getBuffer();
            apdu.setOutgoing();
            Util.arrayCopyNonAtomic(digest, (short) 0, buffer, (short) 0, (short) 20);
            return (short)digest.length;
        private short returnOriginalText(APDU apdu) {
            byte[] buffer = apdu.getBuffer();
            apdu.setOutgoing();
            Util.arrayCopyNonAtomic(signed, (short) 0, buffer, (short) 0, (short) 128);
            return (short)signed.length;
        private void processVerify(APDU apdu) { // Verify_CHV(Pin_Ws)
            byte[] buffer = apdu.getBuffer();
            // retrieve the PIN data for validation.
            byte byteRead = (byte) (apdu.setIncomingAndReceive());
            // the PIN data is read into the APDU buffer
            // at the offset ISO7816.OFFSET_CDATA the PIN data length = byteRead
            if (pin.check(buffer, ISO7816.OFFSET_CDATA, byteRead) == false) {
                ISOException.throwIt(SW_VERIFICATION_FAILED);
            return;
        private void processPSO(APDU apdu) { // verify certificate
            byte[] buffer = apdu.getBuffer();
            byte p1 = (byte) (buffer[OFFSET_P1] & 0xff);
            byte p2 = (byte) (buffer[OFFSET_P2] & 0xff);
            short lc = (short) (buffer[ISO7816.OFFSET_LC] & 0xFF);
            if (p1 == (byte) 0x00 && p2 == P2_VERIFYCERT) {
                if (lc != TACHO_CERT_LENGTH) {
                    ISOException.throwIt(SW_WRONG_LENGTH);
                if (apdu.setIncomingAndReceive() != lc) {
                    ISOException.throwIt(ISO7816.SW_WRONG_LENGTH);
                try { // copy the certificate to be verified from APDU buffer to cert object
                    Util.arrayCopyNonAtomic(buffer, OFFSET_CDATA, cert, (short) 0, lc);
                } catch (Exception e) {
                    ISOException.throwIt(SW_TAMAM);
                if (Util.arrayCompare(keyStore.selected_KID, (short) 0, keyStore.ERCA_KID, (short) 0, KID_LENGTH) == 0) {
                    keyStore.VUCA_Cert.verifyCert(cert, keyStore.selectedPublicKey, keyStore.selected_KID);
                } else if (Util.arrayCompare(keyStore.selected_KID, (short) 0, keyStore.VUCA_Cert.CHR, (short) 0, KID_LENGTH) == 0) {
                    keyStore.VU_Cert.verifyCert(cert, keyStore.selectedPublicKey, keyStore.selected_KID);
                } else {
                    ISOException.throwIt(SW_CERT_VERIFICATION_FAILED); // Selected keyId, with MSE, is neither ERCA_KID nor VUCA_KID
            } else {
                ISOException.throwIt(SW_CERT_VERIFICATION_FAILED);
            return;
        private short processGetChallenge(APDU apdu, boolean protectedApdu) {
            byte[] buffer = apdu.getBuffer();
            byte p1 = (byte) (buffer[OFFSET_P1] & 0xff);
            byte p2 = (byte) (buffer[OFFSET_P2] & 0xff);
            if (p1 != 0 || p2 != 0) {
                ISOException.throwIt(SW_WRONG_P1P2);
            random.generateData(Rnd3, (short) 0, (short) 8);
            short Le = apdu.setOutgoing();
            if (Le != (short) 8) {
                ISOException.throwIt(SW_WRONG_LENGTH);
            Util.arrayCopyNonAtomic(Rnd3, (short) 0, buffer, (short) 0, (short) 8);
            return Le;
        private void processMSE(APDU apdu) {
            byte[] buffer = apdu.getBuffer();
            if (buffer[OFFSET_P1] == (byte) 0xC1 && buffer[OFFSET_P2] == P2_DST) {
                short lc = (short) (buffer[OFFSET_LC] & 0xFF);
                if (lc != (short) (KID_LENGTH + 2)) {
                    ISOException.throwIt(SW_WRONG_LENGTH);
                if (apdu.setIncomingAndReceive() != lc) {
                    ISOException.throwIt(ISO7816.SW_WRONG_DATA);
                if (buffer[OFFSET_CDATA] != (byte) 0x83) {//check the tag of the data
                    ISOException.throwIt(SW_SECURE_MESSAGING_DATA_OBJECTS_MISSING);
                } else if (buffer[OFFSET_CDATA + 1] != (byte) 0x08) {
                    ISOException.throwIt(SW_INCORRECT_DATA_OBJECT); // check if the key is already selected one
                } else if (Util.arrayCompare(buffer, (short) (OFFSET_CDATA + 2), keyStore.selected_KID, (short) 0, KID_LENGTH) != 0) {
                    if (Util.arrayCompare(buffer, (short) (OFFSET_CDATA + 2), keyStore.ERCA_KID, (short) 0, KID_LENGTH) == 0) {// KID is EUR_KID
                        keyStore.selected_KID = keyStore.ERCA_KID;
                        keyStore.selectedPublicKey = keyStore.eurPublicKey;
                        keyStore.Selected_Cert = null; // ERCA public key is selected
                        return;
                    } else if (Util.arrayCompare(buffer, (short) (OFFSET_CDATA + 2), keyStore.VUCA_Cert.CHR, (short) 0, KID_LENGTH) == 0) {// KID is MSCA_KID
                        keyStore.Selected_Cert = keyStore.VUCA_Cert;
                    } else if (Util.arrayCompare(buffer, (short) (OFFSET_CDATA + 2), keyStore.VU_Cert.CHR, (short) 0, KID_LENGTH) == 0) { // KID is VU_KID
                        keyStore.Selected_Cert = keyStore.VU_Cert;
                    } else {
                        ISOException.throwIt(SW_REFERENCE_DATA_NOT_FOUND);
                    }// KID not found
                    keyStore.selectedPublicKey = keyStore.Selected_Cert.publicKey;
                    keyStore.selected_KID = keyStore.Selected_Cert.CHR;
                } else { // if the KID is already set, just return
                    return;
            } else {
                ISOException.throwIt(ISO7816.SW_WRONG_P1P2);
        private void processSelectFile(APDU apdu) {
            byte[] buffer = apdu.getBuffer();
            short lc = (short) (buffer[OFFSET_LC] & 0x00FF);
            // retrieve p1p2 from apdu buffer
            byte p1 = buffer[OFFSET_P1];
            byte p2 = buffer[OFFSET_P2];
            short p1p2 = Util.makeShort(p1, p2);
            apdu.setIncomingAndReceive();
            if (p1 == 4) {
                if (lc == (short) TACHO_AID_LENGTH) {
                    if (Util.arrayCompare(buffer, (short) OFFSET_CDATA, TACHOGRAPH_AID, (short) 0, (short) TACHO_AID_LENGTH) == 0) {
                        selectedFile = fileSystem.getDT();
                        fileSystem.selectDT();
                        volatileState[0] |= FILE_SELECTED;
                        return;
                    } else {
                        ISOException.throwIt(ISO7816.SW_WRONG_DATA);
                } else if (lc != 2) {
                    ISOException.throwIt(SW_WRONG_LENGTH);
                short fid = Util.getShort(buffer, OFFSET_CDATA);
                if (fileSystem.getFile(fid) != null) {
                    selectedFile = fileSystem.getDT();
                    fileSystem.selectDT();
                    volatileState[0] |= FILE_SELECTED;
                    return;
            } else if (p1 == 2) {
                if (lc != 2) {
                    ISOException.throwIt(SW_WRONG_LENGTH);
                short fid = Util.getShort(buffer, OFFSET_CDATA);
                if (fileSystem.getFile(fid) != null) {
                    selectedFile = fileSystem.getFile(fid);
                    volatileState[0] |= FILE_SELECTED;
                    return;
            } else {
                ISOException.throwIt(ISO7816.SW_WRONG_P1P2);
            setNoFileSelected();
            ISOException.throwIt(ISO7816.SW_FILE_NOT_FOUND);
        public static void setNoFileSelected() {
            if (hasFileSelected()) {
                volatileState[0] ^= FILE_SELECTED;
        public static boolean hasFileSelected() {
            return (volatileState[0] & FILE_SELECTED) == FILE_SELECTED;
        public static boolean hasMutuallyAuthenticated() {
            return (volatileState[0] & MUTUAL_AUTHENTICATED) == MUTUAL_AUTHENTICATED;
        static boolean isLocked() {
            return (persistentState & LOCKED) == LOCKED;
        public boolean isSelectedFileEncrypted() {
            return ((selectedFile.getAccessConditions() & DigitalTachograph.ENCRYPTED) == DigitalTachograph.ENCRYPTED);
    }

  • How to run a servlet in eclipse using "SAP Portal Plugin"  ( not tomcat)

    Hi All
    I'm just trying to create a simple servlet in Eclipse using SAP Portal Plugin but I couldn't find any document.
    I have an eclipse 2.1
    EP6 SP2 patch 5
    SAP Portal Plugin
    I created a Portal Application Project.
    I created a simple servlet and save it under src.core directory.
    My question is as follow:
    1) Which directory I should put in the file web.xml?
    2) Do I export this as *.par file?
    3) When I export it. Can I just call the servlet from the url?
    Anyone help.. I really appreciate.
    thanks much.
    Jen

    Hi,
      Portal plugin is used for developing SAP Portal applications ie Java iviews.
    There is a set of procedures to develop Java iViews . You can develop either AbstractPortalComponent which is more or less equivalent of servlet in ordinary java world or JSPDynPage which is equivalent of JSP.
    These plugins are used to develop any of the above portal components. If you are developing java applications for portal then you have to develop either of the above using the tools. These portlets( portal applications runs on Portal run time)
    But servlets can run on J2EE itself.
    But if your requirement is to develop servlet then you can create ordinary java project and deploy that in the J2EE server as like in any app server.
    Regards,
    Abdul Raheem .S

  • Fatal errors using JavaFX ChoiceBox, Tooltip, Popup in Eclipse (RCP) View

    I'm using JavaFX within an Eclipse RCP application. Any JavaFX popup (ChoiceBox, Tooltip, etc..) within an eclipse view causes a fatal exception to occur when clicking on the popup. The popups do appear, but clicking on them causes the fatal error.
    I created a standalone JavaFX application to confirm that the Popups work fine in that environment. They do.
    I also created a standalone SWT-based application (outside of an RCP) that embeds the FXCanvas within an SWT shell and the problem doesn't occur there either.
    But when the Combo is contained in an FXCanvas within and RCP view, the fatal exception occurs.
    Has anybody else seen this behavior?
    I tried it with JavaFX 2.0.2, 2.1 b17, 2.1 b19 (all 32bit)
    I'm using JRE 6.0_30-b12 (32bit) on Windows 7 (64bit)
    My RCP target platform is based on eclipse 3.6 (galileo).
    Thanks!

    The problem is described in http://javafx-jira.kenai.com/browse/RT-20883. e(fx)clipse 0.0.14 (http://tomsondev.bestsolution.at/2012/05/29/efxclipse-0-0-14-released/) which I've just released fixes the problem. Unfortunately it does not work with 3.6 because I'm using OSGi API only available > 3.7.0

  • Problem exiting eclipse 3.7 while using FB4.6 Plugin

    I've tried many different versions of eclipse and I've come down to the realization that it is FB4.6.
    Everytime I exit eclipse a pop up saying there are errors look in the metadata/.log file.
    It appears as if FB4.6 is missing some of the plugins that it is trying to use. Any solutions?
    Here is the .log File:
    This is using eclipse 3.6. Every other version that I tested throws a similar if not identical .log file.
    I've tried reinstalling everything, and starting in a clean work environment.
    !SESSION 2012-02-13 20:03:21.468 -----------------------------------------------
    eclipse.buildId=I20100608-0911
    java.version=1.6.0_14
    java.vendor=BEA Systems, Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments:  -os win32 -ws win32 -arch x86
    !ENTRY org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle reference:file:../Adobe/Adobe Flash Builder 4.6/eclipse/plugins/org.eclipse.core.runtime.compatibility.registry.nl1_3.7.0.v2011071604 3402.jar was not resolved.
    !SUBENTRY 2 org.eclipse.core.runtime.compatibility.registry.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.core.runtime.compatibility.registry_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle reference:file:../Adobe/Adobe Flash Builder 4.6/eclipse/plugins/org.eclipse.equinox.security.win32.x86.nl1_3.7.0.v20110716043402.jar was not resolved.
    !SUBENTRY 2 org.eclipse.equinox.security.win32.x86.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.equinox.security.win32.x86_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle reference:file:../Adobe/Adobe Flash Builder 4.6/eclipse/plugins/org.eclipse.ui.workbench.compatibility.nl1_3.7.0.v20110716043402.jar was not resolved.
    !SUBENTRY 2 org.eclipse.ui.workbench.compatibility.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.ui.workbench.compatibility_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle reference:file:../Adobe/Adobe Flash Builder 4.6/eclipse/plugins/org.eclipse.swt.win32.win32.x86.nl1_3.7.0.v20110716043402.jar was not resolved.
    !SUBENTRY 2 org.eclipse.swt.win32.win32.x86.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.swt.win32.win32.x86_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle reference:file:../Adobe/Adobe Flash Builder 4.6/eclipse/plugins/org.eclipse.ui.win32.nl1_3.7.0.v20110716043402.jar was not resolved.
    !SUBENTRY 2 org.eclipse.ui.win32.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.ui.win32_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle reference:file:../Adobe/Adobe Flash Builder 4.6/eclipse/plugins/org.eclipse.core.net.win32.x86.nl1_3.7.0.v20110716043402.jar was not resolved.
    !SUBENTRY 2 org.eclipse.core.net.win32.x86.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.core.net.win32.x86_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle reference:file:../Adobe/Adobe Flash Builder 4.6/eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x86.nl1_3.7.0.v2011071604340 2.jar was not resolved.
    !SUBENTRY 2 org.eclipse.equinox.launcher.win32.win32.x86.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.equinox.launcher.win32.win32.x86_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle reference:file:../Adobe/Adobe Flash Builder 4.6/eclipse/plugins/org.eclipse.jdt.compiler.apt.nl1_3.7.0.v20110716043402.jar was not resolved.
    !SUBENTRY 2 org.eclipse.jdt.compiler.apt.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.jdt.compiler.apt_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle reference:file:../Adobe/Adobe Flash Builder 4.6/eclipse/plugins/org.eclipse.core.filesystem.win32.x86.nl1_3.7.0.v20110716043402.jar was not resolved.
    !SUBENTRY 2 org.eclipse.core.filesystem.win32.x86.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.core.filesystem.win32.x86_[0.0.0,9.0.0).
    !ENTRY org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.core.runtime.compatibility.registry_3.3.0.v20100520 [40] was not resolved.
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.ecf.provider.filetransfer.httpclient.ssl_1.0.0.v20100529-0735 [50] was not resolved.
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.ecf.provider.filetransfer.ssl_1.0.0.v20100529-0735 [51] was not resolved.
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.ecf.ssl_1.0.0.v20100529-0735 [52] was not resolved.
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.ui.workbench.compatibility_3.2.100.I20100511-0800 [181] was not resolved.
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.core.filesystem.win32.x86.nl1_3.7.0.v20110716043402_3.7.0.v20110716043402 [382] was not resolved.
    !SUBENTRY 2 org.eclipse.core.filesystem.win32.x86.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.core.filesystem.win32.x86_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.core.net.win32.x86.nl1_3.7.0.v20110716043402_3.7.0.v20110716043402 [385] was not resolved.
    !SUBENTRY 2 org.eclipse.core.net.win32.x86.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.core.net.win32.x86_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.core.runtime.compatibility.registry.nl1_3.7.0.v20110716043402_3.7.0.v20110716 043402 [390] was not resolved.
    !SUBENTRY 2 org.eclipse.core.runtime.compatibility.registry.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.core.runtime.compatibility.registry_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.equinox.launcher.win32.win32.x86.nl1_3.7.0.v20110716043402_3.7.0.v20110716043 402 [427] was not resolved.
    !SUBENTRY 2 org.eclipse.equinox.launcher.win32.win32.x86.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.equinox.launcher.win32.win32.x86_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.equinox.security.win32.x86.nl1_3.7.0.v20110716043402_3.7.0.v20110716043402 [461] was not resolved.
    !SUBENTRY 2 org.eclipse.equinox.security.win32.x86.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.equinox.security.win32.x86_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.jdt.compiler.apt.nl1_3.7.0.v20110716043402_3.7.0.v20110716043402 [472] was not resolved.
    !SUBENTRY 2 org.eclipse.jdt.compiler.apt.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.jdt.compiler.apt_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.swt.win32.win32.x86.nl1_3.7.0.v20110716043402_3.7.0.v20110716043402 [574] was not resolved.
    !SUBENTRY 2 org.eclipse.swt.win32.win32.x86.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.swt.win32.win32.x86_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.ui.win32.nl1_3.7.0.v20110716043402_3.7.0.v20110716043402 [601] was not resolved.
    !SUBENTRY 2 org.eclipse.ui.win32.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.ui.win32_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.ui.workbench.compatibility.nl1_3.7.0.v20110716043402_3.7.0.v20110716043402 [603] was not resolved.
    !SUBENTRY 2 org.eclipse.ui.workbench.compatibility.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.ui.workbench.compatibility_[0.0.0,9.0.0).
    !ENTRY org.eclipse.osgi 4 0 2012-02-13 20:04:16.210
    !MESSAGE Application error
    !STACK 1
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
              at org.eclipse.swt.SWT.error(SWT.java:4083)
              at org.eclipse.swt.SWT.error(SWT.java:3998)
              at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
              at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
              at org.eclipse.swt.widgets.Display.release(Display.java:3713)
              at org.eclipse.swt.graphics.Device.dispose(Device.java:295)
              at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:131)
              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
              at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
              at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
    Caused by: java.lang.NullPointerException
              at com.adobe.flexbuilder.ui.UIPlugin$3.run(UIPlugin.java:186)
              at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
              at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
              at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
              at org.eclipse.swt.widgets.Display.release(Display.java:3713)
              at org.eclipse.swt.graphics.Device.dispose(Device.java:296)
              at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:131)
              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
              at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
              ... 1 more

    So... it reappeared with some new information. Any Ideas?

  • Oracle OSB - Tutorial for development using Eclipse Plugin

    Hi,
    1. I need a tutorial to develop a simple application using file adapter. For example it was very easier in Oracle ESB 10.3 version where I can drag and drop adapters and configure. What should I do if I have to create similar adapters in OSB. Can you provide documentation. For Oracle ESB(old version) there was ESB Quick Start guide and it was very useful. Do we have some thing similar for OSB?
    2. Most of the tutorials that are in Oracle website points to using JDeveloper. When I download the JDeveloper I no longer get those option. When I browsed I found that we should use Eclipse Plugin for OSB development. Is it true.
    Thanks for your help.
    Thanks,
    Uma

    Hi Uma,
    You may find OSB samples and tutorials at below links -
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/examples/samples.html
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/tutorial/tutGettingStarted.html
    http://www.oracle.com/technology/sample_code/products/osb/samples/osb_examples_tutorials_0.pdf
    http://www.oracle.com/technology/products/soa/service-bus/collateral/osbsamples.html
    http://www.oracle.com/technetwork/articles/jumpstart-for-osb-development-page--084104.html
    Oracle service bus installer comes with a eclipse plugin which can be used to develope OSB applications using Eclipse. Refer installation guide to know more.
    You should post OSB related questions in Oracle SOA Suite forum to get better and faster response -
    SOA Suite
    Regards,
    Anuj

  • Fail to download plugin using eclipse update manager

    i have tried many time to install the plugin using eclipse update manager.
    finally i manage to download it, it takes me two days to finish.
    then it gave me error during the installation.
    when i went to the update manager, it has started from the begining. thats mean it ill take another two days
    here is my questions.
    is there a link where i can download the pluging without the update manager, then install it?
    where is the files that already downloaded by hte update manager? so i can just install it again?
    Edited by: Abdulaziz Al-Sharekh on Jun 15, 2008 6:03 PM

    i was able to download the plugins and then install it (without using update manager for downloading the plugin) in a 30 min.
    i used this link
    http://www.eclipse.org/modeling/emf/
    which is one of the prerequisit for the Widget development tool

  • Developing JSP pages using Eclipse 3.6

    i want to build a web application using JSP pages and oracle 11i databse, so i install and configure eclipse 3.2.2 and i installed the plugin to support creating a dynamic web project and i have installed jboss 6 to be the server.
    so on the eclipse i clikc new "dynamic web project" , then inside this new project i create a new JSP pages , then i write a simple code inside the jsp and i run the project using jboss and every thing went smootly.
    but let say now that i want to develop a more complicated pages to add buttons , to have tabs on my page.
    1. so my question is does eclipse provide a visual develpment tools ot plug-in for developing JSP?
    2. where i can find some good tutorilas regarding developing JSP using eclipse 3.2.2
    Thanks
    Edited by: 812643 on 20-Nov-2010 17:42

    Confusing isn't it? You can post questions here for specific problems you need to solve and usually get an answer (eventually). However, asking for which technologies are better will probably only provide you with biased opinions. There are many alternatives, each providing its own trade offs. I suggest searching google for articles from respected sources such as 'theserverside' rather than depend on individuals. Also, limit your search to articles that are no older than about 1 year. Lastly, try to stick with technologies that are used by the bulk of the developers and are considered almost an industry standard. No point learning some good yet obscure technology.
    As far as not considering a career as a developer, I suggest you stick to it no matter what. Anything you want to be good at takes years of practice and study
    (http://365pwords.wordpress.com/2009/01/25/practice-practice-practice-the-theory-of-10000-hours).
    No one has a 'knack' or is born good at it (even if they claim to be), and everyone experiences frustration (20 years later, I'm still frustrated!). You advance by making countless mistakes, and refactoring over and over again. Ignore anyone who discourages you no matter what.
    I think your quest should be limited to what you should learn when just starting out and not what is the best technologies for experienced users. Personally, I think learning JSP/Servlets is foundation that you should know well before considering alternatives. Also, many alternatives are based on extending JSPs and therefore you should know them well. I've always used JSP and not alternatives, so I can't comment further on that topic.
    If your just starting out in web design, here are my recommendations (in roughly this order):
    java -book (search amazon.com for books and reviews of what others have said in them).
    practice compiling java classes from the book on the dos command line and using a text editor before moving on to
    an IDE.
    Eclipse IDE - just an on-line tutorial may be ok. Learn to compile code, run it, debug it.
    JSP - book
    Servlets - book
    JUnit - just an on-line tutorial may be ok
    JSTL - just an on-line tutorial may be ok (use JSTL with JSP, not scriptlets)
    XHTML - just an on-line tutorial may be ok
    Javascript - book
    CSS - on line tutorial may be ok
    Tomcat - just an on-line tutorial may be ok. You can move onto JBoss, etc later.
    JDBC - book
    A free database such as Oracle Lite or MySql installed. Learn how to create tables.
    MVC design - read up on separation of concerns on a design (presentation,control,business, and database layer).
    SQL - book
    JQuery - book
    Hibernate -book
    Spring framework - book (only after creating an MVC web application with a single servlet as the control layer)
    AJax

  • AccessControlException when trying WebStart an RCP plugin

    Hello!
    I have the following scenario: I have an RCP plugin and I would like to be able to run it using WebStart. But unfortunately I get the following exception:
    java.security.AccessControlException: access denied (java.util.PropertyPermission eclipse.exitcode write)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
    at java.security.AccessController.checkPermission(AccessController.java:546)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
    at org.eclipse.osgi.framework.internal.core.FrameworkProperties.setProperty(FrameworkProperties.java:64)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:219)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.WebStartMain.basicRun(WebStartMain.java:73)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
    at org.eclipse.equinox.launcher.WebStartMain.main(WebStartMain.java:51)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.javaws.Launcher.executeApplication(Launcher.java:1421)
    at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1367)
    at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1197)
    at com.sun.javaws.Launcher.run(Launcher.java:114)
    at java.lang.Thread.run(Thread.java:619)
    The sad story is that this exception occurs to me (apparently)randomly! That is, sometimes the app starts, while other times it just shows nothing and it only outputs the above-mentioned stacktrace to the log file.
    As you can see from the stacktrace, the faulty code is in org.eclipse.osgi.framework.internal.core.FrameworkProperties.setProperty(FrameworkProperties.java:64) which is:
    sm.checkPermission(new PropertyPermission(key, "write"));
    The class FrameworkProperties is inside org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar, which I have of course signed and given <all-permissions/> inside the jnlp file.
    I have tried to deploy a simple RCP plugin which only displays a simple window. This plugin also packs org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar, and it works to start it using javaws.
    If I give AllPermissions inside $JAVA_HOME/jre/lib/security/javaws.policy it works. So I'm suspecting it's a security configuration problem, but I don't know how/where to get further info on the problem.
    Any ideas?
    Thanks,
    Florin.

    shirleymck wrote:
    Where can I find an example of how to create a URL for a file that is in the same directory with the applet without hard-coding it?This page from the Swing tutorial is relevant:
    http://java.sun.com/docs/books/tutorial/uiswing/components/applet.html#images
    The linked code used method getParameter to get values from the HTML page, so that they are not hard-coded into the applet. It used getResourceAsStream to read from a URL, but you can also use the Class method getResource to get a URL.

Maybe you are looking for

  • Having trouble setting up e-mail on new iPhone 4s. I would like to sync with my outlook mail, contacts

    I am having trouble setting up my email and syncing my outlook calendar wiht my new iphone 4s.

  • How to configure Event Correlation

    Hi, I have a requirement where in a Service stop event has to be monitored for the Stop event. If the start events doesn't get logged in the System log in 3 min an alert has to be triggered. Please advise how do i configure this alert. Jesty

  • Spa gpa parameter values are not getting in badi

    Dear all,            i am filling the material value in  MIGO transaction tabstrip . and i  written the code in MB_MIGO_BADI  . i am not getting the values in migo badi i written the stmt GET parameter id 'MAT' FIELD V_MATNR. it is giving the sy-subr

  • Character types missing...

    hello, i always get this message 'character types missing, replaced by the standard charactertype helvetica. How can i get this message away, or maybe even put the missing charactertype back, whick is optional to me, thanx! read ya, lucas

  • Please help me to understand my code

    i have a few questions about this code here they are:- import java.io.*; public class FileTest { public static void main(String args[]) throws java.io.IOException { BufferedReader in;// <---------- what do these mean BufferedWriter out;// <----------