MisMatch on Signatures

Hi Folks!
I am developing an application to sign digital documents, in order to get it, I am using BouncyCastle. My problem resides at the moment that i want to verify the signature String generated with CMSSignedDataGenerator.
First Question:
Do is correct that BouncyCastle(CMSSignedDataGenerator) generated different signature Strings from the same document and with a same signer (PrivateKey)?.
Because i am getting different signature strings on the same document with the same signer (privatekey).
Second question:
When I try to verify with BouncyCastle the signature String, I get a successful verification.
But when i try to verify the signature string with java.Security.Signature class, throws me a unsuccessful verification.
Does anybody know the reason of this behavior?
I hope that you can help me.
Part of my code is:
//Add a signer
this.cmsSDG.addSigner(signer.getPrivateKey(), signer.getX509(), digestAlg);
               CertStore certCRLsStore = CertStore.getInstance("Collection", new CollectionCertStoreParameters(signer.getCertificateChain()), "BC");
               this.cmsSDG.addCertificatesAndCRLs(certCRLsStore);
//Sign document
CMSProcessableByteArray cmsPBA = new CMSProcessableByteArray(this.document);
this.signedDocument = this.cmsSDG.generate(cmsPBA, true, "BC");
//Verify with BC
if(signerInfo.verify(cert.getPublicKey(), "BC")
                              & signerInfo.verify(signer.getPublicKey(), "BC")){
                                   signValid = true;
//Verify with java.Security.Signature
Signature sig = Signature.getInstance("SHA1withRSA");
             sig.initVerify(signer.getPublicKey());
             sig.update(Utils.fileToByteArray(fileName));
             valid = sig.verify(Base64.decode(signature));
...

Hi Folks!
I am developing an application to sign digital documents, in order to get it, I am using BouncyCastle. My problem resides at the moment that i want to verify the signature String generated with CMSSignedDataGenerator.
First Question:
Do is correct that BouncyCastle(CMSSignedDataGenerator) generated different signature Strings from the same document and with a same signer (PrivateKey)?.
Because i am getting different signature strings on the same document with the same signer (privatekey).
Second question:
When I try to verify with BouncyCastle the signature String, I get a successful verification.
But when i try to verify the signature string with java.Security.Signature class, throws me a unsuccessful verification.
Does anybody know the reason of this behavior?
I hope that you can help me.
Part of my code is:
//Add a signer
this.cmsSDG.addSigner(signer.getPrivateKey(), signer.getX509(), digestAlg);
               CertStore certCRLsStore = CertStore.getInstance("Collection", new CollectionCertStoreParameters(signer.getCertificateChain()), "BC");
               this.cmsSDG.addCertificatesAndCRLs(certCRLsStore);
//Sign document
CMSProcessableByteArray cmsPBA = new CMSProcessableByteArray(this.document);
this.signedDocument = this.cmsSDG.generate(cmsPBA, true, "BC");
//Verify with BC
if(signerInfo.verify(cert.getPublicKey(), "BC")
                              & signerInfo.verify(signer.getPublicKey(), "BC")){
                                   signValid = true;
//Verify with java.Security.Signature
Signature sig = Signature.getInstance("SHA1withRSA");
             sig.initVerify(signer.getPublicKey());
             sig.update(Utils.fileToByteArray(fileName));
             valid = sig.verify(Base64.decode(signature));
...

Similar Messages

  • Wwv_flow.accept: SIGNATURE (parameter names) MISMATCH in Internet Explorer

    Hi,
    I have an multiple files upload applet embedded in my ApEx page.
    +if (_ie == true) {+
    document.writeln('<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="250" HEIGHT="250" NAME="fileupload" codebase="http://java.sun.com/update/1.4.2/jinstall-1_4-windows-i586.cab#Version=1,4,0,0">');
    +}+
    +else {+
    document.writeln('<APPLET CODE="jfileupload.upload.client.MApplet.class" JAVA_CODEBASE="./" ARCHIVE="/lib/jfileupload.jar,/lib/httpimpl.jar,/lib/chttpclient.jar,/lib/clogging.jar" WIDTH="250" HEIGHT="250" NAME="fileupload">');
    +}+
    +// BEGIN: Update parameters below for INTERNET EXPLORER, FIREFOX, SAFARI, OPERA, MOZILLA, NETSCAPE 6+ support.+
    document.writeln('<PARAM NAME=CODE VALUE="jfileupload.upload.client.MApplet.class">');
    document.writeln('<PARAM NAME=CODEBASE VALUE="./">');
    document.writeln('<PARAM NAME=ARCHIVE VALUE="lib/jfileupload.jar,lib/httpimpl.jar,lib/chttpclient.jar,lib/clogging.jar">');
    document.writeln('<PARAM NAME=NAME VALUE="fileupload">');
    document.writeln('<PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">');
    document.writeln('<PARAM NAME="scriptable" VALUE="true">');
    document.writeln('<PARAM NAME="url" VALUE="http://localhost:8080/upload/process.jsp">');
    document.writeln('<PARAM NAME="paramfile" VALUE="uploadfile">');
    document.writeln('<PARAM NAME="param1" VALUE="todo">');
    document.writeln('<PARAM NAME="value1" VALUE="upload">');
    document.writeln('<PARAM NAME="mode" VALUE="http">');
    +// END+
    +if (_ie == true) {+
    document.writeln('</OBJECT>');
    +}+
    +else {+
    document.writeln('</APPLET>');
    +}+
    and everything works just fine in Firefox. In IE the applet & upload works also just fine, but when pressing any of the buttons / links that do doSubmit(...) I get wwv_flow.accept: SIGNATURE (parameter names) MISMATCH. Checked the logs
    wwv_flow.accept: SIGNATURE (parameter names) MISMATCH
    VARIABLES IN FORM NOT IN PROCEDURE: FILEUPLOAD
    NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:
    DAD name: apex
    PROCEDURE  : wwv_flow.accept
    URL        : http://localhost:7777/pls/apex/wwv_flow.accept
    PARAMETERS :
    +===========+
    P_FLOW_ID:
    +300+
    P_FLOW_STEP_ID:
    +406+
    P_INSTANCE:
    +640383331330048+
    P_PAGE_SUBMISSION_ID:
    +1665117950048907+
    P_REQUEST:
    UPDATE
    +...+
    P_T19:
    +20+
    P_ARG_VALUES:
    +4A2329731083629E48F9E21DBF30E047+
    FILEUPLOAD:
    +jfileupload.upload.client.MApplet[panel1,0,0,400x250,layout=java.awt.BorderLayout,rootPane=javax.swing.JRootPane[,0,0,400x250,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]+
    P_MD5_CHECKSUM:
    ENVIRONMENT:
    +============+
    PLSQL_GATEWAY=WebDb
    GATEWAY_IVERSION=3
    SERVER_SOFTWARE=Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server
    GATEWAY_INTERFACE=CGI/1.1
    SERVER_PORT=7777
    SERVER_NAME=localhost
    REQUEST_METHOD=POST
    QUERY_STRING=
    PATH_INFO=/wwv_flow.accept
    SCRIPT_NAME=/pls/apex
    REMOTE_HOST=
    REMOTE_ADDR=10.10.1.27
    SERVER_PROTOCOL=HTTP/1.1
    REQUEST_PROTOCOL=HTTP
    REMOTE_USER=APEX_PUBLIC_USER
    ORACLE_SSO_USER=
    OSSO_IDLE_TIMEOUT_EXCEEDED=
    OSSO_USER_GUID=
    HTTP_CONTENT_LENGTH=18694
    HTTP_CONTENT_TYPE=multipart/form-data; boundary=---------------------------7d91d73a3d06d6
    HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 3.5.30729; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; .NET CLR 3.0.30729)
    HTTP_HOST=localhost:7777
    HTTP_ACCEPT=image/gif, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xamlxml, application/x-ms-xbap, application/x-shockwave-flash, application/x-silverlight, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*+
    HTTP_ACCEPT_ENCODING=gzip, deflate
    HTTP_ACCEPT_LANGUAGE=en-US,nl-BE;q=0.7,fr-BE;q=0.3
    HTTP_ACCEPT_CHARSET=
    HTTP_IF_MODIFIED_SINCE=
    HTTP_REFERER=http://localhost/pls/apex/f?p=300:406:640383331330048::NO:406:P406_SALE_ID:41
    HTTP_SOAPACTION=
    HTTP_ORACLE_ECID=1257265252:77.73.101.136:8384:8244:2,0
    HTTP_ORACLE_CACHE_VERSION=
    HTTP_AUTHORIZATION=
    WEB_AUTHENT_PREFIX=
    DAD_NAME=apex
    DOC_ACCESS_PATH=docs
    DOCUMENT_TABLE=wwv_flow_file_objects$
    PATH_ALIAS=
    REQUEST_CHARSET=WE8MSWIN1252
    REQUEST_IANA_CHARSET=WINDOWS-1252
    SCRIPT_PREFIX=/pls
    +...+
    and looks like IE submits also the fileupload OBJECT object :(. Anyone hit this issue before? Any idea's how can I make IE ignore / not submit that object?
    Thanks in advance,
    Florin

    Florin:
    Is the 'NAME' attribute required for the APPLET ? If not, just remove it or specify 'f01' (assuming you don't have any other apex_item generated items in the page) instead.
    Varad

  • MDX execn error: "Dimension Signature mismatch"

    Hi All,
    I'm trying to run an MDX script against Essbase, and I get the below message:
    "Dimension Signature mismatch in function [SET CONSTRUCTOR]"
    Unexpected Essbase error 1260054.
    The MDX query is as below, the error occurs in line 5:
    select
    {[CurFcst@AOP_FX],
    [Reporting],
    [Gross Units]
    ON COLUMNS,
    [Product].Levels(0).Members
    ON ROWS
    from ABANSWER.REPORT
    where
         ([Period].[Q3],
         [InterCompany],
         [Management Unit].[TWMU],
         [Legal Entity],
         [Cost Center],
         [Set Of Books],
         [Years].[FY10],
         [Version].[Current])     
    Please let me know if anyone has any information that can help me.
    Thanks,
    Anindyo

    Hi,
    Post here...Essbase
    Will get proper solution for your issue :-)
    Hope this helped
    Regards,
    Srikanth

  • Wwv_flow.accept: SIGNATURE (parameter names) MISMATCH

    Hi folks,
    I'm getting an below error when submitting page:
    wwv_flow.accept: SIGNATURE (parameter names) MISMATCH
    VARIABLES IN FORM NOT IN PROCEDURE: P3_TEXAREA_TOM_REM
    NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:
      DAD name: he
      PROCEDURE  : wwv_flow.accept
      URL        : http://url/pls/he/wwv_flow.accept
      PARAMETERS :
      ===========My page is only a test page, where I have only 1 item defined with below settings:
    ITEM TYPE: TEXTAREA called "P3_TEXAREA_TOM"
    In "Post Element Text" I've entered:
    <div>
    <input readonly type="text" name="P3_TEXAREA_TOM_REM" size="3" maxlength="3" value="100"> characters left
    <br>
    </div>Above was entered as a placer for counting available characters.
    If above "Post Element Text" is cleared, page submits sucessfully.
    Any idea how to fix it?
    Thanks,
    Tomas

    Hi Jari,
    I have an additional task, where I'm trying to implement character count for this test text field, as standard one, seems to be not working properly, when you use a "return" character (as the carrige returns should be counted as 2) which later causes:
    ORA-12899: value too large for column "QTEST"."TEST"."TEXTVAR100" (actual: 118, maximum: 100)while my textarea is restricted to 100 character only!
    Here is my settings:
    1 page item:
    Name: P3_TEXAREA_TOM,
    Type: TEXTAREA
    Maximum Width: 100
    HTML Form Element Attributes: onKeyDown="textCounter('P3_TEXAREA_TOM','P3_TEXAREA_TOM_REM',100)" onKeyUp="textCounter('P3_TEXAREA_TOM','P3_TEXAREA_TOM_REM',100)" onBlur="trim_field('P3_TEXAREA_TOM',100)" Post Element Text:
    <div>
    <input disabled type="text" name="P3_TEXAREA_TOM_REM" size="3" maxlength="4" value="100"> characters left
    <br>
    </div>Other properties for item are default.
    Page header javascript:
    <script type="text/javascript">
    function trim(str, chars) {
         return ltrim(rtrim(str, chars), chars);
    function ltrim(str, chars) {
         chars = chars || "\\s";
         return str.replace(new RegExp("^[" + chars + "]+", "g"), "");
    function rtrim(str, chars) {
         chars = chars || "\\s";
         return str.replace(new RegExp("[" + chars + "]+$", "g"), "");
    function trim_field(field_name, maxlimit) {
         <!-- alert(document.getElementById(field_name).value.length); -->
       document.getElementById(field_name).value = trim(document.getElementById(field_name).value);
         <!-- alert(document.getElementById(field_name).value.length); -->
       if (document.getElementById(field_name).value.length > maxlimit)
         document.getElementById(field_name).value = document.getElementById(field_name).value.substring(0, maxlimit);
         <!-- alert(document.getElementById(field_name).value.length); -->
    function textCounter(field_name, cntfield_name, maxlimit) {
      l_field = document.getElementById(field_name);
      l_cntfield = document.getElementById(cntfield_name);
      if (l_field.value.length > maxlimit)
         // if too long...trim it!
         // first try to trim it
         l_field.value = trim(l_field.value);
         if (l_field.value.length > maxlimit)
            l_field.value = l_field.value.substring(0, maxlimit);
            alert('Maximum characters reached!');
         else
            l_cntfield.value = maxlimit - l_field.value.length;
         <!-- alert(l_field.value.length); -->
      // otherwise, update 'characters left' counter
      else
         l_cntfield.value = maxlimit - l_field.value.length;
    </script>On page is also 1 submit button which inserts record into below table:
    In database I have 1 test table:
    create table test
    ( text        clob,
      textvar100  varchar2(100)
    );Page Insert process (once SUBMIT button is pressed):
    insert into test
    ( text,
      textvar100
    values
    ( :P3_TEXAREA_TOM,
      :P3_TEXAREA_TOM
    );If you enter string with length <= 100 characters then all works fine, except when you use few carriage returns.
    Any idea how to fix this dodgy issue?
    Thanks,
    Tomas

  • Signature Mismatch

    Hallo,
    When I run my portlet i get the following error :
    CAREERS.jobposting_portlet.process_attribute_search: SIGNATURE (parameter names) MISMATCH
    VARIABLES IN FORM NOT IN PROCEDURE:
    NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM: P_ACTION,P_COUNTRY,P_JOBFAM,P_BACK_URL,P_PAGE_URL,P_REFERENCE_PATH
    Looking at the procedure and the calling procedure,
    every parameter in the procedure is also in
    the calling procedure.
    What went wrong ?
    Filip Huysmans.

    I just wanted to gave you the html-code, so
    you can see for yourself what has been
    generated :
    <FORM ACTION="http://bart/pls/jobgo/CAREERS.jobposting_portlet.process_attribute_search" METHOD="POST">
    <TABLE >
    <TR>
    <TD>Country : </TD>
    <TD><INPUT TYPE="text" NAME="p_country"></TD>
    </TR>
    <TR>
    <TD>Job Family : </TD>
    <TD><INPUT TYPE="text" NAME="p_jobfam"></TD>
    </TR>
    <INPUT TYPE="hidden" NAME="p_back_url" VALUE="null">
    <INPUT TYPE="hidden" NAME="p_page_url" VALUE="http://bart/servlet/page?_pageid=56&_dad=jobgo&_schema=PORTAL30&_mode=3">
    <INPUT TYPE="hidden" NAME="p_reference_path" VALUE="106_JOB_POSTING_7669726">
    <TR>
    <TD ALIGN=center COLSPAN=2><INPUT TYPE="submit" NAME="p_action" VALUE="Search"></TD>
    </TR>
    </TABLE>
    </FORM>

  • HTTP-404 \nwwv_flow.accept: SIGNATURE (parameter names) MISMATCH\nVARIABLES

    Hello Experts,
    Im getting following error on my Apex Application :-
    [Mon Jan 17 12:23:56 2011] [error] [client 148.197.8.17] [ecid: 85107896978,1] mod_plsql: /pls/jdbtest/wwv_flow.accept HTTP-404 \nwwv_flow.accept: SIGNATURE (parameter names) MISMATCH\nVARIABLES IN FORM NOT IN PROCEDURE: CHECKBOX\nNON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM: \n
    I've got a form which a has a select list, depending on the select list, Check boxes are displayed on the form
    I've got the following code in "HTML Form Element Attributes" for the Select list Item :-
    onchange="setCheckbox(this, 'P3_CHECKBOX_ITEM');"
    And I've got the following AJEX to create the Checkboxes :-
    function setCheckbox(pThis, pItem){
    var l_code = '';
    var l_code1 = '';
    // Get checkbox name
    rName = $x(pItem).firstChild.name;
    alert(rName);
    // Fire AJAX
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=CHECKBOX_LIST',0);
    get.add('F109_SELECTLIST_ITEM_1',pThis.value);
    gReturn = get.get('XML');
    if (gReturn)
    var values = gReturn.getElementsByTagName('value');
    var messages = gReturn.getElementsByTagName('message');
    // Build the checkbox
    for (i=0; i<values.length; i++) {
    var rValue = values.firstChild.nodeValue;
    var rMessage = messages[i].firstChild.nodeValue;
    if (rValue != 1) {
    // l_code+='<DIV ID="P3_CHECKBOX_ITEM">Roles</DIV>';
    //alert(rName);
    l_code+='<input id='+pItem+' type=checkbox value='+rValue+' name="checkbox">';
    l_code+='<label for='+pItem+'_'+i+'>'+rMessage+'</label>
    if (l_code=='')
    l_code1 += '<DIV ID="P3_CHECKBOX_ITEM"></DIV>';
    else
    l_code1 = '<br><DIV ID="P3_CHECKBOX_ITEM">Roles</DIV>'+l_code+'</br>';
    $x(pItem).innerHTML = l_code1;
    Everything works as it should I don't tick any of the check box, but as soon as I tick the check boxes I get the above mentioned Error.
    Can anyone please help?
    Thanks

    You are trying to create a checkbox on the fly and submit it with the page.
    But then APEX checks all the submitted items, detects your checkbox and doesn't know where to put it. So it raises an exception.
    You should disable your checkbox before submit, then it won't get sent back to the server. You also could remove the "name" attribute of your checkbox, APEX will ignore it then. Whatever suits your needs best.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • HTTP-404 SIGNATURE (parameter names) MISMATCH

    Hello,
    When trying to upload files in APEX Application, I get "HTTP 404 Not Found". In the Apache error log file I find the following:
    mod_plsql: /dmgrdev/f HTTP-404 \nf: SIGNATURE (parameter names) MISMATCH\nVARIABLES IN FORM NOT IN PROCEDURE: P\nNON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM: \n
    mod_plsql: /dmgrdev/wwv_flow.accept HTTP-404 ORA-00942: table or view does not exist\n
    I've tried editing DADs file but this has not seemed to help. Is there something I'm missing? Please help.
    Thanks in advance,
    Jayna

    It turns out that this was occuring due to missing rights. If you're not setting PlsqlDatabaseUsername in dads.conf file, then you have to grant necessary rights used by APEX_PUBLIC_USER or HTMLDB_PUBLIC_USER.
    Thanks
    Jayna

  • Batch_insert: SIGNATURE (parameter names) MISMATCH,

    hai.....
    I have written a procedure for enter the input data... that's works well..
    in that procedure i am haveing 9 input parameters.....
    the second procedure is for inserting the parameter which i entered....
    i entered thedata and i try to click
    submit button it gives the error...
    batch_insert: SIGNATURE (parameter names) MISMATCH
    VARIABLES IN FORM NOT IN PROCEDURE: B_TYPE,B_ID,START_DATE,DUR,T_ID,M_ID,E_ID,P_ID,L_ID
    NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:
    DAD name: atc
    PROCEDURE : batch_insert
    URL : http://suntechchn:7777/pls/atc/batch_insert
    PARAMETERS :
    ============
    B_TYPE:
    PSC
    B_ID:
    EO999/00-01
    START_DATE:
    21-aug-01
    DUR:
    5
    T_ID:
    DBA TRACK
    M_ID:
    O8IDBA
    E_ID:
    AJAY
    P_ID:
    ORACLE
    L_ID:
    BANGALORE
    kindly help me...
    thanks in advance
    null

    I also get this same error. I only get this error when using content areas. Any help would be appreciated.

  • SIGNATURE (parameter names) MISMATCH

    I wrote the procedure to pass a parameter to another procedure  p_sel_crse_search
    PROCEDURE p_enter_term
    IS
    BEGIN
      ---- HTP.p ('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
       HTP.p (
          '<FORM ACTION="/test/bzskfcls.p_sel_crse_search" METHOD="POST" onSubmit="return checkSubmit()">');
       HTP.p (
          '<INPUT TYPE="hidden" NAME="p_sel_crse_search" VALUE="p_sel_crse_search">');
       HTP.p (
          '<TABLE  class="dataentrytable" summary="This layout table is used for term selection."width="50%"><CAPTION class="captiontext">Search by Term: </CAPTION>');
       HTP.p ('<TR>');
       HTP.p (
          '<TD class="dedefault"><LABEL for=term_input_id><SPAN class="fieldlabeltextinvisible">Term</SPAN></LABEL>');
       HTP.p ('<SELECT NAME="p_term" SIZE="1"  ID="term_input_id">');
       HTP.p ('<OPTION VALUE="">None');
       HTP.p ('<OPTION VALUE="201410">Fall 2013');
       HTP.p ('<OPTION VALUE="201320">Spring 2013');
       HTP.p ('</SELECT>');
       HTP.p ('</TD>');
       HTP.p ('</TR>');
       HTP.p ('</TABLE>');
       HTP.p ('<BR>');
       HTP.p ('<BR>');
       HTP.p ('<INPUT TYPE="submit" VALUE="Submit">');
       HTP.p ('<INPUT TYPE="reset" VALUE="Reset">');
       HTP.p ('</FORM>');
    END;
    PROCEDURE p_sel_crse_search(p_term IN stvterm.stvterm_code%type)
       IS
          term_arr   OWA_UTIL.ident_arr;
       BEGIN
         htp.p('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
           ---term_arr (1) := 201320;
            term_arr (1) := p_term;
          -- OBS term_arr(1) := '201320';
          P_CrseSearch_Advanced(term_in => term_arr);
          --P_CrseSearch (term_in => term_arr);
       END p_sel_crse_search;
    I am getting the following error
    Failed to parse target procedure
    bzskfcls.p_sel_crse_search: SIGNATURE (parameter names) MISMATCH
    VARIABLES IN FORM NOT IN PROCEDURE: P_SEL_CRSE_SEARCH
    NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:
      DAD name: test
      PROCEDURE  : bzskfcls.p_sel_crse_search
      URL        : http://dev-ssb-vip.bowdoin.edu:80/test/bzskfcls.p_sel_crse_search
      PARAMETERS :
      ===========
      P_SEL_CRSE_SEARCH:
       p_sel_crse_search
      P_TERM:
       201320
      ENVIRONMENT:
      ============
        PLSQL_GATEWAY=WebDb
        GATEWAY_IVERSION=2
        SERVER_SOFTWARE=Oracle-Application-Server-11g
        GATEWAY_INTERFACE=CGI/1.1
        SERVER_PORT=80
        SERVER_NAME=dev-ssb-vip.bowdoin.edu
        REQUEST_METHOD=POST
        QUERY_STRING=
        PATH_INFO=/bzskfcls.p_sel_crse_search
        SCRIPT_NAME=/test
        REMOTE_HOST=
        REMOTE_ADDR=139.140.238.250
        SERVER_PROTOCOL=HTTP/1.1
        REQUEST_PROTOCOL=HTTP
        REMOTE_USER=www2_user
        ORACLE_SSO_USER=
        OSSO_IDLE_TIMEOUT_EXCEEDED=
        OSSO_USER_GUID=
        HTTP_CONTENT_LENGTH=49
        HTTP_CONTENT_TYPE=application/x-www-form-urlencoded
        HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/4.0; GTB7.4; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3)
        HTTP_HOST=dev-ssb-vip-test.bowdoin.edu
        HTTP_ACCEPT=application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, */*
        HTTP_ACCEPT_ENCODING=gzip, deflate
        HTTP_ACCEPT_LANGUAGE=en-US
        HTTP_ACCEPT_CHARSET=
        HTTP_COOKIE=SESSID=MEJIRE44MTgyMDQy; __utma=253559834.1105023054.1363618289.1370889203.1370894368.70; __utmz=253559834.1370894368.70.30.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=bopwdoin%20college; IDMSESSID=6FCCE37AD1073BAE58A72D6471FB4ABE; sghe_magellan_username=Mzg1NzQ=; sghe_magellan_locale=en_US
        HTTP_IF_MODIFIED_SINCE=
        HTTP_REFERER=https://dev-ssb-vip-test.bowdoin.edu/test/bzskfcls.p_enter_term
        HTTP_SOAPACTION=
        HTTP_ORACLE_ECID=
        HTTP_ORACLE_CACHE_VERSION=
        HTTP_AUTHORIZATION=
        WEB_AUTHENT_PREFIX=
        DAD_NAME=test
        DOC_ACCESS_PATH=docs
        DOCUMENT_TABLE=wpg_document
        PATH_ALIAS=
        REQUEST_CHARSET=AL32UTF8
        REQUEST_IANA_CHARSET=UTF-8
        SCRIPT_PREFIX=
        HTTP_IF_MATCH=
        HTTP_CACHE_CONTROL=
        SOAP_BODY=
        HTTP_X_ORACLE_DEVICE_CLASS=
        HTTP_X_ORACLE_DEVICE_ORIENTATION=
        HTTP_X_ORACLE_DEVICE_MAXDOCSIZE=
        HTTP_X_ORACLE_DEVICE=
        HTTP_X_ORACLE_ORIG_ACCEPT=
        HTTP_X_ORACLE_ORIG_USER_AGENT=
        HTTP_X_ORACLE_USER_LOCALE=
        HTTP_X_ORACLE_USER_NAME=
        HTTP_X_ORACLE_USER_DISPLAYNAME=
        HTTP_X_ORACLE_USER_USERKIND=
        HTTP_X_ORACLE_USER_AUTHKIND=
        HTTP_X_ORACLE_USER_DEVICEID=
        HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE1=
        HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE2=
        HTTP_X_ORACLE_USER_LOCATION_ADDRESSLASTLINE=
        HTTP_X_ORACLE_USER_LOCATION_BLOCK=
        HTTP_X_ORACLE_USER_LOCATION_CITY=
        HTTP_X_ORACLE_USER_LOCATION_COMPANYNAME=
        HTTP_X_ORACLE_USER_LOCATION_COUNTY=
        HTTP_X_ORACLE_USER_LOCATION_STATE=
        HTTP_X_ORACLE_USER_LOCATION_POSTALCODE=
        HTTP_X_ORACLE_USER_LOCATION_POSTALCODEEXT=
        HTTP_X_ORACLE_USER_LOCATION_COUNTRY=
        HTTP_X_ORACLE_USER_LOCATION_TYPE=
        HTTP_X_ORACLE_USER_LOCATION_X=
        HTTP_X_ORACLE_USER_LOCATION_Y=
        HTTP_X_ORACLE_SERVICE_HOME_URL=
        HTTP_X_ORACLE_SERVICE_PARENT_URL=
        HTTP_X_ORACLE_HOME_URL=
        HTTP_X_ORACLE_MODULE_CALLBACK_URL=
        HTTP_X_ORACLE_MODULE_CALLBACK_LABEL=
        HTTP_X_ORACLE_CACHE_USER=
        HTTP_X_ORACLE_CACHE_SUBID=
        HTTP_X_ORACLE_CACHE_AUTH=
        HTTP_X_ORACLE_CACHE_DEVICE=
        HTTP_X_ORACLE_CACHE_LANG=
        HTTP_X_ORACLE_CACHE_ENCRYPT=
        HTTP_X_ORACLE_ASSERT_USER=

    Check if the stvterm.stvterm_code%type is of type varchar2 or number? The parameter p_term value is 201320 which might be coming as varchar2 while the svtterm_code might be a number or vice versa and hence causing the mismatch.
    Rgds
    San

  • JSF-Hibernate signature mismatch

    Hi all, I am performing some experiments that use both JSF and Hibernate technologies (with JDev10.1.3. preview). A single class that uses hibernate runs without any problems and gets data from Db as list. If i try using this class as a bean for a JSF datatable I get the following error:
    javax.servlet.jsp.JspException: java.lang.NoSuchMethodError: void org.objectweb.asm.ClassVisitor.visit(int, int, java.lang.String, java.lang.String, java.lang.String[], java.lang.String)     at com.sun.faces.taglib.html_basic.DataTableTag.doEndTag(DataTableTag.java:501)...
    Tha API declared signature for the 'visit' method is
    (int version, int access, String name, String signature, String superName, String[] interfaces)
    but hibernate-related libraries allow only the 'wrong' signature. My question is: where does the JSF framework touch this class? The hibernate framework alone does not give any exception, thus there must be some problem with JSF, (maybe a library problem).
    Any help would be really appreciated.
    Thanks in advance

    I gave a look at your article and noticed we used different hibernate versions (I was using hibernate 3.0). I downloaded the libraries you suggested and used them. No more errors appear! Hamletic question: is it 'normal' that the latest version of a product is 'worse' (well, for me it is) than the previous ones?
    Thanks a lot

  • ODI-1444: The master repository signature mismatch

    ODI-1444: The master repository signature specified by the client 1346135525731|0 does not match the master repository signature of the agent 1346147892124|0.
    How to overcome this error?

    ODI-01444: The master repository signature specified by the client {0} does not match the master repository signature of the agent {1}.
    Cause: The client and the agent are not using the same master repository
    Action: Verify the client and the agent are using the same master repository. Verify that the client is calling the correct agent.
    pls check http://docs.oracle.com/cd/E25178_01/core.1111/e10113/chapter_odi_messages.htm

  • Digital Signatures from VB

    Hello,
    I am trying to digitally sign a bunch of pdfs from LotusScript (it is VB6-like). Till now I am able to insert a signature field in a document but not sign that field. My problem is I could not find a way to construct the required SignatureInfo object for the signatureSign function.
    Until now I tried to:
    - pass {password: "xxxx" reason: "No reason", contactInfo: "[email protected]"}
    This would result in a "Wrong argument type" error
    - create a custom type oInfo with members password,reason and so on, then dimming and populating a variable of that type and passing it to the signatureSign. Would return me a Type mismatch error.
    - calling the signatureInfo method of an empty signature field thus obtaining a "valid" SignatureInfo object, but when I try to assaing some values to a property I get "PASSWORD is not an instance member" error. This happens with reason, name or any other property
    - calling the signatureInfo method of an already signed field. I could read the name or reason properties, but trying to overwrite the password prop would result again in "PASSWORD is not an instance member" error.
    The only way I would not get an error, but Acrobat would still silently fail to sign the field, is if I pass an array to the signatureSign function. But since I have no idea in what order the SigInfo object expects its properties, couldnt test this scenario further.
    Like I said LotusScript is vb-like, so any vb or vb.net example of the signatureSign function, or usage of any other generic JS object, would be extremely halpful!
    Thanks
    P.S.: Acrobat Version is 8.1 Prof.

    Thanks for your reply PDL. After two days research it did point me in the right way.
    For everyone having the same problem here is my solution:
    You wont be able to sign a document using only vb code, since, for example, the securityHandler.login function is restricted and may be executed only "inside" acrobat (i guess reading the documentation carefully does help!). So one solution would be to create a trusted function in acrobat's javascript folder and use that from vb with fields.ExecuteThisJavaScript("myProtectedFunction(a,b,c,d,...);").
    I guess executing a menu item would also work, but i couldnt find a way to pass any arguments this way.
    Still no idea on how to construct those javascript generic objects in vb, so any ideas would be greatly appreseated

  • Exclaimer manager signature does not update sent items for outlook 2013 clients when using cached mode

    Hi
    I have Signature Manager Exchange Edition 2.0.3.0 installed on the hub servers.
    I have enabled  Sent Items update.
    some clients are not getting signature update in the sent items of outlook while using cached mode.
    from OWA, and MS Outlook when connected online, the signature is updated in the sent items.
    I have two CAS servers and two mailbox servers. all with Exchange 2013 SP1
    I tested each CAS server for the URLs of Autodiscover and EWS, with no errors or warnings.
    I also test Autodiscover through
    https://testconnectivity.microsoft.com . I go successful result.
    Outlook clients are updated to the latest version 15.0.4701.1000
    for outlook clients; I deleted outlook profile, deleted outlook folder in the user profile, re-created the  outlook profile, with no luck.
    from Exclaimer event logs on the Hub servers. the sent items update is successfully updating clients. below is the screenshot of an event for one email message which is successfully updated from exclaimer but it did not update on the client outlook while
    using cached mode.
    Since the issue is with multiple users, I am searching for a centralized solution 
    Mashhour Faraj

    Dear Mashhour
    Here you go 
    Employees can see their email signatures and disclaimers
    With Exchange 2013, a Microsoft Outlook user can’t see any added email signatures or disclaimers as they are added to an email when it passes through the Exchange server.
    Signature Manager Exchange Edition lets email users see their email signature and corporate disclaimer within the Sent Items of their inbox, giving them visual confirmation of the processed email
    Source - 
    http://blog.exclaimer.com/exclaimer-signature-manager-vs-microsoft-exchange-2013/
    Updating to the latest version of signature manager exchange edition will help you to resolve this problem for sure 
    Or you need to contact them to find a solution on this .
    I'm pretty much sure that this problem is related with some version mismatch on their s/w on exchange 2013 which is causing this issue.
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish
    (MVP)

  • ClassLoader "argument type mismatch" problem

    I've got a problem I was hoping someone would be able to help me out with, or at least explain why I'm getting the problem.
    Here's the scenario:
    *I've got an abstract class, BETI public abstract class BETI*I've got another class, TMPC, which extends BETI and implements others.
    public class TMPC extends BETI implements .....*I've got a third class ABT, which has a method that looks like:
    public void addListener(BETI _listener);*In a fourth class, I've been able to successfully load ABT, but I'm having problems invoking the addListener method.
    Here's the segment:
    Class customLoggerClass = classLoader.loadClass("blah.ABT");
    Object customLogger = customLoggerClass.newInstance();
    TMPC gui = new TMPC();
    Object[] oneArgument = new Object[1];
    Class beti = classLoader.loadClass("blah.BETI");
    Class[] addBuildListenerParameters = {beti};
    Method addBuildListenerMethod = customLoggerClass.getMethod("addBuildListener",addBuildListenerParameters);
    oneArgument[0] = gui;
    addBuildListenerMethod.invoke(customLogger,oneArgument); //here is where the argument type mismatch happensAny idea on why I'm getting this? Obviously I'm overlooking something simple, but....
    Thanks in advance-

    Presuming I did it right...
    Using
    c0 = default loader
    c1 = your loader
    >
    Object customLogger =
    customLoggerClass.newInstance();
    TMPC gui = new TMPC();This loads c0.BETI and c0.TMPC
    Object[] oneArgument = new Object[1];
    Class beti = classLoader.loadClass("blah.BETI");I bet this loads c1.BETI
    Class[] addBuildListenerParameters = {beti};
    Method addBuildListenerMethod =
    customLoggerClass.getMethod("addBuildListener",addBuild
    istenerParameters);
    oneArgument[0] = gui;
    addBuildListenerMethod.invoke(customLogger,oneArgument)
    //here is where the argument type mismatch happensSo here the signature is
    addBuildListener(c1.BETI)
    and you are calling it with
    addBuildListener(c0.TPMC)
    And that can only resolve to c0.BETI which doesn't match.

  • Help!!input pfx,p12 to jks keystore get error "Signature Algorithm mismach"

    The following is the question that I met ~ Who can help me to solve the problem?
    use j2sdk1.4.02
    I'm tring to use keytool to input my company's pfx file to jks format keystore ,
    and I'm getting keytool error "Signature Algorithm mismatch" .
    I also tried to import the pfx file to Netscape and export to p12 format ,
    and still got error "Signature Algorithm mismatch".
    When I using following command ..
    keytool -list -keystore xxx.p12 -storetype PKCS12
    It still throws keytool error "Signature Algorithm mismatch".
    And I checked the pfx(p12) file with IE , the Signature Algorithm Name is RSA.
    What problem whith the p12 file?
    Is keytool can't support RSA Signature Algorithm, or anything else??
    Finally,maybe all the problems are that I have wrong idea, and hope someone can instruct me.
    Thanks for help..(I'm looking for this question several days.)
    Vincent ...(from Taiwan)

    I'd just purchase and use KeyStore Explorer. $30 for single-user.
    It easily converts between pkcs12 and jks formats. I had no problems generating keys/certs in this tool and exporting them to JKS keystores for use with Java as well as into OpenSSL for use with Apache, etc.

Maybe you are looking for