Applications hanging on quit

I've had an ongoing problem over the course of several weeks, where when I go to quit an application, I get a message that it has unexpected quit and an option to report to apple. I work lots in Photoshop and that app gets it alot, but also others like Portfolio, iPhoto, and others. I'm on a dual 2.5 PowerPC G5 and latest Leopard-not snow.
Thanks for any help

HI,
Make sure there is enough free disk space available. Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. *Make sure you always have a minimum of 10% to 15% free disk space at all times.*
Might be a good time to boot from your install disc and run Disk Utility and repair any errors.
Insert your install disk and Restart, holding down the "C" key until grey Apple appears.
Go to Installer menu and launch Disk Utility.
Select your HDD (manufacturer ID) in the left panel.
Select First Aid in the Main panel.
*(Check S.M.A.R.T Status of HDD at the bottom of right panel. It should say: Verified)*
Click Repair Disk on the bottom right.
If DU reports disk does not need repairs quit DU and restart.
If DU reports errors Repair again and again until DU reports disk is repaired.
When you are finished with DU, from the Menu Bar, select Utilities/Startup Manager.
Select your start up disk and click Restart
Carolyn

Similar Messages

  • Application hangs on quit, but doesn't appear in Activity Monitor

    When I tried to quit an application, it became not responding. The Dock and the Force Quit Applications window showed that it's still running, but there's no entry with the application name in Activity Monitor.
    Trying force quitting by right-clicking at the dock icons as well as using Cmd-Option-Esc didn't help. Neither did using the command "killall process_name" in Terminal. (It said there's no such process running)
    The problem happened to all kinds of application, from Firefox, iTunes, to Microsoft Word, so I think it's the OS fault.
    I couldn't restart, shutdown the OS or log out when this happened.
    The problem has just arisen earlier this week.
    Please help me solve it. Thanks.

    Hi vnt;
    Well it sounds like something is corrupt. It could either be the preference files or the system. So creating another user is the fastest way to determine which that I know.
    Allan

  • My application hangs and quit  when it was loading crystal report Exception Offset:00007c72

    I'm sorry if i post this discussion at incorrect Space(or Forum).I'm appreciating your patient .
    I installed my application on PC-client Win7 ; and when he was trying to view the report an error raise the application encountered a problem and needs to close.
    I noticed the application crash when it was trying to execute the following line of code(VB.Net)
    Report.Database.Tables(0).SetDataSource(ConstantDataSet.DataSt.Tables("ConfigFile_SelectRpt"))
    ( more details
    Dim Report As CrystalDecisions.CrystalReports.Engine.ReportDocument
    ConstantDataSet.DataSt.Tables("ConfigFile_SelectRpt") is data table contains data
    Description:
      Stopped working
    Problem signature:
      Problem Event Name: APPCRASH
      Application Name: OrganizationSupporter.exe
      Application Version: 1.0.0.0
      Application Timestamp: 50a52b98
      Fault Module Name: KERNELBASE.dll
      Fault Module Version: 6.1.7601.21824
      Fault Module Timestamp: 4e797cdd
      Exception Code: e0434352
      Exception Offset: 00007c72
      OS Version: 6.1.7601.2.1.0.256.1
      Locale ID: 1033
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt
    I'm highly appreciating your help and cooperation.

    Correct, you are using the beta version of the runtime.
    Search here on how to remove version 14 and use the RTM release version 13.
    Thank you
    Don

  • Application hangs or just quits unexpectedly?

    I got my new Ipad 2 a week ago, and while using,  application hang, or just quit unexpectedely

    Is it happening on alls apps, just those that you've downloaded from the store, or some downloaded apps and some Apple built-in apps ? If it's happening on all the apps that you've downloaded from the App Store, but not the Apple built-in ones, then try downloading any free app from the store (as that appears to reset something) and then re-try them - the free app can then be deleted.
    If it's happening on all apps then try closing them all completely and then see if they work when you re-open them : from the home screen (i.e.not with any app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of each app to close them, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work then you could try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Application hang for long time (unable to load)

    hi and a very good day to all..
    i am a new user of J2ME and i am currently using Sun Wireless Toolkit to run a sample program. But, there are some error occur when i open it from the Open Project in Sun Wireless Toolkit. Once i click the launch button on the emulator, it will show the graphic but with a statement 'Please Wait'. it seems like my application is going happen to hang for quite a long time (i even can't open it at all). it happen every time i open my project and i unable to load my program successfully. i want 2 ask, is it because of teh coding? or my pc? or the Sun Wireless Toolkit itself? i never change/edit the coding, since this the sample application of Mobile Compass i downloading from the internet.
    there are bundle of code in my application (single application)..but the error 'Please Wait' basically come from 1 of the coding. i'll show it below:
    **THE CODE**
    package org.qcontinuum.compass;
    import javax.microedition.lcdui.*;
    import java.util.*;
    abstract public class Progress extends Form implements CommandListener, Runnable {
    private Displayable mParent;
    private Command mCancelCommand;
    private Thread mThread;
    // private Timer mTimer;
    public Progress(String title, Displayable parent) {
    super(title);
    mParent = parent;
    append(new StringItem(null, "Please wait...\n"));
    addCommand(mCancelCommand = new Command("Cancel", Command.CANCEL, 0));
    setCommandListener(this);
    mThread = new Thread(this);
    public void start() {
    mThread.start();
    abstract public void run();
    public void commandAction(Command c, Displayable d) {
    if (c == mCancelCommand) {
    Compass.display(mParent);
    p/s: is it the above error related to java.lang.NullPointerException? this is because, with unexpected situation, suddenly the compass program able to download successfully (only sometime), but still it give some error like below, and i still can select the Time Zone for my destination chosen from the given map.
    java.lang.NullPointerException
         at java.io.DataInputStream.read(+4)
         at java.io.DataInputStream.readUnsignedShort(+4)
         at java.io.DataInputStream.readUTF(+6)
         at java.io.DataInputStream.readUTF(+4)
         at org.qcontinuum.compass.TimeZone.load(+6)
         at org.qcontinuum.compass.TimeZone.<init>(+9)
         at org.qcontinuum.compass.TimeZone.getZones(+36)
         at org.qcontinuum.compass.LocationTimeZone.<init>(+89)
         at org.qcontinuum.compass.LocationMap.locationSelected(+22)
         at org.qcontinuum.compass.MapCanvas.moveImage(+282)
         at org.qcontinuum.compass.MapCanvas.keyPressed(+22)
         at javax.microedition.lcdui.Canvas.callKeyPressed(+19)
         at javax.microedition.lcdui.Display$DisplayAccessor.keyEvent(+198)
         at javax.microedition.lcdui.Display$DisplayManagerImpl.keyEvent(+11)
         at com.sun.midp.lcdui.DefaultEventHandler.keyEvent(+127)
         at com.sun.midp.lcdui.AutomatedEventHandler.keyEvent(+210)
         at com.sun.midp.lcdui.DefaultEventHandler$QueuedEventHandler.handleVmEvent(+114)
         at com.sun.midp.lcdui.DefaultEventHandler$QueuedEventHandler.run(+57)
    can someone help me on this. i really need the answer for this solution. i am still new and in the process of leaning. Thanks a lot and hope all of u can help me. May God bless u. The reference for the above sample program is at http://http://qcontinuum.org/compass/index.htm
    Regards,
    Miss Iera

    Hi,
    Do you have variable replaced by another query? If that is case, you will get performance issue, when the prequery is runnig when call var screen.
    Do you have variable replaced by authorization? If that is case, for the user will complicated authroization, it will take some time to fill it.
    In general, when the variable screen is calling, have you check in sm66, what is the work process doing? In RSRT->run this query with statistics, which part takes most time?

  • How to freeze or make an application hang to test a script?

    

I like to test this script
    tell application "System Events" to set theApps to name of processes whose background only is false
    repeat with oneApp in theApps
    set pState to do shell script "/bin/ps -arxo state,comm | /usr/bin/grep " & oneApp & " | /usr/bin/cut -c 1"
    if pState contains "Z" then -- if the application hangs, kill it
    tell application "System Events" to set pid to the unix id of process appname as Unicode text
    do shell script "/bin/kill " & pid
    end if
    -- delay 5 -- security delay
    try
    do shell script "open -a /Applications/Restart.app"
    end try
    end repeat
    It is supposed to run from time to time on my server checking if a programme is hanging and if so quitting it and restarting it.
    So does anybody know how one can get a programme to hang or crash? Did several experiments with Text Edit, but could not get it to crash. Interesting question though, as we are mostly concerned about crashes not happening.
    Any ideas or suggestions are welcome. 

 Thanks

    orangekay thanks
    I tried that but did not work (might be my lack of skill), or might have done it wrong though, any suggestions as to how?

  • Funny noises, beachballs and application hangs (MacBook Pro 2010)

    Hi,
    My late 2010 model 17 inch MacBook Pro frequently makes an odd noise (seeming to come from the left side) when I am using it.  It sounds a bit like a click or a whirr (or both); if this happens application I am using will often hang for seconds to a few minutes, before the noise recurs and everything goes back to normal.  It is quite irritating!
    Interestingly, the Finder itself doesn't crash and I can switch to other applications; these also hang if I try to use them but all is restored when the noise happens again.
    The most obvious app is iTunes, which will stop playing music when noise happens then restart as soon as the problem rectifies itself.
    Any suggestions as to what this could be?  It's been happening for years now and my machine still seems ok
    Thanks

    You have a failing hard disk   BACKUP YOUR DATA IMMEDIATLY. Assuming you are using an MBP with a physical disk and not an SSD (which is most like the case for a 2010 model MPB)  then the clicking noise you are hearing is the HDD equivilant of a stroke.  The reader head hits a piece of "interesting" data, flips out, smacks against the axle of the disk, and then the disk has to spin up again,  causing the application hangs.   When the disk is going through this, no data can move in or out.  The reason finder still works is that some data is pre-loaded.  You may still have functionality for a few seconds even after the disk quit working.  Since these are tiny blips in data, the finder still works.   Applications, which are constantly passing data, hang and wait for the data.    Usually, if you go into the system.log file, you will see a stack of I/O errors stemming from the disk/sector in question.    Again, BACK UP YOUR DATA IMMEDIATLY and take the laptop to a genius bar.
    The Whirring noise you hear is probably the disk moter spinning up during this process. 
    http://www.youtube.com/watch?v=yAkHzaKULPk  a visual of what is happening

  • Applications fail to quit

    I've have problem where applications hang (get into a "not responding' state) but fail to quit after I do a Force Quit from Force Quit Applications. So far I've had this with: Photoshop CS3 10.0.1; Superduper; and Finder. Mostly, I've noticed the problem with Photoshop which is my primary application for work.
    For example, when I force Photoshop to quit, it disappears from the Force Quit Application list. However, after quitting, I cannot open .psd or .jpg files from Bridge or from Finder. Raw files open up ok from Bridge into Camera Raw.
    And, when I try to shut down or restart my machine i get: " Logout has timed out - The application Photoshop failed to quit and is not responding." so the only way to restart is to force a shut down with the power button. After restarting the Mac everything works ok again for a a while and then the problem happens again.
    Additionally, if I try to do a Restart after forcing the Mac to shut down and restart, at times instead of shutting down the screen just goes either black or grey and then hangs before completing the shut down
    I have repaired my disk permissions, reset my PRAM and NVRAM and run Diskwarrior, Cocktail and iFreeMem. I have checked memory usage when the problem happens and would appear to have a massive excess of Free memory which moves between 3.5Gb and 7.5Gb.
    Any thoughts on what might be causing this and what else I can do to eliminate the problem would be very gratefully received
    thanks
    I am working on a Dual-Core Intel MacPro with 9GB memory, running OS 10.4.11

    Start over. Deep clean and repair. Get to the source and causes. You knew that, right? just pushing it off?
    Corrupt drive, directory, files, preferences, cache files cna all play havoc. Sometimes it is just easier to start wiTH A FRESH CLEAN NEW SYSTEM and go from there.
    Run Disk Warrior frequently.
    Repair your drive and don't assume that it is safe to just relaunch, restart, or reload.
    Eliminate anything other than essential to CS3.
    Hopefully you never used CS2 or Migration Assistant to bring over applications from a G4/5.
    You have a lot of symptoms, but it takes time and sweat to clean up things. The whole idea of using SuperDuper is so you have a known good backup you can just restore from.
    A dedicated boot drive makes it easier to maintain the system. Means that your data is on another drive.
    A setup for CS3 should have a lean system, dedicated fast boot drive, a drive for data, and a scratch volume (even stripped RAID).
    4 x 2GB of memory might be better than having the 'extra' 2 x 512MB sitting there.
    To get to the root cause, can you rule out memory with Memtest? bad sectors?
    *At the very least, create a new test account.*
    I like to put my home folder on non-boot drive.
    /Volumes/volname/Users/account - made easier in Leopard but then 10.5 isn't really ready, not for CS3 probably.
    My guess is you have a plug-in or something that is bugging your system. Anything that is not Intel, anything that runs under Rosetta, where Activity Monitor shows "Type" is "PPC" for starters.

  • Random Application hangs having installed Mavericks 10.9.1

    Having installed mavericks 9.1 just before Christmas I find various applications hang at random points. I list some of those happening since 28th December:
    Finder "Open With"
    Save As (in Powerpoiint)
    Save AS (in Grab)
    Start Lightroom (get initial screen splash, lock the database but never get the Library screen up) Had this several times
    Start Elements 11
    On Opening USB memory stick
    On inserting CF card into reader
    On Saving an Excel file
    On loading a new page in Safari
    In Word on "save as"
    In Word when highlighting a word (to make it bold)
    In most cases (but not all) A Forced Quite leaves something in the running processes whiuch stops the application from starting again and stops me doing a clean shutdown (I have to do a power off and power on)
    After a restart, most of the time the application will start up cleanly but on at least two occasions I have had to reinstall mavericks as I couldn't get to the main screen (although in both cases a Safe start came up OK.
    I have done Disk checks on all disks with nothing showing.
    I have Console running but I can't recognise anything in there as being a significant error, along with Activity Monitor.
    I have also run Etrecheck and removed all startup items.
    I am running on an 18BG Early 2008 mac pro which has never suffered from this type of problem before. The only applications which give any hang dumps are Microsoft (Office 2011) which have been duly sent off.
    Can anybody suggest how to go about debugging this situation?

    This is a very common problem with Mavericks and Mountain Lion. I had this issue so many times and many others probably did too. I went into Preferences-->Security&Privacy and select "Anywhere" under allow apps from.
    If that doesn't work. You should repair disk permissions on your hard drive. There is a case where the files on the hard drive is not organized and therefore, the mac doesn't recognize it. Go into disk utility, select Macintosh HD or your mac partition, then press repair disk permissions. My macbook pro took 15 minutes for this disk repair process.

  • Application hang. Skype stops interacting with wi...

    Skype has suddenly stopped working and I cannot access anything in the skype window.  Nothing in the menu is accessible  and have to close it out using task manager... Event log shows the following error.
    Log Name:      Application
    Source:        Application Hang
    Date:          3/1/2015 12:10:08 AM
    Event ID:      1002
    Task Category: (101)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Petie-PC
    Description:
    The program Skype.exe version 7.1.0.105 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Action Center control panel.
     Process ID: 4d4
     Start Time: 01d053e94bb9dd10
     Termination Time: 13
     Application Path: C:\Program Files (x86)\Skype\Phone\Skype.exe
     Report Id:
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/ev​ent">
      <System>
        <Provider Name="Application Hang" />
        <EventID Qualifiers="0">1002</EventID>
        <Level>2</Level>
        <Task>101</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-03-01T07:10:08.000000000Z" />
        <EventRecordID>44618</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Petie-PC</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Skype.exe</Data>
        <Data>7.1.0.105</Data>
        <Data>4d4</Data>
        <Data>01d053e94bb9dd10</Data>
        <Data>13</Data>
        <Data>C:\Program Files (x86)\Skype\Phone\Skype.exe</Data>
        <Data>
        </Data>
        <Binary>54006F00700020006C006500760065006C00200077​0069006E0064006F0077002000690073002000690064006C00​650000000000</Binary>
      </EventData>
    </Event>

    Try to reset all Skype settings.
    Quit Skype or use Windows Task Manager to kill any Skype.exe process. Go to Windows Start and in the Search/Run box type %appdata% and then press Enter or click the OK button. The Windows File Explorer will pop up. There locate a folder named “Skype”. Rename this folder to something different, e.g. Skype_old.
    Next go to Windows Start and in the Search/Run box type %temp%\skype and then press Enter or click the OK button. Delete the DbTemp folder.
    Restart Skype.
    N.B. If needed, you will still be able to re-establish your call and chat history. All data is still saved in the Skype_old folder.

  • If external HD is connected applications hang under 10.9

    I have a G-Technology mirrored RAID 'G-Safe' external hard drive(s) - it's connected FireWire > FireWire to Thunderbolt adapter to my late 2012 27" iMac. It has operated without fault for a year and a half and also on another Mac.
    After extenive detective work I have narrowed an issue down to it being connected under 10.9 Mavericks.
    Since updating to 10.9 the drive still appears to work fine, however in any application when I go to load or save a file (and the Finder browser appears to pick file/save location) that application hangs and I have to force quit.
    The issue dissappears if I switch the G-Safe off.
    G-Technology say the issue is definetly with the OS not the drive.
    I know there are many post here regarding other issues with external HDs and Mavericks so thought I'd post this with hope a solution can be found.

    Dusty,
    You have pretty well narrowed down the possibilities...HD ribbon cable or logic board. All I can suggest is a very close examination of the entire ribbon cable, looking for breaks/burns in the traces and any abnormalities with both the male and female connectors. A recent poster had similar issues with an HD that would not mount (I can't recall all the details) and he thought the ribbon cable was good, but finally replaced it and solved the issue. Other than replacing it as the next test, I would guess paying for a diagnosis is the only option.
    Even though the HD is not present, do you have the Pismo's Hardware Test CD to run?

  • After Effects CS6 and Premiere Pro CS6 Long Startup and Application Hang

    Problem:
    After Effects and Premiere Pro CS5.5 and CS6 are very slow to start all of a sudden.  Around 5 minutes to get to/by the intro dialogue box.  For AE, the majority of the time is spent on the "initializing user interface." Then, if I can make a comp, and even a layer inside that comp, it will "Hang" if I attempt to open AE's General preferences for example (no preferences window ever comes up).  This "hang" is what the Event Viewer in windows calls it, with the faulting module being afterfx.exe.  Premiere is not much different.   It makes it to the new project window fast, but after setting project parameters and creating the first sequence, I can't get into the preferences either and the application hangs.  It is important to note that if I have another application open, like Chrome or Firefox for example at the time the application hangs, they will freeze as well.  As soon as I kill the Afterfx.exe process, they come back to life.
    I have read nearly all threads on the subject, and am struggling to find a solution:
    Deleted preferences folder under my username's appdata.
    Turned off Firewall (network traffic from dynamiclink, qtserver, etc was allowed, but what the hay)
    ran windows system file checker/malwarebytes/rkill/rootkit detection.
    checked for windows compatibility checkboxes under the file.
    Uninstalled Wacom Tablet drivers
    Disabled Aero
    Started with ctrl-alt-shift to delete pref.
    uninstalled video driver and replaced with one 6 months ago.
    uninstalled, reinstalled, and tested various quicktime versions back to version 7.69
    moved plugins folder
    moved opengl's plugin out of the folder temporarily
    Disabled all 3rd party codecs (xvid was the only one installed and for months)
    reinitialized default directshow filters
    checked for adobe font list (none found) and removed any fonts from 1 month ago to present.
    used msconfig to selective startup without other applications/services running.
    Uninstalled all adobe products, and reinstalled.
    I performed all of these in a systematic manner, trying to solve the problem.  None have fixed the problem.
    So it doesn't seem to be a network issue, a codec issue, a plugin issue, a driver issue, font issue, or conflicting application.  Any thoughts?
    System Info:
    PC Windows 7 pro 64-bit SP1
    Core i7 - 960 24GB ram
    AMD Radeon 6750  v12.10
    Adobe CS6 Master Collection

    Who's says that Microsoft can't debug?
    I used msconfig, first disabling startup items, -same result.
    Enabled all startup items, disabled all non-microsoft services - AE worked!
    I re-enabled each service in turn until AE crashed.
    The fault was related to an item for a video streaming device I have in my house.  It was Monsoon-multimedia's Vulkano Service.  Sometimes under the old name of Hava, this is an app that acts like a sling-box to send my Cable TV to my screen.  It does load a couple of virtual devices in device manager, and uses a proprietary codec.
    I uninstalled the vulkano streamer application and rebooted the external Vulkano device.  I reinstalled the Vulkano and verified it connected to the device and could stream.  Once it did, I tried AE again and IT WORKED!
    I wonder if simply rebooting the Vulkano would have fixed it.  Its like opening the garage door to turn on the refridgerator.
    Thanks for the help!
    Jim

  • JavaMail application hanged with no error throwed at Transport.send

    JavaMail application hanged with no error throwed at Transport.send,even though I set the timeout property
    import java.util.Date;
    import java.util.Properties;
    import javax.mail.Authenticator;
    import javax.mail.Message;
    import javax.mail.PasswordAuthentication;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.MimeMessage;
    import javax.mail.internet.MimeMultipart;
    import javax.mail.internet.MimeUtility;
    public class tt {
         static Properties props=null;
         static boolean needAuth=true;
         static MailAuthenticator authenticator = null;
         static String host="host";
         static String account="account";
         static String password="pwd";
         static String sender="sender";
          * @param args
          * @throws Exception
         public static void main(String[] args) throws Exception{
               if (props == null) {
                     props = new Properties();
                     props.put("mail.smtp.host", host);
                     props.put("mail.smtp.timeout      ", "1000");
                     props.put("mail.smtp.connectiontimeout      ", "1000");
    //                 props.put("mail.debug", "true");
                     props.put("mail.smtp.auth", String.valueOf(needAuth));
                     authenticator = new MailAuthenticator(account, password);
                 MailData mailData = new MailData();
                 mailData.setSubject("altireport mail configuration");
                 mailData.setContent("mail server has been configured successfully.");
                 mailData.setRecipients(new String[]{"[email protected]"});
                 final Session session = Session.getInstance(props, authenticator);
                 final MimeMessage msg = new MimeMessage(session);
                 InternetAddress from = new InternetAddress(sender);
                 msg.setFrom(from);
                 //        msg.setSender(from);
                final InternetAddress[] addressTo = new InternetAddress[mailData.getRecipients().length];
                 for (int i = 0; i < mailData.getRecipients().length; i++) {
                     addressTo[i] = new InternetAddress(mailData.getRecipients());
         msg.addRecipients(Message.RecipientType.TO, addressTo);
         //msg.setSubject(mailData.getSubject());
         msg.setSubject(MimeUtility.encodeText(mailData.getSubject(), "UTF-8", "B"));
         MimeBodyPart bodyPart1 = new MimeBodyPart();
         bodyPart1.setContent(mailData.getContent(), "text/plain; charset=UTF-8");
         MimeMultipart multipart = new MimeMultipart();
         multipart.addBodyPart(bodyPart1);
         msg.setContent(multipart);
         msg.setSentDate(new Date());
    //     msg.saveChanges();
         for(int i=0;i<10;i++){
              new Thread(new Runnable(){
                             public void run() {
                             try {
                                  System.out.println("send...");                                   
                                  Transport.send(msg);
                                  } catch (Exception e) {
                                       e.printStackTrace(System.out);
                        System.out.println("end!");
              }).start();
    class MailData {
    private String[] recipients = null;
    private String subject = null;
    private String content = null;
    private String attachment = null;
    private String attachmentName = null;
    * @return the attachment
    public String getAttachment() {
    return attachment;
    * @param attachment the attachment to set
    public void setAttachment(String attachment) {
    this.attachment = attachment;
    * @return the content
    public String getContent() {
    return content;
    * @param content the content to set
    public void setContent(String content) {
    this.content = content;
    * @return the recipients
    public String[] getRecipients() {
    return recipients;
    * @param recipients the recipients to set
    public void setRecipients(String[] recipients) {
    this.recipients = recipients;
    * @return the subject
    public String getSubject() {
    return subject;
    * @param subject the subject to set
    public void setSubject(String subject) {
    this.subject = subject;
    * @return the attachmentName
    public String getAttachmentName()
    return attachmentName;
    * @param attachmentName the attachmentName to set
    public void setAttachmentName(String attachmentName)
    this.attachmentName = attachmentName;
    class MailAuthenticator extends Authenticator {
    private PasswordAuthentication authentication;
    public MailAuthenticator(String account, String password) {
    authentication = new PasswordAuthentication(account, password);
    protected PasswordAuthentication getPasswordAuthentication() {
    return authentication;
    I have tried use session to get a SMTPTransport instance to use sendMessage ,but still have the same problem.No exception ,No error.
    This problem doesn't appear always. It appears sometimes.
    I hope get help for someone who has the solution for this problem.
    Thanks in advanced.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Ok, I think I see the problem:
         props.put("mail.smtp.timeout      ", "1000");
         props.put("mail.smtp.connectiontimeout      ", "1000");
    Why do you have spaces at the end of the property names?
    Those spaces are not being ignored, which means you've
    set the wrong properties.

  • I have a series problem in the safari application it was quit unexpectedly and i can not open it even after i click reopen in the pop uo message that apears to me please help me to make it.

    how can i open an application that was quit unexpectedly?

    If you have another browser installed:
    1. Download and use free AdwareMedic to remove the adware
        http://www.adwaremedic.com/index.php
        Install , open,  and run it by clicking “Scan for Adware” button   to remove adware.
        Once done, quit AdwareMedic.
    2. Safari > Preferences > Extensions
         Turn those off and relaunch Safari to test .
         Turn those on one by one and test.
                   or
        Remove the adware  manually  by following the “HowTo” from Apple.
        http://support.apple.com/en-us/HT203987
      If you don’t have another browser installed:
    Startup into SafeMode, log into your account, open Safari
    and download  AdwareMedic or the removal instructions from Apple.
    * How to start up into Safe Mode?
    Shut down the computer.
    Press the power button. Immediately after you hear the startup sound, press and hold the Shift key.
    The Shift key should be pressed as soon as possible after startup,but not before the startup sound.
    Release the Shift key when you see the Apple logo on the screen. Startup will take longer than usual.
    Launch Safari. Proceed with the removal of Adware.
    1. Download and use free AdwareMedic to remove the adware
        http://www.adwaremedic.com/index.php
        Install , open,  and run it by clicking “Scan for Adware” button   to remove adware.
        Once done, quit AdwareMedic.
    2. Safari > Preferences > Extensions
         Turn those off and relaunch Safari to test .
         Turn those on one by one and test.
                   or
        Remove the adware  manually  by following the “HowTo” from Apple.
        http://support.apple.com/en-us/HT203987
    Once done, click  in the menu bar and choose “Restart”.
    * Source:  http://support.apple.com/kb/PH18760

  • Application hangs while trying to create a socket

    Hello,
    We have a third party application that makes HTTP connections using a old version of HTTPClient. Recently we have run into problems where the application hangs as one thread seems to hang while trying to create a socket (thread dumps show the hang occurs in native code) and other threads end up waiting for this thread as they need to obtain a lock on HTTPClient.HTTPConnection. We found out that HTTPClient was not setting a timeout on the underlying socket (SO_TIMEOUT) and the relevant patch has been implemented in the hope that if the condition arises again the offending thread will be timed out and allow other threads to try and continue.
    We will not be able to see if the patch works until Monday and I would like to understand the problem a little better if it fails. My question at what point will the socket timeout starting ticking? As our offending thread is waiting in native code is there a chance that the timeout will not be "active".
    Also can anyone provide reasons for an application hanging while trying to create a socket and any suggestions for monitoring or mitigating this problem?
    Thanks a lot.
    Sun Solaris 5.8
    JDK 1.4.1 b02

    It looks like our version of the JDK offer a connect method with a timeout value, I think this will do the trick.

Maybe you are looking for

  • Miro Delivery cost

    Hi, While Doing Miro delivery cost line item is not generated.We had modified earlier 2 yrs back condition for freight as ZFRC .It is working fine.But for this PO that particular item was not showing. Actual Below in MIRO transaction it shows seperat

  • Url IWeb, mobileme

    Hola, tengo una duda, he hecho una pagina con Iweb y la he publicado en mobileme redireccionando esta a mi propio dominio, al busca la pagina me la busca poniendo mi dominio que es www.dinoaldolor.com, pero en la url me pone la dirección donde se alo

  • 3502 access point will not connect to 4400 Series WLAN controller

    I recently upgraded our controllers to the latest version 7 software, as I read this was one of the requirements to get them to connect.  But I am not having any luck getting into a controller.  Normally I plug them in to the network, they pop into t

  • Adobe CS6, Acrobat

    Ich habe regelmäßig einen Absturz bei dr Anwendung von Adobe pro X. Die exe-Datei wird gelöscht oder ist nicht aufzufinden. Hatte Zuletzt eie Support-Sitzung bei der, mir geraten wurde, das Komplette Programm zu löschen und neu zu installieren. Hat f

  • Need help installing postgres 8.2.3 and htmldoc on 10.6.4 server

    I have a web site that has a requirement for postgres 8.2.3 and htmldoc in order to work. I have had no luck so far. I am running a macpro sever with 10.6.4 latest version. Can someone tell me how to install this on 10.6.