LabVIEW Program not running if i lock my PC (using an EXE made from LabVIEW)

Hi everyone 
I observed some odd behavior when I was running my program on a PC. I prepared an EXE for a LabVIEW program, this am running on another PC. Purpose of the program is to read a text file and follow the command given in that text document, we are accessing parallel port, calling third party EXEs in this. It is not running when I minimize the window or lock the PC. Do we have any property in VI properties for this?
 Please help me in this.
Thanks
Anil

Hi Anil,
Minimizing the application or locking Windows should not stop the executable from running. Can you reproduce this behavior on the development PC?  Also try to create an executable with a simple VI that counts the number of iteration and check for this behavior ?
Tunde.

Similar Messages

  • 06 28 update program not running

    I downloaded and installed the latest update to my pc. I installed it and rebooted like requested. I tried running the update by 1. plugging in my ipod and it telling me there is an update to click button to run the update program
    2. tried running it from my start menu
    3. went to the physical directory of the exe file and dowble clicked it. nothing made the update program come up. it just simply does not run when you click it or use any of the methods said before.
    Anyone else have this problem or know how to fix it?
    PC   Windows XP Pro   XP

    I did everything you mentioned including updating itunes and it just doesn't run, no matter how many times I click the icon the program does not start
    I ran it yesterday with no problem (windows xp SP2).
    things that you can try are:
    Reset your ipod before conecting it to your
    computer.
    Start the update program before updating your ipod
    did you also upgrade itunes?
    Try those things and let us know how it goes.

  • I get program not responding every time I try to use new Garageband

    I get program not responding every time I try to use new Garageband

    I mean the program will open, but when asked to open anything it just sets with the rainbow pie spinning. Click on garageband in the dock and it says that is not responding.

  • I cant use the highlight, underline, or strikethrough function in a specific pdf file. The file isnt locked. I used to highlight texts from that file before the latest update. The problem occurs only with that file. Urgent need. Please help. Thanks!

    i cant use the highlight, underline, or strikethrough function in a specific pdf file. The file isnt locked. I used to highlight texts from that file before the latest update. The problem occurs only with that file. Urgent need. Please help. Thanks!

    Chester31,
    Thank you very much for sharing your file with us!  Now that we are able to reproduce the problem at our end, you may stop sharing the file on Acrobat.com.
    Do you know when this problem (for not being able to add new highlight/strikeout/underline) has started?  Did you update your iOS from 7.x to 8.0 recently?
    We will continue investigating the problem and let you know what we find.
    Thank you again for your help.

  • I have deleted playlists from my iphone4 that I wish to restore. The current back up does not contain them either. Can I use a back up from yesterday? How do I find it on my laptop?

    I have deleted playlists from my iphone4 that I wish to restore. The current back up does not contain them either. Can I use a back up from yesterday? How do I find it on my laptop?

    No iTunes content is included in any iPhone backup. If the playlists are not in your iTunes library, on your computer, they are gone.

  • Restart computer when program not running

    Hello,
    I am using Labview 2011 and 2014.
    I have set windows to launch my program when the computer is turned on. The VI is set so that the program runs when launched. Things have been working fine for several ON/OFF sequences of the computer. But last time when getting back to the screen I realised that the program was not running (just like if it was waiting for the user to press the white arrow). I pressed the white arrow and the program worked fine. I started up the computer and everything worked too. this program is suppose to run quite far away from work where I don't have access to the computer (not able to check if things are ok..)
    My question is : how could I make the computer make a Stop and Start sequence if my program stops or isn't running?
    Thanks.
    User

    User79 escreveu:
    Thanks Crossrulz and Sergio for your snwers.
    Sergio, I will keep in mind your solution.
    Crossrultz, your solution works fine on my cpumtor where I have Seven and Labview 2014 installed. I tried it on the computer that I posted this question for and the problem is tkat windows asks me to confirm (my clicking on "ok") the closing of the windows tha are open. DO you know how I could avoid that? (the computer just shuts off on tis own wuithout antybody to confirm by clicking)
    User
    Maybe you can try the shutdown command with the /f option added to Crossrulz solution, resulting in:
    shutdown /r /t 0 /f
    Sérgio

  • Java program not running by the Ant

    i have a small java program.
    its a classpath problem.
    cant figure out where is the problem.
    i am running the code via Ant.
    build.xml
    <?xml version="1.0"?>
    <project name="myproject" basedir="." default="all">
        <property name="src.dir"     value="src"/>
         <property name="classes.dir" value="classes"/>
         <property name="lib.dir"     value="C:/tomcat/webapps/axis/WEB-INF/lib"/>
         <property name="runclass" value="TestClient"/>
         <target name="all" depends="clean,compile"/>
         <target name="clean">
            <delete dir="${classes.dir}"/>
        </target>
        <path id="classpath">
            <fileset dir="${lib.dir}" includes="**/*.jar"/>
        </path>
        <target name="compile">
            <mkdir dir="${classes.dir}"/>
         <javac srcdir="${src.dir}"
          destdir="${classes.dir}"
          deprecation="on"
          debug="on">
       <classpath><path refid="classpath"/></classpath>
      </javac>
         </target>
         <target name="run" depends="compile">
       <!-- run the class -->
       <java classname="${runclass}">
            <classpath>
              <pathelement path="${classpath}"/>
              <fileset dir="${lib.dir}">
                <include name="**/*.jar"/>
            </fileset>
              </classpath>
           </java>
      </target>
         </project>i invoked
    ant runand got this
    Buildfile: build.xml
    compile:
    run:
         [java] Could not find TestClient. Make sure you have it in your classpath
         [java]     at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava
    .java:170)
         [java]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
         [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)
         [java]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
         [java]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
    va:275)
         [java]     at org.apache.tools.ant.Task.perform(Task.java:364)
         [java]     at org.apache.tools.ant.Target.execute(Target.java:341)
         [java]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
         [java]     at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
    a:1216)
         [java]     at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         [java]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De
    faultExecutor.java:40)
         [java]     at org.apache.tools.ant.Project.executeTargets(Project.java:1068
         [java]     at org.apache.tools.ant.Main.runBuild(Main.java:668)
         [java]     at org.apache.tools.ant.Main.startAnt(Main.java:187)
         [java]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
         [java]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    BUILD SUCCESSFUL
    Total time: 2 secondsso, code is not running......its dfinitely a classpath problem , because error message says "Could not find TestClient. Make sure you have it in your classpat".
    TestClient is the name of main class file.
    not sure whats wrong with this build.xml ? whats wrong in it ?
    one thing , i guess, i did not mention "." , current directory in the build.xml ......is it because of that ?
    i browsed apache manual......To Run a Java program.....first, they are making a JAR file ...and then they are executing the JAR.
    i really, dont need the JAR file......i just want to run it.....thats enough.
    somewhere, i have to do some modification in this buld.xml.......do you have any idea ?
    thank you

    TestClient folder has
    1)src
    2)classes
    3)build.xml
    i have posted the build.xml already.
    now, src folder has TestClient.java
    TestClient.java
    ==================
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import javax.xml.namespace.QName;
    public class TestClient {
       public static void main(String [] args) {
         try {
           String endpoint =
               "http://ws.apache.org:5049/axis/services/echo";
           Service  service = new Service();
           Call     call    = (Call) service.createCall();
           call.setTargetEndpointAddress( new java.net.URL(endpoint) );
           call.setOperationName(new QName("http://soapinterop.org/","echoString"));
           String ret = (String) call.invoke( new Object[] { "Hello!" } );
           System.out.println("Sent 'Hello!', got '" + ret + "'");
         } catch (Exception e) {
           System.err.println(e.toString());
    }and i did
    ant runand i got those errors.
    clearly, its not able to run it.
    looked the manual....did not find anything special about java task....still not working.

  • Programs not running in leopard

    my adobe creative suite and office:mac v.X are not running after installation of leopard, which i bought to use with my 16gb iphone. suggestions?

    Java Preferences can be found using Spotlight.
    Update your Java 6 as previously instructed as it's supplies security fixes.
    Java 7 and above is for 10.7 and above, Oracle is dropping support for Java 6.
    However all versions of Java have been HIGHLY insecure, so it's advised not to use them at all
    If your using Java based programs (like the free LibreOffice) then certainly disable Java in all web browsers and applets in Java Preferences.
    Apple has a now annual OS X upgrade cycle that is causing havoc and disqualifying  older, but perfectly working machines from running necessary software and dragging third party developers along.
    So one shouldn't be running Safari (outdated and no Safari 6), Java 6, very possibly Chrome on OS x 10.6.8, but if you upgrade to 10.7 or above, your machine will perform slower and all your PPC based software will no longer continue to function.
    It's sad, because OS X Snow Leopard has  1/4 OS X market share still and many can't upgrade because developers are not issuing 10.7/10.8 versions of their software because of AppStore and Gatekeeper signaling the closing of the operating system in the future.
    The 10 year support cycle of Windows versions sounds like blessed relief compared to Apple's annual OS X upgrade nightmare.
    OS X 10.4/10.5 need to upgrade, 10.6.8 ok still

  • C program not running from terminal as expected

    Hi everyone
    I am starting C programming as part of my university degree, I understand most of the content so far. I am compiling and running my program in Terminal and I am having a small amount of trouble with running it. Here is how I have set my program up:
    • Created folder named "C" on the desktop
    • Opened terminal and changed the directory by using the following command: cd /Users/jc/Desktop/C, the directory is changed as the terminal output reads:
    JCs-MacBook-Pro:C jc$
    • Created main.c file
    • Compiled fine in terminal by using: cc main.c
    Here is where it breaks down, typing a.out does not run the program (as I expected) but returns the error: "-bash: a.out: command not found", if I drag the file to terminal or type out the absolute path and execute the program runs fine. What is happening and how do I fix it so typing just a.out runs the program?
    Thanks in Advance
    J.C

    The commands to add a folder to your search path (if you haven't changed your shell from the default bash) are:
    PATH=$PATH:<absolute path to parent folder>/MyProjectFolder
    export PATH
    Typing the above at your terminal prompt should allow you to execute your programs without typing ./a.out, but only for the life of the current terminal session (You can type 'printenv' or 'echo $PATH' to verify that your folder was added correctly).
    If you wish to add your folder automatically to any terminal session, the above should be saved in a text file named '.profile' in your home folder (the folder you're in when you start Terminal, e.g. /users/raynewbie).
    If you wish to add whatever folder is current (wherever I am right now) to your permanent search path, insert the following into .profile:
    PATH=$PATH:.
    export PATH
    The above has the disadvantage of being less secure on multiuser systems. The current, "dot", directory used to be first in the default Unix search path. But when I was in school (during the Lincoln administration) our favorite sport was trying to hack root perms by placing our own version of 'ls' in directories frequented by superusers. Higher powers caught on to this after only a few years and newer systems required you to type the dot.

  • Graphical programs not running--need help

    Using win98 platform, textpad, and jdk1.5.0...
    DOS programs run fine, however, graphical applications do not run--it goes to the DOS window and brings up strings of stuff instead.
    When I compile, the error message that generally shows:
    Note: C:\jdk1.5.0\demo\...java uses or overrides a depreciated API
    Note: Recompile with -Xlint: depreciation for details.
    And for applets, this line also existed on a demo:
    Note: C:\jdk1.5.0\demo\applets\Animator\Animator.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint: unchecked for details.
    Anybody know what to do here? I'm just learning java from books, but I need to be able to run java applications in order to get a feel for the code. Help would be appreciated.

    If anyone deems it a necessity, here is an example of simple code that will throw this problem:
    (sorry-under win98 2nd ed.)
    import java.event.*;
    import javax.swing.*;
    class CloseableFrame extends JFrame
    {  public CloseableFrame()
    {  setTitle("Closeable Frame");
    setSize(300,200);
    addWindowListener(new WindowAdaptor()
    {  public void windowClosing(WindowEvent e)
    {  System.exit(0);
    public class CloseableTest
    {  public static void main(String[] args)
    {  JFrame frame = new CloseableFrame();
    frame.show();
    }

  • Running two Eurotherm 3216 temperature controllers using the driver available from Labview

    Hi All,
    I am trying to control two Eurotherm 3216 temperature controllers using the driver provided by NI at http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=7F14CDCB24923797E04400144F1EF8.... Specifically, I am using the "Temperature Control Monitoring" example.
    I have been able to operate a single temperature controller using this code. However, I need to operate two controllers, and I havent been able to modify the code appropriately to do it.
    I initially tried just repoducing the entire code and running it but that provides me with an error. However, if I run the code while using "highlight execution" it works just as I need it to...except to slowly for my purpose.
    If anyone has any insight as to how I may run both controllers, I would really appreciate it.
    Thanks

    Here something’s to try.
    1)      Make sure both controllers have RS485 comms modules installed
    2)      Connect both controllers in Daisy Chain configuration using the EIA485 instructions from Page 16 of the Manual you mentioned.
    3)      Ensure both the KD458 and the 3216 controllers have identical  Comms configurations. ie Baud Rate, Parity etc
    4)      Verify your setup:  In the "Temperature Control Monitoring" example” change the Unit Address, Baud Rate, Parity and Break Length  to match the 1st controllers values. Verify that you can communicate with the 1st controller.
    5)      Using the Same "Temperature Control Monitoring" example”, NOT a second copy, change the Unit Address, Baud Rate, Parity and Break Length to match the 2nd controllers values. Verify that you can communicate with the 2nd controller.
    Comms problems are difficult to fault find so be methodical and you will succeed.

  • Windows Task Scheduler does not execute .vbs script as exptected while using CScript.exe

    We have a .vbs script that reads a source text file, looks for errors, performs a find/replace and then writes a cleaned version of the file to a destination folder.
    When executing the script by manually double clicking on the .vbs file, the script works flawlessly.  But when executing via Windows Task Scheduler using Cscript.exe, it creates an empty, zero byte, text file.  Task Scheduler is set to run
    "C:\Windows\System32\cscript.exe" with the Add arguments (optional): C:\Scripts\myscript.vbs.
    Does anyone know of a way to make it work using the Windows Task Scheduler?
    Part of the Script:
    Sub CheckFilesIntegrity()
    Dim cleanedfile,strLine,outputStr, tempstr, tmpChar, changeTo, companycode, storestring
    Dim ObjFileSys, objFile,objCleanFile
    charArray = Array("-","?", "/", "\", ":", "*", """", "<", ">", ",", "&", "#", "~", "%", "{",
    "}", "+", "_", ".", "a", "e", "o", "s", "h","i","E", "O","P", "S", "p", "=")
     Set ObjFileSys   = CreateObject("Scripting.FileSystemObject")
     Set objCleanFile = CreateObject("Scripting.FileSystemObject")
     Set objFile = ObjFileSys.OpenTextFile(file.name, ForReading, True)
     textfilename = destinationpath & objfilesys.GetBaseName(file) & ".txt"
     Set cleanedfile = objCleanFile.OpenTextFile(textfilename, ForWriting, True)
     ObjLog.writeline "File containing cleaned up data: " & textfilename
     Do while not objfile.AtEndOfStream
         strLine = objfile.ReadLine()
         tempstr = strLine
         If (Left(UCase(tempStr),8) <> "HPAYMENT") Then
          'fix pay now data entry whre record does not have a company code
          If Mid(tempstr, 18,3) = "000" Then
           companycode = Mid(tempstr,32,3)
           storestring = Left(tempstr,17)
           tempstr =Replace(tempstr,"000",companycode,18,1,1)
           tempstr = storestring & tempstr
           storestring = Left(tempstr,31)
           tempstr= Replace(tempstr,companycode,"000",32,1,1)
           tempstr = storestring & tempstr
          End If
          'remove invalid characters and replace them with zero (filler)
       For Each tmpChar in charArray
        Select Case tmpChar
         Case "-","?", "/", "\", ":", "*", """", "<", ">", ",", "&", "#", "~", "%",
    "{", "}", "+", "_", ".", "a", "e", "o", "s", "h","i","E", "O","P", "S", "p", "="
         changeTo = "0"
         outputStr = replace( tempstr, tmpChar, changeTo,1,-1,1 )
        End Select
        tempstr=outputstr
       Next
      Else
       outputStr = tempstr 
      End If
        strLine = outputStr
      cleanedfile.writeline(strLine)
     Loop
     cleanedfile.Close
     Set cleanedfile = Nothing
     Set ObjFileSys = Nothing
     Set objFile = Nothing
     ObjLog.writeline " Completed processing of file: " & textfilename
    End Sub

    So we ended up getting it to work by replicating the double click function.  Meaning that we created a Batch file that calls the .vbs script, then had Windows Task Scheduler run the Batch file.  In that way all necessary permissions were passed
    through from one environment to another, which was failing when we called the .vbs script using CScript.

  • ABAP MS Access connection program not running in SM37

    hie gurus ,i really need your help. i have created a program to extract data from an Ms Access database at certain intervals.
    the program runs well if you execute from the ABAP workbench. How ever if i schedule it as a back ground
    process its not finishing processing , it remains active through out. i can process it via debugger JDBG in SM37
    but on its on it remains active status. the OLE objects i am using are as follows(they):
    DATA: conn      TYPE ole2_object,
          rsdb      TYPE ole2_object,
          sql        TYPE c LENGTH 2000.
    CREATE OBJECT conn 'ADODB.Connection'.
      CREATE OBJECT rsdb 'ADODB.Recordset'.
    CONCATENATE 'Provider=Microsoft.Jet.OLEDB.4.0;'   'Data Source=D:\Documents\ Wm.mdb;'
      INTO sql.
    CALL METHOD OF rsdb 'OPEN'
        EXPORTING #1 = sql
        #2 = conn
        #3 = '1'.
    DO.
        CALL METHOD OF rsdb 'getstring' = sql
        EXPORTING #1 = '2' "Do not modify!
        #2 = 1    "Do not modify!
        #3 = '|'  "Do not modify!
        #4 = '|'. "Do not modify!
        IF sy-subrc EQ 0.
          REFRESH it_temp.
          SPLIT sql AT '|' INTO TABLE it_temp.
          LOOP AT it_temp INTO wa_temp.
            CASE sy-tabix.
              WHEN 1.
                wa_prd-field1 = wa_temp-value.
              WHEN 2.
                wa_prd-field2 = wa_temp-value.
              WHEN 3.
                wa_prd-field3 = wa_temp-value.
              WHEN 4.
                wa_prd-field4 = wa_temp-value.
              when others.
            ENDCASE.
          ENDLOOP.
          APPEND wa_prd TO it_prd.
          CLEAR wa_prd.
        ELSE.
          EXIT.
        ENDIF.
      ENDDO.
    FREE OBJECT conn.
    FREE OBJECT rsdb.
    thanks in advance.

    Dear bhaskar:
    Thanks for your reply. We have considered balancing the system to the other node or reboot the system to free resources, in order to re-create the shared memory, but in the past, the balancing process (move resources from one node to the other) has caused problems. Since this is a critical system, stopping (or balancing) is not an option right now, and updating the kernel requires an ABAP stack reboot plus the kernel change : any changes in system configuration requires a longer approval/planning process than a reboot.
    Moreover, the OS collecting system and its display in OS06/ST06 has worked fine until now.
    Does anyone knows if a reboot has solved this kind of problem in a similar situation?
    Thanks in advance
    José Enrique

  • Email program not running. Messaging Exception coming,

    I am making an program which will send the mail to a gmail account. On my laptop following are installed:
    - Apache Tomcat
    - Eclipse
    But the servlet is not able to send the mail to gmail account. I am directly sending the mail to the gmail account. I dont have PostCard Server installed on my laptop.Following exception is coming:
    import javax.servlet.ServletException;
    import javax.servlet.http.*;
    import java.io.*;
    public class InServlet extends HttpServlet
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException
         doGet(request,response);
    public void doGet(HttpServletRequest request, HttpServletResponse response ) throws IOException
         PrintWriter out=null;
         out= response.getWriter();
         response.setContentType("text/html");
         new GetMail().getTheMessages();     
         out.println("The mail has been send successfully");
    import java.util.Date;
    import java.util.Properties;
    import javax.mail.Address;
    import javax.mail.Message;
    import javax.mail.MessagingException;
    import javax.mail.SendFailedException;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeMessage;
    public class GetMail {
         static String msgText = "This is a message body.";
           public void getTheMessages() {
             String to = "[email protected]";
             String from = "[email protected]";
             String host = "localhost";
               // create some properties and get the default Session
             Properties props = new Properties();
             props.put("MAIL.SMTP.HOST", "smtp.gmail.com");
             props.put("MAIL.SMTP.PORT","25");
             //props.put("MAIL.TRANSPORT.PROTOCOL","SMTP" );
             Session session = Session.getInstance(props,null);
             try {
               // create a message
               Message msg = new MimeMessage(session);
               msg.setFrom(new InternetAddress(from));
              msg.setRecipient(Message.RecipientType.TO, new InternetAddress(to));
               msg.setSubject("JavaMail APIs Test");
               msg.setSentDate(new Date());
               msg.setText(msgText);
               Transport.send(msg);
             } catch (MessagingException mex) {
               System.out.println("\n--Exception handling in GetMail.java");
               mex.printStackTrace();
               System.out.println();
               Exception ex = mex;
               do {
                 if (ex instanceof SendFailedException) {
                   SendFailedException sfex = (SendFailedException) ex;
                   Address[] invalid = sfex.getInvalidAddresses();
                   if (invalid != null) {
                     System.out.println("    ** Invalid Addresses");
                     if (invalid != null) {
                       for (int i = 0; i < invalid.length; i++)
                         System.out.println("         " + invalid);
         Address[] validUnsent = sfex.getValidUnsentAddresses();
         if (validUnsent != null) {
         System.out.println(" ** ValidUnsent Addresses");
         if (validUnsent != null) {
         for (int i = 0; i < validUnsent.length; i++)
         System.out.println(" " + validUnsent[i]);
         Address[] validSent = sfex.getValidSentAddresses();
         if (validSent != null) {
         System.out.println(" ** ValidSent Addresses");
         if (validSent != null) {
         for (int i = 0; i < validSent.length; i++)
         System.out.println(" " + validSent[i]);
         System.out.println();
         if (ex instanceof MessagingException)
         ex = ((MessagingException) ex).getNextException();
         else
         ex = null;
         } while (ex != null);
    javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
    nested exception is:
         java.net.ConnectException: Connection refused: connect
         at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
         at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
         at javax.mail.Service.connect(Service.java:275)
         at javax.mail.Service.connect(Service.java:156)
         at javax.mail.Service.connect(Service.java:105)
         at javax.mail.Transport.send0(Transport.java:168)
         at javax.mail.Transport.send(Transport.java:98)
         at GetMail.getTheMessages(GetMail.java:40)
         at InDotComServlet.doGet(InDotComServlet.java:18)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:516)
         at java.net.Socket.connect(Socket.java:466)
         at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
         at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
         at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
         ... 22 more
    Edited by: carox on Dec 14, 2009 4:16 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Properties are case sensitive. Furthermore, you need to look-up on google for the right properties (TLS and so on).
    props.put("MAIL.SMTP.HOST", "smtp.gmail.com");
    props.put("MAIL.SMTP.PORT","25");

  • Key Apple software programs not running after install

    Hola
    I have an Intel Mac Book Pro that has recently had a hard disk failure( 3rd in 5 years) and subsequent replacement. Before the failure I had , rather stupidly , upgraded to 10.8 (bought from Apple online) which caused my machine to run at an almost constant beach-ball status. Anyway it fell over, drive replaced and today i reinstalled 10.6 from my original upgrade disks. I also tried to reinstall ILife and IWork. However I'm informed that I'm unable to do so unless i upgrade to 10.7 or 10.8. This is useless. My machine falls over when you use 10.8. I have paid foe and own 10.6 original disks, however I'm unable to install the Life and Work programs. In addition I'm unable to re-install my contacts, notes, calendar.
    Does anyone have any ideas as to how i can continue to run the 10.6 associated programs.
    Rather ironically the Microsoft programs re-installed perfectly!
    Help please....

    The problem is actually that Leopard's VNC server only supports 32 bit color. If your client tries to request a lower resolution the connection will fail. It doesn't work on my pocket pc VNC client either.
    Chicken of the VNC still works if you enable 'let server decide' on the resolution. I agree though, this seems like a downgrade to me.
    Via
    http://www.macosxhints.com/article.php?story=20071109130303999

Maybe you are looking for