App Connect

 View Only
Expand all | Collapse all

There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12

  • 1.  There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12

    Posted Fri December 09, 2022 09:32 AM
    I'm trying to upgrade IBM IIB version 10 to IBM ACE12, but my PGP package throws Errors as follow:

     

    I had put in the file in these locations

    According to the error it says com.ibm.broker.supportpac.pgp.PGPDecrypter cannot be resolved

    Below is the class from PGPSupportPac.jar file. I am not sure if it is looking for .class file or something else as I only see PGPDecrypter.msgnode and PGPEncrypter.msgnode


    any help or information will be appropriated,

    thanks,
    ruimin

     

     

     

     

     

     

     

     

     

     

     



    ------------------------------
    ruimin tan
    ------------------------------


  • 2.  RE: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12

    Posted Mon December 12, 2022 02:59 AM
    Hello Ruimin,

    you have to copy the file "PGPSupportPac.jar" to "tools\plugins" not to "tools\dropins".

    Best Regards,
    Ralf


    ------------------------------
    Ralf Kronenberg
    Principal Integration Consultant, PMP
    CAS Concepts and Solutions AG
    Frankfurt
    ------------------------------



  • 3.  RE: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12

    IBM Champion
    Posted Tue December 13, 2022 02:14 AM
    Hi Ruimin

    Is it working now?
    As Ralf already mentioned, the jar should end up here

    Runtime: If you have configured the node to use a dedicated lilPath, copy the com.ibm.broker.supportpac.PGP.jar from .\lib to that directory, else copy com.ibm.broker.supportpac.PGP.jar from .\lib to %MQSI_BASE_FILEPATH%\server\jplugin for windows or to $MQSI_BASE_FILEPATH/server/jplugin for linux. The supporting classes (bc*.jar) need to be copied to the %MQSI_REGISTRY%\shared-classes folder.

    Toolkit: Copy the contents from ./plugins to %MQSI_BASE_FILEPATH%\tools\plugins for windows or to $MQSI_BASE_FILEPATH/tools/plugins for linux



    ------------------------------
    Regards
    Matthias Blomme
    ------------------------------



  • 4.  RE: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12

    Posted Wed December 14, 2022 01:10 PM
    Hi Matthia,

    the errors message was gone now. I'm working on the real message test to see if the encryption work or not.

    thanks for your both help.

    ruimin

    ------------------------------
    ruimin tan
    ------------------------------



  • 5.  RE: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12

    Posted Thu December 15, 2022 11:22 PM
    when I test it on the real message, it throws the another error message. the information is as follow:

    The method ''evaluate'' in Java node ''PGP Encrypter'' has thrown the following exception: '<com.ibm.broker.plugin.MbUserException class:com.ibm.broker.supportpac.pgp2.impl.PGPEncrypterNode method:evaluate source:Message Encryption Failed! key:PGP Policy not found: PGP_SDR_CFG_SERVICE. Please verify the UserDefined Configurable service. :: null message: Unable to resolve message: Source: Message Encryption Failed!Key: PGP Policy not found: PGP_SDR_CFG_SERVICE. Please verify the UserDefined Configurable service. :: null >'.  

     

    The method ''evaluate'' of the Java node has thrown an exception. Examine previous error messages for details of the cause of the problem.  

     

    This error is generated by the Java node API.  It can occur in a Java Compute node or a Java user-defined node. If the node is a user-defined node, contact the node provider for further details. 

     

    Java exception: ''com.ibm.broker.plugin.MbUserException''; thrown from class name: ''com.ibm.broker.supportpac.pgp2.impl.PGPEncrypterNode'', method name: ''evaluate'', file: ''PGPEncrypterNode.java'', line: ''523''; trace text: ''PGP Policy not found: PGP_SDR_CFG_SERVICE. Please verify the UserDefined Configurable service. :: null'';  resource bundle: ''Message Encryption Failed!''; key: ''PGP Policy not found: PGP_SDR_CFG_SERVICE. Please verify the UserDefined Configurable service. :: null''; inserts(optional): '', '32003600310036003400000054006500730074005F004E006F00640065002E004C006F006B00650073006800000043003A005C00630069005C00700072006F0064007500630074002D006200750069006C0064005C0057004D0042005C007300720063005C00440061007400610046006C006F00770045006E00670069006E0065005C0050006C007500670069006E0049006E0074006500720066006100630065005C006A006C0069006E006B006C00690062005C0063006F006D005F00690062006D005F00620072006F006B00650072005F0070006C007500670069006E005F0043004D00620053006500720076006900630065002E0063007000700000003100340039003400000049006D0062004A0061007600610045007800630065007000740069006F006E005500740069006C0073003A003A0075007300650072004D00620045007800630000000000', '%12', '%13', '%14', '%15', '%16', '%17', '%18', '%19'  

     

    The message contains that data associated with a Java exception.  

     

     

     

    I had created the policy as userdefined and the properties, Here is the screen shot of it.


    Thanks,
    ruimin

    ------------------------------
    ruimin tan
    ------------------------------



  • 6.  RE: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12

    IBM Champion
    Posted Fri December 16, 2022 01:32 AM
    Hi Ruimin

    Can you try setting the PGP_Policy project as the default project and accessing the policy that way?
    Your way should work,  but I'm just curious to see if that gives you any resolve.

    ------------------------------
    Regards
    Matthias Blomme
    ------------------------------



  • 7.  RE: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12

    Posted Wed December 21, 2022 12:04 PM
    Hi Matthias,

    I copied the PGP_Policy project from my workspace to the following path "C:\ProgramData\IBM\MQSI\components\Test_Node\servers\Lokesh\overrides"

    Assuming by placing the PGP_Policy project in ""C:\ProgramData\IBM\MQSI\components\Test_Node\servers\Lokesh\overrides"

     makes it a default project. Correct me if my assumption is incorrect.

     

    C:\Program Files\IBM\ACE\12.0.4.0>mqsireload Test_Node -e Lokesh

    BIP8071I: Successful command completion.

    C:\Program Files\IBM\ACE\12.0.4.0>

     

    Ran my test message which the similar exception.

    The description for Event ID 4367 from source IBM App Connect Enterprise v12040 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

     

    If the event originated on another computer, the display information had to be saved with the event.

     

    The following information was included with the event:

     

    Test_Node.Lokesh

    'evaluate'

    'PGP Encrypter'

    '<com.ibm.broker.plugin.MbUserException class:com.ibm.broker.supportpac.pgp2.impl.PGPEncrypterNode method:evaluate source:Message Encryption Failed! key:PGP Policy not found: PGP_SDR_CFG_SERVICE. Please verify the UserDefined Configurable service. :: null message: Unable to resolve message: Source: Message Encryption Failed!Key: PGP Policy not found: PGP_SDR_CFG_SERVICE. Please verify the UserDefined Configurable service. :: null >'

     

    The handle is invalid

     

     

    If the event originated on another computer, the display information had to be saved with the event.

     

    The following information was included with the event:

     

    Test_Node.Lokesh

    'com.ibm.broker.plugin.MbUserException'

    'com.ibm.broker.supportpac.pgp2.impl.PGPEncrypterNode'

    'evaluate'

    'PGPEncrypterNode.java'

    '523'

    'PGP Policy not found: PGP_SDR_CFG_SERVICE. Please verify the UserDefined Configurable service. :: null'

    'Message Encryption Failed!'

    'PGP Policy not found: PGP_SDR_CFG_SERVICE. Please verify the UserDefined Configurable service. :: null'

    The handle is invalid


    could you check it to see if I make something wrong?

    thanks,
    ruimin



    ------------------------------
    ruimin tan
    ------------------------------



  • 8.  RE: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12

    IBM Champion
    Posted Thu December 22, 2022 01:51 AM
    Hi Ruimin

    No, a default policy project needs to be configured on your integration server

    https://www.ibm.com/docs/en/app-connect/11.0.0?topic=policies-configuring-default-policy-project

    ------------------------------
    Regards
    Matthias Blomme
    ------------------------------



  • 9.  RE: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12

    Posted Sun December 25, 2022 08:43 PM
    Hi Matthias,

    it works now. I'm doing the real test now, so I just complete the first encryption, still waiting for the decryption response. there is no issue on the encryption part.

    thank you very much,
    Merry Christmas!

    ruimin

    ------------------------------
    ruimin tan
    ------------------------------



  • 10.  RE: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12

    Posted Fri August 25, 2023 01:17 PM

    Hi Matthias,

    following your instruction, I installed PGP successfully on my server machine running on window 2012 R2 but when I tried to install PGP on my local machine, which running Windows 10 Enterprise version 21H2, but it failed. the PGP installation doesn't show up on the ACE 12. do you know what happened for it?

    thanks

    ruimin



    ------------------------------
    ruimin tan
    ------------------------------



  • 11.  RE: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12

    IBM Champion
    Posted Fri September 01, 2023 12:56 AM

    Hi Ruimin

    Without any specifics I can't really tell you what went wrong. If the nodes don't show up in the toolkit (I assume that is what you mean) then that installation isn't ok. Could be a number of things. Check the eclipse log to see if there is an error there.



    ------------------------------
    Regards
    Matthias Blomme
    ------------------------------