Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[orbit-dev] Is there any guidelines on which javax.mail provided by orbit.

Title:
Hi all,

I've seen that in orbit there are two different bundles exporting the "javax.mail" packages.

In a bundle of my project i need to use both the "javax.activation" and "javax.mail" packages, but
unfortunately i had some errors like the following one:

javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/related; type="text/xml"; start="<body-part>";
boundary="----=_Part_1_2112460.1259331494937"
at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:877)
at javax.activation.DataHandler.writeTo(DataHandler.java:302)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1403)
at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1745)

The only way i found to solve this is to have "one bundle" where activation and mail packages lives together, and
to force other bundles to use that ( based on version ).

Now the IP Team is asking me to evaluate bundles provided by orbit instead of provide my own version
of a "mail" bundle.
 
So the question  is:

- Which are the suggested combination of bundles ( taken from orbit to use??? )

- I see there's a "javax.mail.glassfish" packages but the Import Package directive in this does not specify a versio
and when used with jdk 1.6 the "javax.mail.glassfish" is so wired to the system bundle! Is this right???

- Has anyone experienced the same problem???

I've non  problem to drop my "mail bundle" and using two provide by orbit but really don't want to have
a regression on that.

Thx for suppoort
--

Andrea Zoppello
Spagic Architect

Corso Stati Uniti, 23/C - 35127 Padova - Italy
Tel. +39-049.8283411
Mob. +39-345.4668537
andrea.zoppello@xxxxxx
www.spagoworld.org
Engineering Group
IT Solution Architect
Research & Innovation Division
Architectures & Consulting
www.eng.it

  Respect the environment. Please don't print this e-mail unless you really need to.

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.


Back to the top