It's all about the answers!

Ask a question

Issue in asynchronous WI Due date notifier Plugin


Pallavi Deore (3615) | asked Mar 06 '19, 8:11 a.m.

 Hello Everyone,


I am using CLM 6.0.5
I have 2 Asynchronous plugin
1)To send email to owner of work item when due date will be overdue (Mail will be sent after specified time interval).
2)To uncheck the attribute after specified time interval
When I checked on jetty, both plugin works fine for me.
When I deployed 2 plugins on production server, I did not get any mail.
I am getting the below error in Diagnostics of CCM.
CRJAZ1991E The task "com.ibm.js.widuedatenotifier.WIDueDateNotifierTask" has failed with an unexpected error which has caused it to be unscheduled. Please check your server logs for details. Once you have addressed the issues, you should restart the server to reschedule this background task.
I checked the log file its showing below messages:
    
Log file output:
 
2019-02-21 20:32:24,145 [ccm: AsynchronousTaskRunner-3 @@ 20:32]  WARN com.ibm.js.widuedatenotifier                        - Failed to send DueDate Notification message of work item Test Summary Review to unassigned
javax.mail.MessagingException: CRJAZ1611E The message could not be sent because the Jazz Team Server repository sent an exception. (com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient$RestCommunicationException: Internal Server Error)
    at com.ibm.team.repository.service.compatibility.internal.mailer.MailerService.createMessagingException(MailerService.java:146)
    at com.ibm.team.repository.service.compatibility.internal.mailer.MailerService.sendMail(MailerService.java:264)
    at com.ibm.team.repository.service.compatibility.internal.mailer.MailerService.sendMail(MailerService.java:243)
    at com.ibm.team.repository.service.compatibility.internal.mailer.MailerService.sendMultipartMail(MailerService.java:289)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
    at com.sun.proxy.$Proxy581.sendMultipartMail(Unknown Source)
    at com.ibm.team.repository.service.jts.internal.mailer.JtsMailerService.sendMultipartMail(JtsMailerService.java:73)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
    at com.sun.proxy.$Proxy582.sendMultipartMail(Unknown Source)
    at com.ibm.js.repository.widuedatenotifier.task.WIDueDateNotifierTask.sendRememberingMail(WIDueDateNotifierTask.java:188)
    at com.ibm.js.repository.widuedatenotifier.task.WIDueDateNotifierTask.runTask(WIDueDateNotifierTask.java:100)
    at com.ibm.team.repository.service.async.AbstractAutoScheduledTask.executeTask(AbstractAutoScheduledTask.java:97)
    at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
    at com.sun.proxy.$Proxy929.executeTask(Unknown Source)
    at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.runTask(AsynchronousTaskRunner.java:195)
    at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.run(AsynchronousTaskRunner.java:142)
    at java.lang.Thread.run(Thread.java:785)
Caused by: com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient$RestCommunicationException: Internal Server Error
    at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient.createExceptionFromResponse(CrossServerHttpClient.java:860)
    at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient.checkResponse(CrossServerHttpClient.java:771)
    at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient.doCommunicate(CrossServerHttpClient.java:369)
    at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient.sendAsApplication(CrossServerHttpClient.java:278)
    at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClientService.send(CrossServerHttpClientService.java:69)
    at sun.reflect.GeneratedMethodAccessor258.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
    at com.sun.proxy.$Proxy537.send(Unknown Source)
    at com.ibm.team.repository.service.compatibility.AbstractCompatibilityService.send(AbstractCompatibilityService.java:53)
    at com.ibm.team.repository.service.compatibility.internal.mailer.MailerService.sendMail(MailerService.java:256)
    ... 32 more
2019-02-21 20:32:24,198 [ccm: AsynchronousTaskRunner-3 @@ 20:32]  WARN com.ibm.js.widuedatenotifier                        - Failed to send DueDate Notification message of work item CR-500 - CSRF Changes to amold@fss.co.in
javax.mail.MessagingException: CRJAZ1611E The message could not be sent because the Jazz Team Server repository sent an exception. (com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient$RestCommunicationException: Internal Server Error)
    at com.ibm.team.repository.service.compatibility.internal.mailer.MailerService.createMessagingException(MailerService.java:146)
    at com.ibm.team.repository.service.compatibility.internal.mailer.MailerService.sendMail(MailerService.java:264)
    at com.ibm.team.repository.service.compatibility.internal.mailer.MailerService.sendMail(MailerService.java:243)
    at com.ibm.team.repository.service.compatibility.internal.mailer.MailerService.sendMultipartMail(MailerService.java:289)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
    at com.sun.proxy.$Proxy581.sendMultipartMail(Unknown Source)
    at com.ibm.team.repository.service.jts.internal.mailer.JtsMailerService.sendMultipartMail(JtsMailerService.java:73)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
    at com.sun.proxy.$Proxy582.sendMultipartMail(Unknown Source)
    at com.ibm.js.repository.widuedatenotifier.task.WIDueDateNotifierTask.sendRememberingMail(WIDueDateNotifierTask.java:188)
    at com.ibm.js.repository.widuedatenotifier.task.WIDueDateNotifierTask.runTask(WIDueDateNotifierTask.java:100)
    at com.ibm.team.repository.service.async.AbstractAutoScheduledTask.executeTask(AbstractAutoScheduledTask.java:97)
    at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
    at com.sun.proxy.$Proxy929.executeTask(Unknown Source)
    at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.runTask(AsynchronousTaskRunner.java:195)
    at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.run(AsynchronousTaskRunner.java:142)
    at java.lang.Thread.run(Thread.java:785)
Caused by: com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient$RestCommunicationException: Internal Server Error
    at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient.createExceptionFromResponse(CrossServerHttpClient.java:860)
    at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient.checkResponse(CrossServerHttpClient.java:771)
    at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient.doCommunicate(CrossServerHttpClient.java:369)
    at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient.sendAsApplication(CrossServerHttpClient.java:278)
    at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClientService.send(CrossServerHttpClientService.java:69)
    at sun.reflect.GeneratedMethodAccessor258.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
    at com.sun.proxy.$Proxy537.send(Unknown Source)
    at com.ibm.team.repository.service.compatibility.AbstractCompatibilityService.send(AbstractCompatibilityService.java:53)
    at com.ibm.team.repository.service.compatibility.internal.mailer.MailerService.sendMail(MailerService.java:256)
    ... 32 more
******************
Kindly provide the solution.
Thanks in advanced.



Comments
Ulf Arne Bister commented Mar 06 '19, 8:39 a.m.

Hi,

you need to troubleshoot deeper. "Internal Server error" as cause for exception indicates you should look in the Websphere / Liberty logfiles for the underlying reason. Could be security certificate / authentication related or lots of other things.
- Arne

Be the first one to answer this question!


Register or to post your answer.