Multiple instances of jvm

Hi
How would I go about ensuring that an application could only instantiate itself once? If it�s put into an executable Jar for example it presently instantiates itself as many times as you click on it. I don't want to prevent other java apps from working, but just stop duplicates of themselves. The only solution I�ve found is to keep a record of the applications started on a txt file and to get any new app to read this at the start-up and exit if one is already running. This is not elegant and there must a better solution.
Thanks in advance

There probably aren't any really elegant solutions but the following provides a java only solution.
First instance:
It starts and trys to use a socket to connect to a specific port (put this in a config file if you like) to localhost (same box.) It will fail, so it then creates a socker server to the same port.
Second instance:
It starts and trys to use a socket to connect to a specific port. It will succeed, so exit the application.
You can embellish this in various ways if you are concerned that something else might be using the socket.

Similar Messages

  • I want to launch multiple instances of JVM

    hi guys,
    When I go to a games room, the applet starts up and then a JVM is launched and it is visible in taskbar. If I click on another game room, the virtual machine launches another applet and the first one is destroyed, but thats no good to me, cos I want to have both applets running at the same time. I can achieve this by running one room from IE and another from Firefox, but is there a way to launch all from IE only, cos if I run both Firefox and IE it starts screwing up with my machine. So basically, I want to be able to run many instances of JVM.
    Thanks.

    That's odd, because one instance of the JVM should be
    able to handle multiple instances even of the same
    applet. Are you opening them in separate windows?no, in the same browser window...what happens is that when you click on a room, the previous window in whivh the applet was running is destrpyed and a new one is created

  • Problem running multiple instances of Creme JVM on Compaq IPaq

    I have Creme JVM installed on my Compaq iPaq, along with the JVM plugin for Pocket IE registered.
    I am running a socket server program on the Creme JVM on my PDA which listens on a particular port and outputs some response.
    The client to this server is an Applet which is being run from the Pocket IE browser.
    The problem is as the server program is already running on the Creme JVM, the applet is unable to start and says "Another instance of JVM is already running".
    If i stop the server program and then start the applet, it runs fine.
    I have tried running the server program with the option "-mi" which instructs the JVM to run in multiple instance mode, but to no avail.
    Any pointers ??
    TIA
    Harish

    Ok, maybe in 3.22 it was not yet solved, if you download the latest CrEme, this should work. If not, contact NSIcom support: [email protected]

  • How to configure multiple instances in CF9

    I'm having a few issues with a couple of our staging servers that are running multiple instances of CF9, and I'm not sure if they're set up correctly. I have CF9 Enterprise multiserver installed and I created 4 additional instances using the Instance Manager. I also created a specific jvm for each one to use and reregistered each service to use the custom jvm. In Apache I added the following to each vhost (changing the serverstore and port):
    <IfModule mod_jrun22.c>
        JRunConfig Serverstore "C:/JRun4/lib/wsconfig/muffin/jrunserver.store"
        JRunConfig Bootstrap 127.0.0.1:51000
    </IfModule>
    However, when the service is stopped for one of the sites, instead of getting the JRun 500 error it will instead return a CF error or the site will still come up. But if I stop the main CF server service it will kill all the sites.
    So it seems that all the instances are still tied to the main service. Is there something I'm missing here or something that wasn't configured correctly?
    I used this guide when setting it all up. http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSc3ff6d0ea77859461172e0811cbf364104-7fc4 .html
    Thanks for any help.

    Thanks again for the help, I think we're getting closer
    So I added all the instances to the wsconfig.properties file and they all show up when I run the wsconfig.exe.
    #JRun/ColdFusion MX Web Server Configuration File
    #Mon Mar 01 13:30:00 PST 2010
    1=Apache,C:/Apache2.2/conf,"",C:\\Apache2.2\\bin\\httpd.exe,"",false
    1.srv=cfusion,"cfusion"
    1.cfmx=true,<null>
    2=Apache,C:/Apache2.2/conf,"",C:\\Apache2.2\\bin\\httpd.exe,"",false
    2.srv=cf2,"cf2"
    2.cfmx=true,<null>
    3=Apache,C:/Apache2.2/conf,"",C:\\Apache2.2\\bin\\httpd.exe,"",false
    3.srv=cf3,"cf3"
    3.cfmx=true,<null>
    4=Apache,C:/Apache2.2/conf,"",C:\\Apache2.2\\bin\\httpd.exe,"",false
    4.srv=cf4,"cf4"
    4.cfmx=true,<null>
    5=Apache,C:/Apache2.2/conf,"",C:\\Apache2.2\\bin\\httpd.exe,"",false
    5.srv=cf5,"cf5"
    5.cfmx=true,<null>
    I also did this for each instance....since they were set to true.
    Open the jrun_root/servers/servername/SERVER-INF/jrun.xml file for each server instance and locate the ProxyService service. Ensure that the deactivated element is set to false
    But lets say I kill the service for cf2 and/or stop it in CF Admin from the Instance Manager, the site still stays up...
    Here's a sample of my Apache configs.
    httpd.conf
    # JRun Settings
    LoadModule jrun_module "C:/JRun4/lib/wsconfig/1/mod_jrun22.so"
    <IfModule mod_jrun22.c>
        JRunConfig Verbose false
        JRunConfig Apialloc false
        JRunConfig Ignoresuffixmap false
        JRunConfig Serverstore "C:/JRun4/lib/wsconfig/1/jrunserver.store"
        JRunConfig Bootstrap 127.0.0.1:51020
        #JRunConfig Errorurl url <optionally redirect to this URL on errors>
        #JRunConfig ProxyRetryInterval 600 <number of seconds to wait before trying to reconnect to unreachable clustered server>
        #JRunConfig ConnectTimeout 15 <number of seconds to wait on a socket connect to a jrun server>
        #JRunConfig RecvTimeout 300 <number of seconds to wait on a socket receive to a jrun server>
        #JRunConfig SendTimeout 15 <number of seconds to wait on a socket send to a jrun server>
        AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
    </IfModule>
    httpd-vhosts.conf
    <VirtualHost x.x.x.x:80>
        DocumentRoot "C:/domains/cf2"
    <IfModule mod_jrun22.c>
        JRunConfig Verbose true
        JRunConfig Serverstore "C:/JRun4/lib/wsconfig/2/jrunserver.store"
        JRunConfig Bootstrap 127.0.0.1:51000
    </IfModule>
    </VirtualHost>
    <VirtualHost x.x.x.x:80>
        DocumentRoot "C:/domains/cf3"
    <IfModule mod_jrun22.c>
        JRunConfig Verbose true
        JRunConfig Serverstore "C:/JRun4/lib/wsconfig/3/jrunserver.store"
        JRunConfig Bootstrap 127.0.0.1:51002
    </IfModule>
    </VirtualHost>
    I also noticed that in each jrunserver.store for every instance, all that's in there is "proxyservers=" Should there be anything else?

  • Static member problem in multiple instance of  web application

    Problem
    I am working on a product which is java based. I have a war file. I have to deploy this war file in JBoss. Further, I need to run multiple instance of this war file in same JBoss instance.
    Issue
         In that war file there is servlet Start.java. That servlet calls an other class from its init method. Here is code
    public class Start extends HttpServlet
         public void init(ServletConfig config) throws ServletException
              super.init(config);
              DB.loadProperties (�db.properties�);
         } // init
         public void doGet(HttpServletRequest request, HttpServletResponse response)
              throws ServletException, IOException
                   } // doGet
         public void doPost(HttpServletRequest request, HttpServletResponse response)
              throws ServletException, IOException
                   } // doPost
    } // Start
    public final class DB implements Serializable
         public static final String     P_UID = "ApplicationUserID";
         private static final String     DEFAULT_UID = "System";
         public static final String     P_PWD = "ApplicationPassword";
         private static final String     DEFAULT_PWD ="System";
         public static final String     P_STORE_PWD = "StorePassword";
         private static Properties           s_prop = new Properties();
    public static boolean loadProperties (String filename)
         {    // looks for properties file
    s_prop = new Properties();
              FileInputStream fis = null;
              try
                   fis = new FileInputStream(filename);
                   s_prop.load(fis);
                   fis.close();
              catch (FileNotFoundException e)
                   log.warning(filename + " not found");
                   loadOK = false;
         �}
    As you can see if I deployed two instance of this war in JBoss and assume each instance point to its own properties file. The �Static� members are problem.
    Restriction
         I am not allowed change the code or logic of the product. I must be able to get some thing outside or apply a patch to solve this problem.
    Please Help
    Possible option that I have thought
    1 Using multiple JVM - Not an option in this project
    2 Using multiple JBoss � Not the requirement (need to run only on single Instance of JBoss)
    3 Use own class loader for war/ear � don�t know how in JBoss need help.
    I am using JBoss 3.2.3
    Thanks,
    Kumaran

    Static members belong to the class. So, you needto
    think of multiple JVMs for your problem.Thanks for reply.
    don�t know how in JBoss need helpJust guessing... clustered environment MAYBE
    RichThanks Rich,
    I don�t know how Cluster environment solve my problem. I need more information on your thought. Cloud you explain it.
    Kumaran

  • Is running multiple instances of a class ok?

    hi guys,
    is it ok to have more than one instance of a class running?
    I have a console app that processes requests which have been saved in a db. this app does not need multithreading - but sometimes i may need to have multiple instances of the app running :-
    1) when there are too many requests in the db,
    2) or when i want to start another instance of the app to handle only specific duties.
    i mean this:
    i start my app:
    java myApp
    (the app is started once and does not stop for very long - heavy computing involved)
    then when i need another task to compute another task i start another instance (maybe with an option "specificDutyName" :
    java myApp specificDutyName
    Is this ok? no memory issues may arise?

    I think i am not able to follow your problem...
    when i do a java <AppName> <Any arguments/may be nothing>
    in reality I am starting off a JVM.
    If I do java <AppName> <Any arguments/may be nothing> again.... i would be starting of another JVM altogether..
    You may see two java.exe processes running in the task manager.. in case of a windows box.
    In such case if you may want to talk between applications running on two JVM's on the same machine.. you may need to resort to techniques like RMI and such...
    I dont think your requirement is so.. and this should be satisfied with simple multi-threading concepts.. you may start of a deamon thread that would keep on listening to a particular set of inputs.. which triggers of your new code path..
    Hope it makes sense..
    Vaibhav

  • Loading multiple instance of a

    Hi,
    I'm trying to develop a Java application with Avetana Bluetooth. This library is a complete stack for Bluetooth in Java. The big problem is the hardware interface: Avetana can get only one instance for each java application running on it. So, if I have multiple hardware interface on my system, I must run multiple JVM with my application...
    This happen because the Avetana library have a lot of static variable to hold some reference to the bluetooth hardware.
    The big question is: can I make some Java code to create & run multiple instance of my Bluetotth code, so each Avetana Library is TRULY loaded in a ISOLATED context (so the static variables are independent each from others)?
    I've tryed with custom classloading but nothing...
    Here is the code from main() on StaticTestClassLoader (a code used for testing).
    MyBT is the Bluetooth class wich load the Avetana library on hardware interface (specified by the method initStack(int hardwareInterfaceID)).
    URL[] url = { new File("subdir").toURL() }; // because MyBT.class is in the "subdir" folder
    URLClassLoader cl1 = new URLClassLoader(url);
    URLClassLoader cl2 = new URLClassLoader(url);
    URLClassLoader cl3 = new URLClassLoader(url);
    Class<MyBT> c1 = (Class<Dummy>)cl1.loadClass("MyBT");
    Class<MyBT> c2 = (Class<Dummy>)cl2.loadClass("MyBT");
    Class<MyBT> c3 = (Class<Dummy>)cl3.loadClass("MyBT");
    Object bt1 = c1.newInstance(); // this is line 22 where exception rise up
    Object bt2 = c2.newInstance();
    Object bt3 = c3.newInstance();
    ((MyBT)bt1).initStack(0); // run my Bluetooth application on hardware interface #1
    ((MyBT)bt1).initStack(1); // the same but on hardware interface #2
    ((MyBT)bt1).initStack(2); // the same but on hardware interface #3No error while compiling, but when running:
    Exception in thread "main" java.lang.NoClassDefFoundError: MyBT
            at StaticTestClassLoader.main(StaticTestClassLoader.java:22)this happen if I didn't add on classpath the MyBT class in the "subdir". If I add it, it works but all three instance are in the same context and the library doen't load the right hardware interface...
    If I omit the obejct assignement with bt1, bt2 and bt3 it works in both scenarios, but I haven't any reference to the new instantiated classes ...(so I can't call methods on there!)
    Any idea, web link or suggestion?
    Thanks in advance, best regards,
    Francesco Pessina.

    I think the question is detalied in an unclear manner. The substance of my question is:
    - I have some code in a library with static variables.
    - if I load (instantiate) this library one, twice or more, this static variables have all the same value because are static and live in the same JVM/context
    - the need is to load & use this library multiple time (two or more "instance" of it) from the same application in a single JVM.
    So my trouble is to write some Java code that create a runtime different context spaces in the (single) JVM so I can run this "static" library more times (one library for each context).
    I've tryed with classloader and singleton but all instantiated class have always the same context, so the library have (in all the created instance) always the same static variable values.
    Sorry for my english, have a good new year!
    Regards,
    Francesco.

  • Clustering w/ Multiple Instances per server

    For performance reasons, we want to setup multiple instances of weblogic on each server in our cluster configuration.How is this handled in a cluster configuration? Is each instance considered another server in the cluster? Does each require its on IP address, or is a seperate port sufficient for each? Also, is there a way to configure the cluster w/o using multicast - there's issues with supporing multicast on our backend network.Thanks, Rick
              

    Sure, if JVM uses native threads and the application itself is well-behaved
              concurrency-wise (very important!) it should be able to scale up on multiple CPUs.
              Madhu <[email protected]> wrote:
              > What about CPU utilization? What if you have mutliple cpus? Is the Java VM
              > optimized for mutliprocessor environment. I can VM per processor so that I
              > can keep them all busy? Is this possible? Can I have a VM locked on to one
              > processor?
              > Also, I found issues running code (could be buggy testing) running on WL 5.1
              > on multi-cpu machine, on single cpu it was all code and in mutli-cpu, mostly
              > index out of bound / some from java.util classes like ArrayList? Is this
              > common?
              > - Madhu
              > "Dimitri Rakitine" <[email protected]> wrote in message
              > news:[email protected]...
              >> Sure you can - each instance will need it's own IP address, but why do you
              > think that running WLS
              >> instance per CPU will improve performance? The reason for running multiple
              > JVMs on the same box was
              >> memory utilization, which is not an issue with Hotspot JVM.
              >>
              >> Richard Kemp <[email protected]> wrote: > For performance reasons, we
              > want to setup multiple instances of weblogic on
              >> each server in our cluster configuration.How is this handled in a cluster
              > configuration? Is each instance considered another
              >> server in the cluster? Does each require its on IP address, or is a
              > seperate port sufficient for each? Also, is there a way
              >> to configure the cluster w/o using multicast - there's issues with
              > supporing multicast on our backend network.Thanks, Rick
              >>
              >> --
              >> Dimitri
              Dimitri
              

  • How to create Multiple instances of This SingleTon class

    import java.io.*;
    import java.util.Properties;
    import java.net.URLEncoder;
    public class ddd
              // declaring variables
              static private ddd _instance;
              String connectIP;
              int connectPort;
              String systemID;
              String password;
         String systemType;
              // Constructor with arguments
              private ddd()
              globalInit();
         // method returning the ddd instance.
              public static      synchronized ddd getInstance()
              if (_instance == null)
                        _instance = new ddd();
              return _instance;
              // Global initialisations
              public void globalInit()
              systemID ="XXXXX" ;
              password ="XXXXX";
              systemType ="Null";
              public static void main(String[] args)
                   ddd sb;
                   sb = ddd.getInstance();
                   System.out.println(ddd.getInstance());

    Don't cross-post:
    http://forum.java.sun.com/thread.jsp?thread=547911&forum=54&message=2669925
    http://forum.java.sun.com/thread.jsp?thread=547912&forum=31&message=2669928
    Sorry, I can't help but think that this is one of the more foolish questions I've read in a while.
    The pattern Singleton means "I only want one of these in a single JVM". If you want multiple instances, or even a restricted number of instances, then rewrite the class (something like this):
    public class LimitedEdition
        public static final int MAX_EDITIONS = 3;
        private static int numEditions;
        public static void main(String [] args)
            try
                if (args.length > 0)
                    int numEditions = Integer.valueOf(args[0]).intValue();
                    for (int j = 0; j < numEditions; ++j)
                        LimitedEdition limited = new LimitedEdition();
                        System.out.println(limited);
            catch (Exception e)
                e.printStackTrace();
        public LimitedEdition() throws InstantiationException
            if (numEditions < MAX_EDITIONS)
                ++numEditions;
            else
                throw new InstantiationException("Only " + MAX_EDITIONS + " instances allowed");
        public String toString()
            return "[ instance # " + numEditions + "]";

  • Multiple instances of Mail.app must be possible

    I've seen many questions regarding the possibility of running multiple instances of Mail.app as separate processes. There seems to be much good reason to be able to do so, i.e. separating work and private mail, and very little bad reason to do so (maybe some problems when doing upgrades or backups, but I'm not yet sure of this). It also seems that it should not be so hard to do.
    So far, using some web acquired wisdom, I've done the following:
    1. Duplicate mail.app:
    sudo ditto Mail.app WorkMail.app
    2. Rename the executable:
    mv /Applications/WorkMail.app/Contents/MacOS/Mail /Applications/WorkMail.app/Contents/MacOS/WorkMail
    3. Use Property List Editor to set the following values in/Applications/WorkMail.app/Contents/Info.plist (Apple-S to Save changes!):
    Root/CFBundleExecutable=WorkMail
    Root/CFBundleIdentifier=com.apple.workmail
    Root/CFBundleName=WorkMail
    Root/NSServices/0/NSPortName=WorkMail
    Root/NSServices/1/NSPortName=WorkMail
    Root/NSServices/2/NSPortName=WorkMail
    Root/UTExportedTypeDeclarations/0/UTTypeIdentifier=com.apple.workmail.emlx
    Root/UTExportedTypeDeclarations/1/UTTypeIdentifier=com.apple.workmail.emlx.part
    4. Create the following directories:
    mkdir ~/Library/WorkMail Downloads
    mkdir ~/Library/WorkMail
    4. Launch the 'new' application 'WorkMail'.
    5. Create mail accounts using the application's 'wizard'.
    Here is where the first problem is encountered. The new account directories and files are still created at ~/Library/Mail. Navigating to Mail->Preferences->Accounts->[account_name]->Advanced seems to offer the option to change the mail store account directory, but nothing can actually be changed here. So...
    6. Quit WorkMail.
    7. Move newly created account(s) directories (where [newaccountdirectory] is a directory named with the format: [mail_type]-[user]@[domain].[tld]@[pop].[domain].[tld]]) to the correct location:
    sudo mv ~/Library/Mail/[newaccountdirectory] ~/Library/WorkMail/
    8. Use Property List Editor to set the following values in ~/Library/Preferences/com.apple.workmail.plist (Apple-S to Save changes!):
    /Root/ActiveViewers/0/AttachedMailboxListExpandedItems/[0to_#_ofaccounts]/=~/Library/WorkMail/Mailboxes/...
    /Root/CurrentTransferMailboxPath=~/Library/WorkMail/Mailboxes/...
    /Root/MailAccounts/[0to_#_of_accounts]/AccountPath=~/Library/WorkMail/[new_accountdirectory]
    /Root/MailDownloadsPath=~/Library/WorkMail Downloads
    9. Relaunch WorkMail.
    Everything at this point seems to work okay, **BUT** when I launch Mail while WorkMail is launched, I find that I cannot navigate into any mail folders within Mail. I receive an error message indicating that a necessary directory is locked. It seems that the locking mechanism used by the application may be hard-coded to lock ~/Library/Mail, and both instances of the application continue to take this action when launched, making it impossible for both to work harmoniously at the same time. I will conduct more testing and experimentation, but I am not yet capable of editing the application itself. If anyone can take us this last step, I'm sure there are many who would also like to be able to take advantage of the potential functionality.
    Thanks for any input!
    Steven Stromer

    Hopefully, there is someone with a programming background who
    can take me and other who have posted similar questions through
    the final mile on this...
    Well, I do have a programming background, and I must say that it amazes me that someone might want to do what you did to “solve” a problem that IMO doesn’t exist.
    What exactly is it that you expect to accomplish by running multiple instances of Mail, and for which neither (1) organizing your mail using multiple mail accounts, custom mailboxes, rules, and/or smart mailboxes, nor (2) setting up separate user accounts, are acceptable solutions? I just don’t get it.
    I've seen many questions regarding the possibility of running multiple
    instances of Mail.app as separate processes.
    I haven’t. Could you please provide a link for such a question, preferably one asked by someone who knew how Mail and Mac OS X work, i.e. a link for a case where there really was such a need?
    There seems to be much good reason to be able to do so
    I know of no such reasons, neither good nor bad.
    i.e. separating work and private mail
    I don’t see how that’s a reason to want to run multiple instances of Mail. Could you please elaborate?
    Maybe if you tell us what exactly is the problem that you’re trying to solve, instead of focusing on a convoluted “solution” that doesn’t work, we could propose a solution that does...
    and very little bad reason to do so
    Well, if the fact that it’s so convoluted and doesn’t even work aren’t bad enough reasons, I don’t know what it is...
    It also seems that it should not be so hard to do.
    I wonder what makes you think so. It does certainly seem hard to me, so hard that I don’t even think it can be done without breaking something, if at all...

  • What is the best way to load multiple instances of a button into master index page?. I have looked a

    I have successfully created an animated button that opens to reveal a quotation with a nested clickable link to the source. What I would like to do is have several of these with different quotes inside them, scattered on the page. I have looked at the composition loader available via Edge Commons, and it seems that would require some sort of Edge animate Stage 'frame' to load the instances into? Is there any way to place them directly into the master page - as div elements...?
    The outer of the buttons is the same, on hover they open partialy on click fully, to reveal  their particular text - which I thought about loading it at runtime with json, or maybe handlebars...?
    I would also like to make the buttons only take the necessary space. ie. before they expand they are only buttons. ( I have set the stage to hidden but it still takes up space). To acheive this, I think perhaps I will have to target the inner components css, and set them as display:none until the button is hovered over, then set :hover and :active pseudo classes inside edge. Is this feasible?
    Thanks in advance for any ideas/suggestions...

    Hello, Thanks for your helpful input. Based on that, and the tutorial 'http://tv.adobe.com/watch/learn-edge-animate-cc/ingesting-external-data-dc/' - I have written code to drive my button's behaviour.  (copied below...)
    var textArray =new Array();
    var currentHead = 0;
    var currentText = 0;
    var currentFoot = 0;
    var s = sym.getSymbol("textContainer");
    sym.$("textContainer")$.("text").html("");
    var sh = sym.getSymbol("headContainer");
    sym.$("headContainer")$.("head").html("");
    var sf = sym.getSymbol("footContainer");
    sym.$("footContainer")$.("footer").html("");
    $.getJSON("assets/sources1.json", function(data){
              for (var i=0; i<data.length; i++){
                        textArray.push({"head":data[i].heading,
                                  "text":data[i].text,
                                  "footer":data[i].foot,
                                  "link":data[i].link});
              sym.$("headContainer")$.("head").html(textArray[currentHead]).heading;
              sym.$("textContainer")$.("text").html(textArray[currentText]).text;
              sym.$("footContainer")$.("foot").html(textArray[currentFoot]).foot;
              sym.$("footContainer")$.("link").html(textArray[currentLink]).link;
    But there is an error I don't understand at line 7...
    Also - as you can see, at present I have several symbols in parallel. Would I be better off nesting the text containers inside the outer button container? and would I be better off creating styled mini- pages of text data, and then loading them - instead of loading them as symbols? I have had to create seperate symbols because I cannot adequately stle the text - so some is bold, some is italic etc. within one text field. Or can I? I guess I could nest several text fields inside one symbol...?
    I remain unsure how to load the finished animation button instances. In your example you were still loading into an animation But from yor example, I guess I would need to place all my examples inside an outer edge composition... but then I think positioning them accurately with css, making adjustments etc. will be fairly tricky. Is there any way to place multiple instances directly into divs in index.html? Could I simply repeat the class...? I may be answering my own questions here.

  • Since upgrading my mid-2010 MacBook Pro from the original Snow Leopard to Yosemite 10.10.2 there have been multiple instances of restart (crash) also slow operation. Any suggestions?

    Since upgrading my mid-2010 MacBook Pro from the original Snow Leopard to Yosemite 10.10.2 there have been multiple instances of restart (crash) also slow operation & pop up message stating web content has failed. Any suggestions?

    Many thanks for your interest, I've downloaded & run the app as suggested, report copies & pasted below.
    Problem description:
    Following upgrade from Snow Leopard to Yosemite 10.10.2 machine is slower & suffers from shut down / reboot and closing web pages due to unexpected error
    EtreCheck version: 2.1.8 (121)
    Report generated 6 February 2015 08:40:29 GMT
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (15-inch, Mid 2010) (Technical Specifications)
        MacBook Pro - model: MacBookPro6,2
        1 2.4 GHz Intel Core i5 CPU: 2-core
        4 GB RAM Upgradeable
            BANK 0/DIMM0
                2 GB DDR3 1067 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1067 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 75
    Video Information: ℹ️
        Intel HD Graphics - VRAM: 288 MB
            Color LCD 1440 x 900
        NVIDIA GeForce GT 330M - VRAM: 256 MB
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 0:13:14
    Disk Information: ℹ️
        Hitachi HTS545032B9SA02 disk0 : (320.07 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 318.84 GB (134.68 GB free)
                Core Storage: disk0s2 319.21 GB Online
        MATSHITADVD-R   UJ-898 
    USB Information: ℹ️
        BUFFALO HD-PVU2 500.11 GB
            EFI (disk2s1) <not mounted> : 210 MB
            Time Machine Backups (disk2s2) /Volumes/Time Machine Backups : 499.76 GB (257.33 GB free)
        Apple Internal Memory Card Reader
        Apple Inc. BRCM2070 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Computer, Inc. IR Receiver
        Apple Inc. Built-in iSight
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /System/Library/Extensions
        [not loaded]    jp.co.buffalo.driver.turbousbhdd (1.0.0) [Click for support]
    Launch Agents: ℹ️
        [loaded]    com.hp.help.tocgenerator.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.google.keystone.agent.plist [Click for support]
    User Login Items: ℹ️
        Skype    UNKNOWN  (missing value)
        Safari    Application  (/Applications/Safari.app)
        Dropbox    Application  (/Applications/Dropbox.app)
        Android File Transfer Agent    Application  (/Users/[redacted]/Library/Application Support/Google/Android File Transfer/Android File Transfer Agent.app)
        ConnectService    Application  (/Library/Application Support/ArcSoft/Connect Service/ConnectService.app)
    Internet Plug-ins: ℹ️
        Flip4Mac WMV Plugin: Version: 2.4.4.2 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Google Earth Web Plug-in: Version: 7.1 [Click for support]
        Silverlight: Version: 4.0.60129.0 [Click for support]
        iPhotoPhotocast: Version: 7.0
    User internet Plug-ins: ℹ️
        CitrixOnlineWebDeploymentPlugin: Version: 1.0.105 [Click for support]
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Flip4Mac WMV  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 318.84 GB Disk used: 184.16 GB
        Destinations:
            Time Machine Backups [Local]
            Total size: 499.76 GB
            Total number of backups: 184
            Oldest backup: 2010-12-10 15:37:39 +0000
            Last backup: 2015-02-06 02:49:24 +0000
            Size of backup disk: Too small
                Backup size 499.76 GB < (Disk used 184.16 GB X 3)
    Top Processes by CPU: ℹ️
             5%    WindowServer
             1%    ConnectService
             1%    Skype
             0%    systemstatsd
             0%    launchd
    Top Processes by Memory: ℹ️
        193 MB    Skype
        168 MB    mds_stores
        132 MB    com.apple.WebKit.WebContent
        107 MB    Mail
        99 MB    ocspd
    Virtual Memory Information: ℹ️
        889 MB    Free RAM
        1.99 GB    Active RAM
        455 MB    Inactive RAM
        825 MB    Wired RAM
        1.11 GB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Feb 6, 2015, 08:27:32 AM    /Library/Logs/DiagnosticReports/com.apple.AmbientDisplayAgent_2015-02-06-082732 _[redacted].crash
        Feb 6, 2015, 08:25:19 AM    Self test - passed
        Feb 5, 2015, 04:37:08 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-05-163708_[redacted].crash
        Feb 5, 2015, 10:01:02 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-05-100102_[redacted].crash
        Feb 5, 2015, 12:03:59 AM    /Library/Logs/DiagnosticReports/HP Scan_2015-02-05-000359_[redacted].cpu_resource.diag [Click for details]
        Feb 4, 2015, 11:58:58 PM    /Library/Logs/DiagnosticReports/HP Scan_2015-02-04-235858_[redacted].cpu_resource.diag [Click for details]
        Feb 4, 2015, 11:54:35 PM    /Library/Logs/DiagnosticReports/HP Scan_2015-02-04-235435_[redacted].cpu_resource.diag [Click for details]
        Feb 4, 2015, 11:49:03 PM    /Library/Logs/DiagnosticReports/HP Scan_2015-02-04-234903_[redacted].cpu_resource.diag [Click for details]
        Feb 4, 2015, 09:40:16 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-04-214016_[redacted].crash
        Feb 4, 2015, 09:38:12 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-04-213812_[redacted].crash
        Feb 4, 2015, 09:27:56 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-04-212756_[redacted].crash
        Feb 4, 2015, 09:25:25 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-04-212525_[redacted].crash
        Feb 4, 2015, 09:20:16 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-04-212016_[redacted].crash
        Feb 4, 2015, 09:18:10 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-04-211810_[redacted].crash
        Feb 4, 2015, 09:12:54 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-04-211254_[redacted].crash
        Feb 4, 2015, 08:40:48 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-04-204048_[redacted].crash
        Feb 4, 2015, 08:22:04 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-04-202204_[redacted].crash
        Feb 4, 2015, 12:11:35 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-04-001135_[redacted].crash
        Feb 3, 2015, 09:44:33 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-03-214433_[redacted].crash
        Feb 3, 2015, 05:40:21 PM    /Library/Logs/DiagnosticReports/HP Scan_2015-02-03-174021_[redacted].cpu_resource.diag [Click for details]
        Feb 3, 2015, 09:05:45 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-03-090545_[redacted].crash
        Jan 28, 2015, 06:10:42 PM    /Library/Logs/DiagnosticReports/Kernel_2015-01-28-181042_[redacted].panic [Click for details]
        Jan 21, 2015, 10:51:25 PM    /Library/Logs/DiagnosticReports/Kernel_2015-01-21-225125_[redacted].panic [Click for details]
        Jan 20, 2015, 11:12:47 AM    /Library/Logs/DiagnosticReports/Kernel_2015-01-20-111247_[redacted].panic [Click for details]
        Jan 18, 2015, 09:57:31 AM    /Library/Logs/DiagnosticReports/Kernel_2015-01-18-095731_[redacted].panic [Click for details]
    The only observations are that the backup drive is deemed too small and the quite long list of diagnostic reports dated between  Jan 18, 2015 (which I believe is the day I upgraded to Yosemite) & today the latest Yosemite update was installed on Jan 28, 2015
    Any further assistance will be appreciated

  • Multiple instances of firefox running cannot kill in task manager "Access denied"

    There's no issue with starting a new instance after closing one, the "firefox is already running" error is not occurring (ok maybe once or twice a month, but it's not related to this problem, as my problem happens all the time.)
    Apparently when closing a ff window it never fully stops. My computer slows down because of it and these multiple instances of firefox show up in Task Manager. When I try to kill the extra processes it just goes "BANG" and the "access denied" error dialog box appears. They are all running under my user account, and in CPU some are just 10 or 25 and some are in the hundreds and some are over a million. what the heck is going on?
    I'm running Windows 7 64 bit and ff 23.0 but this has been happening since about ff 15 (?)

    When closing Firefox completely, it is important to close it using the <i>Exit</i> button, located inside of the Firefox/File menu.
    Another cause to this problem could be a Firefox preloader. Do you have any programs that will load Firefox automatically? They are supposed to improve start time.
    You can also '''try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * Open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    I hope that one of my solutions helps to fix your problem. Please report back with updates soon.
    <b>NOTE: </b>You are using an outdated version of Firefox. This can cause security and functionality issue. Please update to the most recent version as soon as possible.

  • Having trouble running multiple instances of Firefox in XenDesktop 7.1

    We recently upgraded our Citrix environment to XenDesktop 7.1. We published Firefox, but only one user at a time can have the program open. When we try to run multiple sessions, we get this error message "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system."
    We've had it published in previous Citrix environments with no problems. How do we need to configure Firefox in XenDesktop so that multiple users can run the program at the same time? Thanks.

    I do not understand virtualisation.
    I can however say that ordinarily Firefox needs each user to have a separate profile and for Firefox to open simultaneous multiple instances with separate profiles the ''-no-remote'' argument needs to be used.
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox
    * http://kb.mozillazine.org/Opening_a_new_instance_of_your_Mozilla_application_with_another_profile

  • Multiple instances of explorer.exe running in task manager

    I got a dropper trojan virus on my computer that microsoft security essencials do not recognized but after running "superantispyware" antivirus I got discover it and delete it. After that, I still could find the infected files in my
    administrator folders as .temp files and I just erased them. After that my computer started crashing and runing several instances of explorer.exe in the task manager with different memory values, some of them ascending to 350,000. I have set up my computer
    to run just the basic services, I have tried windows in safe mode, ran other antivirus programs but still it is performing the same. As far as I have noticed other unusual process present are host.dll, dllhost.exe, and logonUI.exe. Any idea about it? Thanks
    in advance for your help.

    I have the same issue. It started about a month ago when I was filling out a form online and had to quit and close the window.  My system got very buggy (can't remember details), flashing, then really slow.  Found a bunch of explorer.exe instances
    in Task Manager.  Ran Security Essentials and several other anti-viruses, nothing found.
    Running Win7 Pro, sp1, 64-bit, CoreI5, 4Gb Ram
    Restored system to a previous version, didn't work
    Restored last system image, didn't work
    Used System Repair Disk - ran Memory Diagnostic.  Said it would give me report after reboot.  Never saw a report after reboot. But only one instance of explorer.exe in task manager at that point.  Took disk out, rebooted normally.  After
    20 minutes or so, the multiple instances were back.
    Used Repair Disk again, ran Memory Diagnostic. Again, no report after reboot (leaving disk in machine both times), but only one instance running again. 
    Did this a few times with the same result, so now leaving disk in system and always boot from it.
    Ran Security Essentials again, found that rovnix virus, removed, ran again, found it again.
    Ran search for instances and found many.  Here's an example:
    C:\Windows\explorer.exe
    C:\Windows\winsxs\wow64_microsoft-windows-explorer_31bf3856ad364e35_6.1.7601.17567_none_b9fc4815c4e292b5
    C:\Windows\winsxs\amd64_microsoft-windows-explorer_31bf3856ad364e35_6.1.7601.21669_none_b0333b22a99da332
    C:\Windows\winsxs\wow64_microsoft-windows-explorer_31bf3856ad364e35_6.1.7601.21669_none_ba87e574ddfe652d
    C:\Windows\winsxs\amd64_microsoft-windows-explorer_31bf3856ad364e35_6.1.7601.17567_none_afa79dc39081d0ba
    C:\Windows\SysWOW64
    When I check properties on the now single one on Task Manager, this is what it shows:
    C:\Windows\winsxs\amd64_microsoft-windows-explorer_31bf3856ad364e35_6.1.7601.17567_none_afa79dc39081d0ba\explorer.exe
    C:\Windows\explorer.exe
    I was going to reinstall entire system, but was from an Anytime Upgrade which now says it's invalid.  Much more to story on that (calls to MS support, etc.).

Maybe you are looking for

  • 9i Management Server on Windows XP

    Cannot login to the Management Server from OEM. I can login in Standlone mode. Everything is running on one NT machine. I noticed that the Service was not started and I was unable to start it from XP Services. It seems to start and then stop immediat

  • How to fix this query ??

    Hello Everyone, I have this query It says missing right parenthesis...I have marked on the query with the (where) clause... I'm using Oracle 9i... select t1.course_id,t1.status from select t11.course_id, t11.status, row_number() over(partition by t11

  • After updating my ipad software, syncronisation with my pc gives troubles.

    After updating to OS 4.3.5 the synchronisation with my iPad and Pc, it gives errors. I've tried several things but nothing happened. Do somebody know a solution? Regards Clark

  • Better Regex than POSIX routines wanted

    I'm trying to find a regular expression package of some sort that is better than the POSIX routines that are available by default under Xcode (regex.h et al). I'm wanting something that returns all sub-expression matches while finding a match (not ju

  • No se abre NI myRIO USB monitor cuando conecto mi myRIO en mi PC

    Hola a todos. Estoy iniciando con la NI myRIO, ya instalé todo el paquete de software necesario que viene en los CDs del dispositivo, el problema es que cuando conecto la myRIO a mi PC no arranca NI myRIO USB monitor que se supone deberia iniciar uno