Problem with JavaMail: don't work after I made it a jar

Hi, My program works fine if I use -classpath to mail.jar and activation.jar but when I jar it i get:
javax.mail.SendFailedException: Sending failed;
nested exception is:
class javax.mail.MessagingException: IOException while sending message;
nested exception is:
javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain; charset=us-ascii
at javax.mail.Transport.send0(Transport.java:218)
at javax.mail.Transport.send(Transport.java:80)
please help

What did you jar?
The archives JavaMail consists of might contain some non-class extra information.
unzip -l /mnt/ntfs/LANGS/java/extjars/mail.jar  |grep -v class
Archive:  /mnt/ntfs/LANGS/java/extjars/mail.jar
  Length     Date   Time    Name
    26991  05-21-99 13:31   META-INF/MANIFEST.MF
        0  05-21-99 13:31   META-INF/
      286  05-21-99 13:31   META-INF/javamail.default.providers
       12  05-21-99 13:31   META-INF/javamail.default.address.map
     1107  05-21-99 13:31   META-INF/javamail.charset.map
      335  05-21-99 13:31   META-INF/mailcap

Similar Messages

  • Y have problems with Photoshop Elements 12  Bug after reinstallation complet  Impossible working ??

    Morning !
    We have many problems with PHOTOSHOP ELEMENTS 12 ?
    After installation on MAC OS X   YOSEMITE  .
    S O S !!

    Exporter vers photoshop do you receive any specific error messages?  In what way is Photoshop Elements 12 not working?

  • My ipod shuffle (4th gen) don't works after hard reset with itunes

    My ipod shuffle (4th gen) don't works after hard reset with itunes, it don't reads too like USB by Windows.
    Before that i've seen error (-50) in iTunes, so i reset ipod.
    I've read all tips on this site, but nothing helps me.

    No, USB works good. I've tried reset on my friend's PC, and it saw my ipod and reset was done. But when i tried to load music, it wrote me, that i've installed incorrect software.

  • HT1476 I have problem with my Iphone 4S, only after updating the OS 7.X. My Iphone battery charge is losing down in a minute. My battery charge is just decreasing from 100% to 10% in less than two hours, without any application works. pls do help me out i

    I have problem with my Iphone 4S, only after updating the OS 7.X. My Iphone battery charge is losing down in a minute. My battery charge is just decreasing from 100% to 10% in less than two hours, without any application works. pls do help me out in this.

    Hi melvin victor,
    Welcome to the Support Communities!
    The information below may help you troubleshoot your iPhone battery issue:
    iPhone Battery and Power - Apple Support
    http://www.apple.com/support/iphone/repair/battery-power/
    Battery & power
    Is your iPhone battery draining too quickly or not holding a charge? Try restarting it first. You can also adjust several settings to extend the battery life of your iPhone.
    I hope this information helps ....
    - Judy

  • Fn+b keys don't work after installing Win7 Ultimate (HP Envy 14 BE)

    Fn+b keys don't work after installing Win7 Ultimate (HP Envy 14 BE)  --not able to use the Beats Speakers. Any software updates I need to install?
    This question was solved.
    View Solution.

    Hi Jim,
    You're welcome
    Is the version of Windows 7 Ultimate you have installed 32bit or 64bit?
    Open windows Control Panel, open Device Manager and open up Sound, Video and Game Controllers - do you see an existing entry for the IDT High Definition Audio CODEC listed here?
    There is an alternative IDT Audio driver you may wish to try on the following link.
    http://ftp.hp.com/pub/softpaq/sp53001-53500/sp53281.exe
    Let me know if you get the same error with this version.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Buit in ethernet don't work after installing Lion

    Built in ethernet don't work after installing OSX 10.7 on my MacBookPro 2.4 Ghz Intel Core 15.
    Someone else has the same problem?
    On my MacPro 2 x 2.6 GHz Dual-Core Intel Xeon it's not working good, i have to do a restart to get internet connection.
    Is there somebody who has te same problem and has a solution?

    Something does look odd to me unless it's a typo in your post.
    This look like what I'd expect from the NetGear Router - not form the modem. That is when You browse the router stats (http:/192.168.1.1)
    I work with a modem with te folowing preverences:
    Wan IP address    87.211.205.210
    Lan IP address     192.168.1.1
    Primery DNS server       62.58.50.5
    Secondary DNS server   62.58.50.6
    and a separate router Netgear WGT624v3
    This is not exactly what I would expect from System Preferences/Network
    the system preferences for the network are
    Configure       by DHCP
    IP address     192.168.1.15
    Subnetmask  255.255.255.0
    Router           192.168.5.1  <<<<<<<<<<< this should be 192.168.1.1??????
    DNS              208.67.222.222
                         208.67.220.220
    The Router address in System Preferences/Network should be the same as the LAN IP Address. In this case it's on a different network.
    If this is not a type then this is a problem!
    Not sure how it got to be that way.
    Does it persist when resetting the modemand router?/
    Steve

  • E4200 router, wmp600n wireless adapters and mapped drives with wpa2 don't work!

    Sigh
    I have a file server running windows 2003 and five computers (1 windows 7, 4 windows xp-sp3).
    There are two shares on the server.
    When the router is setup with wpa2, three of the windows xp machines will have problems with mapped drives. Directly after the drives are mapped, everything works, but 10 or so hours later, users can no longer access these mapped drives and there is no way to reconnect them it seems.
    The other two machines (windows 7 and one windows xp machine) have no problems whatsoever.
    The only thing that the three computers have in common is that they are also sharing a printer (an hp j4680) attached to one windows xp machine (not the server).
    If I set everything to wpa, everything works fine, but of course my wireless network speeds drop to 56mbps.
    Thoughts?

    Peanut, I appreciate your effort, but I don't think you truly understand what is going on.
    FWIW and for those experiencing similar oddities, On a mixed network of Windows Server 2003, Windows XP and Windows 7 machines, several Windows XP machines would on boot up decide that the router was the master browser. This made file shares on the server inaccessible to these machines. All machines were using wmp600n adapters.
    All computers had excellent signal strength and could access the internet without fail.
    What was not immediately evident to me was I was also having email issues where certain XP machines could not receive or send (sometimes one, sometimes both) pop email. I suspected it was a port blocking issue by the ISP since this problem was intermittent.
    What was clear though is that in each of the machines that exhibited the problem that computer was seeing the browser as the browser master. So finally, I swapped out the router with another branded router. This is not the only case of this router behaving this way--in my searches I have run into several other people who have had issues with file sharing so I don't know if it is a model deficiency or firmware issue.
    All I know is the all the problems went away with the router switch.  File shares work. Email works.
    So, I got a bad router that appeared to function properly--assuming this is not the case with other e4200s. I will know after RMAing this one.

  • Webmail in Safari don't work after updating to iOS6.

    Webmail in Safari don't work after updating to iOS6.  Logging on to office webmail account are redirected.  Webmail works with Google Chrome, but it doesn't sove the issue with Safari.  Any suggestions on how to configure Safari?

    Try this
    I was having this problem, seem to happen when waking computer, once finally connected network works great. 
    You need to edit your network preferences to order the network selection list.  Goto this support page  Using network locations (Mac OS X v10.6 and later) and edit your selection list. 
    I also created a "HOME" location and deleted all networks except wifi.  Put MB to sleep woke and safari worked great.  Still I re-ordered the networks under Automatic putting wifi at top, sequence is from top down.  Don't forget to click Apply.  Have fun

  • Bookmarks don't work after upgrading to Firefox 5.0

    My bookmarks don't work after upgrading to Firefox 5.o. Please help! The icons no longer show and instead there is a blank paper with the top right corner folded. I can't even bookmark new pages! I tried reinstalling the program and that didn't work. Please help!

    Your bookmarks file may be corrupt. Navigate to /[UserName]/AppData/Local/Mozilla/Firefox/Profiles/[profile_name]. Either rename places.sqlite to places.sqlite.corrupt (or whatever) in case this isn't the problem, or delete places.sqlite. Start/Restart Firefox. The icons for sites that have a favicon should return after you visit each site.

  • Internet Don't work after the last IOS Upgrade. What can I do?

    Internet Don't work after the last IOS Upgrade. What can I do?

    Can you give us more details?
    Is Wi-Fi working, i.e. not greyed out in Settings/Wi-Fi?
    Can you go online by using the Mobile Network?
    Any error messages given?
    Problem with your router?
    See these articles for help with Wi-Fi issues:
    Issues with Wi-Fi networks and connection
    Wi-Fi or Bluetooth settings grayed our or dim
    If you see No Service in the status bar of your iPhone or iPad - Apple Support
    iOS and OS X: Recommended settings for Wi-Fi routers and access points

  • Macbook pro 13inch,mid2010 qwertyu keys don't work after upgrade os x Yosemite

    macbook pro 13inch,mid2010 qwertyu keys don't work after I upgrade os x 10.10 Yosemite. but it works on keyboard viewer. I'm not sure if it's hardware or software problem, how can I fix it?

    Hello there, kipolo.
    Great job using the Keyboard viewer to troubleshoot your issue so far. The following Knowledge Base article provides a great checklists of steps to pinpoint the issue a bit further:
    One or more keys on the keyboard do not respond - Apple Support
    Some keys don't work as expected
    From the Apple menu, choose System Preferences.
    From the View menu, choose Speech.
    Click the Text to Speech tab.
    If "Speak selected text when the key is pressed" is enabled, the key or key combination set to speak text cannot be used for other purposes or used to type text--click Set Key and change it to a less-commonly used key combination (try to use modifier keys such as Shift, Command, Option, and Control). Or, disable the "Speak selected text when the key is pressed" option.
    Click the Accessibilty or Universal Access pane in System Preferences, then click the Keyboard tab.
    Make sure that Slow Keys is turned off. With Slow Keys on, you need to press a key for a longer period of time for it to be recognized.
    In the Accessibilty or Universal Access pane, click the Mouse tab, and make sure Mouse Keys is turned off. With Mouse Keys enabled, you cannot use the Numeric Keypad to enter numbers--instead the keypad moves the pointer (cursor). (There is an option to enable Mouse Keys with five presses of the Option key; you may want to turn that option off to avoid accidentally enabling it.) If Mouse Keys is enabled and you are using a keyboard with no numeric keypad or Num Lock function, see Unable to type while Mouse Keys is enabled in Mac OS X.
    If the function keys on the top row of the keyboard are not working as expected, see Mac OS X: How to change the behavior of function keys.
    If the issue persists, use Keyboard Viewer to help isolate the issue:
    Click the Language & Text pane (Mac OS X v10.6) or International pane (Mac OS X v10.5.8 or earlier) in System Preferences.
    Click the Input Sources tab (or Input Menu tab in Mac OS X 10.5.8 or earlier).
    Click the Keyboard & Character Viewer "On" checkbox to select it (click the Keyboard Viewer "On" checkbox in Mac OS X 10.5.8 or earlier).
    From the Input (flag) menu, choose Show Keyboard Viewer.
    If the keyboard is connected and detected by OS X, the keys you type will highlight in the Keyboard Viewer window. Open TextEdit (or any text application), and try to type something using the keys that were previously not responding to see if they highlight in Keyboard Viewer.
    Start from the Mac OS X Install Disc, choose Terminal from the Utilities menu and test the keys which were previously not working.  If the keys work while started from the Install disc, then the keyboard itself is working correctly.  Use How to troubleshoot a software issue to isolate the software issue that may be causing the keys to not respond.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Problem with Javamail in Red Hat

    Good afternoon.
    I have a problem with javamail in Red Hat.
    When i send a email in windows with my application, works well. But in Red Hat no works.
    Gives the following error:
    Java.lang.ClassCastException .... gnu.mail.handler.TextPlain
    Does anyone know that happens?

    You have much to learn. This is the wrong forum for most of it.
    You should be able to use the package manager in Linux to
    uninstall the Gnu version. Then read this:
    [http://java.sun.com/products/javamail/FAQ.html#install|http://java.sun.com/products/javamail/FAQ.html#install]

  • Problem with connecting to free wifi after upgrading to Windows 8.1 from Windows 8

    Hi
    I had problems with connecting to free Wifi after upgrading my PC(Notebook) to Windows 8.1 from Windows 8. As I travel a lot within europe, I am used to being able to connect to Free Wifi(those that dont need a key or password to enter) but soon after downloading
    Windows 8.1 I almost never was able to do this. I'd always get «LIMITED» even though the signal was strong.This was so fustrating,so much so that I reset my PC to clear it of Windows 8.1 and am now back to Windows 8.This is a shame because I was really liking
    using Windows 8.1 and if not for this problem(which is a big one) I'd still be using it. If I download Windows 8.1 again from the Windows store what is the probability that I'll have the same problems?
    Thanks Portozzygirl

    More often than not when a device isn't working it is because the driver has become corrupted. Re-installing a fresh copy should help
    http://windows.microsoft.com/en-us/windows7/Update-a-driver-for-hardware-that-isnt-working-properly?SignedIn=1
    http://captaindbg.com/how-to-update-drivers-on-windows-7/   (works on win 8 too)
    Wanikiya and Dyami--Team Zigzag

  • IPhone 3GS apps don't work after 4.3 upgrade

    Some apps like mail, safari, app store, ipod don't work after upgrading to iOS 4.3. itues is up to date and have never had issues before. tried to downgrade to 4.2 but was unable to. Help!

    I have the same issue, half the apps no longer work, just stays in 'updating' mode. I've tried uninstalling some but now the app store is freezing. THe ones I am able to reinstall give me error message saying I'm not logging in correctly (I am). I'm guessing some apps versions aren't compatible with the new software but a few I was able to use after the software update and now I can't

  • My apps don't work after synching music files from my PC

    My apps don't work after synching music files from my PC through Itunes....though all the apps are shown in the Apps window in Itunes (The Apps match the iTunes account on the iPhone).....
    Disconnecting after the sync and After downloading any app from Appstore through Wi-Fi all my apps start working.....
    Please Help.....

    What happend is your phone forgot it was authorized to work with items associated with your apple id. If it happens again, download any free app to prompt the sign in, once you install the free app the others should work.

Maybe you are looking for

  • Another person in need of serious help.

    Hello, I am also just starting to use java so that i know the basics for my degree i start next year, so would love someone to help me with a problem i am having. I have bought a book "Java made simple" and have been following it page by page, but ha

  • Pages that are online are not showing in iweb

    i want to edit some of the pags i created in iweb which are now on the web. the problem is that the pages do not show up when i open iweb...only my welcome page. is there a way to get the pages from my idisk into iweb so i can edit and add to them? t

  • Using Contribute CS5 to edit site created w/Dreamweaver - PayPal button size issues

    I'm using Adobe Contribute CS5 to edit my web site that was built with Dreamweaver on a Mac.  I have a PC with Windows XP, 1G of ram, a 40G hard drive (used only for programs and operating system) a 1 terabyte external hard drive for all files, etc. 

  • MEDRUCK_PO

    Hello All, I am new to ADOBE forms and I have a requirement to develop a new Purchase Order Adobe Form . I need to confidure output types too. I am copying 'NEU' to 'ZNEU', and form name 'MEDRUCK_PO' to 'ZMEDRUCK_PO', but what would be the program na

  • Table View : Sort='server' : Error=Invalid sort field type in "SORT ... AS

    Hi , The Sort button does not work for GUID and it shows the error, <b>Invalid sort field type in "SORT ... AS TEXT"</b> How do I solve this problem? Thanks and Best Regards, Bindiya