Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7077681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:27:13+00:00 2026-05-28T06:27:13+00:00

I am using OSGi and send email with javax.mail. When I run it, it

  • 0

I am using OSGi and send email with javax.mail.

When I run it, it shows the following error:

javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed;

On a web forum someone claims this to be due to JDK problems.

What is the problem here?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T06:27:14+00:00Added an answer on May 28, 2026 at 6:27 am

    I think this might be fixed in JavaMail 1.4.4 (also try artefacts from the spring OSGi repository).

    It’s because javax.activiation can’t see the content handlers specified by javax.mail in META-INF/mailcap

    See this http://thecarlhall.wordpress.com/2009/10/27/javamail-in-osgi/

    I can’t remember how I solved this before, it was a bit of hack, something like adding the javamail jar to the framework boot and adding it’s exports to org.osgi.framework.system.packages.extra

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Which is a good architecture for a Web Application using OSGI and GWT as
I'm about to star an OSGI project using netbeans 6.8 and felix 2.0.4; can
I recently began profiling an osgi java application that I am writing using VisualVM.
I am just getting started with OSGI and Declarative Services (DS) using Equinox and
I'm trying to start a Wicket Application using Felix implementation of OSGi HTTP service,
I'm using OSGi for my latest project at work, and it's pretty beautiful as
Hey guys. We're using OSGi services in an Eclipse RCP application. To track them,
I am using NetBeans 6.9 Beta and I would like to accomplish the following:
When trying to use Flyway application integration to test an OSGi application using Pax
Using Apache Felix, I have an OSGi component I've authored that wraps some middleware

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.