Questions tagged [multiple-instances]

Multiple-instances are two or more programs which share the same code and run at the same time

1018 questions
4
votes
1 answer

Start multiple instances of console app in Visual Studio (with different args)?

This question ...and the answer shows how to start another instance of a console app in Visual Studio when you already have one running. I want to do the same BUT passing different args[]. For example, when debugging I want to start up 2 instances…
4
votes
1 answer

Multi-server Ruby on Rails Production Logging

I currently have an RoR app in production across four application servers with independent logs per instance. What's the best way to aggregate the logging to a common location without resorting to syslog?
4
votes
6 answers

Running Multiple Instances of Tomcat on same port

I need to run multiple instances of tomcat6 under different directory names on the same port. I will install tomcat6 twice for two different projects. But how to configure both the instances to run on the same port?
4
votes
2 answers

Node+Passport.js + Sessions + multiple servers

Passport is great. I now discovered that I have some problem with how it handles sessions. I must be using it wrong. All works well for me with login + sessions + user data I store in my database. However I find that when I move to production…
Ilan lewin
  • 1,599
  • 1
  • 14
  • 24
4
votes
1 answer

What is the best approach for deploying a sails.js application?

I am developing a Web Application using sails.js as the back-end. The app will be used by different schools and my first approach is to deploy for each school an instance of the application. Example: school1.application.com having an instance of…
JDL
  • 231
  • 4
  • 16
4
votes
0 answers

SignalR and multiple server instances

Today my web application (ASP.NET MVC4) is running only once (1 instance). If an action needs to push something to all clients, I do it in this way: public ActionResult SomeAction(...) { // Stuff happenning here... // ... //…
sports
  • 7,851
  • 14
  • 72
  • 129
4
votes
3 answers

Stacking multiple canvases in HTML5

I am trying to use four canvases stacked upon eachother but the contents of them won't display besides the contents of the one on the top. I put z-index values to them in order in which I'd like them to display but only the top one is displaying the…
user2673553
  • 343
  • 5
  • 11
4
votes
4 answers

Making multiple frames in a single program

I always wondered on how can I make a program with multiple JFrames. I mean I just want one class to handle all the GUIs and stuff but how can I effectively do this? A lot of tutorials say that we make JFrame by inheriting from JFrame. But what If I…
krato
  • 1,226
  • 4
  • 14
  • 30
4
votes
3 answers

How to uncomment multiple lines on second pattern match using sed?

I am trying to use sed to uncomment a block of text in this config file. The code I came up with uncomments 7 lines starting from and including the pattern match on the first match but I need it to only work on the second match and skip the first…
Mason Mason
  • 67
  • 1
  • 1
  • 4
4
votes
2 answers

MQQueueManager multiple instance in java

I am trying to use MQQueueManager with multiple instances In .net, we have IBM MQ jar provided with MQC.CONNECTION_NAME_PROPERTY ConnectionName = "fred.mq.com(2344),nick.mq.com(3746),tom.mq.com(4288)"; Hashtable Properties-new Hashtable(); …
user530874
  • 51
  • 1
  • 7
4
votes
2 answers

My object contains multiple instances of itself, should I be concerned?

I have two classes, Quiz and Question: class Quiz() { public $quiz_id; public $quiz_name; // Arrays of objects public $questions; public $personalities; function __construct($quiz_id) { // Sets the basic data…
Luke
  • 22,826
  • 31
  • 110
  • 193
4
votes
3 answers

Multiple instances of a self hosted WCF service

We have a "worker" service running from console application in c#, for development we were always running a single instance of this service, which fetches chunks of data and performs some calculations, these chunks of data are provided by another…
Murtaza Mandvi
  • 10,708
  • 23
  • 74
  • 109
4
votes
3 answers

How to setup a wordpress site in multiple amazon ec2 micro instances

I'm new to AWS and cloud computing in general. For a personal project I've created a micro instance on amazon ec2 and installed and configured a wordpress multisite site. For the database, I use an RDS instance. My question is, how can I create a…
4
votes
1 answer

Multiple Recurrence Rule and Exception Rule in Icalendar

I have to use multiple recurrence rules and exception rules in icalendar file, as I have read in specification (RFC 2445) that multiple instances of recurrence rule and exception rule can be specified to define more sophisticated recurrence sets.…
Hussey
  • 127
  • 1
  • 2
  • 8
3
votes
2 answers

How do browsers handle multiple function declarations with the same name?

How do browsers handle multiple function declarations with the same name? Specific test case is below - NOTE: I know this does not make sense to allow a server script to create more than one function declaration with the same name, but I am curious…