My Oracle Support Banner

SPML Web Service Fails With NoClassDefFoundError: javax.mail.internet.MimeMultipart (Doc ID 1113405.1)

Last updated on OCTOBER 22, 2019

Applies to:

Identity Manager - Version 9.1.0.2 and later
Information in this document applies to any platform.
Checked for Relevance on 28-Jun-2012

Symptoms

On JBOSS, OIM SPML web service fails with the error:

ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/spmlws].[AxisServlet]] Servlet.service() for servlet AxisServlet threw exception
java.lang.NoClassDefFoundError: javax.mail.internet.MimeMultipart
at org.apache.axis.encoding.DefaultTypeMappingImpl.class$(DefaultTypeMappingImpl.java:154)
at org.apache.axis.encoding.DefaultTypeMappingImpl.<init>(DefaultTypeMappingImpl.java:373)
at org.apache.axis.encoding.DefaultTypeMappingImpl.<init>(DefaultTypeMappingImpl.java:130)
at org.apache.axis.encoding.DefaultTypeMappingImpl.getSingleton(DefaultTypeMappingImpl.java:124)
at org.apache.axis.encoding.TypeMappingRegistryImpl.<init>(TypeMappingRegistryImpl.java:180)
at org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeployment.java:510)
at org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:104)
at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:209)
at org.apache.axis.AxisEngine.init(AxisEngine.java:187)
at org.apache.axis.AxisEngine.<init>(AxisEngine.java:172)
at org.apache.axis.server.AxisServer.<init>(AxisServer.java:126)
at org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxisServerFactory.java:148)
at org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerFactory.java:112)
at org.apache.axis.server.AxisServer.getServer(AxisServer.java:111)
at org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:221)
at org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:187)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:785)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)

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.