Clustering Multiple Instances

Greetings All,
I am trying to perform a simple clustering of a web app on a
single server with a multi-server install.
Can someone please detail for me the process from A-Z on
accomplishing this? I'm guessing there is someone out there who has
figured out all the critical information that Adobe has omitted
from their documentation.
Please answer the following:
1) How do I configure IIS6 relative to multiple web sites
pointing to the same application directory.
2) What EXACTLY does the Web Configuration Tool do ... ??
(other than "join" the IIS to the CF application")
3) Can all the IIS web sites point to the same Port?
4) IMPORTANT: After I have clustered the instances, how do I
know from looking at the web page what instance I'm on? In other
words, how do know that the clustering is actually working?
Please, someone help! I have less hair this week than last
Regards,

Yes.
          "Bala K" <[email protected]> wrote in message
          news:3c47359a$[email protected]..
          > Can I have the following configuration?
          > Two cpus each have 2 instances, one instance
          > listening on port p1 and another on p2.
          > Can I have 2 clusters one with instances listening on p1 and another with
          instances listening on p2?
          

Similar Messages

  • Clustering multiple instances on the same server

    I've read reports of people clustering multiple instances of weblogic on the
              same machine to better utilize the CPU of that machine.
              So if I wanted to set up a cluster with four machines and two instances of
              weblogic running on each (port 7001 and port 8001) , what properties do I need
              to send into the startup command for the servers?
              How do you set this up
              Thanks in advanced.
              -rrc
              Russell Castagnaro
              Chief Mentor
              SyncTank Solutions
              http://www.synctank.com
              Earth is the cradle of mankind; one does not remain in the cradle forever
              -Tsiolkovsky
              

    Do this for all your four machines
              1) Create dirs: cluster1, cluster2 under %WEBLOGIC_HOME%
              2) Create dirs: cluster1\myserver, cluster2\myserver
              3) create two startup scripts,
              specify -Dweblogic.cluster.enable=true -Dweblogic.cluster.name=cluster1 (or
              cluster2) in each script.
              4) Speicfy weblogic.cluster.multicastAddress=IPAddr in
              cluster1\weblogic.properties & cluster2\weblogic.properties, use different
              IPAddr for these two cluster.
              5) Specify weblogic.system.listenPort=7001 in
              cluster1\myserver\weblogic.properties & weblogic.system.listenPort=8001 in
              cluster2\myserver\weblogic.properties
              6) If your machine is multi-homed, specify weblogic.system.bindAddr in
              cluster1(and/or cluster2)\myserver\weblogic.properties.
              my 2cents.
              Cheers - Wei
              Russell Castagnaro <[email protected]> wrote in message
              news:[email protected]...
              > I've read reports of people clustering multiple instances of weblogic on
              the
              > same machine to better utilize the CPU of that machine.
              >
              > So if I wanted to set up a cluster with four machines and two instances of
              > weblogic running on each (port 7001 and port 8001) , what properties do I
              need
              > to send into the startup command for the servers?
              >
              > How do you set this up
              >
              > Thanks in advanced.
              > -rrc
              > --
              >
              > Russell Castagnaro
              > Chief Mentor
              > SyncTank Solutions
              > http://www.synctank.com
              >
              > Earth is the cradle of mankind; one does not remain in the cradle forever
              > -Tsiolkovsky
              >
              >
              

  • 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 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?

  • Multiple instances of Weblogic on NT

    Is is possible to run two instances of WebLogic on an NT server as
    services? Specifically, I want to set up web server clustering on two
    machines, but I am also going to be running another custom Weblogic
    app that will access a backend database. I need to set up a separate
    weblogic server for the database app outside of the clustering
    weblogic webservers?
    Thanks
    Steve

    yes u can run multiple instance of the service.
    There is a parameter in install.exe where you can specify the name of the
    service and in this manner you can have as many services as you want
    Chuck Karish wrote:
    [email protected] wrote:
    Is is possible to run two instances of WebLogic on an NT server as
    services?No. The NT support programs aren't set up to handle the multiple
    registry keys that would be needed, and they aren't set up to
    allow for setting different names for the several services.
    Specifically, I want to set up web server clustering on two
    machines, but I am also going to be running another custom Weblogic
    app that will access a backend database. I need to set up a separate
    weblogic server for the database app outside of the clustering
    weblogic webservers?
    Thanks
    Steve--
    Chuck Karish BEA Systems
    [email protected] San Francisco, CA
    (415) 317-0182 (cell) (415) 364-4692

  • Multiple instances of the same VI running in parallel

    Hi,
    I have a timestamping subVI that looks at a counter channel and applies timestamps. I want to create multiple instances of this subVI (8 to be exact) and have them all run in parallel (looking at 8 different channels). Someone gave me the following advice:
    >>
    Also, in case you want to call multiple instances of the same SubVI, and you want these multiple instances to execute in parallel, you will have to set the SubVI to execute in reentrant mode. Do this by opening the SubVI and going to "Edit >> VI Properties >> Execution" and enable "Reentrant execution".
    <<
    I've tried this but only my second instance (I started simple with only 2 instances) seems to monitor its channel and pass data along to the queue. I've included my code below, I have two signal simulators which simulate singles coming in on channels 2 and 3. I'm using a PCQI 6602 counter/timer card.
    Any help would be greatly appreciated, thanks in advance,
    Chris
    Attachments:
    LabView App (June 28, 2005).zip ‏158 KB

    good news! Your reentrant VI is working and all three instances are running (as execution highlighting clearly shows). The problem is going to be an error that is occuring but you don't see because you are ignoring the error clusters internally in the timer. It looks like at one point it was set to quit if an error occurred. That still needs to be there.
    Always hookup error clusters...
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Multiple instances and mail config

    Maybe I dont understand the right concept of multiple
    instances but what I did was the following:
    Setup up an instance for each domain I have running as a
    VHost on apache.
    What I was trying to accomplish is the failover of any one
    domain and also to use separate mail settings for each domain.
    But this is where I seem to have misunderstood the concept of
    multiple instances, is it not possible to use a different smtp
    server for each domain? When my forms for each domain generates an
    email I want the email to originate from that domain not the main
    one setup in CF...
    Thanks

    Your on the right track.
    Set up say 4 websites (virtual hosts) eg www.mydomain1.com,
    www.mydomain2.com etc
    Set up 4 cf instances if you have 4 domains, maybe call them
    mydomain1, mydomain2 etc
    Using the Web Server configuration tool, config the cf
    instance mydomain1 to virtual host mydomain1, cf instance mydomain2
    to VH mydomain2 etc
    The website should now be working using their own Cf
    instances.
    Go into the CF Admin, scroll to the bottom of the left menu
    and you should see Instance Manager
    Clicking on this should either reveal the 4 cf instances or
    you may have to add them (should be a button)
    Once you see all 4, you should be able to click on the admin
    for each individual instance and change the smtp server as
    appropriate.
    This won't give you failover though, if a CF instance goes
    down, that site is gone. Clustering is the way to give failover and
    you can achieve this fairly easily.
    Expanding on the above example, you would create 8 CF
    instances eg mydomain1-1 mydomain1-2, mydomain2-1 mydomain2-2.
    Create 4 clusters eg mydomain1cluster, mydomain2cluster etc
    In the CF Administrator Add mydomain1-1, mydomain1-2
    instances to mydomain1cluster etc
    Using the Web Server configuration tool, config the cluster
    mydomain1cluster to virtual host mydomain1 etc
    each domain should now be using 2 cf instances, you will be
    able to down on of those instances the the site will continue
    working.
    Back in the instance manager under CF Admin, you should now
    have 8 instances - config mydomain1-1, mydomain1-2 to the
    appropriate smtp server etc
    The above is for CF MX 6 onwards too, not sure about previous
    versions.
    I think thats what your after? I've skimmed over some parts
    above in relation to the clustering, but there's a handy doc
    floating around on the web by Herrlich & Ramuschkat that will
    guide you through it.
    BTW, those instances can sit on multiple physical servers for
    hardware redundancy. Depending on how many domains you have and the
    power of your machines, this is a preferred way to go although
    expensive due to multiple CF licences

  • 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

  • MS SQL 2005 clustered database instance.

    Short Text 
    MS SQL cluster database instance - ONLY! 
    Long Text 
    Hi,
    If possible could you please confirm that our planned landscape
    migration is supported by SAP.
    At present our PRD SAP system is a standalone instance that consists of
    the database & central instance running on the same "HOST".
    <u>Current SAP PRD version:</u>
    ERP 2004 ECC 5.0 32 bit
    MS SQL 2000 32 bit
    both running on same host with OS Windows 2003 32 bit
    We plan to upgrade/migrate our PRD SAP system to new 64 bit hardware
    AND to move to a "Distributed" landscape installation i.e. database
    instance & central instance installed on different HOSTS. Also, the
    database instance WILL be clustered but the central instance will NOT
    be clustered. There are also multiple NON-SAP MS SQL databases that
    will run in the same cluster as the PRD SAP database instance.
    <u>SAP PRD version after migration:</u>
    SAP ERP 2004 ECC 5.0 64bit (running on X86_64 AMD64 hardware) on HOST'X'
    MS SQL 2005 64 bit (running on IA64 hardware) on clustered HOST'Y'
    Both running on Windows 2003 64 bit
    <u>My questions are:</u>
    1) Does SAP support a clustered MS SQL 2005 database instance that is
    running on a clustered HOST along with NON-SAP MS SQL databases?
    2)During the migration our PRD SAP MS SQL database will be upgraded
    from MS SQL 2000 32 bit to MS SQL 2005 64 bit IA64, is this also
    supported in a clustered istallation (database instance ONLY)?
    3) The central PRD SAP instance will be running on x86_64 AMD64
    hardware & the database instance will be running on 64 bit IA64
    hardware. Is this configuration supported?
    Thanking you inadvance.

    Hi Greg,
    Have you figured out the answer? We are trying do the exactly the same thing -- Move our SAP WAS 6.40 clustered central instance to a 64-bit hardware/SQL 2005/Clustered system. And this system has several non-SAP database on there. The biggest concern we have is whether SAP support this architecture. I posted a message here last year and several experts like Clas Hortien, N. P. C, in this form suggest NOT go to this architecture because SAP will not support it. One example, is that SAP/SQL requires server collation setting to SQL_Latin1_General_CP850_BIN2 and other databases may work on different collations.
    Migrate SAP SQL Server database to co-exist with others
    Anyway, if you or anyone in this form have some more information please share here.
    Thanks,
    Yujun Ran

  • Create multiple instance in a database

    is it possible to create multiple instance in a database.if possible then is it possible to activate many instance at a time.(in personal edition)

    Instance in Oracle refers to the Oracle database "engine" - a collection of processes using a shared memory area, accessing a physical Oracle database.
    Multiple instances are possible on the same platform for different physical databases. But not a Good Idea..
    Multiple instances on different platforms are for the same physical database using Oracle Real Application Clusters, aka Oracle RAC.
    Thus your question does not make a lot of sense. My guess is that you are in fact refering to an Oracle session instead as this is "in the database" as you refered to.
    Each client that connect to Oracle, creates/establishes an Oracle session. A single client uses one (usually the default) or more sessions (usually used by a multi-threading client).
    By default, the Oracle Instance supports multiple Oracle (client) sessions. Including Personal Oracle. In the past, Personal Oracle limited (via the Listener) the number of remote clients (i.e. clients on other platforms) that can connect. I would assume that this is still the case. I however do not recall that there were a limit imposed on the number of local sessions that could be created - the limiting factor here is afterall the power and resources available by the PC. It's very unlikely that a common PC will be able to support a Personal Edition Oracle instance and 100's of local client sessions at the same time.
    If you do mean instance as per the strict Oracle definition - why would you want to create two Oracle instances (each with its own physical database) on a PC? That does not make sense on a large db server platform. It makes even less sense on a small PC platform.
    Each Oracle instance has overheads (processing and memory). Each physical Oracle database has overheads (system space, temp space, redo, logs, etc). Why duplicate these overheads?
    On a single platform - what can two Oracle instances (less capable because of reduced resources availability) do what a single Oracle instance cannot do faster and better and more effectively? Thus is it not a Good Idea to run multiple instances on a single platform. (exceptions acknowledged)

  • OBIEE 11g Multiple instance hitting Presentation catalog in round robin fashion

    Hi All,
    Our requirement was to have two instances of OBIEE 11g in a single box ie one for Dev and one for TEST
    For OBIEE 10g, i see lot of information, but for OBIEE 11g i dont see any information on this..
    Has anyone tried implementing multiple instances in OBIEE 11g through vertical clustering.?
    so far i did vertical clustering of Presentation servers
    ie
    1 BI Server
    2 Presentation Servers
    2 Presentation Services Plug-in ( analytics.ear, analytics2.ear)
    The issue that i am facing is that the below analytics link sometimes hits one catalog and sometimes other catalog... ( its random hitting) [looks like Load balancer is acting here]
    http://constance.localhost.com:9704/analytics 
    Also i read on Rittman Blog that ..
    "Presentation Services plug-in and Presentation Services have been decoupled. So, essentially a single web server can communicate to multiple presentation services in a round-robin fashion without the need for load balancer in vertical clustering. In horizontal clustering with multiple machines, load balancer will be required though in order to switch between different HTTP servers based on the incoming load. "
    Any ideas how to switch off the load balancer?
    Thanks
    Ashish

  • "Multiple Instances

    Using NT 4.0 as the platform, IIS 4.0 as the web servers, and Weblogic Clustering. Can I run multiple instances on each of the two WLS Cluster Servers to cluster four IIS web servers? Does anyone have any recommendations for accomplishing this?Thanks,
              

    You can run multiple instances of IIS( in frontend cluster) and weblogic server (in . backend cluster) However for multiple wls servers running on the same machine and members of same cluster , have to listen to same port, so to run multiple WLS instances,
              you must use same port for all wls instances. You can bind them to different addresses using multihoming.
              In such case, configure cluster with machines and replication groups to choose 2ndry on a physicall different machine
              Hope this helps
              Viresh
              TJ wrote:
              > Using NT 4.0 as the platform, IIS 4.0 as the web servers, and Weblogic Clustering. Can I run multiple instances on each of the two WLS Cluster Servers to cluster four IIS web servers? Does anyone have any recommendations for accomplishing this?Thanks,
              

  • Applying Service Pack on multiple instance SQL Server 2008 R2 Cluster and Standalone.

    Friends,
    Its my first time I am applying Service pack to both Standalone and Clustered SQL 2008 R2 servers. I have multiple instances running on both stand alone and Clustered environment. I don't know how to apply pack with multiple instances. Do I need to apply
    the service pack each instance one by one or I can just run the pack to each node of cluster and each box of stand alone server? Will I get any multi instance selection option during the installation process so that I can select multiple instances at once??

    When installing service pack for multiple instances in a standalone machine, you just run the installer and it lists all the instances eligible for the update. You could do it one by one or do it at the same time. Doing it at the same time saves time and
    energy. If you selected multiple instances then you dont have to do anything else.
    In case of cluster, if you have multiple instances then you need to be little careful.
    Eg: Assume you have a 2 node cluster Node 1 and Node 2. Two instances Instance 1 active on Node 1 and Instance 2 active on Node 2. What I would do in this case is to first failover any one instance to the passive node. Assume I failed over Instance 2 to
    Node 1. Now Node 1 is active node for both instance 1 and instance 2 and Node 2 is passive for both instances. At this point I run the service pack on Node 2. Once patching is done, I reboot the node and then failover the instaces one by one to Node
    2. At this point both instances 1 and 2 would get upgraded and will be active in Node2. Now Node 1 is passive and so run the update there. Once the service pack is installed, reboot and then fail back Instance 1 back to Node 1. Note: I would also failover
    Instance 2 to Node 1 just to confirm that failover works completely after service pack update.
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • Multiples Instance of WLS in WIN NT or 2000

              How to run multiple instances of weblogic server in Windows NT or Windows 2000
              

    Checl clustering documentation ..
              "Ganesh" <[email protected]> wrote in message
              news:3b0a76b6$[email protected]..
              >
              > How to run multiple instances of weblogic server in Windows NT or Windows
              2000
              

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

Maybe you are looking for

  • Transaction code for product master - SNP

    What is the significance of CFM2 transaction and EXIT_SAPLCMAT_001 user exit.

  • Slow internet after mountain lion download

    web pages open slowly or not at all after mountain lion download

  • How to stop the record

    hi dear, how we can stop the particular row(fulfilling the particular condition) entered in table in (Pre Insert Trigger) suppose we have 100 records to be feeded from which we 40 records should be feeded (not fulfilling the condition) and 60 should

  • AirPort Express vs. Extreme

    I'm looking to set up a wireless home network. Do I need the Airport Extreme, or will an Express work? All I use right now is an iMac and AppleTV. I'd like to set up a secure network for the two rather than use sharing via the iMac. Any info/opinions

  • Help! N95 Button

    hi there, im having a problem with my right nav button on my N95. It's like the button is stuck even when it hasnt been pressed but at other times when its not acting like its stuck down and i press it nothing will happen. when the button is not acti