Performance Center stopped sending emails after my upgrade last week. as directed before I have imported the certs, even cleared out the old ones. still nothing coming through. I wonder if this is also related to the PC link not allowing log ins after upgrade. SsoConfig was run and correctly pointing to the right place. second thing I noticed with the links is if you go from NFA to CAPC it fails.
from the DM log
| Sending emails for 1 job(s) that have been marked as 'run now'
ERROR | EmailJobTaskThreadPool-Thread-0 | 2022-07-11 13:54:56,473 | com.ca.im.portal.dm.scheduling.email.EmailJobTask
| Error sending e-mail: Server returned HTTP response code: 403 for URL: http://xx.xx.xx.xxx:8181/pc/pdf/page?pg=2000287&mi=10&startTime=2022-07-11+12%3A54+EST5EDT&endTime=2022-07-11+13%3A54+EST5EDT&timeRange=0&GroupID=1&portrait=1&delivery=0&UserSessionID=node08prt0vmvqu18hg91ghc8es7b91
java.io.IOException: Server returned HTTP response code: 403 for URL: http://xx.xx.xx.xxx:8181/pc/pdf/page?pg=2000287&mi=10&startTime=2022-07-11+12%3A54+EST5EDT&endTime=2022-07-11+13%3A54+EST5EDT&timeRange=0&GroupID=1&portrait=1&delivery=0&UserSessionID=node08prt0vmvqu18hg91ghc8es7b91
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) ~[?:?]
at com.ca.im.portal.dm.scheduling.email.EmailJobTask.getReportStreamFromUrl(EmailJobTask.java:455) ~[classes/:?]
at com.ca.im.portal.dm.scheduling.email.EmailJobTask.run(EmailJobTask.java:179) [classes/:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
WARN | EmailJobTaskThreadPool-Thread-0 | 2022-07-11 13:54:56,505 | com.ca.im.portal.dm.scheduling.email.EmailJobTask
| Failed to get message in emailJobTask for code: email.job.failure.to.send.email for locale: en_US
org.springframework.context.NoSuchMessageException: No message found under code 'email.job.failure.to.send.email' for locale 'en_US'.
at org.springframework.context.support.AbstractMessageSource.getMessage(AbstractMessageSource.java:161) ~[spring-context-5.3.20.jar:5.3.20]
at com.ca.im.portal.dm.scheduling.email.EmailJobTask.getEmailMessage(EmailJobTask.java:623) [classes/:?]
at com.ca.im.portal.dm.scheduling.email.EmailJobTask.run(EmailJobTask.java:223) [classes/:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
Upgrade to 21.2.12 +
Upgraded to 21.2.12 +
Release : 21.2
Component :
Web Site host was changed to port 8181 last week. The /opt/CA/PerformanceCenter/PC/conf/wrapper.conf needed to updated to have the 8181 for wrapper.java.additional.3=-Djetty.http.port.
Update /opt/CA/PerformanceCenter/PC/conf/wrapper.conf to have the same port as Web Stie Port in SsoConfig. In this case 8181
wrapper.java.additional.3=-Djetty.http.port=8181