PKCS11 : Unable to generate AES token using C_GenerateKey function

Hi All,
I am using the Eracom's PSE HSM module. They have provided me with the PKCS11 Java interface. I am trying to generate a 128 bit AES secret key with the C_GenerateKey method. However, I keep getting a "incomplete template" exception. I am not sure what constitues a complete CK_ATTRIBUTES template when it comes to generating AES secret keys in PKCS11. This is the template that i have used for this purpose:-
public static void generateKey(CK_SESSION_HANDLE session,
               CK_MECHANISM_TYPE mechanismType, String keyName, boolean bPrivate,
               CK_OBJECT_HANDLE hKey) {
          CK_MECHANISM keyGenMech = new CK_MECHANISM(mechanismType);
          CK_ATTRIBUTE[] template = { new CK_ATTRIBUTE(CKA.TOKEN, CK_BBOOL.FALSE),
                    new CK_ATTRIBUTE(CKA.SENSITIVE, CK_BBOOL.FALSE),
                    new CK_ATTRIBUTE(CKA.LABEL, keyName.getBytes()),
                    new CK_ATTRIBUTE(CKA.EXTRACTABLE, CK_BBOOL.FALSE),
                    new CK_ATTRIBUTE(CKA.DERIVE, CK_BBOOL.FALSE),
                    new CK_ATTRIBUTE(CKA.VERIFY, CK_BBOOL.FALSE),
                    new CK_ATTRIBUTE(CKA.EXPORTABLE, CK_BBOOL.FALSE),
                    new CK_ATTRIBUTE(CKA.ENCRYPT, CK_BBOOL.TRUE),
                    new CK_ATTRIBUTE(CKA.WRAP, CK_BBOOL.TRUE),
                    new CK_ATTRIBUTE(CKA.UNWRAP, CK_BBOOL.TRUE),
                    new CK_ATTRIBUTE(CKA.MODIFIABLE, CK_BBOOL.TRUE),
                    new CK_ATTRIBUTE(CKA.SIGN, CK_BBOOL.FALSE),
                    new CK_ATTRIBUTE(CKA.DECRYPT, CK_BBOOL.TRUE),
                    new CK_ATTRIBUTE(CKA.IMPORT, CK_BBOOL.FALSE),
                    new CK_ATTRIBUTE(CKA.EXPORT, CK_BBOOL.FALSE),
                    new CK_ATTRIBUTE(CKA.KEY_SIZE, new Long(128)) };
          CryptokiEx.C_GenerateKey(session, keyGenMech, template,
                    template.length, hKey);
     }I am passing "AES_KEY_GEN as the mechanism as defined in PKCS11. Since PKCS11 is a standard, key generation templates ideally should not vary accross implementations.
Any help on this is greatly appreciated.

I just had this same problem.
I fixed it by using
new CK_ATTRIBUTE(CKA.VALUE_LEN, new Long(16))  // 128 bit AES keyinstead of using CKA.KEY_SIZE. The documentation states that CKA.KEY_SIZE only applies to eliptic curves.

