0 Replies Latest reply on Oct 21, 2011 6:22 AM by mokelet

    Migration (AS6 -> AS7) - sending emails failed

    mokelet

      Hi,

       

      I get the following exception when I want to send an email:

       

      Caused by: javax.mail.MessagingException: IOException while sending message;
      nested exception is:
      javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/related; 
      

       

      I think the problem is a different version of javax.activation. The Jboss AS6 AND the dependency

       

      
      <dependency>
      
      
      
      
      
      
      <groupId>org.jboss.spec</groupId>
      
      
      
      
      <artifactId>jboss-javaee-6.0</artifactId>
      
      
      
      
      <version>2.0.0.Final</version>
      
      
      
      
      <type>pom</type>
      
      
      
      
      <scope>provided</scope>
      
      
      
      
      </dependency>
      
      
      </dependencies>
      
      
      
      

       

      includes javax.activation1.1. But in modules folder of JBoss AS7 are javax.activation1.1.1

       

      Can somebody help me?

       

      Big thx