Multiple Mule Instances

View: New views
5 Messages — Rating Filter:   Alert me  

Multiple Mule Instances

by Mike Carr-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Experts,
I have a requirement to run multiple mule instances in a single (linux) machine.
Each instance could run the different config files.
I thought will use daemon service as installation guide suggested. I get the following error when I start the second mule config.
The error message is "Starting Mule. Mule is already running".
What are the mistakes that I could be doing in this scenario? I tried to run foreground, got the same error.

Thanks
Mayilraj

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



RE: Multiple Mule Instances

by Wayne Wundram-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Mayilraj,

I run multiple instances on a Linux box, but haven't tried with a daemon
service. I have scripts to start each one, and each script has to export a
different $MULE_BASE and you need to specify a different port for each
instance in the config file:

        <!-- Run Mule Server on port 60506 as we run multiple Mule Servers
-->
        <client:remote-dispatcher-agent>
                <client:remote-endpoint address="tcp://localhost:60506"
synchronous="true" />
        </client:remote-dispatcher-agent>

Rehards,
Wayne Wundram
www.mc2s.co.za

-----Original Message-----
From: Mayilraj Krishnan [mailto:mule.user.relay@...]
Sent: 23 June 2009 02:33 AM
To: user@...
Subject: [mule-user] Multiple Mule Instances

Hello Experts,
I have a requirement to run multiple mule instances in a single (linux)
machine.
Each instance could run the different config files.
I thought will use daemon service as installation guide suggested. I get the
following error when I start the second mule config.
The error message is "Starting Mule. Mule is already running".
What are the mistakes that I could be doing in this scenario? I tried to run
foreground, got the same error.

Thanks
Mayilraj

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



RE: Multiple Mule Instances

by mtvwang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Could you give some details of your solution? Or could you give some URLs I can learn from ?
I also have the problem to manage multiple instances .

Wayne Wundram-2 wrote:
Dear Mayilraj,

I run multiple instances on a Linux box, but haven't tried with a daemon
service. I have scripts to start each one, and each script has to export a
different $MULE_BASE and you need to specify a different port for each
instance in the config file:

        <!-- Run Mule Server on port 60506 as we run multiple Mule Servers
-->
        <client:remote-dispatcher-agent>
                <client:remote-endpoint address="tcp://localhost:60506"
synchronous="true" />
        </client:remote-dispatcher-agent>

Rehards,
Wayne Wundram
www.mc2s.co.za

-----Original Message-----
From: Mayilraj Krishnan [mailto:mule.user.relay@mulesource.com]
Sent: 23 June 2009 02:33 AM
To: user@mule.codehaus.org
Subject: [mule-user] Multiple Mule Instances

Hello Experts,
I have a requirement to run multiple mule instances in a single (linux)
machine.
Each instance could run the different config files.
I thought will use daemon service as installation guide suggested. I get the
following error when I start the second mule config.
The error message is "Starting Mule. Mule is already running".
What are the mistakes that I could be doing in this scenario? I tried to run
foreground, got the same error.

Thanks
Mayilraj

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Re: Multiple Mule Instances

by antoine.borg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Funnily enough I recently blogged about the MULE_BASE environment
variable: http://ricston.com/blog/?p=386 <http://ricston.com/blog/?p=386>

HTH

A

mtvwang wrote:

> Could you give some details of your solution? Or could you give some URLs I
> can learn from ? :-)
> I also have the problem to manage multiple instances .
>
>
> Wayne Wundram-2 wrote:
>  
>> Dear Mayilraj,
>>
>> I run multiple instances on a Linux box, but haven't tried with a daemon
>> service. I have scripts to start each one, and each script has to export a
>> different $MULE_BASE and you need to specify a different port for each
>> instance in the config file:
>>
>>         <!-- Run Mule Server on port 60506 as we run multiple Mule Servers
>> -->
>>         <client:remote-dispatcher-agent>
>>                 <client:remote-endpoint address="tcp://localhost:60506"
>> synchronous="true" />
>>         </client:remote-dispatcher-agent>
>>
>> Rehards,
>> Wayne Wundram
>> www.mc2s.co.za
>>
>> -----Original Message-----
>> From: Mayilraj Krishnan [mailto:mule.user.relay@...]
>> Sent: 23 June 2009 02:33 AM
>> To: user@...
>> Subject: [mule-user] Multiple Mule Instances
>>
>> Hello Experts,
>> I have a requirement to run multiple mule instances in a single (linux)
>> machine.
>> Each instance could run the different config files.
>> I thought will use daemon service as installation guide suggested. I get
>> the
>> following error when I start the second mule config.
>> The error message is "Starting Mule. Mule is already running".
>> What are the mistakes that I could be doing in this scenario? I tried to
>> run
>> foreground, got the same error.
>>
>> Thanks
>> Mayilraj
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>>
>>
>>    
>
>  
--

Antoine Borg, Senior Consultant | Tel: +32 28 504 696
ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM

See our full schedule of Mule and Android courses:
http://www.ricston.com/courses/schedules/

email: _antoine.borg_@... <mailto:antoine.borg@...> |
blog: blog.ricston.com <http://blog.ricston.com> | web: ricston.com
<http://www.ricston.com/>



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Multiple Mule Instances

by Mike Carr-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Wayne,
Thanks for the information. I don't have the mule client.
I will pursue the mule context start and stop to manage the individual services and am not sure will work.

Thanks
Mayilraj

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email