Similar Messages

  • Unable to generate proper LDTs using mks toolkit on windows server.

    Hi Experts,
    We have installed EBS12.0.3 on windows XP platforms and to access the unix commands we are using mks toolkit verison 9.2
    But we are not able to generate the correct ldt files for data migration.
    The fndload command used to download ldt for alert is as mentioned below:
    FNDLOAD apps/apps 0 Y DOWNLOAD %ALR_TOP%/patch/115/import/alr.lct FILE_NAME.ldt ALR_ALERTS APPLICATION_SHORT_NAME='PER' Alert_name='XX Alert Name'
    The generated ldt file is:
    # $Header$
    # dbdrv: exec fnd bin FNDLOAD bin &phase=daa+52 checkfile:~PROD:~PATH:~FILE &ui_apps 0 Y UPLOAD @ALR:patch/115/import/alr.lct @~PROD:~PATH/~FILE
    LANGUAGE = "US"
    LDRCONFIG = "alr.lct"
    #Source Database ODEV
    #RELEASE_NAME 12.1.3
    # -- Begin Entity Definitions --
    DEFINE ALR_ALERTS
    KEY APPLICATION_SHORT_NAME VARCHAR2(50)
    KEY ALERT_NAME VARCHAR2(50)
    CTX OWNER VARCHAR2(4000)
    BASE ALERT_CONDITION_TYPE VARCHAR2(1)
    BASE ENABLED_FLAG VARCHAR2(1)
    BASE START_DATE_ACTIVE VARCHAR2(25)
    BASE END_DATE_ACTIVE VARCHAR2(25)
    BASE TABLE_APPLICATION_SHORT_NAME VARCHAR2(50)
    BASE DESCRIPTION VARCHAR2(240)
    BASE FREQUENCY_TYPE VARCHAR2(1)
    BASE WEEKLY_CHECK_DAY VARCHAR2(3)
    BASE MONTHLY_CHECK_DAY_NUM VARCHAR2(50)
    BASE DAYS_BETWEEN_CHECKS VARCHAR2(50)
    BASE CHECK_BEGIN_DATE VARCHAR2(25)
    BASE DATE_LAST_CHECKED VARCHAR2(25)
    BASE INSERT_FLAG VARCHAR2(1)
    BASE UPDATE_FLAG VARCHAR2(1)
    BASE DELETE_FLAG VARCHAR2(1)
    BASE MAINTAIN_HISTORY_DAYS VARCHAR2(50)
    BASE CHECK_TIME VARCHAR2(50)
    BASE CHECK_START_TIME VARCHAR2(50)
    BASE CHECK_END_TIME VARCHAR2(50)
    BASE SECONDS_BETWEEN_CHECKS VARCHAR2(50)
    BASE CHECK_ONCE_DAILY_FLAG VARCHAR2(1)
    BASE SQL_STATEMENT_TEXT VARCHAR2(32000)
    BASE ONE_TIME_ONLY_FLAG VARCHAR2(50)
    BASE TABLE_NAME VARCHAR2(31)
    BASE LAST_UPDATE_DATE VARCHAR2(10)
    DEFINE ALR_RESPONSE_SETS
    KEY RESP_SET_NAME VARCHAR2(30)
    CTX OWNER VARCHAR2(4000)
    BASE DESCRIPTION VARCHAR2(240)
    BASE ENABLED_FLAG VARCHAR2(1)
    BASE END_DATE_ACTIVE VARCHAR2(25)
    BASE LAST_UPDATE_DATE VARCHAR2(10)
    DEFINE ALR_RESPONSE_VARIABLES
    KEY RESP_VAR_NAME VARCHAR2(30)
    CTX OWNER VARCHAR2(4000)
    BASE DESCRIPTION VARCHAR2(240)
    BASE TYPE VARCHAR2(1)
    BASE DEFAULT_VALUE VARCHAR2(240)
    BASE DATA_TYPE VARCHAR2(1)
    BASE DETAIL_MAX_LEN VARCHAR2(50)
    BASE LAST_UPDATE_DATE VARCHAR2(10)
    END ALR_RESPONSE_VARIABLES
    DEFINE ALR_RESPONSE_ACTIONS
    KEY RESPONSE_NAME VARCHAR2(240)
    KEY SEQUENCE VARCHAR2(50)
    CTX OWNER VARCHAR2(4000)
    BASE ACTION_NAME VARCHAR2(80)
    BASE ENABLED_FLAG VARCHAR2(1)
    BASE END_DATE_ACTIVE VARCHAR2(25)
    BASE LAST_UPDATE_DATE VARCHAR2(10)
    END ALR_RESPONSE_ACTIONS
    DEFINE ALR_VALID_RESPONSES
    KEY RESPONSE_NAME VARCHAR2(240)
    CTX OWNER VARCHAR2(4000)
    BASE TYPE VARCHAR2(1)
    BASE RESPONSE_TEXT VARCHAR2(32000)
    BASE LAST_UPDATE_DATE VARCHAR2(10)
    END ALR_VALID_RESPONSES
    END ALR_RESPONSE_SETS
    DEFINE ALR_ACTION_SETS
    KEY NAME VARCHAR2(50)
    CTX OWNER VARCHAR2(4000)
    BASE END_DATE_ACTIVE VARCHAR2(25)
    BASE ENABLED_FLAG VARCHAR2(1)
    BASE RECIPIENTS_VIEW_ONLY_FLAG VARCHAR2(1)
    BASE DESCRIPTION VARCHAR2(240)
    BASE SUPPRESS_FLAG VARCHAR2(1)
    BASE SUPPRESS_DAYS VARCHAR2(50)
    BASE SEQUENCE VARCHAR2(50)
    BASE LAST_UPDATE_DATE VARCHAR2(10)
    DEFINE ALR_ACTION_SET_MEMBERS
    CTX OWNER VARCHAR2(4000)
    BASE ACTION_NAME VARCHAR2(80)
    BASE GROUP_NAME VARCHAR2(80)
    BASE GROUP_TYPE VARCHAR2(1)
    BASE SEQUENCE VARCHAR2(50)
    BASE END_DATE_ACTIVE VARCHAR2(25)
    BASE ENABLED_FLAG VARCHAR2(1)
    BASE SUMMARY_THRESHOLD VARCHAR2(50)
    BASE ABORT_FLAG VARCHAR2(1)
    BASE ERROR_ACTION_SEQUENCE VARCHAR2(50)
    BASE LAST_UPDATE_DATE VARCHAR2(10)
    END ALR_ACTION_SET_MEMBERS
    DEFINE ALR_ACTION_SET_OUTPUTS
    KEY ACTION_SET_OUTPUT_NAME VARCHAR2(30)
    CTX OWNER VARCHAR2(4000)
    BASE SEQUENCE VARCHAR2(50)
    BASE SUPPRESS_FLAG VARCHAR2(1)
    BASE LAST_UPDATE_DATE VARCHAR2(10)
    END ALR_ACTION_SET_OUTPUTS
    DEFINE ALR_ACTION_SET_INPUTS
    KEY ACTION_SET_INPUT_NAME VARCHAR2(30)
    CTX OWNER VARCHAR2(4000)
    BASE VALUE VARCHAR2(240)
    BASE LAST_UPDATE_DATE VARCHAR2(10)
    END ALR_ACTION_SET_INPUTS
    END ALR_ACTION_SETS
    DEFINE ALR_ACTION_GROUPS
    KEY NAME VARCHAR2(80)
    KEY GROUP_TYPE VARCHAR2(1)
    CTX OWNER VARCHAR2(4000)
    BASE ACTION_GROUP_TYPE VARCHAR2(1)
    BASE END_DATE_ACTIVE VARCHAR2(25)
    BASE ENABLED_FLAG VARCHAR2(1)
    BASE DESCRIPTION VARCHAR2(240)
    BASE LAST_UPDATE_DATE VARCHAR2(10)
    DEFINE ALR_ACTION_GROUP_MEMBERS
    CTX OWNER VARCHAR2(4000)
    BASE ACTION_NAME VARCHAR2(80)
    BASE END_DATE_ACTIVE VARCHAR2(25)
    BASE ENABLED_FLAG VARCHAR2(1)
    BASE ACTION_LEVEL VARCHAR2(50)
    BASE LAST_UPDATE_DATE VARCHAR2(10)
    END ALR_ACTION_GROUP_MEMBERS
    END ALR_ACTION_GROUPS
    DEFINE ALR_ACTIONS
    KEY ACTION_NAME VARCHAR2(80)
    KEY ACTION_END_DATE_ACTIVE VARCHAR2(25)
    CTX OWNER VARCHAR2(4000)
    BASE ACTION_TYPE VARCHAR2(1)
    BASE ENABLED_FLAG VARCHAR2(1)
    BASE DESCRIPTION VARCHAR2(240)
    BASE ACTION_LEVEL_TYPE VARCHAR2(1)
    BASE DATE_LAST_EXECUTED VARCHAR2(25)
    BASE FILE_NAME VARCHAR2(240)
    BASE ARGUMENT_STRING VARCHAR2(240)
    BASE PROGRAM_APPLICATION_NAME VARCHAR2(50)
    BASE CONCURRENT_PROGRAM_NAME VARCHAR2(30)
    BASE LIST_APPLICATION_NAME VARCHAR2(50)
    BASE LIST_NAME VARCHAR2(30)
    BASE TO_RECIPIENTS VARCHAR2(240)
    BASE CC_RECIPIENTS VARCHAR2(240)
    BASE BCC_RECIPIENTS VARCHAR2(240)
    BASE PRINT_RECIPIENTS VARCHAR2(240)
    BASE PRINTER VARCHAR2(30)
    BASE SUBJECT VARCHAR2(240)
    BASE REPLY_TO VARCHAR2(240)
    BASE RESPONSE_SET_NAME VARCHAR2(30)
    BASE FOLLOW_UP_AFTER_DAYS VARCHAR2(50)
    BASE COLUMN_WRAP_FLAG VARCHAR2(1)
    BASE MAXIMUM_SUMMARY_MESSAGE_WIDTH VARCHAR2(50)
    BASE BODY VARCHAR2(2000)
    BASE VERSION_NUMBER VARCHAR2(50)
    BASE LAST_UPDATE_DATE VARCHAR2(10)
    DEFINE ALR_ACTION_OUTPUTS
    KEY ACTION_OUT_NAME VARCHAR2(30)
    CTX OWNER VARCHAR2(4000)
    BASE CRITICAL_FLAG VARCHAR2(1)
    BASE END_DATE_ACTIVE VARCHAR2(25)
    BASE LAST_UPDATE_DATE VARCHAR2(10)
    END ALR_ACTION_OUTPUTS
    END ALR_ACTIONS
    DEFINE ALR_ALERT_OUTPUTS
    KEY NAME VARCHAR2(30)
    CTX OWNER VARCHAR2(4000)
    BASE SEQUENCE VARCHAR2(50)
    BASE ENABLED_FLAG VARCHAR2(1)
    BASE START_DATE_ACTIVE VARCHAR2(25)
    BASE END_DATE_ACTIVE VARCHAR2(25)
    BASE TITLE VARCHAR2(240)
    BASE DETAIL_MAX_LEN VARCHAR2(50)
    BASE SUMMARY_MAX_LEN VARCHAR2(50)
    BASE DEFAULT_SUPPRESS_FLAG VARCHAR2(1)
    BASE FORMAT_MASK VARCHAR2(30)
    BASE LAST_UPDATE_DATE VARCHAR2(10)
    END ALR_ALERT_OUTPUTS
    DEFINE ALR_ALERT_INSTALLATIONS
    KEY ORACLE_USERNAME VARCHAR2(30)
    KEY DATA_GROUP_NAME VARCHAR2(240)
    CTX OWNER VARCHAR2(4000)
    BASE ENABLED_FLAG VARCHAR2(1)
    BASE LAST_UPDATE_DATE VARCHAR2(10)
    END ALR_ALERT_INSTALLATIONS
    DEFINE ALR_ALERT_INPUTS
    KEY NAME VARCHAR2(30)
    CTX OWNER VARCHAR2(4000)
    BASE ENABLED_FLAG VARCHAR2(1)
    BASE START_DATE_ACTIVE VARCHAR2(25)
    BASE END_DATE_ACTIVE VARCHAR2(25)
    BASE TITLE VARCHAR2(240)
    BASE DATA_TYPE VARCHAR2(1)
    BASE DEFAULT_VALUE VARCHAR2(240)
    BASE LAST_UPDATE_DATE VARCHAR2(10)
    END ALR_ALERT_INPUTS
    END ALR_ALERTS
    # -- End Entity Definitions --
    The same command works fine on linux using putty.
    Are We missing anything or the issue might be because of the windows platform.
    Please help us.
    Thanks & Regards,
    Priyank

    Hi,
    We have compared the LDt with the one generated with UNIX.
    We are completely missing the data definition of the object.
    Also today we tried to download LDT's for concurent program and request group, and request group Ldt is successfully downloaded but for concurrent program again it downloaded only entity definition and then failed to download object's data definition.
    the commands used were:
    Request group:
    FNDLOAD apps/apps 0 Y DOWNLOAD %FND_TOP%/patch/115/import/afcpreqg.lct File_Name.ldt REQUEST_GROUP REQUEST_GROUP_NAME="Global HRMS Reports & Process" APPLICATION_SHORT_NAME="PER" UNIT_NAME='Concurrent Program Short Name'
    Concurrent Program:
    FNDLOAD apps/apps 0 Y DOWNLOAD %FND_TOP%/patch/115/import/afcpprog.lct File_Name.ldt PROGRAM CONCURRENT_PROGRAM_NAME='Concurrent Program Short Name' APPLICATION_SHORT_NAME='PER'
    Thanks.

  • Unable to generate csr, Please use a valid file name

    I've been attempting to generate a new certificate signing request on our Exchange 2013 server.  In the past we've never had a problem but we seem to be stuck today.  When we try to output the new csr to one of our network shares we see the following
    error.  
    "Please use a valid file name when you run the New-ExchangeCertificate cmdlet on server server1 with the -RequestFile parameter. The file should not exist in target folder. Parameter name: RequestFile"
    We've use this share location before without problems, the Exchange Trusted Subsystem has write intermissions on this location as described online but we still receive the error.  I've tried creating new locations but haven't had any success.
    Any suggestions?
    Thanks

    Hi,
    We can access the Exchange Certificate Management UI through the EAC in Exchange 2013 by selecting
    Servers and then Certificates to create a new certificate to have a try.
    Alternatively, we can try the following command:
    $Data = New-ExchangeCertificate -GenerateRequest -SubjectName "c=US, o=contoso inc, cn=server.contoso.com" -DomainName mail.contoso.com, contoso.com, autodiscover.contoso.com -PrivateKeyExportable $true
    Set-Content -path "C:\Certificates\MyCertRequest.req" -Value $Data
    Regards,
    Winnie Liang
    TechNet Community Support

  • How to generate idoc  PODRCH02 using out put type

    Hi All,
    I need to generate outbound idoc PORDCH02 and message type PORDCH using out put types (messages).But i unable to generated this idoc using message type. System is giving error as  *No recipient found for message type PORDCH in the ALE model*
    To do this , i have done the following steps.
    1. In BD64 i have configure the business object BUS2012, using add bapi. ( In cust.distn model it doesn't allowing the message type. so i have given BAPI )
    2. In partner profile (WE20), for sending logical sytems
    i have configure the message type in outbound parametes.
    3. In NACE for out put type NEU  i have given medium as Distribution (ALE),  Partner function as LS     
    Could you please help me out , what are the necessary steps i need to take care and what are the steps i missed out.
    Thanks and regards
    Praveen

    In distribution model, you have to configure both the sending system and receiving system. The Tcode of Distribution model is BD64.

  • Creating Report using EPM Functions with Dynamic Filters

    Hi All,
    I am new to BPC, In BPC 7.5 i seen like we can generate EPM report using EVDRE function very quickly and easy too. Is the same feature is existing in BPC 10.0 ? if no how can we create EPM reports using EPM Functions with Dynamic Filters on the Members of the dimension like in BPC 7.5.
    And i searched in SDN, there is no suitable blogs or documents which are related to generation of Reports using EPM Functions. All are described just in simple syntax way. It is not going to be understand for the beginners.
    Would you please specify in detail step by step.
    Thanks in Advance.
    Siva Nagaraju

    Siva,
    These functions are not used to create reports per se but rather assist in building reports. For ex, you want to make use of certain property to derive any of the dimension members in one of your axes, you will use EPMMemberProperty. Similary, if you want to override members in any axis, you will make use of EPMDimensionOverride.
    Also, EvDRE is not replacement of EPM functions. Rather, you simply create reports using report editor (drag and drop) and then make use of EPM functions to build your report. Forget EvDRE for now.
    You can protect your report to not allow users to have that Edit Report enabled for them.
    As Vadim rightly pointed out, start building some reports and then ask specific questions.
    Hope it clears your doubts.

  • Error using Rank function in Answers

    Hi All,
    Am trying to generate a report in Answers which lists Top Accounts with Revenue.
    I Ranked the Revenue field and it is returning me correct values. ( Rank(account.revenue) )
    But, when I try to filter on this field and restrict the rows which shows only top 10 Accounts, it is returning the following error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 1792, message: ORA-01792: maximum number of columns in a table or view is 1000 at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)
    Can any one help me on this.
    Thanks in Advance,
    Imtiaz.

    Hi Joe,
    This is the Physical query generated when I use Rank function and the report is fine.
    select distinct D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    D1.c6 as c6,
    D1.c7 as c7,
    D1.c8 as c8,
    D1.c9 as c9,
    D1.c10 as c10,
    D1.c11 as c11,
    D1.c12 as c12,
    D1.c13 as c13,
    D1.c14 as c14,
    D1.c15 as c15
    from
    (select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    D1.c6 as c6,
    D1.c7 as c7,
    D1.c8 as c8,
    D1.c9 as c9,
    D1.c10 as c10,
    D1.c11 as c11,
    D1.c12 as c12,
    D1.c13 as c13,
    D1.c14 as c14,
    D1.c15 as c15
    from
    (select Case when D1.c1 is not null then Rank() OVER ( ORDER BY D1.c1 DESC NULLS LAST ) end as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c1 as c4,
    D1.c4 as c5,
    D1.c5 as c6,
    D1.c6 as c7,
    D1.c7 as c8,
    D1.c8 as c9,
    D1.c9 as c10,
    D1.c10 as c11,
    D1.c11 as c12,
    D1.c12 as c13,
    D1.c13 as c14,
    D1.c14 as c15,
    ROW_NUMBER() OVER (PARTITION BY D1.c1, D1.c2, D1.c3, D1.c4, D1.c5, D1.c6, D1.c7, D1.c8, D1.c9, D1.c10, D1.c11, D1.c12, D1.c13, D1.c14 ORDER BY D1.c1 ASC, D1.c2 ASC, D1.c3 ASC, D1.c4 ASC, D1.c5 ASC, D1.c6 ASC, D1.c7 ASC, D1.c8 ASC, D1.c9 ASC, D1.c10 ASC, D1.c11 ASC, D1.c12 ASC, D1.c13 ASC, D1.c14 ASC) as c16
    from
    (select distinct T690.SUM_REVN_AMT as c1,
    T690.NAME as c2,
    T2216.NAME as c3,
    T690.X_PETROFAC_REVN as c4,
    T690.SUM_WIN_PROB as c5,
    T690.X_PERCENT_GET as c6,
    T690.SUM_WIN_PROB * T690.X_PERCENT_GET / nullif( 100, 0) as c7,
    T690.X_EC_PRIORITY as c8,
    T19028.LOGIN as c9,
    T690.X_COUNTRY as c10,
    T690.X_REGION as c11,
    T18311.NAME as c12,
    T18641.NAME as c13,
    T18238.NAME as c14
    from
    SIEBEL.S_BU T18238 left outer join (
    SIEBEL.S_USER T19028 left outer join (
    SIEBEL.S_OPTY T690 left outer join SIEBEL.S_STG T2216 On T690.CURR_STG_ID = T2216.ROW_ID) left outer join SIEBEL.S_ORG_EXT T1189 On T690.PR_DEPT_OU_ID = T1189.ROW_ID) left outer join SIEBEL.S_ORG_EXT T18311 /* Competitor */ On T690.PR_CMPT_OU_ID = T18311.ROW_ID) left outer join SIEBEL.S_ORG_EXT T18641 /* Partner */ On T690.PR_PRTNR_ID = T18641.ROW_ID) left outer join SIEBEL.S_POSTN T19114 On T690.PR_POSTN_ID = T19114.PAR_ROW_ID) left outer join SIEBEL.S_OPTY_BU T18280 On T690.ROW_ID = T18280.OPTY_ID) left outer join SIEBEL.S_OPTY_X T19415 On T690.ROW_ID = T19415.PAR_ROW_ID) On T19028.PAR_ROW_ID = T19114.PR_EMP_ID) On T18238.ROW_ID = T18280.BU_ID
    ) D1
    ) D1
    where ( D1.c16 = 1 )
    ) D1
    order by c1 desc
    But When I apply Filter on this Rank column then it gives me the error. THis is the Physical query for that
    select distinct Case when D1.c1 is not null then Rank() OVER ( ORDER BY D1.c1 DESC NULLS LAST ) end as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c1 as c4,
    D1.c4 as c5,
    D1.c5 as c6,
    D1.c6 as c7,
    D1.c7 as c8,
    D1.c8 as c9,
    D1.c9 as c10,
    D1.c10 as c11,
    D1.c11 as c12,
    D1.c12 as c13,
    D1.c13 as c14,
    D1.c14 as c15
    from
    (select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    D1.c6 as c6,
    D1.c7 as c7,
    D1.c8 as c8,
    D1.c9 as c9,
    D1.c10 as c10,
    D1.c11 as c11,
    D1.c12 as c12,
    D1.c13 as c13,
    D1.c14 as c14
    from
    (select T690.SUM_REVN_AMT as c1,
    T690.NAME as c2,
    T2216.NAME as c3,
    T690.X_PETROFAC_REVN as c4,
    T690.SUM_WIN_PROB as c5,
    T690.X_PERCENT_GET as c6,
    T690.SUM_WIN_PROB * T690.X_PERCENT_GET / nullif( 100, 0) as c7,
    T690.X_EC_PRIORITY as c8,
    T19028.LOGIN as c9,
    T690.X_COUNTRY as c10,
    T690.X_REGION as c11,
    T18311.NAME as c12,
    T18641.NAME as c13,
    T18238.NAME as c14,
    Case when T690.SUM_REVN_AMT is not null then Rank() OVER ( ORDER BY T690.SUM_REVN_AMT DESC NULLS LAST ) end as c15
    from
    SIEBEL.S_BU T18238 left outer join (
    SIEBEL.S_USER T19028 left outer join (
    SIEBEL.S_OPTY T690 left outer join SIEBEL.S_STG T2216 On T690.CURR_STG_ID = T2216.ROW_ID) left outer join SIEBEL.S_ORG_EXT T1189 On T690.PR_DEPT_OU_ID = T1189.ROW_ID) left outer join SIEBEL.S_ORG_EXT T18311 /* Competitor */ On T690.PR_CMPT_OU_ID = T18311.ROW_ID) left outer join SIEBEL.S_ORG_EXT T18641 /* Partner */ On T690.PR_PRTNR_ID = T18641.ROW_ID) left outer join SIEBEL.S_POSTN T19114 On T690.PR_POSTN_ID = T19114.PAR_ROW_ID) left outer join SIEBEL.S_OPTY_BU T18280 On T690.ROW_ID = T18280.OPTY_ID) left outer join SIEBEL.S_OPTY_X T19415 On T690.ROW_ID = T19415.PAR_ROW_ID) On T19028.PAR_ROW_ID = T19114.PR_EMP_ID) On T18238.ROW_ID = T18280.BU_ID
    ) D1
    where ( D1.c15 <= 10 )
    ) D1
    order by c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15
    Thanks,
    Imtiaz

  • Generating AES 256 bit key using seed

    Hi
    As part of encryption requirements for encrypting the body of the SOAP Message while calling an external Web Service, it is requried to encrypt using a shared symmetric key.
    First step is to create a password digest
    Base64(sha1(nonce + createdTimestamp + password)) - This step is working completely fine and produces a 160 bit Hash
    The next step is to generate an AES 256 bit key using the above hash as the Seed. This should generate a 256 bit encrytpion key which can then be used to encrypt the message body.
    Would appreciate if anyone who knows how to generate AES 256 bit key using a hash seed in Java (v1.4.2) can provide some guidance.
    P:S. I am using WSS4J API to use WS-Security

    I have to generate 256-bit AES key with a 128-bit IV using the above password digest and the IV used for in the creation of the AES key prefixes the cipher text.
    The external WebService is .net webservice.
    Edited by: GUPTAG on Nov 25, 2008 3:05 AM

  • Unable to Generate Logs using Log4j

    Hi All,
    I have a task where i have configure weblogic to generate the logs using log4j instead of the default jdk,
    I changed the logging level implementation in admin server from jdk to log4j
    Then i created a log4j.xml and placed it in the root folder of the domain.
    But the adminserver.log file still shows the logs from default jdk the log4j changes tht i did had no effect on the logs.
    Kindly Help
    Thanks
    Mukul

    Hi ,
    I dont have any log4j.properties defined . Should i define a custom log4j.properties.
    This is how my log4j.xml is :
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
    <log4j:configuration>
    <appender name="FILE" class="org.apache.log4j.FileAppender">
    <param name="File" value="myApp.log"/>
    <param name="Append" value="true"/>
    <layout class="org.apache.log4j.PatternLayout">
    <param name="ConversionPattern" value="%d{ISO8601} %t %-5p %c{2} - %m%n"/>
    </layout>
    </appender>
    <logger name="org.apache">
    <level value="WARN"/>
    </logger>
    <logger name="org.springframework">
    <level value="WARN"/>
    </logger>
    <root>
    <level value="DEBUG"/>
    <appender-ref ref="FILE"/>
    </root>
    </log4j:configuration>
    But this is generating a custom log4j log file but we want the weblogic generated adminserver.log to be generated using the log4j instead of jdk

  • Installation Problem on 11g, RHEL 5 - Unable to generate temporary script

    Hello all,
    This is for the first time i am encountering this kind of error on 11g. Half way through installation i get this error.
    All parameters set correct, used the official installation technique (works fine previously), except for this time i am getting a weird error, which does not allow me to continue with the installation.
    Please help.
    Environment
    Oracle 11g
    RHEL 5
    Error on GUI -
    OUI-10053: Unable to generate temporary script: {0}. Unable to continue install
    Error on command prompt -
    OUI-10053:Unable to generate temporary script: /u01/app/oraInventory/orainstRoot.sh. Unable to continue install.
    Help appreciated.
    Thanks

    Hi Monu Koshy
    Can you please control the user rights and also the df ?
    ls -al /u01/app/oraInventory/
    df -h /u01/app/oraInventory/
    Regards,
    Hub

  • Adogjf Unable to generate jar files under JAVA_TOP error while patching

    Hi,
    I'm upgrading my version of Java from 1.3.1_19 to 1.5.0_17. I downloaded the jdk-1_5_0_17-linux-i586.bin file and unpackaged it to /u0/<SID>/<SID>db/10.2.0. It unpackaged it to a new directory jdk1.5.0_17 (/u0/<SID>/<SID>db/10.2.0/jdk1.5.0_17), whereas the old version is in a directory jdk (/u0/<SID>/<SID>db/10.2.0/jdk).
    Having done that I had to run an interoperability patch (4372996). Upon running this patch I received an error at the end:
    adogjf() Unable to generate jar files under JAVA_TOP
    There were no other errors.
    I think the problem has to do with where my new java version is located but I'm not sure. I'm thinking that it's still looking under the old JAVA_TOP (/u0/<SID>/<SID>db/10.2.0/jdk) when I want it to look under the new JAVA_TOP (/u0/<SID>/<SID>db/10.2.0/jdk1.5.0_17). So, should I move the contents from the new directory (jdk1.5.0_17) to the old directory (jdk) or is there a way to 'point' it to the new JAVA_TOP.
    Please let me know if I'm totally off base and there's another solution. We're currently on EBS 11.5.10.2, DB 10.2.0.4 and RHEL 4 Update 5.
    Thanks,
    Lia.

    Here you go. Hope this helps you to help me :-). Thanks.
    +
    ** Generating the product JAR files...
    STRT_TASK: [Generate JAR files] [] [Fri Mar 27 2009 09:20:32]
    STRT_TASK: [Generate JAR files under JAVA_TOP] [] [Fri Mar 27 2009 09:20:32]
    Signing product JAR files in JAVA_TOP -
    /u0/mary/marycomn/java
    using entity Customer and certificate 1.
    Calling /u0/mary/marycomn/util/jre/1.1.8/bin/jre ...
    Successfully created javaVersionFile.
    Generating product JAR files in JAVA_TOP -
    /u0/mary/marycomn/java with command:
    adjava -mx512m -nojit oracle.apps.ad.jri.adjmx @/u0/mary/maryappl/admin/mary/out/genjars.cmd
    Reading product information from file...
    Reading language and territory information from file...
    Reading language information from applUS.txt ...
    Temporarily resetting CLASSPATH to:
    "/u0/mary/maryappl/ad/11.5.0/java/adjri.zip:/u0/mary/marycomn/util/jre/1.1.8/lib/rt.jar:/u0/mary/marycomn/util/jre/1.1.8/lib/i18n.jar:/u0/mary/marycomn/util/jre/1.1.8/lib/tools.jar:/u0/mary/marycomn/java/appsborg.zip:/u0/mary/marycomn/java/apps.zip:/u0/mary/maryora/8.0.6/forms60/java:/u0/mary/marycomn/java"
    Calling /u0/mary/marycomn/util/jre/1.1.8/bin/jre ...
    The JDK version is 1.1.8
    Validating the files/directories specified for -areas option
    Validating the files/directories specified for -outputSpec option
    Validating the directory specified for -lstDir option
    About to Analyze the input areas : Fri Mar 27 2009 09:20:36
    WARNING: Will not load stale resource unit META-INF/services/javax.xml.parsers
    WARNING: Will not load stale resource unit META-INF/services/javax.xml.transform
    Done Analyzing the input areas : Fri Mar 27 2009 09:20:43
    About to Analyze/Generate jar files : Fri Mar 27 2009 09:20:43
    About to Analyze fndnetcharts.jar : Fri Mar 27 2009 09:20:43
    Up-to-date : fndnetcharts.jar
    Done Analyzing fndnetcharts.jar : Fri Mar 27 2009 09:20:44
    About to Analyze fndtdg.jar : Fri Mar 27 2009 09:20:44
    Up-to-date : fndtdg.jar
    Done Analyzing fndtdg.jar : Fri Mar 27 2009 09:20:44
    About to Analyze fndjgl.jar : Fri Mar 27 2009 09:20:44
    Up-to-date : fndjgl.jar
    Done Analyzing fndjgl.jar : Fri Mar 27 2009 09:20:45
    About to Analyze fndjle.jar : Fri Mar 27 2009 09:20:45
    Up-to-date : fndjle.jar
    Done Analyzing fndjle.jar : Fri Mar 27 2009 09:20:47
    About to Analyze fndlrucache.jar : Fri Mar 27 2009 09:20:47
    Up-to-date : fndlrucache.jar
    Done Analyzing fndlrucache.jar : Fri Mar 27 2009 09:20:47
    About to Analyze fndgantt.jar : Fri Mar 27 2009 09:20:47
    Up-to-date : fndgantt.jar
    Done Analyzing fndgantt.jar : Fri Mar 27 2009 09:20:47
    About to Analyze fndpromise.jar : Fri Mar 27 2009 09:20:47
    Up-to-date : fndpromise.jar
    Done Analyzing fndpromise.jar : Fri Mar 27 2009 09:20:48
    About to Analyze fndforms.jar : Fri Mar 27 2009 09:20:48
    About to Generate fndforms.jar : Fri Mar 27 2009 09:20:49
    Done Generating fndforms.jar : Fri Mar 27 2009 09:20:50
    About to Sign fndforms.jar : Fri Mar 27 2009 09:20:50
    ERROR: Javakey subcommand exited with status 1
    Javakey standard output:
    Adding entry: META-INF/MANIFEST.MF
    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA
    AD Java Key Generation
    Version 11.5.0
    NOTE: You may not use this utility for custom development
    unless you have written permission from Oracle Corporation.
    Javakey error output:
    Reading product information from file...
    Reading language and territory information from file...
    Reading language information from applUS.txt ...
    Successfully created javaVersionFile.
    Customer not found in database.
    java key error:
    adjava -ms128m -mx256m sun.security.provider.Main -gs /u0/mary/marycomn/java/oracle/apps/fnd/jar/fndforms.jar.tmp /u0/mary/marycomn/java/oracle/apps/fnd/jar/fndforms.jar.uns
    The above Java program failed with error code 1.
    Done Analyzing/Generating jar files : Fri Mar 27 2009 09:20:51
    AD Run Java Command is complete.
    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA
    AD Java
    Version 11.5.0
    NOTE: You may not use this utility for custom development
    unless you have written permission from Oracle Corporation.
    Failed to generate product JAR files in JAVA_TOP -
    /u0/mary/marycomn/java.
    adogjf() Unable to generate jar files under JAVA_TOP
    AutoPatch error:
    Failed to generate the product JAR files
    You should check the file
    /u0/mary/maryappl/admin/mary/log/4372996.log
    for errors.
    +

  • ERR  Agent Clone Failed SEVERE:OUI-10053:Unable to generate temporary script: {0}. Unable to continue install

    ==============>deploy log information:
    2015-04-27_14-50-42:INFO:Install Args AGENT_PORT=3872
    2015-04-27_14-50-42:INFO:Action description 在主机 expquery03 上执行命令 /bin/sh -c '/u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=expquery03 AGENT_BASE_DIR=/u01/app/agent_12c OMS_HOST=oragc12c.yto.net.cn EM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME=/u01/app/agent_12c/agent_inst b_doDiscovery=false b_startAgent=false b_forceInstCheck=true AGENT_PORT=3872'
    2015-04-27_14-50-42:INFO:Attempt :1 pty required false  with no inputs
    2015-04-27_15-11-47:INFO:/bin/sh -c '/u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=expquery03 AGENT_BASE_DIR=/u01/app/agent_12c OMS_HOST=oragc12c.yto.net.cn EM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME=/u01/app/agent_12c/agent_inst b_doDiscovery=false b_startAgent=false b_forceInstCheck=true AGENT_PORT=3872' execution failed on host expquery03
    2015-04-27_15-11-47:INFO:Pattern ERROR: found in file /opt/app/oem12c/gc_inst/em/EMGC_OMS1/sysman/agentpush/2015-04-27_14-18-30-PM/logs/expquery03/install.log Line ERROR: Agent Clone Failed SEVERE:OUI-10053:Unable to generate temporary script: {0}. Unable to continue install.
    2015-04-27_15-11-47:INFO:Error Message found  Agent Clone Failed SEVERE:OUI-10053:Unable to generate temporary script: {0}. Unable to continue install.
    2015-04-27_15-11-47:INFO: ACTION 在主机 expquery03 上执行命令 /u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=expquery03 AGENT_BASE_DIR=/u01/app/agent_12c OMS_HOST=oragc12c.yto.net.cn EM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME=/u01/app/agent_12c/agent_inst b_doDiscovery=false b_startAgent=false b_forceInstCheck=true AGENT_PORT=3872
    2015-04-27_15-11-47:INFO: OUT null
    2015-04-27_15-11-47:INFO: ERR  Agent Clone Failed SEVERE:OUI-10053:Unable to generate temporary script: {0}. Unable to continue install.
    2015-04-27_15-11-47:INFO: EXIT CODE1
    2015-04-27_15-11-47:INFO:InvocationTargetException Exception
    2015-04-27_15-11-47:INFO:Printing Exception :java.lang.reflect.InvocationTargetException
            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 oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.executeActions(BaseDeployerOps.java:1924)
            at oracle.sysman.core.agentpush.ui.deployer.NewAgentDeployer.deploy(NewAgentDeployer.java:59)
            at oracle.sysman.core.agentpush.ui.deployfwk.DeploymentWorker.run(DeploymentWorker.java:26)
            at oracle.sysman.util.threadPoolManager.WorkerThread.run(Worker.java:311)
    Caused by: CommandException: err:  Agent Clone Failed SEVERE:OUI-10053:Unable to generate temporary script: {0}. Unable to continue install. out: null exitcode: 1
    stacktrace:
    null
            at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCommandOnNodeInteractive(DeployerOps.java:1204)
            at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCommandOnNodeInteractive(DeployerOps.java:1050)
            at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCmdOnNode(DeployerOps.java:644)
            at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCmdOnNode(DeployerOps.java:593)
            at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.doInstall(BaseDeployerOps.java:484)
    oem@oragc12c bin]$ more /u01/app/agent_12c/core/12.1.0.4.0/cfgtoollogs/agentDeploy/agentDeploy_2015-04-27_15-10-25-PM.log
    /u01/app/agent_12c/core/12.1.0.4.0/cfgtoollogs/agentDeploy/agentDeploy_2015-04-27_15-10-25-PM.log: No such file or directory
    [oem@oragc12c bin]$ more /opt/app/oem12c/gc_inst/em/EMGC_OMS1/sysman/agentpush/2015-04-27_14-18-30-PM/logs/expquery03/install.log
    -e Validating the OMS_HOST & EM_UPLOAD_PORT
    Executing command : /u01/app/agent_12c/core/12.1.0.4.0/jdk/bin/java -classpath /u01/app/agent_12c/core/12.1.0.4.0/jlib/agentInstaller.jar:/u01/app/agent_12c/core/12.1.0.4.0/oui/jlib/OraInstaller.jar oracle.s
    ysman.agent.installer.AgentInstaller /u01/app/agent_12c/core/12.1.0.4.0 /u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM /u01/app/agent_12c -prereq
    Validating oms host & port with url: http://oragc12c.yto.net.cn:4903/empbs/genwallet
    Validating oms host & port with url: https://oragc12c.yto.net.cn:4903/empbs/genwalletReturn status:3-oms https port is passedUnzipping the agentcoreimage.zip to /u01/app/agent_12c ....12.1.0.4.0_PluginsOneof
    fs_197.zip
    Executing command : /u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM/unzip -o /u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM/12.1.0.4.0_PluginsOneoffs_197.zip -d /u01/app/agent_12cExecuting command : /u01/
    app/agent_12c/core/12.1.0.4.0/jdk/bin/java  -d64 -classpath /u01/app/agent_12c/core/12.1.0.4.0/oui/jlib/OraInstaller.jar:/u01/app/agent_12c/core/12.1.0.4.0/oui/jlib/xmlparserv2.jar:/u01/app/agent_12c/core/12
    .1.0.4.0/oui/jlib/srvm.jar:/u01/app/agent_12c/core/12.1.0.4.0/oui/jlib/emCfg.jar:/u01/app/agent_12c/core/12.1.0.4.0/jlib/agentInstaller.jar:/u01/app/agent_12c/core/12.1.0.4.0/oui/jlib/share.jar oracle.sysman
    .agent.installer.AgentInstaller /u01/app/agent_12c/core/12.1.0.4.0 /u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM /u01/app/agent_12c /u01/app/agent_12c/agent_inst AGENT_BASE_DIR=/u01/app/agent_12c
    Failed to read the inventory
    Failed to read the inventory=====================>but the inventory no problem
    Cloning the agent home...
    Executing command: /u01/app/agent_12c/core/12.1.0.4.0/oui/bin/runInstaller -debug -ignoreSysPrereqs   -clone -forceClone -silent -waitForCompletion -nowait ORACLE_HOME=/u01/app/agent_12c/core/12.1.0.4.0   AG
    ENT_BASE_DIR=/u01/app/agent_12c ORACLE_HOSTNAME=expquery03 AGENT_BASE_DIR=/u01/app/agent_12c OMS_HOST=oragc12c.yto.net.cn EM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME=/u01/app/agent_12c/agent_inst b_doDiscovery=f
    alse b_startAgent=false b_forceInstCheck=true AGENT_PORT=3872 -noconfig  ORACLE_HOME_NAME=agent12c1 -force b_noUpgrade=true
    ERROR: Agent Clone Failed SEVERE:OUI-10053:Unable to generate temporary script: {0}. Unable to continue install.
    Agent Deploy Log Location:/u01/app/agent_12c/core/12.1.0.4.0/cfgtoollogs/agentDeploy/agentDeploy_2015-04-27_15-10-25-PM.log
    ============>agent client privage and "/tmp" information  at hp-unix
    $ bdf
    Filesystem          kbytes    used   avail %used Mounted on
    /dev/vg00/lvol3    5242880  384784 4820160    7% /
    /dev/vg00/lvol1    1835008  376272 1447400   21% /stand
    /dev/vg00/lvol7    20971520 8977200 11902024   43% /var
    /dev/vg00/lvol9    7864320 3213136 4614904   41% /usr
    /dev/vg00/lvol6    85983232 63055260 21527575   75% /u01
    /dev/vg00/lvol5    10485760 2268216 8153768   22% /tmp===============>
    /dev/vg00/lvol8    10354688 6536024 3788952   63% /opt
    /dev/vg00/lvol4    52428800 13319488 38803816   26% /home
    $ ls -lt
    total 6
    drwxr-xr-x   2 oem        oinstall      1024 Apr 27 15:14 agent_12c
    drwxrwx---   5 grid       oinstall      1024 Apr 27 15:11 oraInventory
    drwxr-xr-x   3 oem        oinstall        96 Apr 22 16:16 agent
    drwxrwxr-x   8 grid       oinstall      1024 Apr 21 14:58 grid
    drwxrwxr-x   6 grid       oinstall        96 Aug  7  2013 oracle
    drwxr-xr-x   3 root       oinstall        96 Aug  2  2013 11.2.0
    $ cd oraInventory
    $ ls -lt
    total 44
    drwxrwx---   2 grid       oinstall     16384 Apr 27 15:10 logs
    drwxrwx---   3 grid       oinstall      2048 Apr 22 10:36 backup
    drwxrwx---   2 grid       oinstall      1024 Apr  3  2014 ContentsXML
    -rwxrwx---   1 grid       oinstall      1686 Aug  6  2013 orainstRoot.sh
    -rw-rw----   1 grid       oinstall        56 Aug  6  2013 oraInst.loc
    $ cd ContentsXML
    $ ls
    comps.xml      inventory.xml  libs.xml
    $ ls -lt
    total 6
    -rw-rw----   1 grid       oinstall       842 Apr 21 10:31 inventory.xml
    -rw-rw----   1 grid       oinstall       329 Apr 20 17:32 comps.xml
    -rw-rw----   1 grid       oinstall       292 Apr 20 17:32 libs.xml
    I view some oms document ,don't know the case

    agent client's apeloy log:
    $ more /u01/app/agent_12c/core/12.1.0.4.0/cfgtoollogs/agentDeploy/agentDeploy_2015-04-27_16-22-23-PM.log
    INFO: /u01/app/agent_12c/core/12.1.0.4.0
    INFO: /u01/app/agent_12c/ADATMP_2015-04-27_15-33-29-PM
    INFO: /u01/app/agent_12c
    INFO: /u01/app/agent_12c/agent_inst
    INFO: AGENT_BASE_DIR=/u01/app/agent_12c
    INFO: -ignorePrereqs
    INFO: ORACLE_HOSTNAME=expquery03
    INFO: AGENT_BASE_DIR=/u01/app/agent_12c
    INFO: OMS_HOST=oragc12c.yto.net.cn
    INFO: EM_UPLOAD_PORT=4903
    INFO: AGENT_INSTANCE_HOME=/u01/app/agent_12c/agent_inst
    INFO: b_doDiscovery=false
    INFO: b_startAgent=false
    INFO: b_forceInstCheck=true
    INFO: AGENT_PORT=3872
    INFO: AGENT_BASE_DIR=/u01/app/agent_12c
    INFO: ORACLE_HOSTNAME=expquery03
    INFO: AGENT_BASE_DIR=/u01/app/agent_12c
    INFO: OMS_HOST=oragc12c.yto.net.cn
    INFO: EM_UPLOAD_PORT=4903
    INFO: AGENT_INSTANCE_HOME=/u01/app/agent_12c/agent_inst
    INFO: b_doDiscovery=false
    INFO: b_startAgent=false
    INFO: b_forceInstCheck=true
    INFO: AGENT_PORT=3872
    INFO:  Setting the system property ORACLE_HOSTNAME to:expquery03
    INFO:  Setting the system property oracle.installer.oui_loc to:/u01/app/agent_12c/core/12.1.0.4.0/oui
    INFO: Agent Base Directory is : /u01/app/agent_12c
    INFO: Agent Home is : /u01/app/agent_12c/core/12.1.0.4.0
    INFO: Sbin Home is : /u01/app/agent_12c/sbin
    INFO: Logs Location is : /u01/app/agent_12c/core/12.1.0.4.0/cfgtoollogs/agentDeploy
    SEVERE: User has specified -ignorePrereqs when invoking the installer.  All pre-requisite checks will be ignored for this installation session.  Configuration failures may result if proper pre-requisites are
    not satisfied.
    INFO:
    Setting system property CUSTOM_INVENTORY to /u01/app/oraInventory
    INFO: Clone start time:2015-04-27_16-22-24-PM
    INFO: Executing command: /u01/app/agent_12c/core/12.1.0.4.0/oui/bin/runInstaller -debug -ignoreSysPrereqs   -clone -forceClone -silent -waitForCompletion -nowait ORACLE_HOME=/u01/app/agent_12c/core/12.1.0.4.
    0   -noconfig  ORACLE_HOME_NAME=agent12c1 -force
    INFO: Starting Oracle Universal Installer...
    INFO:
    INFO: Checking swap space: must be greater than 500 MB.   Actual 61440 MB    Passed
    INFO: Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-04-27_04-22-24PM. Please wait ...Oracle Universal Installer, Version 11.1.0.12.0 Production
    INFO: Copyright (C) 1999, 2014, Oracle. All rights reserved.
    INFO:
    INFO: org.xml.sax.SAXParseException: <Line 1, Column 38>: XML-20100: (Fatal Error) Expected '?>'.
    INFO:   at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
    INFO:   at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
    INFO:   at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:345)
    INFO:   at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:307)
    INFO:   at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:212)
    INFO:   at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readHomes(OiiiInstallXMLReader.java:150)
    INFO:   at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readHomes(OiiiInstallXMLReader.java:88)
    INFO:   at oracle.sysman.oii.oiii.OiiiInstallInventory.readHomes(OiiiInstallInventory.java:708)
    INFO:   at oracle.sysman.oii.oiii.OiiiInstallAreaControl.loadPartialInstallInv(OiiiInstallAreaControl.java:766)
    INFO:   at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initInstallInv(OiiiInstallAreaControl.java:811)
    INFO:   at oracle.sysman.oii.oiii.OiiiInstallAreaControl.loadInstallInventory(OiiiInstallAreaControl.java:582)
    INFO:   at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initAreaControl(OiiiInstallAreaControl.java:1965)
    INFO:   at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initAreaControl(OiiiInstallAreaControl.java:1929)
    INFO:   at oracle.sysman.oii.oiic.OiicCloneSession.setAreaControls(OiicCloneSession.java:1309)
    INFO:   at oracle.sysman.oii.oiic.OiicCloneSession.<init>(OiicCloneSession.java:932)
    INFO:   at oracle.sysman.oii.oiic.OiicSessionWrapper.createNewSession(OiicSessionWrapper.java:878)
    INFO:   at oracle.sysman.oii.oiic.OiicSessionWrapper.<init>(OiicSessionWrapper.java:189)
    INFO:   at oracle.sysman.oii.oiic.OiicInstaller.init(OiicInstaller.java:511)
    INFO:   at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:967)
    INFO:   at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:905)
    INFO: org.xml.sax.SAXParseException: <Line 1, Column 38>: XML-20100: (Fatal Error) Expected '?>'.
    INFO:   at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
    INFO:   at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
    INFO:   at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:345)
    INFO:   at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:307)
    INFO:   at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:212)
    INFO:   at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readHomes(OiiiInstallXMLReader.java:150)
    INFO:   at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readHomes(OiiiInstallXMLReader.java:88)
    INFO:   at oracle.sysman.oii.oiii.OiiiInstallInventory.readHomes(OiiiInstallInventory.java:708)
    INFO:   at oracle.sysman.oii.oiii.OiiiInstallAreaControl.loadPartialInstallInv(OiiiInstallAreaControl.java:766)
    INFO:   at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initInstallInv(OiiiInstallAreaControl.java:811)
    INFO:   at oracle.sysman.oii.oiii.OiiiInstallAreaControl.loadInstallInventory(OiiiInstallAreaControl.java:582)
    INFO:   at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initAreaControl(OiiiInstallAreaControl.java:1965)
    INFO:   at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initAreaControl(OiiiInstallAreaControl.java:1929)
    INFO:   at oracle.sysman.oii.oiic.OiicCloneSession.setAreaControls(OiicCloneSession.java:1309)
    INFO:   at oracle.sysman.oii.oiic.OiicCloneSession.<init>(OiicCloneSession.java:932)
    INFO:   at oracle.sysman.oii.oiic.OiicSessionWrapper.createNewSession(OiicSessionWrapper.java:878)
    INFO:   at oracle.sysman.oii.oiic.OiicSessionWrapper.<init>(OiicSessionWrapper.java:189)
    INFO:   at oracle.sysman.oii.oiic.OiicInstaller.init(OiicInstaller.java:511)
    INFO:   at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:967)
    INFO:   at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:905)
    INFO: OUI-10053:Unable to generate temporary script: /tmp/orainstRoot.sh. Unable to continue install.
    INFO: SEVERE:OUI-10053:Unable to generate temporary script: {0}. Unable to continue install.
    INFO: Plugin homes:
    INFO:
    INFO: LD_LIBRARY_PATH environment variable :
    INFO: -------------------------------------------------------
    INFO: Total args: 42
    INFO: Command line argument array elements ...
    INFO: Arg:0:/tmp/OraInstall2015-04-27_04-22-24PM/jre/bin/java:
    INFO: Arg:1:-Doracle.installer.library_loc=/tmp/OraInstall2015-04-27_04-22-24PM/oui/lib/hpia64:
    INFO: Arg:2:-Doracle.installer.oui_loc=/tmp/OraInstall2015-04-27_04-22-24PM/oui:
    INFO: Arg:3:-Doracle.installer.bootstrap=TRUE:
    INFO: Arg:4:-Doracle.installer.startup_location=/u01/app/agent_12c/core/12.1.0.4.0/oui/bin:
    INFO: Arg:5:-Doracle.installer.jre_loc=../../jre:
    INFO: Arg:6:-Doracle.installer.nlsEnabled="TRUE":
    INFO: Arg:7:-Doracle.installer.prereqConfigLoc= :
    INFO: Arg:8:-Doracle.installer.unixVersion=B.11.31:
    INFO: Arg:9:-d64:
    INFO: Arg:10:-mx96m:

  • URGENT: Form Import FAILED with  Unable to generate UI form: ORA-0650

    I am importing application components from one installation of portal 3.0.9.8 to another installation. Both installed versions of POrtal are the same.
    The application name is PROFILE_APP. I have created this same app with same specifications as in source, in the target portal instance.
    To import, I am using the SQL scripts generated through portal using the "Export" feature available for each component.
    I could successfully import LOV into this app from source to target by running the above generated SQL. When i run the SQL for the form component in the target - i get the following error :
    ...Importing component: ID = 5861481106 Name = WST_USER_PROFILE_V_FRM Owner = WST_PROFILE_PORTAL30_APP Type = FOT
    *** ERROR ***
    wwa_generate_module.transfer_fot_metadata: Unable to generate UI form: ORA-06502: PL/SQL: numeric or value error
    The form worked successfully in the source instance.
    Any help is greatly appreciated.
    Thank you,
    Tanushree.

    Form CustomForm_791b1adc_97fd_4de1_a077_646a418fe59b extends form Microsoft.EnterpriseManagement.ServiceManager.ChangeManagement.Forms.ChangeRequestForm, which already has another extension (CustomForm_3e2fd77f_cfed_40f9_9def_c6735078bf2a).
    you already have a form customization that extends the change request form, and this MP is also importing a different customization to the same form. each form can only have one customization. 

  • VLD-1119: Unable to generate Multi-table Insert statement for some or all t

    Hi All -
    I have a map in OWB 10.2.0.4 which is ending with following error: -
    VLD-1119: Unable to generate Multi-table Insert statement for some or all targets.*
    Multi-table insert statement cannot be generated for some or all of the targets due to upstream graphs of those targets are not identical on "active operators" such as "join".*
    The map is created with following logic in mind. Let me know if you need more info. Any directions are highly appreciated and many thanks for your inputs in advance: -
    I have two source tables say T1 and T2. There are full outer joined in a joiner and output of this joined is passed to an expression to evaluate values of columns based on
    business logic i.e. If T1 is available than take T1.C1 else take T2.C1 so on.
    A flag is also evaluated in the expression because these intermediate results needs to be joined to third source table say T3 with different condition.
    Based on value taken a flag is being set in the expression which is used in a splitter to get results in three intermediate tables based on flag value evaluated earlier.
    These three intermediate tables are all truncate insert and these are unioned to fill a final target table.
    Visually it is something like this: -
    T1 -- T3 -- JOINER1
    | -->Join1 (FULL OUTER) --> Expression -->SPLITTER -- JOINER2 UNION --> Target Table
    | JOINER3
    T2 --
    Please suggest.

    I verified that their is a limitation with the splitter operator which will not let you generate a multi split having more than 999 columns in all.
    I had to use two separate splitters to achieve what I was trying to do.
    So the situation is now: -
    Siource -> Split -> Split 1 -> Insert into table -> Union1---------Final tableA
    Siource -> Split -> Split 2 -> Insert into table -> Union1

  • Unable to generate ADDM snapshot reports as the error_count is 1

    Hi,
    my db is on 10.1.0.2 windows 2003 server.
    errors while generating ADDM snapshots, was schedule for every 15 minutes,
    the error_count is 1 from dba_hist_snap, these errors are continous and generates a trace file on m000_no
    *** ACTION NAME:(Auto-Flush Slave Action) 2007-10-26 11:15:46.171
    *** MODULE NAME:(MMON_SLAVE) 2007-10-26 11:15:46.171
    *** SERVICE NAME:(SYS$BACKGROUND) 2007-10-26 11:15:46.171
    *** SESSION ID:(564.28596) 2007-10-26 11:15:46.171
    *** KEWROCISTMTEXEC - encountered error: (ORA-00001: unique constraint (SYS.WRH$_SQLBIND_PK) violated
    *** SQLSTR: total-len=701, dump-len=240,
    STR={insert into wrh$_sqlbind   (snap_id, dbid, instance_number,    sql_id, child_number, name, position, dup_position,    datatype, datatype_string, character_sid,    precision, scale, max_length, was_captured,    last_captured, value_string, v}
    *** KEWRAFM1: Error=13509 encountered by kewrfteh;
    any suggestions what should be done, i need an immediate solution to stop these errors happening, i am unable to generate a snapshot report .

    Rajesh,
    your URLs are not viewable for most of the forum users, as they are in the Oracle Intranet. Better you use the internal help list for this question.
    Regards
    Rainer

  • Error in generating HTML output using Central Output Pro Server 5.5

    I am getting the following error while generating HTML output using the Output Pro Server. A new printer was created with the Physical Device as "HTML Template Generation - [html]" and added to the Job.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [400](1801) The printer name is invalid.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [3015]Error, unable to open printer.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [3008]Error, unable to get info about device 'PAYMENTADVICEHTM.html' attached to port '<nil>'.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [400](183) Cannot create a file when that file already exists.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [2]Error opening output device/file 'PAYMENTADVICEHTM.html'.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [400](6) The handle is invalid.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [3018]Error ending page on printer.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [210]Nothing was printed.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfserver.exe: [314]Agent exit message: [3018]Error ending page on printer.

    If I were to guess, I'd guess that your filename is invalid. How about removing all special characters (spaces, brackets, etc.) from the device name. Also, make sure your form was compiled for HTML.
    I haven't actually used the HTML driver, but these are general things you should do if you have trouble with any Central driver.
    Regards,
    Rob McDougall
    Indigo Pacific

Maybe you are looking for

  • How can I get my computer to show an accurate memory available?

    My MBP HD is showing I have 433GB available, however my Disk Repair shows 149GB available. I have my HDD partitioned into two drives, one with 429GB (which is how I know the 433 is incorrect), and the other at 70GB. I am running OS X 10.7.2. I have t

  • Can I "delete" channels so I don't have to flip through them?

    On Comcast I could delete certain channels from my line up - like all the news, religious and foreign-language stations.  Verizon has 10x more of these channels and sometimes I just like to flip through the channels.  Is there a way to delete them so

  • Installation of oracle 10g failure on OEL

    Hi all, i am trying to install oracle 10.2 on Oracle Enterprise linux 5 , but i am getting an error [oracle@localhost database]$ ./runInstaller Starting Oracle Universal Installer... Checking installer requirements... Checking operating system versio

  • Header text problem

    Hi, Im trying to display the header text of PO order in the last page of my form. But the text may be unlimited, so in that case i have kept the text-element printing that text in the main window of the last page instead of keeping it in a separate w

  • Migrate from 4.3.6 to 6.x questions

    CS-MARS-100E-K9 After migrating from 4.3.6 to 6.x and importing the configuration and data: Will all custom user reports still be there? Will all custom inspection rules, drop rules, etc still be there? I want to make sure I am not going to lose anyt