RE: Possibility Running multiple instances of broker on the same machine.

2013-08-29 Thread Steve Huston
Yes, they are independent.
Good luck,
-Steve

> -Original Message-
> From: Rajesh Khan [mailto:rajeshkhan...@gmail.com]
> Sent: Thursday, August 29, 2013 4:51 PM
> To: users@qpid.apache.org
> Subject: Re: Possibility Running multiple instances of broker on the same
> machine.
> 
> Yeah I tried this
> 
> C:\qpid-0.18\qpid-0.18\cpp\src\Release>qpidd --tcp-nodelay --auth=no
> --port=5677
>  --data-dir=QPIDDEVENTORDER.DATA
> 
> and it works. So both of them are totally independant of each other now am I
> correct ?
> 
> 
> On Thu, Aug 29, 2013 at 4:48 PM, Steve Huston 
> wrote:
> 
> > Yes, you'll need a separate data directory. I apologize for leaving
> > that out.
> >
> > > -Original Message-
> > > From: Rajesh Khan [mailto:rajeshkhan...@gmail.com]
> > > Sent: Thursday, August 29, 2013 4:45 PM
> > > To: users@qpid.apache.org
> > > Subject: Re: Possibility Running multiple instances of broker on the
> > > same machine.
> > >
> > > Thank you for your reply Steve. I tried doing that and I get the
> > following
> > > response:
> > >
> > > C:\qpid-0.18\qpid-0.18\cpp\src\Release>qpidd --tcp-nodelay --auth=no
> > > --port=5677
> > >
> > > 2013-08-29 16:44:18 [Broker] critical Unexpected error:
> > > \TEMP\QPIDD.DATA/lock: T
> > > he process cannot access the file because another process has locked
> > > a portion o f the file.
> > >
> > > any way I could tell it to create or access another .DATA file ?
> > >
> > >
> > > On Thu, Aug 29, 2013 at 4:40 PM, Steve Huston 
> > > wrote:
> > >
> > > > Add the --port= option to specify a new port.
> > > >
> > > > > -Original Message-
> > > > > From: Rajesh Khan [mailto:rajeshkhan...@gmail.com]
> > > > > Sent: Thursday, August 29, 2013 4:37 PM
> > > > > To: users@qpid.apache.org
> > > > > Subject: Possibility Running multiple instances of broker on the
> > > > > same machine.
> > > > >
> > > > > We are currently running a C++ broker on our windows 7 machine
> > > > > using the following command:
> > > > >
> > > > > *qpidd --tcp-nodelay --auth=no*
> > > > >
> > > > > I wanted to know if it will be possible to launch another
> > > > > instance of the broker on the same machine. I believe we will
> > > > > have to give it a
> > > > different port
> > > > > to bind on but then again I am not sure. Any suggestions on how
> > > > > I could accomplish this?
> > > > >
> > > > > Thanks
> > > >
> > > > --
> > > > --- To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For
> > > > additional commands, e-mail: users-h...@qpid.apache.org
> > > >
> > > >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For
> > additional commands, e-mail: users-h...@qpid.apache.org
> >
> >

-
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org



Re: Possibility Running multiple instances of broker on the same machine.

2013-08-29 Thread Rajesh Khan
Yeah I tried this

C:\qpid-0.18\qpid-0.18\cpp\src\Release>qpidd --tcp-nodelay --auth=no
--port=5677
 --data-dir=QPIDDEVENTORDER.DATA

and it works. So both of them are totally independant of each other now am
I correct ?


On Thu, Aug 29, 2013 at 4:48 PM, Steve Huston  wrote:

> Yes, you'll need a separate data directory. I apologize for leaving that
> out.
>
> > -Original Message-
> > From: Rajesh Khan [mailto:rajeshkhan...@gmail.com]
> > Sent: Thursday, August 29, 2013 4:45 PM
> > To: users@qpid.apache.org
> > Subject: Re: Possibility Running multiple instances of broker on the same
> > machine.
> >
> > Thank you for your reply Steve. I tried doing that and I get the
> following
> > response:
> >
> > C:\qpid-0.18\qpid-0.18\cpp\src\Release>qpidd --tcp-nodelay --auth=no
> > --port=5677
> >
> > 2013-08-29 16:44:18 [Broker] critical Unexpected error:
> > \TEMP\QPIDD.DATA/lock: T
> > he process cannot access the file because another process has locked a
> > portion o f the file.
> >
> > any way I could tell it to create or access another .DATA file ?
> >
> >
> > On Thu, Aug 29, 2013 at 4:40 PM, Steve Huston 
> > wrote:
> >
> > > Add the --port= option to specify a new port.
> > >
> > > > -Original Message-
> > > > From: Rajesh Khan [mailto:rajeshkhan...@gmail.com]
> > > > Sent: Thursday, August 29, 2013 4:37 PM
> > > > To: users@qpid.apache.org
> > > > Subject: Possibility Running multiple instances of broker on the
> > > > same machine.
> > > >
> > > > We are currently running a C++ broker on our windows 7 machine using
> > > > the following command:
> > > >
> > > > *qpidd --tcp-nodelay --auth=no*
> > > >
> > > > I wanted to know if it will be possible to launch another instance
> > > > of the broker on the same machine. I believe we will have to give it
> > > > a
> > > different port
> > > > to bind on but then again I am not sure. Any suggestions on how I
> > > > could accomplish this?
> > > >
> > > > Thanks
> > >
> > > -
> > > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For
> > > additional commands, e-mail: users-h...@qpid.apache.org
> > >
> > >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> For additional commands, e-mail: users-h...@qpid.apache.org
>
>


