thanks for your help. it works on my local machine. I still need to test it on server, which is not complete right now. I will let you know once I complete the test on the server,
Original Message:
Sent: Fri July 26, 2024 01:26 AM
From: Matthias Blomme
Subject: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12
Hi Ruimin
I think it's just a typo.
I'm seeing a policy name with a double underscore between PGP and SDR in your excepionlist

I'm also seeing the double underscore on your flow config

But I'm not seeing it in the policy name itself

Give that a try ;)
------------------------------
Regards
Matthias Blomme
Original Message:
Sent: Thu July 25, 2024 12:31 PM
From: ruimin tan
Subject: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12
Hi Matthias,
Sorry for the late reply. our System has the issue on Integration test, so just clear the issue so I can test it on Integration yesterday. during my testing PGP on my system, there is error as below. could you help me check to see what is the issue?
thanks
ruimin
ExceptionList
RecoverableException
File:CHARACTER:C:\ci\product-build\WMB\src\DataFlowEngine\MessageServices\ImbDataFlowNode.cpp
Line:INTEGER:1618
Function:CHARACTER:ImbDataFlowNode::createExceptionList
Type:CHARACTER:ComIbmMQInputNode
Name:CHARACTER:EPDS_To_And_From_USBank_SFTP_Flow#FCMComposite_1_1
Label:CHARACTER:EPDS_To_And_From_USBank_SFTP_Flow.LNI.EPDS.TOBANK_REQUEST.PUB.QL
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2230
Text:CHARACTER:Node throwing exception
Insert
Type:INTEGER:14
Text:CHARACTER:EPDS_To_And_From_USBank_SFTP_Flow.LNI.EPDS.TOBANK_REQUEST.PUB.QL
RecoverableException
File:CHARACTER:C:\ci\product-build\WMB\src\DataFlowEngine\PluginInterface\jlinklib\ImbJniNode.cpp
Line:INTEGER:438
Function:CHARACTER:ImbJniNode::evaluate
Type:CHARACTER:PGPEncrypterNode
Name:CHARACTER:EPDS_To_And_From_USBank_SFTP_Flow#FCMComposite_1_8
Label:CHARACTER:EPDS_To_And_From_USBank_SFTP_Flow.PGP Encrypter
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2230
Text:CHARACTER:Caught exception and rethrowing
Insert
Type:INTEGER:14
Text:CHARACTER:EPDS_To_And_From_USBank_SFTP_Flow.PGP Encrypter
UserException
File:CHARACTER:C:\ci\product-build\WMB\src\DataFlowEngine\PluginInterface\jlinklib\com_ibm_broker_plugin_CMbService.cpp
Line:INTEGER:1494
Function:CHARACTER:ImbJavaExceptionUtils::userMbExceptionToNativeException
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:4367
Text:CHARACTER:Unhandled exception in plugin method
Insert
Type:INTEGER:5
Text:CHARACTER:evaluate
Insert
Type:INTEGER:5
Text:CHARACTER:PGP Encrypter
Insert
Type:INTEGER:5
Text:CHARACTER:<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_Policy}: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_Policy}:PGP__SDR_CFG_SERVICE. Please verify the UserDefined Configurable service. :: null >
UserException
File:CHARACTER:C:\ci\product-build\WMB\src\DataFlowEngine\PluginInterface\jlinklib\com_ibm_broker_plugin_CMbService.cpp
Line:INTEGER:1494
Function:CHARACTER:ImbJavaExceptionUtils::userMbExceptionToNativeException
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:4394
Text:CHARACTER:Unhandled exception in plugin method
Insert
Type:INTEGER:5
Text:CHARACTER:com.ibm.broker.plugin.MbUserException
Insert
Type:INTEGER:5
Text:CHARACTER:com.ibm.broker.supportpac.pgp2.impl.PGPEncrypterNode
Insert
Type:INTEGER:5
Text:CHARACTER:evaluate
Insert
Type:INTEGER:5
Text:CHARACTER:PGPEncrypterNode.java
Insert
Type:INTEGER:2
Text:CHARACTER:523
Insert
Type:INTEGER:5
Text:CHARACTER:PGP Policy not found: {PGP_Policy}:PGP__SDR_CFG_SERVICE. Please verify the UserDefined Configurable service. :: null
Insert
Type:INTEGER:5
Text:CHARACTER:Message Encryption Failed!
Insert
Type:INTEGER:5
Text:CHARACTER:PGP Policy not found: {PGP_Policy}:PGP__SDR_CFG_SERVICE. Please verify the UserDefined Configurable service. :: null


------------------------------
ruimin tan
Original Message:
Sent: Wed July 10, 2024 06:46 PM
From: ruimin tan
Subject: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12
Hi Matthias,
thanks for your help. as you instructed, I put files there, the error message is gone. I'm going to test it to see if the PGP works as it is supposed to. I will update you once I complete the testing.
thanks again,
ruimin
------------------------------
ruimin tan
Original Message:
Sent: Mon July 08, 2024 02:48 AM
From: Matthias Blomme
Subject: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12
Hi Ruimin
Have you tried with the latest deliverables from here: https://github.com/matthiasblomme/PGP-SupportPac-for-IBM-ACE-V12
I keep the deliverables in that repository right now, and try to update it with tests on new fixpacks is as soon as I have time. I did these the deliverables on 12.0.11.3, so they should work for you.
------------------------------
Regards
Matthias Blomme
Original Message:
Sent: Mon July 01, 2024 03:45 PM
From: ruimin tan
Subject: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12
Hi Matthias,
when I update the ACE 12.0.4 to current version ACE 12.0.11, the same error happened again as below. could you help me fix this issue again?
thanks,
ruimin

------------------------------
ruimin tan
Original Message:
Sent: Fri September 01, 2023 12:56 AM
From: Matthias Blomme
Subject: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12
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
Original Message:
Sent: Fri August 25, 2023 01:16 PM
From: ruimin tan
Subject: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12
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
Original Message:
Sent: Sun December 25, 2022 08:42 PM
From: ruimin tan
Subject: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12
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
Original Message:
Sent: Thu December 22, 2022 01:50 AM
From: Matthias Blomme
Subject: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12
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
Original Message:
Sent: Wed December 21, 2022 12:03 PM
From: ruimin tan
Subject: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12
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
Original Message:
Sent: Fri December 16, 2022 01:31 AM
From: Matthias Blomme
Subject: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12
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
Original Message:
Sent: Thu December 15, 2022 11:21 PM
From: ruimin tan
Subject: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12
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
Original Message:
Sent: Tue December 13, 2022 02:13 AM
From: Matthias Blomme
Subject: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12
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
Original Message:
Sent: Thu December 08, 2022 05:29 PM
From: ruimin tan
Subject: There are Errors on PGP upgrade from IBM IIB version 10 to IBM ACE 12
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
------------------------------