Capturing multiple instances of a pattern

Hi all. The code below is attempting (poorly) to retrieve all the href attributes form an html document (stored as a text file). Currently I'm searching the file for the contents of any <a...> tags then seaching the contents of that for an href attribute. Anything I find is added to an array. I don't mind about the format of the href attribute for now, just the content.
Any thoughts on this shabby code would be very much appreciated.
Thanks,
David.
//Beginnings of code to retrieve all href attributes from html file
private void showAllTitles(String file) {
    FileInputStream fis = null;
    try {
      fis = new FileInputStream(file);
      FileChannel fc = fis.getChannel();
      ByteBuffer bb = fc.map(FileChannel.MapMode.READ_ONLY, 0, fc.size());
      CharBuffer cb = Charset.forName("8859_1").newDecoder().decode(bb);
      Matcher aTag = Pattern.compile("<a\\s(.*?)>", Pattern.CASE_INSENSITIVE | Pattern.DOTALL).matcher(cb);
     int charPos=0; // position within CharBuffer cb
     String aTagArray[] = new String[40]; // array to hold aTag contents
     int elem=0;   // position within array
     while (charPos<cb.length()) { // While not at end of CharBuffer
         if (aTag.find()) { // if an <a...> tag is found
            String a= aTag.group(1); // place contents of <a...> in string a
            // search for href attribute
            Matcher href = Pattern.compile("href\\s(.*?)' '", Pattern.CASE_INSENSITIVE | Pattern.DOTALL).matcher(a);            
            if (href.find()) { // if href attribute is found
               String url = href.group(1);   // place href in string url    
               aTagArray[elem]=url;          // place url in array
               elem++;                       // increase array pos by 1
            else { // if <a...> contains no href
               // do nothing
            // set charPos at position of last <a...> tag
            charPos= file.indexOf(a)+(a.length());
         else {
            System.out.println("No <a...> found.");
      }// end while
     for( int s=0;s < aTagArray.length; s++) { // go through array
         System.out.println(aTagArray[s]);       // report each element
    catch (Exception e) {
      e.printStackTrace();
    finally {
      try { fis.close(); }
      catch (Exception e) {}
} // end showAllTitles

Any thoughts on this shabby code would be very much appreciated.http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=html+parser

Similar Messages

  • How to reference multiple instances of the same Java object from PL/SQL?

    Dear all,
    I'm experimenting with calling Java from PL/SQL.
    My simple attempts work, which is calling public static [java] methods through PL/SQL wrappers from SQL (and PL/SQL). (See my example code below).
    However it is the limitation of the public static methods that puzzels me.
    I would like to do the following:
    - from PL/SQL (in essence it needs to become a forms app) create one or more objects in the java realm
    - from PL/SQL alter properties of a java object
    - from PL/SQL call methods on a java object
    However I fail to see how I can create multiple instances of an object and reference one particular object in the java realm through public static methods.
    My current solution is the singleton pattern: of said java object I have only 1 copy, so I do not need to know a reference to it.
    I can just assume that there will only ever be 1 of said object.
    But I should be able to make more then 1 instance of an object.
    To make it more specific:
    - suppose I have the object car in the java realm
    - from PL/SQL I want to create a car in the java realm
    - from PL/SQL I need to give it license plates
    - I need to start the engine of a scpecific car
    However if I want more then 1 car then I need to be able to refrence them. How is this done?
    Somehow I need to be able to execute the following in PL/SQL:
    DECLARE
    vMyCar_Porsche CAR;
    vMyCar_Fiat CAR;
    BEGIN
    vMyCar_Porsche = new CAR();
    vMyCar_Fiat = new CAR();
    vMyCar_Porsche.setLicensePlates('FAST');
    vMyCar_Porsche.startEngine();
    vMyCar_Fiat.killEngine();
    END;
    Thanks in advance.
    Best Regards,
    Ruben
    My current example code is the following:
    JAVA:
    ===
    CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED CODAROUL."RMG/BO/RMG_OBJECT" as package RMG.BO;
    public class RMG_OBJECT {
    private static RMG_OBJECT instance = new RMGOBJECT();
    private String rmgObjectNaam;
    private RMG_OBJECT(){
    this.rmgObjectNaam = "NonDetermined";
    public static String GET_RMGOBJECT_NAAM () {
    String toestand = null;
    if (_instance == null) {toestand = "DOES NOT EXIST";} else { toestand = "EXISTS";};
    System.out.println("instance : " + toestand);
    System.out.println("object name is : " + _instance.rmgObjectNaam);
    return _instance.rmgObjectNaam;
    public static Integer SET_RMGOBJECT_NAAM (String IN)
    try
    _instance.rmgObjectNaam = IN;
    return 1;
    catch (Exception e)//catch
    System.out.println("Other Exception: " + e.toString());
    e.printStackTrace();
    return 5;
    } //catch
    PL/SQL Wrapper:
    ==========
    CREATE OR REPLACE FUNCTION CODAROUL.SET_RMGOBJECT_NAAM(NAAM IN VARCHAR2) return NUMBER AS
    LANGUAGE JAVA NAME 'RMG.BO.RMG_OBJECT.SET_RMGOBJECT_NAAM (java.lang.String) return java.lang.Integer';
    Calling from SQL:
    ==========
    CALL dbms_java.set_output(2000);
    select CODAROUL.GET_RMGOBJECT_NAAM() from dual;
    Edited by: RubenS_BE on Apr 6, 2012 5:35 AM
    Edited by: 925945 on Apr 6, 2012 5:41 AM

    You can do this by manually creating a new iterator binding in your binding tab.
    So instead of dragging the VO directly to the page, go to the binding tab, add a new executable iterator binding, and point to that one from your ELs in the page itself.

  • XI-Multiple instance scenario -File & SQL sender communication channels

    Hi
       i have a basic question regarding how file sender communication channel ( where we poll for a particular file pattern either using file/ftp types in a particular subfolder ) or a sql sender communication channel - ( selecting records from a sql source ) would work in a scenario with two active XI instances and j2EE file and sql adapter services running on both of the J2EE servers ?
    1. How would the file polling from both J2EE servers - avoid a conflict looking for the same file pattern ? Is there any inbuilt mechanism from SAP to make multiple instances work with the file polling - without a confict ?
    2. Simlar question for SQL sender type communication channel ?
    If SAP does have a mechanism to handle multiple instance scenarios for file and sql sender adapter based communication channels, is there a link/document on this ?

    Hi Karthik,
    Please see my comments.
    I am just wondering aloud - what will happen if we use a select for update clause in the sql sender adapter communication channel -
    Gouri: Yes you can use select + update. In fact that is the right way.
    will this ensure that polling from one J2EE instance will lock the selected records so that the second instance does not select the same set of records from the sql server ? Or should we not use a select for update and use a simple select statement ?
    Gouri: Yes. SQL DB will ensure that same data will not be picked by another node. As I mentioned earlier use serilizable option from advanced mode.
    -Gouri

  • 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 + "]";

  • Inserting Multiple instances into a databse

    I am using MySQL to capture the form data. In the form I have a Driver License section which can have multiple instances.
    In the workflow I am using the "Execute SQL query" module to insert data. Initially I can insert information from the non-repeating subforms, successfully. However, workflow inserts no information from repeating subforms. Below is an example of the XPATH used.
    /process_data/xfaform/object/data/xdp/datasets/data/App/DriverLicense/drvlicstate
    Is the above format correct ? How can I insert the second and third instances ?
    Thanks
    Aditya

    Yes you can and will have to set up a loop in your process. Use an integer process variable as your loop increment start it at 1 (I'm pretty sure the indexing begins at 1...could be 0). You'll have to use the count() XPath function to count the number of nodes. Something like...
    count(/process_data/xfaform/object/data/xdp/datasets/data/App/DriverLicense/drvlicstate)
    Compare that number with the index value to know if you've looped through every node (and inserted each, one at a time) or if you need to loop again. Email me and I'd be glad to discuss this further with you if need be. It's not as complicated as it sounds.
    Hope this helps!
    Ryan D. Lunka
    Cardinal Solutions Group
    [email protected]

  • Multiple instances of programs appear with "Open With" in Finder

    When I right click on an item in Finder, and go to Open With, I'm getting multiple instances of programs (screen capture below).  How can I fix this?
    This just started, and I recently started using Carbon Copy Cloner to back up my drives (my iMac has two internal drives, an SSB 256 GB hard drive and a standard 2 TB hard drive).  But I have CCC set to dismount the drives after each backup, and the extra instances of programs are still there even when the drives are properly dismounted.

    That's LaunchServices. These are only cache files but can get corrupted. Launch /Utilities/Terminal and copy & paste this at the prompt to rebuild LaunchServices: (be sure to copy the entire line it's a scroll)
    Code:
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
    Then press return. Wait until terminal returns to the command line. Quit Terminal. After that, log out and back in or restart. Let us know

  • 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.).

  • Multiple instances of Internet Explorer in task manager using 100,000 KB+ memory

    Hi! I recently got a virus on my computer that causes multiple instances of explorer.exe and iexplorer.exe to appear in my processes tab of task manager. Over the course of about a minute, the memory usage of each begins to climb rapidly until all of my
    memory is being used by these. These do not appear in my applications, nor do they actually open up an internet explorer window. When I end task on them, another one appears about a minute later to take its place and do the same thing again. Additionally,
    when I click shut down to turn my computer off, various advertisements flash on my screen for a few seconds before the computer begins to shut down. When the computer is started up, a window appears for a split second that contains only blackness. I have never
    seen this window appear before the virus was obtained. When I end task on all my explorer.exe and iexplorer.exe applications at the same time, my desktop vanishes, but it also stops those applications from reappearing.  This virus has caused my computer
    to run unbearably slow. I have tried Spybot S&D, Exterminateit, AVG, Roadkill, and other methods and nothing seems to detect this or cure it. I am not that good with computers, but I am dying for help on the matter! If you can assist, please let me know
    what I can do with detailed instructions for my sake! Thank you!!!!!!

    See and follow Andy's excellent advices.
    In addition...
    See: "How to
    Reset Internet Explorer settings".
    If the issue persists...
    1. Please download and run the
    Microsoft Safety Scanner tool (freeware).
    2. Reboot your PC.
    3. Please download and update Malwarebytes Anti-Malware Free
    4. Reboot Windows in
    Safe Mode and run a Full Scan with Malwarebytes Anti-Malware.
    5. Download and Run AdwCleaner (Freeware)
    6. Reboot and Test.
    Best of Luck,
    Vincenzo Di Russo
    Microsoft® MVP Windows Internet Explorer, Windows & Security Expert - since 2003.
    Moderator in the Microsoft Community and TechNet Forums
    My MVP Profile

  • Open multiple instances for a VI

    Dear all,
      I created an application to open multiple instances(RecipeEditor.vi as attached)works fine in debug mode. But, after I build it to an exe, it gives me error 1003.
    Can you please show me some pointer what is wrong?
    Please find attached zipped package
    Thank you in advance.
    Regards,
    Vincent
    Attachments:
    New folder.zip ‏1742 KB

    my apology, Norbert.
    I attached the wrong file. This attachment is password removed.
    Thank you in advance
    Attachments:
    Recipe Editor.vi ‏286 KB

  • How do I prevent a user from opening multiple instances on the same computer?

    On the site oldnavyweekly.com there is a .swf that prevents users from opening multiple instances of the site at the same time on the same computer. If you open the site, and try to open it a second time in another window, it won't load. You can't open the site again until the first window is closed. How did they implement this?
    From my analysis it is NOT:
    1. Cookies - The block still takes place if you try opening it in IE and also try opening it in Firefox simultaneously.
    2. Flash Cookies - The block still takes place if I disable flash cookies.
    3. IP Based Block - You are not blocked if you open the site on two separate computers with the same outbound IP address. From my analysis, their server does not assist in the block at all.
    It seems as if their .swf is creating some kind of global system-wide object that can be detected in other instances of the application on the same machine. How did they implement this?
    Thanks!

    you're welcome.
    actually, unless you take an extra step, the first opened swf will close.  if you want the 2nd to close, the initial receiving lc will send a message to sender that causes the sender to close.

Maybe you are looking for

  • Heating and battery drain

    I fully charged my iPhone 4 in the morning and since from that time it is hot and the battery drained with in 3 hours after the full charge. Can any one help me to fix this..:(

  • Printer Error - HP All-in-One Printer App

    I have the HP Photosmart B210 and have been using the HP Printer Control app on my Lenovo laptop.  It has worked successfully until a few weeks ago.  When I read some of the reviews on the updated app - which is now HP All-in-One Printer Remote, I re

  • How to insert  two queries in the same workbook in new BI 7.0 Bex web analy

    Hi Can you please advise how to insert multiple queries in the same workbook in BI 7.0 web analyser. Sarah

  • Mail not showing up in IMAP box

    Hello there. I've been through other similar threads in the Apple Mail discussions, but haven't found my specific situation. I am using Mail to access an IMAP server, and I store no e-mail on the local machine. A few of the IMAP mailboxes show up emp

  • How to use recursive in Information Design Tools?

    Hi all, I want to use recursive for count number of employee in each organization. I write code something like this. with EmpCTE as       select RootID = D.ORG_CD , D. ORG_CD, D .ParentOID       from  (SELECT     CURRENT_LEAF as ORG_CD ,