RE: Possibility Running multiple instances of broker on the same machine.

2013-08-29 Thread Steve Huston
Yes, you'll need a separate data directory. I apologize for leaving that out.

> -Original Message-
> From: Rajesh Khan [mailto:rajeshkhan...@gmail.com]
> Sent: Thursday, August 29, 2013 4:45 PM
> To: users@qpid.apache.org
> Subject: Re: Possibility Running multiple instances of broker on the same
> machine.
> 
> Thank you for your reply Steve. I tried doing that and I get the following
> response:
> 
> C:\qpid-0.18\qpid-0.18\cpp\src\Release>qpidd --tcp-nodelay --auth=no
> --port=5677
> 
> 2013-08-29 16:44:18 [Broker] critical Unexpected error:
> \TEMP\QPIDD.DATA/lock: T
> he process cannot access the file because another process has locked a
> portion o f the file.
> 
> any way I could tell it to create or access another .DATA file ?
> 
> 
> On Thu, Aug 29, 2013 at 4:40 PM, Steve Huston 
> wrote:
> 
> > Add the --port= option to specify a new port.
> >
> > > -Original Message-
> > > From: Rajesh Khan [mailto:rajeshkhan...@gmail.com]
> > > Sent: Thursday, August 29, 2013 4:37 PM
> > > To: users@qpid.apache.org
> > > Subject: Possibility Running multiple instances of broker on the
> > > same machine.
> > >
> > > We are currently running a C++ broker on our windows 7 machine using
> > > the following command:
> > >
> > > *qpidd --tcp-nodelay --auth=no*
> > >
> > > I wanted to know if it will be possible to launch another instance
> > > of the broker on the same machine. I believe we will have to give it
> > > a
> > different port
> > > to bind on but then again I am not sure. Any suggestions on how I
> > > could accomplish this?
> > >
> > > Thanks
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For
> > additional commands, e-mail: users-h...@qpid.apache.org
> >
> >

-
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org



Re: Possibility Running multiple instances of broker on the same machine.

2013-08-29 Thread Darryl L. Pierce
On Thu, Aug 29, 2013 at 04:37:25PM -0400, Rajesh Khan wrote:
> We are currently running a C++ broker on our windows 7 machine using the
> following command:
> 
> *qpidd --tcp-nodelay --auth=no*
> 
> I wanted to know if it will be possible to launch another instance of the
> broker on the same machine. I believe we will have to give it a different
> port to bind on but then again I am not sure. Any suggestions on how I
> could accomplish this?

To specify a different port using --port  to use. However, you'll
also have issues with the lock file created by the broker process. In my
tests for running two parallel processes, even after telling the second
process to use a different location, they both tried to use the same
directory, which may be a bug.

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/



pgpkLXhop0TA9.pgp
Description: PGP signature


Re: Possibility Running multiple instances of broker on the same machine.

2013-08-29 Thread Rajesh Khan
Thank you for your reply Steve. I tried doing that and I get the following
response:

C:\qpid-0.18\qpid-0.18\cpp\src\Release>qpidd --tcp-nodelay --auth=no
--port=5677

2013-08-29 16:44:18 [Broker] critical Unexpected error:
\TEMP\QPIDD.DATA/lock: T
he process cannot access the file because another process has locked a
portion o
f the file.

any way I could tell it to create or access another .DATA file ?


On Thu, Aug 29, 2013 at 4:40 PM, Steve Huston  wrote:

> Add the --port= option to specify a new port.
>
> > -Original Message-
> > From: Rajesh Khan [mailto:rajeshkhan...@gmail.com]
> > Sent: Thursday, August 29, 2013 4:37 PM
> > To: users@qpid.apache.org
> > Subject: Possibility Running multiple instances of broker on the same
> > machine.
> >
> > We are currently running a C++ broker on our windows 7 machine using the
> > following command:
> >
> > *qpidd --tcp-nodelay --auth=no*
> >
> > I wanted to know if it will be possible to launch another instance of the
> > broker on the same machine. I believe we will have to give it a
> different port
> > to bind on but then again I am not sure. Any suggestions on how I could
> > accomplish this?
> >
> > Thanks
>
> -
> To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> For additional commands, e-mail: users-h...@qpid.apache.org
>
>


RE: Possibility Running multiple instances of broker on the same machine.

2013-08-29 Thread Steve Huston
Add the --port= option to specify a new port.

> -Original Message-
> From: Rajesh Khan [mailto:rajeshkhan...@gmail.com]
> Sent: Thursday, August 29, 2013 4:37 PM
> To: users@qpid.apache.org
> Subject: Possibility Running multiple instances of broker on the same
> machine.
> 
> We are currently running a C++ broker on our windows 7 machine using the
> following command:
> 
> *qpidd --tcp-nodelay --auth=no*
> 
> I wanted to know if it will be possible to launch another instance of the
> broker on the same machine. I believe we will have to give it a different port
> to bind on but then again I am not sure. Any suggestions on how I could
> accomplish this?
> 
> Thanks

-
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org