Question

20
Replies
2220
Views
GunawanD Member since 2013 14 posts
Accenture
Posted: 1 year ago
Last activity: 1 year 5 months ago
Closed
Solved

Email Connectivity Issue in Pega 8.1

Hi,

Trying to test connectivity for email account in Pega 8.1 on IBM WebSphere Application Server Network Deployment/9.0.0.6, encountered the following error:

Date and time
5/11/18 4:22 PM

Details

DEBUG: setDebug: JavaMail version 1.5.5
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
DEBUG: Exception loading provider, THROW:
java.lang.ClassCastException: javax.mail.Transport com.sun.mail.smtp.SMTPTransport
at javax.mail.Session.getService(Session.java:807)
at javax.mail.Session.getTransport(Session.java:741)
at javax.mail.Session.getTransport(Session.java:682)
at javax.mail.Session.getTransport(Session.java:662)
at com.pega.platform.integrationcore.client.email.internal.javamail.JavaEmailClient.connectOutboundInternal(JavaEmailClient.java:292)
at com.pega.platform.integrationcore.client.email.internal.javamail.JavaEmailClient.connectOutbound(JavaEmailClient.java:269)
at com.pega.platform.integrationcore.client.email.internal.javamail.JavaEmailClient.testConnection(JavaEmailClient.java:506)
at com.pega.platform.integrationengine.client.email.internal.PegaEmailClientImpl.testConnection(PegaEmailClientImpl.java:826)
at com.pegarules.generated.pxTestEmailConnectivity_080101_3585126688938627673.pxTestEmailConnectivity08_01_01(pxTestEmailConnectivity_080101_3585126688938627673.java:108)
at com.pegarules.generated.pxTestEmailConnectivity_080101_3585126688938627673.invoke(pxTestEmailConnectivity_080101_3585126688938627673.java:72)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:222)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:119)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:9234)
at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflectionWithException(LibrarySupport.java:275)
at java.lang.invoke.DirectHandle.invokeExact_thunkArchetype_L(DirectHandle.java:300)
at java.lang.invoke.BruteArgumentMoverHandle.invokeExact_thunkArchetype_X(ArgumentMoverHandle.java:406)
at java.lang.invoke.CollectHandle.invokeExact_thunkArchetype_X(CollectHandle.java:122)
at java.lang.invoke.FilterReturnHandle.invokeExact_thunkArchetype_X(FilterReturnHandle.java:59)
at java.lang.invoke.AsTypeHandle.invokeExact_thunkArchetype_X(AsTypeHandle.java:49)
at com.pegarules.generated.activity.ra_action_smtpconnectivity_1d54f67e392ca39c739c3c83f1b7e9c3.step6_circum0(ra_action_smtpconnectivity_1d54f67e392ca39c739c3c83f1b7e9c3.java:681)
at com.pegarules.generated.activity.ra_action_smtpconnectivity_1d54f67e392ca39c739c3c83f1b7e9c3.perform(ra_action_smtpconnectivity_1d54f67e392ca39c739c3c83f1b7e9c3.java:179)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3556)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10878)
at com.pegarules.generated.activity.ra_action_pysmtpconnectivity_0cb69209946d18ef5b7d06a51c2f0ce7.step3_circum0(ra_action_pysmtpconnectivity_0cb69209946d18ef5b7d06a51c2f0ce7.java:338)
at com.pegarules.generated.activity.ra_action_pysmtpconnectivity_0cb69209946d18ef5b7d06a51c2f0ce7.perform(ra_action_pysmtpconnectivity_0cb69209946d18ef5b7d06a51c2f0ce7.java:105)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3556)
at com.pega.pegarules.exec.internal.declare.infengine.pages.DeclarativePageDirectoryImpl.runRule(DeclarativePageDirectoryImpl.java:1143)
at com.pega.pegarules.exec.internal.declare.infengine.pages.DeclarativePageDirectoryImpl.runLoadActivity(DeclarativePageDirectoryImpl.java:456)
at com.pega.pegarules.session.internal.mgmt.base.handler.ReadOnlyDataPageHandler.loadDataPage(ReadOnlyDataPageHandler.java:242)
at com.pega.pegarules.session.internal.mgmt.base.handler.ReadOnlyDataPageHandler.findDataPage(ReadOnlyDataPageHandler.java:408)
at com.pega.pegarules.session.internal.mgmt.base.AbstractPageDirectory.findDataPageInCurrentDir(AbstractPageDirectory.java:948)
at com.pega.pegarules.session.internal.mgmt.base.AbstractPageDirectory.getDirectPage(AbstractPageDirectory.java:728)
at com.pega.pegarules.session.internal.mgmt.base.ThreadPageDir.getDirectPage(ThreadPageDir.java:366)
at com.pega.pegarules.session.internal.mgmt.base.ThreadPageDir.getPage(ThreadPageDir.java:324)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.getPage(PRThreadImpl.java:567)
at com.pega.pegarules.session.internal.mgmt.Executable.findPage(Executable.java:2240)
at com.pega.pegarules.session.internal.mgmt.Executable.findPage(Executable.java:2209)
at com.pega.pegarules.session.internal.mgmt.Executable.findPage(Executable.java:2187)
at com.pega.pegarules.session.internal.mgmt.Executable.findPage(Executable.java:2169)
at com.pega.pegarules.session.internal.mgmt.autostreams.uicomponent.context.ContextProcessor.processSection(ContextProcessor.java:1012)
at com.pega.pegarules.session.internal.mgmt.autostreams.uicomponent.context.ContextProcessor.processSection(ContextProcessor.java:1323)
at com.pega.pegarules.session.internal.mgmt.autostreams.uicomponent.context.RuntimeContextTree.loadSection(RuntimeContextTree.java:487)
at com.pegarules.generated.flowaction.ra_stream_pysmtpconnectivity_c7312758cbeb47e097c51b8a02e5c668.buildSection_1(ra_stream_pysmtpconnectivity_c7312758cbeb47e097c51b8a02e5c668.java:265)
at com.pegarules.generated.flowaction.ra_stream_pysmtpconnectivity_c7312758cbeb47e097c51b8a02e5c668.includeSectionBody_1(ra_stream_pysmtpconnectivity_c7312758cbeb47e097c51b8a02e5c668.java:271)
at com.pegarules.generated.flowaction.ra_stream_pysmtpconnectivity_c7312758cbeb47e097c51b8a02e5c668.performStream_1(ra_stream_pysmtpconnectivity_c7312758cbeb47e097c51b8a02e5c668.java:322)
at com.pegarules.generated.flowaction.ra_stream_pysmtpconnectivity_c7312758cbeb47e097c51b8a02e5c668.execute(ra_stream_pysmtpconnectivity_c7312758cbeb47e097c51b8a02e5c668.java:110)
at com.pega.pegarules.session.internal.mgmt.StreamBuilderTools.appendStreamKeepProperties(StreamBuilderTools.java:781)
at com.pega.pegarules.session.internal.mgmt.autostreams.IncludeStreamRuntime.getStream(IncludeStreamRuntime.java:332)
at com.pega.pegarules.session.internal.mgmt.autostreams.IncludeStreamRuntime.emitIncludeStreamReference(IncludeStreamRuntime.java:252)
at com.pega.pegarules.session.internal.mgmt.autostreams.AutoStreamRuntimeImpl.emitIncludeStreamReference(AutoStreamRuntimeImpl.java:423)
at com.pegarules.generated.html_section.ra_stream_pzmodalaction_e91e4a3be920e73d8383372991f409cd.performStream_9(ra_stream_pzmodalaction_e91e4a3be920e73d8383372991f409cd.java:2537)
at com.pegarules.generated.html_section.ra_stream_pzmodalaction_e91e4a3be920e73d8383372991f409cd.execute(ra_stream_pzmodalaction_e91e4a3be920e73d8383372991f409cd.java:151)
at com.pega.pegarules.session.internal.mgmt.StreamBuilderTools.appendStreamKeepProperties(StreamBuilderTools.java:781)
at com.pega.pegarules.session.internal.mgmt.autostreams.IncludeStreamRuntime.getStream(IncludeStreamRuntime.java:332)
at com.pega.pegarules.session.internal.mgmt.autostreams.IncludeStreamRuntime.emitIncludeStreamReference(IncludeStreamRuntime.java:252)
at com.pega.pegarules.session.internal.mgmt.autostreams.AutoStreamRuntimeImpl.emitIncludeStreamReference(AutoStreamRuntimeImpl.java:423)
at com.pegarules.generated.html_section.ra_stream_pymodaltemplate_4fb6bf59c1fa72052901edee91fa0a16.sectionBodyIncludeInCell_1(ra_stream_pymodaltemplate_4fb6bf59c1fa72052901edee91fa0a16.java:2182)
at com.pegarules.generated.html_section.ra_stream_pymodaltemplate_4fb6bf59c1fa72052901edee91fa0a16.sectionIncludeInCell_pzModalAction_1(ra_stream_pymodaltemplate_4fb6bf59c1fa72052901edee91fa0a16.java:2291)
at com.pegarules.generated.html_section.ra_stream_pymodaltemplate_4fb6bf59c1fa72052901edee91fa0a16.layoutBody_1(ra_stream_pymodaltemplate_4fb6bf59c1fa72052901edee91fa0a16.java:2301)
at com.pegarules.generated.html_section.ra_stream_pymodaltemplate_4fb6bf59c1fa72052901edee91fa0a16.pzLayoutBodyWrapper_1(ra_stream_pymodaltemplate_4fb6bf59c1fa72052901edee91fa0a16.java:2140)
at com.pegarules.generated.html_section.ra_stream_pymodaltemplate_4fb6bf59c1fa72052901edee91fa0a16.pzLayout_1(ra_stream_pymodaltemplate_4fb6bf59c1fa72052901edee91fa0a16.java:2326)
at com.pegarules.generated.html_section.ra_stream_pymodaltemplate_4fb6bf59c1fa72052901edee91fa0a16.pzSectionBody_1(ra_stream_pymodaltemplate_4fb6bf59c1fa72052901edee91fa0a16.java:307)
at com.pegarules.generated.html_section.ra_stream_pymodaltemplate_4fb6bf59c1fa72052901edee91fa0a16.performStream_4(ra_stream_pymodaltemplate_4fb6bf59c1fa72052901edee91fa0a16.java:2333)
at com.pegarules.generated.html_section.ra_stream_pymodaltemplate_4fb6bf59c1fa72052901edee91fa0a16.execute(ra_stream_pymodaltemplate_4fb6bf59c1fa72052901edee91fa0a16.java:147)
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:4095)
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:3917)
at com.pegarules.generated.activity.ra_action_processaction_5ec5e672f009fa6b2c7ec03427a5bbc7.step23_circum0(ra_action_processaction_5ec5e672f009fa6b2c7ec03427a5bbc7.java:2265)
at com.pegarules.generated.activity.ra_action_processaction_5ec5e672f009fa6b2c7ec03427a5bbc7.perform(ra_action_processaction_5ec5e672f009fa6b2c7ec03427a5bbc7.java:440)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3556)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:489)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3718)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:435)
at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1377)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1109)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:963)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:361)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:882)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:331)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:274)
at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.invokeEngine(EngineBean.java:225)
at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingException(AppServerBridgeToPega.java:246)
at com.pega.pegarules.internal.etier.ejb.EngineBeanBoot.invokeEngine(EngineBeanBoot.java:168)
at com.pega.pegarules.internal.etier.interfaces.EJSLocalStatelessEngineBMT_f2439d86.invokeEngine(Unknown Source)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:275)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:220)
at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:712)
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:398)
at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:129)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1235)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1124)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:82)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:963)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:382)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:532)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:318)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)
Any idea how to solve it? Thanks
Data Integration
Moderation Team has archived post
Share this page LinkedIn