Key generator in Mapping

Hello,
i want to create a map. In this map i have a table with the columns "firstname" and "surname". I want copy the content from the table in an other table which have additional the column "ID".
The inserting into the new table works, but the column "ID" not. When inserting the first line into the new table, the ID should be 1. When the second line 2 and so on. I don't know, how can i do it. I tried a data generator without any success.
Src_table:
firstname
surename
Target_table:
ID
firstname
surename

Hi,
Every time when u truncate and reload the target do u want the sequence also to be reset???Is there any reason for this? just because u r truncating the target doesnot mean u have to reset the sequence.
Still if u want that to happen there are two ways...one is to recreate the sequence after droppng it which is a bad way of doing it.The second way is to make a cycle and make it repete itself after a particular value. But if u want to start from 1 all over again after every trunc/load then u have to drop and recreate.
Regards
Bharath

Similar Messages

  • Problem in enc/dec with DSA-Elgamal (keys generated using GNUPG utility)

    Hi all
    Facing the problem in encryption/decryption using DSA-Elgamal (keys generated using GNUPG utility)
    Steps followed
    Generated a key pair using DSA and Elgamal (default) form GNUPG utility (size 1024)
    Placed generated keys pubring.gpg & secring.gpg in the source directory where the code is executing but am getting the error
    D:\test>c:\jdk\bin\java BouncyCastlePGPTest
    Creating a temp file...
    Temp file created at
    D:\test\pgp
    Reading the temp file to make sure that the bits were written
    the message I want to encrypt
    Get Public Key
    Key Strength = 1024
    Algorithm = 17
    mohankumar (start) <[email protected]>
    Key Count = 1
    In Ecrypt File
    creating comData...
    comData created...
    using PGPEncryptedDataGenerator...
    111...
    java.lang.IllegalArgumentException: passed in key not an encryption key!f
    D:\test>
    but the same code works fine if we try to encrypt using RSA generated keys
    D:\test>c:\jdk\bin\java BouncyCastlePGPTest
    Creating a temp file...
    Temp file created at
    D:\test\pgp
    Reading the temp file to make sure that the bits were written
    the message I want to encrypt
    Get Public Key
    Key Strength = 1024
    Algorithm = 1
    sriganesh (sriganesh) <[email protected]>
    Key Count = 1
    In Ecrypt File
    creating comData...
    comData created...
    using PGPEncryptedDataGenerator...
    used PGPEncryptedDataGenerator...
    wrote bOut to byte array...
    Reading the encrypted file
    -----BEGIN PGP MESSAGE-----
    Version: BCPG v1.31
    hIwD7qqzP41CKpUBBACOnQE265ud3AuJ8zGx9TjUFyeSwZH+PZJhjGLBTkI7gKdh
    /hIF1u/sCzubw+9Mt8dbS0V2uHiqQgkCHAYIQKoVmiN65s8sUsIS0q3cTtBudUnd
    xIEiyegtvB8LEpzldU/XrSglh8h6MdhhcPql46BG+0vs6p/bUAOygNv5e/DGzck2
    1wNvc2/u2ffBgEP4qfrJUcF9OlvVAm03aB0S6gP8cH4LVdo5K9Bwu3d71qNKsryP
    mML16rkA
    =lfxf
    -----END PGP MESSAGE-----
    Decrypted Data= the message I want to encrypt
    no message integrity check
    Code As follows
    import java.io.BufferedReader;
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.security.NoSuchProviderException;
    import java.security.SecureRandom;
    import java.security.Security;
    import org.bouncycastle.bcpg.ArmoredOutputStream;
    import org.bouncycastle.jce.provider.BouncyCastleProvider;
    import org.bouncycastle.openpgp.PGPCompressedDataGenerator;
    import org.bouncycastle.openpgp.PGPEncryptedDataGenerator;
    import org.bouncycastle.openpgp.PGPException;
    import org.bouncycastle.openpgp.PGPLiteralData;
    import org.bouncycastle.openpgp.PGPPublicKey;
    import org.bouncycastle.openpgp.PGPPublicKeyRing;
    import org.bouncycastle.openpgp.PGPUtil;
    import org.bouncycastle.openpgp.*;
    import java.util.Iterator;
    public class BouncyCastlePGPTest {
    private static PGPPrivateKey findSecretKey(
                                                      InputStream keyIn,
                                                      long keyID,
                                                      char[] pass)
                                                      throws IOException, PGPException, NoSuchProviderException {
    PGPSecretKeyRingCollection pgpSec = new PGPSecretKeyRingCollection(PGPUtil.getDecoderStream(keyIn));
    PGPSecretKey pgpSecKey = pgpSec.getSecretKey(keyID);
    if (pgpSecKey == null) {
    return null;
    return pgpSecKey.extractPrivateKey(pass, "BC");
    private static void decryptFile(InputStream in, InputStream keyIn, char[] passwd) throws Exception
    in = PGPUtil.getDecoderStream(in);
    try {
    PGPObjectFactory pgpF = new PGPObjectFactory(in);
    PGPEncryptedDataList enc;
    Object o = pgpF.nextObject();
    // the first object might be a PGP marker packet.
    if (o instanceof PGPEncryptedDataList)
    enc = (PGPEncryptedDataList)o;
    else
    enc = (PGPEncryptedDataList)pgpF.nextObject();
    // find the secret key
    Iterator it = enc.getEncryptedDataObjects();
    PGPPrivateKey sKey = null;
    PGPPublicKeyEncryptedData pbe = null;
    while (sKey == null && it.hasNext())
    pbe = (PGPPublicKeyEncryptedData)it.next();
    sKey = findSecretKey(keyIn, pbe.getKeyID(), passwd);
    if (sKey == null)
    throw new IllegalArgumentException("secret key for message not found.");
    InputStream clear = pbe.getDataStream(sKey, "BC");
    PGPObjectFactory plainFact = new PGPObjectFactory(clear);
    Object message = plainFact.nextObject();
    if (message instanceof PGPCompressedData)
    PGPCompressedData cData = (PGPCompressedData)message;
    PGPObjectFactory pgpFact = new PGPObjectFactory(cData.getDataStream());
    message = pgpFact.nextObject();
    if (message instanceof PGPLiteralData)
    PGPLiteralData ld = (PGPLiteralData)message;
    FileOutputStream fOut = new FileOutputStream(ld.getFileName());
    InputStream unc = ld.getInputStream();
    int ch;
    System.out.print("\n\n\nDecrypted Data= ");
    while ((ch = unc.read()) >= 0)
                             System.out.print(""+(char)ch);
    fOut.write(ch);
    System.out.println("\n\n\n");
    else if (message instanceof PGPOnePassSignatureList)
    throw new PGPException("encrypted message contains a signed message - not literal data.");
    else
    throw new PGPException("message is not a simple encrypted file - type unknown.");
    if (pbe.isIntegrityProtected())
    if (!pbe.verify())
    System.err.println("message failed integrity check");
    } else
    System.err.println("message integrity check passed");
    else
    System.err.println("no message integrity check");
    catch (PGPException e) {
    System.err.println(e);
    if (e.getUnderlyingException() != null) {
    e.getUnderlyingException().printStackTrace();
         public static void main(String[] args) {
              // the keyring that holds the public key we're encrypting with
              String publicKeyFilePath = "D:\\test\\pubring.gpg"; //D:\\test\\pubring.pkr;
              // init the security provider
              Security.addProvider(new BouncyCastleProvider());
              try {
                   System.out.println("Creating a temp file...");
                   // create a file and write the string to it
                   File outputfile = new File("pgp");//File.createTempFile("pgp", null);
                   FileWriter writer = new FileWriter(outputfile);
                   writer.write("the message I want to encrypt".toCharArray());
                   writer.close();
                   System.out.println("Temp file created at ");
                   System.out.println(outputfile.getAbsolutePath());
                   System.out.println("Reading the temp file to make sure that the bits were written\n----------------------------");
                   BufferedReader isr = new BufferedReader(new FileReader(outputfile));
                   String line = "";
                   while ((line = isr.readLine()) != null) {
                        System.out.println(line + "\n");
                   // read the key
                   FileInputStream     in = new FileInputStream(publicKeyFilePath);
                   PGPPublicKey key = readPublicKey(in);
                   // find out a little about the keys in the public key ring
                   System.out.println("Key Strength = " + key.getBitStrength());
                   System.out.println("Algorithm = " + key.getAlgorithm());
                   int count = 0;
                   for (java.util.Iterator iterator = key.getUserIDs(); iterator.hasNext();) {
                        count++;
                        System.out.println((String)iterator.next());
                   System.out.println("Key Count = " + count);
                   // create an armored ascii file
                   FileOutputStream out = new FileOutputStream(outputfile.getAbsolutePath() + ".asc");
                   // encrypt the file
                   encryptFile(outputfile.getAbsolutePath(), out, key);
                   System.out.println("Reading the encrypted file\n----------------------------");
                   BufferedReader isr2 = new BufferedReader(new FileReader(new File(outputfile.getAbsolutePath() + ".asc")));
                   String line2 = "";
                   while ((line2 = isr2.readLine()) != null) {
                        System.out.println(line2);
    //FileInputStream in = new FileInputStream(args[1]);
              FileInputStream in2 = new FileInputStream("d:\\test\\pgp.asc");
         FileInputStream keyIn = new FileInputStream("d:\\test\\secring.gpg");
         decryptFile(in2, keyIn, "test123".toCharArray());
              } catch (PGPException e) {
                   System.out.println(e.toString());
                   System.out.println(e.getUnderlyingException().toString());
              } catch (Exception e) {
                   System.out.println(e.toString());
         private static PGPPublicKey readPublicKey(InputStream in) throws IOException {
              System.out.println("Get Public Key");
              try {
                   PGPPublicKeyRing pgpPub = new PGPPublicKeyRing(in);
                   Iterator itr = pgpPub.getPublicKeys();
                   PGPPublicKey pk = null;
                   return pgpPub.getPublicKey();
              } catch (IOException io) {
                   System.out.println("readPublicKey() threw an IOException");
                   System.out.println(io.toString());
                   throw io;
         private static void encryptFile(String fileName, OutputStream out, PGPPublicKey encKey)
    //     throws IOException, NoSuchProviderException, PGPException
              try {
    System.out.println("In Ecrypt File");
              out = new ArmoredOutputStream(out);
              ByteArrayOutputStream bOut = new ByteArrayOutputStream();
              System.out.println("creating comData...");
              // get the data from the original file
              PGPCompressedDataGenerator comData = new PGPCompressedDataGenerator(PGPCompressedDataGenerator.ZIP);
              PGPUtil.writeFileToLiteralData(comData.open(bOut), PGPLiteralData.BINARY, new File(fileName));
              comData.close();
              System.out.println("comData created...");
              System.out.println("using PGPEncryptedDataGenerator...");
              // object that encrypts the data
              PGPEncryptedDataGenerator cPk = new PGPEncryptedDataGenerator(PGPEncryptedDataGenerator.CAST5, new SecureRandom(), "BC");
              cPk.addMethod(encKey);
              System.out.println("used PGPEncryptedDataGenerator...");
              // take the outputstream of the original file and turn it into a byte array
              byte[] bytes = bOut.toByteArray();
              System.out.println("wrote bOut to byte array...");
              // write the plain text bytes to the armored outputstream
              OutputStream cOut = cPk.open(out, bytes.length);
              cOut.write(bytes);
              // cOut.close();
              cPk.close();
              out.close();
              } catch (IOException ex) {
                   System.out.println("IOException\t" +ex.toString());
              } catch (NoSuchProviderException ex1) {
                   System.out.println("NoSuchProviderException\t" +ex1.toString());
              } catch (PGPException ex2) {
                   System.out.println("PGPException\t" +ex2.toString());
    }

    First - you're responding to a year-old message. I doubt the OP is still around.
    Second - DSA is a Digital Signature Algorithm. The error tells you exactly what the problem is - DSA is not an encryption algorithm, and can't be used as one.
    Grant

  • Thinkpad keyboard problem - some keys generate multiple keys when pressed

    thinkpad keyboard problem - some keys generate multiple keys when pressed
    For example, "t" generates "tr", "y" generates "yu", "backspace" generates "backspace" plus "IBM access connections", "m" generates "mn" and "n" generates "mn".  Not all keys are wrong. 
    For what it's worth, the odd behaviour started shortly after a trip to Miami in which I had a meeting at a cafe in which we were undercover but it was pouring cats and dogs - it was like having a meeting in a sauna - so I am wondering if the high humidity could have caused the behaviour.
    I tried replacing the keyboard but the new keyboard has the same problem.  
    The machine in question is a Thinkpad T23 running Windows XP Pro
    Any help would be appreciated as I am now in Los Angeles using a borrowed Mac! :-) 

    i have something along the lines of the same problem.
    http://bbs.archlinux.org/viewtopic.php?id=56777
    my conclusion is something in the last system update screwed it up.

  • Imp error - ORA-14400: inserted partition key does not map to any partition

    Hi,
    We have a table (table t) with partitions (p1, p2, ... p12) and two of the partitions (p11 and p12) need to be imported into
    another database with different schema. Both the partitions to be imported are in two different export dumps. So, I started
    by dropping the table t and then import with the first export dump (p12). The first import went fine, but the second import
    failed with error:
    IMP-00058: ORACLE error 14400 encountered
    ORA-14400: inserted partition key does not map to any partition
    IMP-00057: Warning: Dump file may not contain data of all partitions of this table
    About to enable constraints...
    Import terminated successfully with warnings.
    The imp command used is:
    imp user/pwd tables=t log=imp.log file=exp.dmp fromuser=db1user touser=db2user ignore=Y grants=n indexes=n constraints=n
    statistics=none
    Please let me know where is the problem and what is the solution? I need to import the second partition (p11) also
    successfully.
    Thanks.
    BNetra

    Created a new partition REST_VALUES with higher range value and all my imports worked fine. But now I have two related issues:
    1) All the data got imported into the new partition instead of correct partitions.
    2) I observed that the column on which the table is partitioned CREATE_DATE values have been changed to today's (import) date for all rows imported into the new partition.
    How do I import properly into respective partitions and not into temporary new partition?
    Why did the CREATE_DATE value got changed automatically during import?
    Thanks.

  • |Error SQL: ORA-14400: inserted partition key does not map to any partition

    I have an installation of ECC6 with BI7 in which consolidated through SEM-BCS OBCS_C10 with the cube, which I have version 100 for fiscal data, 101 data for IFRS and IFRS Copying a 301 version.
    The client will ask me the empty version of the 301 in the cube OBCS_C10.
    Before switching to empty the cube "Target Real-Time Data Can Be Loaded With Data; Planning Not Allowed."
    To empty the cube using transaction RSA1 / manage / contents / Delete Selection.
    However, the data is not erased and revise the job gives me the error:
    Resumen log job para job BI_INDXD51A1NTCIYWU06OKZZESN1R94 / 07520600
    Log job
    Hora
    Txt.mje.no codificado
    04.02.2009
    07:52:06
    El job ha sido lanzado.
    04.02.2009
    07:52:06
    Paso 001 iniciado (programa RSINDEX1, variante &0000000000108, usuario ACHUY)
    04.02.2009
    07:52:10
    SQL: 04.02.2009 07:52:10 ACHUY
    04.02.2009
    07:52:10
    DELETE FROM DDSTORAGE WHERE DBSYSABBR = 'ORA'
    04.02.2009
    07:52:10
    AND INDEXNAME = ' ' AND TABNAME =
    04.02.2009
    07:52:10
    '/BI0/D0BCS_C101
    04.02.2009
    07:52:10
    SQL-END: 04.02.2009 07:52:10 00:00:00
    04.02.2009
    07:52:10
    SQL: 04.02.2009 07:52:10 ACHUY
    04.02.2009
    07:52:10
    DELETE FROM DDSTORAGE WHERE DBSYSABBR = 'ORA'
    04.02.2009
    07:52:10
    AND INDEXNAME = ' ' AND TABNAME =
    04.02.2009
    07:52:10
    '/BI0/D0BCS_C101
    04.02.2009
    07:52:10
    SQL-END: 04.02.2009 07:52:10 00:00:00
    04.02.2009
    07:52:10
    SQL: 04.02.2009 07:52:10 ACHUY
    04.02.2009
    07:52:10
    CREATE TABLE "/BI0/0100000076" PCTFREE 00
    04.02.2009
    07:52:10
    PCTUSED 00 INITRANS 001 TABLESPACE PSAPSR3
    04.02.2009
    07:52:10
    STORAGE (INITIAL     0000000016 K NEXT
    04.02.2009
    07:52:10
    0000000016 K MINEXTENTS  0000000001 MAXEXTENTS
    04.02.2009
    07:52:10
    UNLIMITED PCTINCREASE 0000 FREELISTS   001
    04.02.2009
    07:52:10
    FREELIST GROUPS 01) AS SELECT DISTINCT DIMID FROM
    04.02.2009
    07:52:10
    "/BI0/D0BCS_C101" "DIM" , "/BI0/SCS_VERSION"
    04.02.2009
    07:52:10
    "MD1" WHERE "DIM"."SID_0CS_VERSION" = "MD1"."SID"
    04.02.2009
    07:52:10
    AND ( "MD1"."CS_VERSION" BETWEEN '301' AND '301'
    04.02.2009
    07:52:10
    SQL-END: 04.02.2009 07:52:10 00:00:00
    04.02.2009
    07:52:25
    SQL: 04.02.2009 07:52:25 ACHUY
    04.02.2009
    07:52:25
    DELETE FROM DDSTORAGE WHERE DBSYSABBR = 'ORA'
    04.02.2009
    07:52:25
    AND INDEXNAME = ' ' AND TABNAME = '/BI0/F0BCS_C10
    04.02.2009
    07:52:25
    SQL-END: 04.02.2009 07:52:25 00:00:00
    04.02.2009
    07:52:25
    SQL: 04.02.2009 07:52:25 ACHUY
    04.02.2009
    07:52:25
    DELETE FROM DDSTORAGE WHERE DBSYSABBR = 'ORA'
    04.02.2009
    07:52:25
    AND INDEXNAME = ' ' AND TABNAME = '/BI0/F0BCS_C10
    04.02.2009
    07:52:25
    SQL-END: 04.02.2009 07:52:25 00:00:00
    04.02.2009
    07:52:25
    SQL: 04.02.2009 07:52:25 ACHUY
    04.02.2009
    07:52:25
    CREATE TABLE "/BI0/0100000030" PCTFREE 10
    04.02.2009
    07:52:25
    PCTUSED 00 INITRANS 001 TABLESPACE PSAPSR3
    04.02.2009
    07:52:25
    STORAGE (INITIAL     0000000016 K NEXT
    04.02.2009
    07:52:25
    0000000000 K MINEXTENTS  0000000001 MAXEXTENTS
    04.02.2009
    07:52:25
    2147483645 PCTINCREASE 0000 FREELISTS   001
    04.02.2009
    07:52:25
    FREELIST GROUPS 01) PARTITION BY RANGE
    04.02.2009
    07:52:25
    ("KEY_0BCS_C10P") ( PARTITION "/BI0/F0BCS_C100"
    04.02.2009
    07:52:25
    VALUES LESS THAN (0) TABLESPACE "PSAPSR3",
    04.02.2009
    07:52:25
    PARTITION "/BI0/F0BCS_C100000000019" VALUES LESS
    04.02.2009
    07:52:25
    THAN (0000000019) TABLESPACE "PSAPSR3", PARTITION
                  |
    04.02.2009
    07:52:25
    "/BI0/F0BCS_C100000000276" VALUES LESS THAN
    04.02.2009
    07:52:25
    (0000000276) TABLESPACE "PSAPSR3", PARTITION
    04.02.2009
    07:52:25
    "/BI0/F0BCS_C100000000277" VALUES LESS THAN
    04.02.2009
    07:52:25
    (0000000277) TABLESPACE "PSAPSR3") AS SELECT *
    04.02.2009
    07:52:25
    FROM "/BI0/F0BCS_C10" WHERE "KEY_0BCS_C101" NOT
    04.02.2009
    07:52:25
    IN ( SELECT "DIMID" FROM "/BI0/0100000076"
    04.02.2009
    07:52:29
    SQL-END: 04.02.2009 07:52:29 00:00:04
    04.02.2009
    07:52:29
    Error SQL: ORA-14400: inserted partition key does not map to any partition
    04.02.2009
    07:52:29
    Error de sistema: CREATE_TABLE_AS_SELECT/RSDU_EXEC_SQL /BI0/0100000030 14400
    04.02.2009
    07:52:29
    El job ha sido cancelado tras excepción de sistema ERROR_MESSAGE.
    Someone has an idea how to fix this?

    This is the SQL of the insert
    The partition condition of the table is the column ("KEY_0BCS_C10P")
    SELECT * FROM "/BI0/F0BCS_C10" WHERE "KEY_0BCS_C101" NOT IN ( SELECT "DIMID" FROM "/BI0/0100000076" )
    This is the info of the /BIO/0100000076 TABLE
    SQL> SELECT "DIMID" FROM sapsr3."/BI0/0100000076";
         DIMID
             6
    SQL>
    And this are the rows that I think are not included in the partitions of the table
      1  SELECT DISTINCT KEY_0BCS_C10P, KEY_0BCS_C101 FROM SAPSR3."/BI0/F0BCS_C10"
      2  WHERE KEY_0BCS_C10P > 277
      3* AND "KEY_0BCS_C101" NOT IN ( SELECT "DIMID" FROM SAPSR3."/BI0/0100000076" )
    SQL> /
    KEY_0BCS_C10P KEY_0BCS_C101
              284             4
              285             4
              293             3
              292             4
              293             4
              293             5
              285             3
              290             4
              292             5
              283             4
              285             5
    KEY_0BCS_C10P KEY_0BCS_C101
              291             5
              292             3
              291             4
    14 rows selected.
    SQL>

  • RA-14400: inserted partition key does not map to any partition

    Our repository tablespace filledup alll 40GB allocated and over the weekend we stopped OMS agenets and ran the package for partition maintenance.
    exec emd_maint_util.partition_maintenance;
    Now after starting OMS, all xml files are gettting moved errors directory and following error is getting reported in the emoms.trc file. Any idea how to add these partitions. Not much help in metalink. One of the note says try running "exec emd_loader.rollup(); ". THis is for 10GR1 grid conrol. I am running 10gR2 and reopositiry database 10.1.0.5
    ==========>
    at oracle.sysman.emdrep.dbjava.loader.XMLLoader.run(XMLLoader.java:1304)
    at java.lang.Thread.run(Thread.java:534)
    2007-05-04 15:35:35,312 [XMLLoader0 90000003561.xml] WARN eml.XMLLoader LoadFiles.672 - Marking the file for retry : 90000003561.xml after receiving exceptionjava.sql.SQLException: ORA-14400: inserted partition key does not map to any partition
    <========

    I think emd_loader.rollup is part of the
    emd_maintenance.analyze_emd_schema('SYSMAN') package. Let me try this.

  • SQL Dev 4.0 - Allow shortcut key to be mapped to several operations (if in different categories).

    The default SQL Developer 4.0 short cut keys have a few keys that are mapped to multiple operations but the operations are in different categories.
    It is not possible to do this yourself via the UI. For example I want to map F9 to both Run Statement (in the Worksheet category) and Compile (in the PLSQL Editor category). Assigning F9 to one removes it from the other and the help text suggests this.
    However, I hacked the settings file directly (thus bypassing this logic) and everything works fine. I think it should allow keys to be mapped to different operations as long as they are in different categories.
    Thanks, Mike

    thanks again for the follow-up. apparently it was just a bug of some sort. i checked and none of my plug-ins shuld have had any affect, and when i went home last night, i tried it out on the macbook and it behaved as expected. apparently a restart on my macbook pro and everything is back to normal. i've since turned the new keyboard shortcuts off and removed the extra one from my mouse buttons.
    btw, i was watching trying to find what might be different between the two computers and while nothing there stood out... i did notice the the safari keyboard command was context-sensitive.
    when i had multiple tabs open in a window, the command-w in the menu was on close tab, then when i ended on the last tab—now simply the window—it switched up to close window. all is well. thanks for the follow-up.
    - jeremy

  • 4507R+E with "k9" type IOS cannot use "crypto key generate rsa" command

    Hi all,
    We just upgraded the IOS on our SUP7L-E supervisor in a 4507R+E from a non-k9 (crypto) image to a k9 (crypto) image so we could use SSH to manage it. The specific image we are using is: cat4500e-universalk9.SPA.03.04.04.SG.151-2.SG4.bin. We also have a pair of 2960CG-8TS-L's that are running on: c2960c405ex-universalk9-mz.152-2.E.bin. We have given the devices new hostnames and specified a domain according to instructions.
    Our problem seems to be that we cannot use the "crypto key generate rsa" command to generate the keys we need to use SSH. We use this command all the time on our other 2960 and 4510 switches with no problems. We can issue other "crypto" commands but just cant generate the keys. Has anyone else experienced/fixed this problem? <!--break-->

    Switch#crypto key generate rsa modulus ?
    <360-4096> size of the key modulus [360-4096]
    I am running IOS version 3.5.3E and I can regenerate the key using the command "crypto key generate rsa modulus" command.

  • Can I use shapefile to generate base map

    I have some data for arcview, I want to upload to spatial, what is the best way to do it? I know that I can generate the themes when I import a shapefile by map builder, but how can I generate base map? thanks

    A base map is just a collection of themes.

  • Directory handler : key to letter mapping

    hi,
    we are using unity 5.0.
    what is the default key to letter mapping in a directory handler.
    How can we change the default mapping of keys to letters in directory handler?
    thanks

    hi did you find out the answer?

  • How can I generate a map file with LabVIEW?

    We wish to use a product which inserts code into our executable to prevent tampering with it by crackers.  The program, however, takes the executable file, as well as the map file (which is commonly generated by c++ compilers) and uses the map file to determine where in the exe the critical routines that need protection are at.  I can not, however, determine how to create such a map file for a LabVIEW generated executable.  Is there a special build option I need to invoke?

    Yes, I'm familar with NI's licensing technology, having talked with someone (you, Dennis, I believe) about it before.  The problem we have is our software is sold to factories in China where there are no internet connections.  We have a physical key 'dongle' which must be present in order for the executable to be willing to run.  However, it appears that people are taking the executable  which LabVIEW creates and they are editing it, probably by using a a debugger and tracing to the the code which checks for the dongles presence and bypassing it.  To my knoweledge, NI's products don't do anything to prevent this, right?
    We found a company which sells a product that encryptes, checksums, etc... an executable file, but it needs to know the layout of functions in the exe in order to determine which areas to focus the obfuscation on.  They were sort of matter of fact when they said it needs the exe and the map file, as if they expected any language which produced an exe could produce a map file.

  • Entity bean with another class as primary key generator class

    Hi All,
    I have a CMP entity bean in which I generate the primary key using my own class know as unique id generator.
    I use it in ejbCreate method in the following manner
    public Long ejbCreate(HospitalData hospitalData) throws CreateException{
              Long myid = new Long(UniqueIdGenerator.getId());
              System.out.println("My id generated ====== "+myid);
              this.hospitalid = myid;
              System.out.println("My id generated ====== "+this.hospitalid);
              System.out.println("Came in ejbCreate method of HospitalEJB");
              this.hospitalname = hospitalData.getHospitalname();          
              return null;
    Can you tell me how I map this primary key in my ejb-jar.xml and jbosscmp-jdbc.xml.
    Anyhelp would be appreciated.
    Thanks
    Sameer

    "Bhamu" <[email protected]> wrote in message
    news:9keuo4$[email protected]..
    I am trying to develop an entity bean attached to a key which have a
    composite key using Primary Key Class. When I use the findByPrimaryKey
    method of the bean it throws an exception as follows,I notice that you are using the reference CMP plugin.
    at com.netscape.server.ejb.SQLPersistenceManager.find(Unknown Source)I'm also willing to bet that you may have created your own primary key class
    with a single field, rather than using the fields type as a primitive
    primary key class. If you do this, then SQLPersistenceManager will break.
    It is badly written, and has some stupid assumptions. The one I remember
    the most is that if you only have one primary key field, then
    SQLPersistenceManager assumes you have used a primitive type such as
    java.lang.String or java.lang.Integer, to represent it, rather than creating
    your own <Enity>Pk.java file.
    SQLPersistenceManager works for toy examples, but in general I would say it
    is broken and unusable. Either use BMP, or splash out the money for Coco
    Base from Thought Inc. Currently the only CMP plugin for iPlanet App server,
    other than the reference implementation, that I know of.

  • Schedule generating site map with KM Scheduler

    Hi everyone, as it takes a long time for a user to generate a site map and then get it displayed on the client side. From SDN I found all the solutions for site map are implemented in DynPage class.
    I know executing DynPage is iView or browser window dependent. So it seems impossible to schedule this kind of portal component application with KM Scheduler.
    I do hope there is a trick to do this. If there is no is any solution by now to execute like DynPage class with KM Scheduler ?
    Kind regards.
    Wang

    Hi,
    generally you can create a service which will implement ISchedulerTask (in NWDS create portal application object -> RF Component Wizard -> Scheduler Task Wizard). This service will be accesible in KM configuration so you can schedule it as you wish. This service will "cache" the data for your sitemap iview.
    Alternatively you can create a "standard" service, which will fetch the data in periodic intervals. In run method of the service you use something like this:
    while (true) {
      try {
        Thread.sleep(WAITINTERVALINMILISECONDS);
      } catch (Exception ex) {
      // now call the method for fetching
      // the data for your sitemap...
    Hope this helps a bit,
    Romano

  • Issue with read statement with one more key missing in mapping

    Hi All ,
    I have such data in two internals table :
    IT_bdc
    vbeln            posnr
    90000593     10
    90000576     10
    90000672     10
    90000672     20
    90000672     30
    it_konv
    kbetr          vbeln
    6250          90000576
    12160000          90000593
    500000          90000672
    600000          90000672
    700000          90000672
    My current program statement is :
    LOOP AT it_bdc.
    READ TABLE it_konv WITH KEY
          vbeln = it_bdocs-vbeln.
      currency =   it_konv-waers.
    endloop.
    as you can see the posnr is missing in it_konv how can i modify this read statement so
    that vbeln posnr from it_bdc should get correct kbetr from it_konv.
    Kindly help in this mapping.

    Hi
    sort it_konv by vbeln
    then
    loop at it_bdc.
    read table it_konv with key vbeln = it_bdc-vbeln binary search.
    if sy-subrc = 0.
    perform your logic/task.
    endif.
    endloop.
    also it depends what you want to do after reading it_konv.
    in my logic if there is a vbeln in it_konv which s present in it_bdc then sy-subrc will be 0
    and you can perform your logic.
    and if there will be no matching vbeln in it_konv then sy-subrc will not be 0.
    check the values in debugging.
    Thanks
    Lalit

  • How to add new key lookup in Mapping ?

    Hi,
    I am learning OWB 10g from oracle.com site. I am following the Oracle-By-Example.
    [http://www.oracle.com/technology/obe/obe_bi/Lesson6_Designing_ETL_Data_Flow_Mappings/designing_etl_data_flow_mappings.htm]
    My OWB version is:
    OWB Client     : 10.2.0.1.31
    OWB Repository      : 10.2.0.1.0
    But the screenshots are different than what I am getting on my OWB. Am I using the correct version of Oracle-By-Example?
    I have created Mapping Dimension and Mapping Table. Now i want to add a Mapping Key Lookup. But as the screenshots shown in Oracle-By-Example are different, I cannot go further.
    Please help me.
    Thanks!
    Yogini

    Hi Yogini
    Here are some steps, it should be fairly straightforward, you can view the online help for more information.
    1. Drag and drop the Key Lookup operator on to the Mapping Editor.
    2. The Lookup wizard opens on the Welcome page. Select Next to move to page 2.
    3. Provide a name and description for the operator, default is KEY_LOOKUP. Hit Next to move to page 3.
    4. On the Groups page, hit Next.
    5. Select attributes to use in key lookup. For example those from the WAREHOUSES table in the OBE you are using that you will lookup in the COUNTRIES table. Shuttle those attrbutes to the right hand side. Hit Next to move to page 4.
    6. Select the COUNTRIES table from the combo box nder 'Select the object which has the lookup result. In the lookup conditions table ensure the matching criteria is set ie . LOCATION_ID from WAREHOUSE matches with LOCATION_ID from COUNTRIES. Hit Next to move to page 5.
    7. Here you can define the strategy for matches, just hit Next, then Finish. You have walked through all pages and are complete.
    Cheers
    David

Maybe you are looking for

  • Cannot send email on ipad or iphone.

    Error message says user name or password are not correct.  I've re-entered many times and verified on macbook.  Have also restarted both machines.  I am able to receive mail.

  • Can't open iCloud directly on the Pages

    Dear All: I had a problem to open the iCloud Pages file directly on my MacBook Air Pages My Pages version show as below: Pages '09 version 4.2 (1008) OS X version 10.8.2 I enable the iCloud on my MacBook Air which I can sycn my contact list from the

  • Transferring from my new ipod to another computer

    Is it possible to transfer all of my music from my new ipod to another computer that I have? I copied all of my CD's on my home computer & now I am connected to my other computer which has my old music library on it.....is it posssible to have your l

  • Inserting all manner of characters into database

    Hello friends, Consider this code snippet of mine: String sentence = "My name is nameless aka 'anonymous' or \"anonymous\" ('did I hear that? Maybe!! now where were we?') -\"yawn! Am bored..."; PreparedStatement statement = connection.prepareStatemen

  • Help with camera function on a 6350

    We just got this phone and are trying to use the camera function. When we go Menu > Media > Camera it says "Not Allowed" and we cannot use it. There is nothing in the manual about this. HELP!!!!!