multiple-instances

MySQL 5.0 instance manager like functionality for earlier versions?

MySQL introduced a server side utility that lets you manage multiple instances on a remote machine. I am looking for similar functionality for earlier versions of mysql. [1]http://dev.mysql.com/doc/refman/5.0/en/instance-manager.html ...

How can I run multiple versions of IE with different sesions...

I'm developing a web application that is targeted at IE and during testing would like to log in as a number of different users and test their interactions with each other. At present I have to log in and out to switch users; Opening another window just overrides the cookies/session. Is there any way to get IE to run completely seperate...

How can I extract or change links in HTML with Perl?

I have this input text: <html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body><table cellspacing="0" cellpadding="0" border="0" align="center" width="603"> <tbody><tr> <td><table cellspacing="0" cellpadding="0" border="0" width="603"> <tbody><tr> <td width="314"><img height="61" ...

Many instances of a class

I am trying to write a life simulation in python with a variety of animals. It is impossible to name each instance of the classes I am going to use because I have no way of knowing how many there will be. So, my question: How can I automatically give a name to an object? I was thinking of creating a "Herd" class which could be all the...

MVC Object Instances or Static classes?

I am confused as to when to create object instances or Static Helper classes. For example, if I call a method to update a data model and submit to database, i create an instance of the DataContext. What is the lifetime of that Datacontext and is it ok to create new instances every time there needs to be a new data updates? In my contro...

Static Port Assignment in SQL Server 2008 Does not save

I have two named instances of SQL Server 2008 and am trying to set static ports for each instance. I open the SQL Server Configuration Manager _> expand "SQL Server Network Configuration" -> click the instance I want to change -> and select TCP/IP. From here any configuration changes that I make are not persisted after I hit OK. I've ...

Running several instances of Netbeans RCP application simultaneously

Hello We have an application based on the netbeans rich client platform. Default behaviour is that only one instance of the software can run, and this can be overridden by specifying a different user-dir as argument when starting the application. Are there any alternatives to this? Our clients rely on being able to run several instan...

how to detect all sql server instances from studio?

There are multiple instances of SQL Server 2005 installed on a box. Is there a T-SQL query I can run from Studio that will detect these other instances and their names? ...

Running more than one instance of Evince

Hi everyone! I have a wxPython application and I'm using Evince to display the reports it generates. Since I'd like to delete every report after the user has closed the corresponding Evince instance, my application uses a thread that does a subprocess.call() to invoke Evince, and then removes the report when the subprocess terminates. T...

Can I execute multiple instances of a Java class file?

I am thinking of executing multiple instances of same java binary (a socket application) with different configuration files (As a command line parameter). Does the JVM correctly handles this situation? In other words If I haven't any common resources (Files that can be locked etc.) will this approach make any problems? If so what are thi...

Ensuring only one instance of SWF open?

I need to make sure that only one instance of a SWF is open at any one time on a computer, whether it is in 2 browser windows, or two different browsers. How can I go about doing it? I have so far thought of two potential solutions: 1) Using a Flash sharedobject - but since they never expire, if the user closes the browser window with...

How widely visible are various objects (shared class, module, etc) in VB.NET

I have a VB.NET application where various objects are going to access some common code, and I have some counters and values shared between all the calls, so I'm currently using a "Shared Class" (I'm aware classes can't be shared, per se, but all the variables and methods are marked "Shared"). My concern is for the visibility of this obj...

ActionScript 3 multiple instance, same name, question

Hello, I'm trying to create a grid where the users can 'draw' across it and change the colors of the grid squares to a chosen color. In this code, I'm creating the grid with squares. I've got the functionality 'working', but it's only working on the last square instanced. How do I get it to work on all the squares, not just the last on...

Restrict multiple instances of an application

Hi, Okay, so i've created my c# application, created an installer for it and have it working installed on my machine. The problem is, when the user opens the application exe twice, there will be two instances of the application running. I only ever want one instance of the application to be running at any time, how do I go about doing ...

A class which implements mouseLIstener and mouseMotionListener in java...

Hi all. I have a question about a class which implements both mouseListener and mouseMotionListener in java. I've recently been splitting up my mouse listeners into different modes in this game I'm making in java, and came across a funny issue when dealing with the Build Item listener. For the game panel, I used two methods to reset t...

Combine two tables from two different SQL Server instances

Hi Everyone, I wanna learn how to join two tables which are located two different SQL Server instances. Thanks in advance. ...

How Can I Start Multiple Tornado Server Intances In Multiple Ports

I need to start the blog demo in the following ports: 127.0.0.1:8000 127.0.0.1:8001 127.0.0.1:8002 127.0.0.1:8003 When I run the application using: ./demos/blog/blog.py it starts in port 8888 as defined by: define("port", default=8888, help="run on the given port", type=int) How do I run multiple instances in multiple ports? Thank...

VB6 - Inet hangs - multiple form instances

Hi Here is my app status: Purpose - download multiple list files from internet Approach - created a simple "download form". After a while, I just needed more forms because I had more than one list of files to download. Just solved that by adding a MDIform to my project, add a button to create another "download form" instance and voilà....

Multiple UIView instance doesn't work

Hi, I have subclass UIView class in a Bounce class with Accelerometer. This Bounce class show an image and move it on the screen. When the iPhone device is moved, this image Bounce on the screen. When I create multiple instance, only last instance work properlty: // in the MainViewController.m Bounce *heart[100]; for(int i = 0; i < ...

Multiple-instances lock?

I am using a mysql db. Right now for my multithreads i use lock(staticVar){...}. It works fine. But i can add data via the command line which also uses the DB. It will occasionally throw an exception or cause my main instance to throw an exception from the sqlite db being lock. How can i create a mutli instance lock so i no longer get t...