My Oracle Support Banner

E-IB: Loading Gateway Connectors Fails With a "java.lang.NoSuchMethodError: com.sun.mail.util.MimeUtil.cleanContentType(Ljakarta/mail/internet/MimePart;Ljava/lang/String;)Ljava/lang/String;" Error (Doc ID 2979318.1)

Last updated on NOVEMBER 20, 2023

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.60 and later
Information in this document applies to any platform.

Symptoms

After upgrading a remote gateway from PeopleTools (PT) 8.59.17 to 8.60.07, loading the remote gateway connectors returns the following errors.

ERROR

Integration Gateway - HttpTargetConnector:ExternalApplicationException. Http status code HttpStatusCode returned : 500. (158,10623)

error in PIA_weblogic.log

#### <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <[severity-value: 8] [rid: 0] > <[ServletContext@728030608[app:peoplesoft module:/PSIGW path:null spec-version:4.0]] Root cause of ServletException.

java.lang.NoSuchMethodError: com.sun.mail.util.MimeUtil.cleanContentType(Ljakarta/mail/internet/MimePart;Ljava/lang/String;)Ljava/lang/String;

at jakarta.mail.internet.MimeMessage.getContentType(MimeMessage.java:1005)

at jakarta.mail.internet.MimePartDataSource.getContentType(MimePartDataSource.java:117)

at jakarta.activation.DataHandler.getContentType(DataHandler.java:178)

at jakarta.activation.DataHandler.getBaseType(DataHandler.java:613)

at jakarta.activation.DataHandler.getDataContentHandler(DataHandler.java:576)

at jakarta.activation.DataHandler.getContent(DataHandler.java:514)

at jakarta.mail.internet.MimeMessage.getContent(MimeMessage.java:1484)

at com.peoplesoft.pt.integrationgateway.framework.IBMessage.setContent(IBMessage.java:135)

at com.peoplesoft.pt.integrationgateway.framework.IBMessage.setContent(IBMessage.java:257)

at com.peoplesoft.pt.integrationgateway.framework.IBRequest.(IBRequest.java:102)

at com.peoplesoft.pt.integrationgateway.framework.InternalIBRequest.(InternalIBRequest.java:259)

at com.peoplesoft.pt.integrationgateway.listeningconnector.PeopleSoftListeningConnector.doPost(PeopleSoftListeningConnector.java:159)


Steps to replicate:

1. Open the remote gateway definition (PIA navigation: PeopleTools > Integration Broker > Configuration > Integration Gateway).

2. Click on the 'load connectors' button and observe the errors above.

 





Changes

 Upgrade a remote gateway from PT 8.59.17 to 8.60.07

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
Changes
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.