First use assembly compile error on MQ libraries
First use assembly compile error on MQ libraries with Smart Investigate for Payments 7.11.
Error currently occurs in Pega 7 sandbox environment.
Caused by: com.pega.pegarules.pub.generator.FirstUseAssemblerException: Failed to compile generated Java com.pegarules.generated.activity.ra_action_invoke_9f9c983cd426a34878ce5eec5bb6e670: ----------
1. ERROR in /com/pegarules/generated/activity/ra_action_invoke_9f9c983cd426a34878ce5eec5bb6e670.java (at line 421)
com.ibm.mq.MQQueueManager qmRequest = null;
com.ibm.mq cannot be resolved to a type
Steps to Reproduce
Try to put a message to MQ and observe the first use assembly error.
MQ connectivity test on the other hand is successful so the issue seems to affect only compile time.
The defaultPaths were not set correctly.
Paths specified are unix paths, but the separtor used is a semi colom (;).
This is incorrect in Unix environment path separator for Unix is a colon (:) also the last path in the set must not have anything at the end for unix in windows this does not matter.
Use the following example procedure to resolve the issue:
1. In the Compiler landing page system>settings >compiler.
2. Under defaultPaths enter your library paths like below:
3. After this, click the submit button the DSS should change to reflect this new defaultPaths.
0% found this useful