Multiple-instances are two or more programs which share the same code and run at the same time
Questions tagged [multiple-instances]
1018 questions
-1
votes
1 answer
How can I restrict the number of instances of my C program?
Title says it all, I need to only allow one instance of my C program to be run. How can I accomplish this?
user7412484
-1
votes
1 answer
Multiple processes that run the same COM object (.NET)
I am developing a .NET code that will run on client's PC. The code must call COM object allready registered at Client's PC for the purpose of another program. So I only need to share a registered component.
I got the same distributive with COM…

Viacheslav
- 11
- 2
-1
votes
1 answer
Java: single file handling among Multiple JVMs
I have an spring batch application which is deployed on multiple servers (multiple JVMs). All the instances listen the common shared path for input file.
How can I ensure that, input file kept at shared location will be consumed by only one…

Sachin Mhetre
- 4,465
- 10
- 43
- 68
-1
votes
1 answer
Python: Checking at least two values in a list satisfy a condition
I have a list created in Python, something like a=[1.0,3.7,1.0,3.9].
I need to check a condition with if at least two values in the list have values in the range [3.0,4.0], then do something.

Prgmr
- 129
- 4
- 11
-1
votes
1 answer
Multiple cassandra instances
for my master thesis, I have to modify Cassandra (I want to make a distributed version where different clusters will send the modifications with some dependencies and stuff :) ). So, I am starting to finally understand the code and I think I know…

Vincent Dagnely
- 41
- 1
- 4
-1
votes
1 answer
Return column for the first occurrence of "1" in row
I have a dataframe as below :
When there is change in column "col", I need to scan the columns, cola, colb, colc, cola1,colb1,colc1 for the first occurance of "1".
Then, the condition cola==cola1==1 or colb==colb1==1 or colc==colc1==1 should…

Anagha
- 3,073
- 8
- 25
- 43
-1
votes
1 answer
Passing info from one Jframe to another
I have my original text field in my first frame and I need it to be displayed in my other jframe. The code is:
JButton btnContinue = new JButton("Continue");
btnContinue.addActionListener(new ActionListener() {
public void…

huaglo
- 33
- 1
- 7
-1
votes
1 answer
how to access web service by multiple users simultaneously using C#?
I have a web service which is created by using C#.
In this web service one config.inc file which stores all input data and it overrides as per new request. As per the input this web service gives a XML output on browser.
I need to make my web…

S R
- 11
- 6
-1
votes
1 answer
Setting up multiple instances of JBOSS EAP 6
I have an existing JBOSS EAP 6 setup on Redhat linux. This is in standalone mode. I need to add another instance of JBOSS in the same machine. I searched through the web, but did not find documents much relevant to EAP 6. Please suggest.

Atulk
- 31
- 1
- 5
-1
votes
1 answer
Azure pricing multiple cloud services vs multiple web roles
Executive summary for the sake of clarity:
Is it cheaper (in terms of compute-hours) to create two cloud services, each with its own web role, or have two web roles under a single cloud service?
We would like to create more than one web application…

James Thorpe
- 56
- 1
- 7
-1
votes
3 answers
Instances of a class and how to test them
I was just wondering if I made the instances of the class correctly. Also is there any way that I can test the instances of the class. I tried for example to do System.out.println(Toddler.getAge()) in my main method but I keep getting an…

Haseeb Waseem
- 71
- 1
- 3
-1
votes
1 answer
I created an instance group and all of the 100 created instances have this red exclamination mark saying this instance doesn't exist
I created an instance group and all of the 100 created instances have this red exclamation mark saying this instance doesn’t exist saying it is either terminated or never created what can I do? I tried creating another one but still the same or it…
-1
votes
1 answer
Running multiple instances of one tcl script
Currently I am reading in host names from a file using a foreach command and using this hostname to connect to the device. All this is done within my TCL script. Is there a way I can run multiple instances of the script so that each device is…

user2883071
- 960
- 1
- 20
- 50
-1
votes
1 answer
how to open a second jframe from a current one?
my current program takes in text from some JTextFields and adds it to a file to keep track of medications. What i want to do, is add another button to the bottom of the program that will open a second jframe to display the medications that are…

sirnomnomz
- 623
- 1
- 7
- 20
-1
votes
2 answers
Open multiple instances of one frame and keep track of the source opening the instance
I have a Main window (JFrame) which contains many components including a button. The button, when pressed, opens another Window (JFrame), let's call it customers window, for the user to search details and present those details back in the Main…

HMH
- 33
- 6