My Oracle Support Banner

E-CRM: ERMS Email Connector Can`t Read Emails With UTF-7 Encoding and Fails with "Error accessing content of bodypart member of a Multipart" and "java.io.UnsupportedEncodingException: utf-7" Errors (Doc ID 3029711.1)

Last updated on JUNE 25, 2024

Applies to:

PeopleSoft Enterprise CRM Support - Version 9.2 and later
Information in this document applies to any platform.

Symptoms

After migrating Exchange mailboxes from on-premises to the cloud, difficulties with the email connector’s ability to read certain emails are encountered. Specifically, emails encoded in standard formats such as UTF-7 are not being processed correctly.

The following error is seen in <PS_HOME>/webserv/<DOMAIN_NAME>/applications/peoplesoft/PSIGW.war/WEB-INF/msglog.html file

2024-05-09 22:38:19.065
Type Message
MessageLevel Important Information
Description
GetMailTargetConnector (Host=<HOST>; User=<USER>): Error accessing content of bodypart member of a Multipart (UID=20542;Subject=FW: Scanned from a Xerox Multifunction Printer;From=;Sent Date=2024-03-15T14:00:43.000000-0000) java.io.UnsupportedEncodingException: utf-7 at java.base/sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:71) at java.base/java.io.InputStreamReader.(InputStreamReader.java:96) at oracle.j2ee.ws.saaj.soap.ch.StringDataContentHandler.getContent(StringDataContentHandler.java:113) at javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:777) at javax.activation.DataHandler.getContent(DataHandler.java:524) at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:659) at <DOMAIN_NAME>integrationgateway.targetconnector.pop3.MCFPart.(MCFPart.java:339) at <DOMAIN_NAME>integrationgateway.targetconnector.pop3.MCFMessage.ReadParts(MCFMessage.java:624) at <DOMAIN_NAME>integrationgateway.targetconnector.pop3.MCFMessage.processMessage(MCFMessage.java:475) at <DOMAIN_NAME>integrationgateway.targetconnector.pop3.MCFMessage.toXml(MCFMessage.java:781) at <DOMAIN_NAME>integrationgateway.targetconnector.pop3.MCFMailBox.processEmails(MCFMailBox.java:887) at <DOMAIN_NAME>integrationgateway.targetconnector.pop3.MCFMailBox.readEmails(MCFMailBox.java:680) at <DOMAIN_NAME>integrationgateway.targetconnector.GetMailTargetConnector.processMessage(GetMailTargetConnector.java:619) at <DOMAIN_NAME>integrationgateway.targetconnector.GetMailTargetConnector.send(GetMailTargetConnector.java:141) at <DOMAIN_NAME>integrationgateway.service.BasicConnectorInvocator.execute(BasicConnectorInvocator.java:131) at <DOMAIN_NAME>integrationgateway.framework.GatewayManager.invokeService(GatewayManager.java:148) at <DOMAIN_NAME>integrationgateway.framework.GatewayManager.connect(GatewayManager.java:192) at <DOMAIN_NAME>integrationgateway.listeningconnector.PeopleSoftListeningConnector.doPost(PeopleSoftListeningConnector.java:186) at javax.servlet.http.HttpServlet.service(HttpServlet.java:665) at <DOMAIN_NAME>integrationgateway.listeningconnector.PeopleSoftListeningConnector.service(PeopleSoftListeningConnector.java:87) at javax.servlet.http.HttpServlet.service(HttpServlet.java:750) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:295) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:353) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:82) at <DOMAIN_NAME>integrationgateway.common.IBFilter.doFilter(IBFilter.java:84) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:82) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3869) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3832) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:344) at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197) at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203) at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71) at weblogic.servlet.internal.WebAppServletContext.processSecuredExecute(WebAppServletContext.java:2505) at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2354) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2329) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2307) at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1780) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1734) at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:272) at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352) at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337) at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57) at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41) at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:651) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420) at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.