You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by aparikh <ar...@gmail.com> on 2012/07/24 23:00:57 UTC

qpid durable queues gets deleted upon quid restart

Using below command to create durable queues.. However the queue gets deleted
upon stoping and restarting of qpid.. 

qpid-tools-0.16/src/py/qpid-config add queue BKR_OUT --durable
--max-queue-count 60000

qpid version: 0.16
qpid-tool version: 0.16

Why would it delete durable queues. What is the configuration to persist
queues upon restart of qpid c++ broker.








--
View this message in context: http://qpid.2158936.n2.nabble.com/qpid-durable-queues-gets-deleted-upon-quid-restart-tp7580124.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

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


Re: qpid durable queues gets deleted upon quid restart

Posted by Gordon Sim <gs...@redhat.com>.
On 07/24/2012 10:08 PM, aparikh wrote:
> No..Would you please direct me about how to load the store module.

See https://cwiki.apache.org/qpid/faq.html#FAQ-Persistence for URL and 
tags/rev numbers corresponding to different releases.

The good news is that this will hopefully get simpler in future as there 
is work underway on an updated store plugin that will be part of the 
qpidd distribution.

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


Re: qpid durable queues gets deleted upon quid restart

Posted by aparikh <ar...@gmail.com>.
Thanks.. I was able to build modules on RHEL.. It was on centOS we were
having issues building.. 





--
View this message in context: http://qpid.2158936.n2.nabble.com/qpid-durable-queues-gets-deleted-upon-quid-restart-tp7580124p7580352.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

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


Re: qpid durable queues gets deleted upon quid restart

Posted by Gordon Sim <gs...@redhat.com>.
On 07/27/2012 02:08 PM, Kim van der Riet wrote:
> On Thu, 2012-07-26 at 10:42 -0700, aparikh wrote:
>> So ran the below command
>> /configure --with-qpid-checkout=/opt/qpid_source/qpidc-0.16/
>> --with-qpid-buildr=/opt/qpidc-0.16
>>
>> where
>>
>> /opt/qpid_source/qpidc-0.16/ is the source (just tar xvf for for
>> qpid-cpp-0.16.tar)
>>
>> /opt/qpidc-0.16 is where configure and make is done for qpid-cpp-0.16.tar
>
> You need to point to the directory *above* the cpp dir in the svn tree.
> If you are building the c++ version of qpid from here, then you have the
> incorrect directory. The directory pointed to must have the cpp, python
> and tools dirs under it.
>
> I am uncertain of the tar file you are using, but the following should
> work for the qpid:
>
> svn co https://svn.apache.org/repos/asf/qpid/branches/0.16
>
> which should produce a qpid dir containing the entire project, including
> the cpp, java, python and tools dirs. To build the c++, go to the cpp
> dir and build there. When configuring the store, point to the qpid dir.

Apologies again, I seem to be a perpetual source of misleading 
information here. I thought you could build the store against a c++ 
source distribution. It appears that is not correct.

You would need to use the full tarball from the release or use the svn 
checkout as Kim states above.

(The situation here is far from ideal and as I said at the start, will 
hopefully change in the not too distant future).


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


Re: qpid durable queues gets deleted upon quid restart

Posted by Kim van der Riet <ki...@redhat.com>.
On Thu, 2012-07-26 at 10:42 -0700, aparikh wrote:
> So ran the below command
> /configure --with-qpid-checkout=/opt/qpid_source/qpidc-0.16/ 
> --with-qpid-buildr=/opt/qpidc-0.16
> 
> where 
> 
> /opt/qpid_source/qpidc-0.16/ is the source (just tar xvf for for
> qpid-cpp-0.16.tar)
> 
> /opt/qpidc-0.16 is where configure and make is done for qpid-cpp-0.16.tar

You need to point to the directory *above* the cpp dir in the svn tree.
If you are building the c++ version of qpid from here, then you have the
incorrect directory. The directory pointed to must have the cpp, python
and tools dirs under it.

I am uncertain of the tar file you are using, but the following should
work for the qpid:

svn co https://svn.apache.org/repos/asf/qpid/branches/0.16

which should produce a qpid dir containing the entire project, including
the cpp, java, python and tools dirs. To build the c++, go to the cpp
dir and build there. When configuring the store, point to the qpid dir.

> 
> Received below error 
> 
> checking how to hardcode library paths into programs... immediate
> configure: error: /opt/qpid_source/qpidc-0.16/ does not appear to be a valid
> qpid checkout.
> 
> 
> 
> --
> View this message in context: http://qpid.2158936.n2.nabble.com/qpid-durable-queues-gets-deleted-upon-quid-restart-tp7580124p7580255.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
> 



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


Re: qpid durable queues gets deleted upon quid restart

Posted by aparikh <ar...@gmail.com>.
So ran the below command
/configure --with-qpid-checkout=/opt/qpid_source/qpidc-0.16/ 
--with-qpid-buildr=/opt/qpidc-0.16

where 

/opt/qpid_source/qpidc-0.16/ is the source (just tar xvf for for
qpid-cpp-0.16.tar)

/opt/qpidc-0.16 is where configure and make is done for qpid-cpp-0.16.tar

Received below error 

checking how to hardcode library paths into programs... immediate
configure: error: /opt/qpid_source/qpidc-0.16/ does not appear to be a valid
qpid checkout.



--
View this message in context: http://qpid.2158936.n2.nabble.com/qpid-durable-queues-gets-deleted-upon-quid-restart-tp7580124p7580255.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

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


Re: qpid durable queues gets deleted upon quid restart

Posted by Gordon Sim <gs...@redhat.com>.
On 07/25/2012 10:00 PM, aparikh wrote:
> qpidc-0.16 came from below url.
>
> http://qpid.apache.org/download.html
>
> Component downloaded is
> C++ broker & client	qpid-cpp-0.16.tar.gz [PGP]

That should be fine, just point --with-qpid-checkout to the directory 
you extracted the source to, and point --with-qpid-build to the 
directory in which you did the build.


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


Re: qpid durable queues gets deleted upon quid restart

Posted by aparikh <ar...@gmail.com>.
qpidc-0.16 came from below url. 

http://qpid.apache.org/download.html

Component downloaded is 
C++ broker & client	qpid-cpp-0.16.tar.gz [PGP]



--
View this message in context: http://qpid.2158936.n2.nabble.com/qpid-durable-queues-gets-deleted-upon-quid-restart-tp7580124p7580223.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

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


Re: qpid durable queues gets deleted upon quid restart

Posted by Gordon Sim <gs...@redhat.com>.
On 07/25/2012 08:00 PM, aparikh wrote:
>   I could not build and configure the full release
> for qpid (i.e. qpid-0.16.tar.gz), to use --with-qpid-checkout option.

There was some error? Where did the installation at /opt/qpidc-0.16/ 
come from?

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


Re: qpid durable queues gets deleted upon quid restart

Posted by Kim van der Riet <ki...@redhat.com>.
On Wed, 2012-07-25 at 12:00 -0700, aparikh wrote:
> What is out of tree build? I could not build and configure the full release
> for qpid (i.e. qpid-0.16.tar.gz), to use --with-qpid-checkout option.
> 
> Also is there any msgstore.so binary available for download?

An in-tree build occurs when you run

./bootstrap; ./configure; make --with-qpid-checkout=/abs/path/to/qpid/dir

from within the checked out cpp source file dir. If you check out the
source, but build from some location *outside* the source dir, running
configure from this outside location, then you have an out-of-tree
build.

There are reasonably detailed instructions for building the store
in-tree in the cpp/README file. You need to have qpid checked out and
built first, though, and point to its location through the
--with-qpid-dir parameter when configuring the store.

> 
> 
> 
> --
> View this message in context: http://qpid.2158936.n2.nabble.com/qpid-durable-queues-gets-deleted-upon-quid-restart-tp7580124p7580196.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
> 



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


Re: qpid durable queues gets deleted upon quid restart

Posted by Kim van der Riet <ki...@redhat.com>.
On Wed, 2012-07-25 at 12:00 -0700, aparikh wrote:
> Also is there any msgstore.so binary available for download?
> 
Not directly from Apache. However, if your Linux distro has Qpid
included, then the libs will be included in the packages. Fedora is an
example of a disro which has Qpid packages.


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


Re: qpid durable queues gets deleted upon quid restart

Posted by aparikh <ar...@gmail.com>.
What is out of tree build? I could not build and configure the full release
for qpid (i.e. qpid-0.16.tar.gz), to use --with-qpid-checkout option.

Also is there any msgstore.so binary available for download?



--
View this message in context: http://qpid.2158936.n2.nabble.com/qpid-durable-queues-gets-deleted-upon-quid-restart-tp7580124p7580196.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

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


Re: qpid durable queues gets deleted upon quid restart

Posted by Gordon Sim <gs...@redhat.com>.
On 07/25/2012 06:39 PM, aparikh wrote:
> ./configure --with-qpid-prefix=/opt/qpidc-0.16/  also throws the below error.
>
>
> checking how to hardcode library paths into programs... immediate
> configure: error: Missing required qpid libraries/headers. Install source
> rpms or use one of --with-qpid-checkout or --with-qpid-prefix

Ok, sorry, bad advice. It would appear that mechanism no longer works as 
the broker header files are no longer installed.

Instead, you could build against the source package used, point 
--with-qpid-checkout at that location (and if you use an out of tree 
build, then use --with-qpid-build also).


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


Re: qpid durable queues gets deleted upon quid restart

Posted by aparikh <ar...@gmail.com>.
./configure --with-qpid-prefix=/opt/qpidc-0.16/  also throws the below error.


checking how to hardcode library paths into programs... immediate
configure: error: Missing required qpid libraries/headers. Install source
rpms or use one of --with-qpid-checkout or --with-qpid-prefix




--
View this message in context: http://qpid.2158936.n2.nabble.com/qpid-durable-queues-gets-deleted-upon-quid-restart-tp7580124p7580165.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

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


Re: qpid durable queues gets deleted upon quid restart

Posted by Gordon Sim <gs...@redhat.com>.
On 07/25/2012 05:04 PM, aparikh wrote:
> I have installed qpid C++ and broker client (qpid-cpp-0.16.tar.gz).
>
> I checked out store using below url for 0.16 release
>
> svn co http://anonsvn.jboss.org/repos/rhmessaging/store/trunk/cpp -r 4509.
>
> When i try to configure it with below command, it errors as below
>
> ./configure --with-qpid-checkout=/opt/qpidc-0.16/
>
> Error
> configure: error: /opt/qpidc-0.16/ does not appear to be a valid qpid
> checkout.

That option is for building against qpid as built from a source checkout 
from svn.

For an installed qpid, use --with-qpid-prefix=/opt/qpidc-0.16/


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


Re: qpid durable queues gets deleted upon quid restart

Posted by aparikh <ar...@gmail.com>.
I have installed qpid C++ and broker client (qpid-cpp-0.16.tar.gz).

I checked out store using below url for 0.16 release

svn co http://anonsvn.jboss.org/repos/rhmessaging/store/trunk/cpp -r 4509.

When i try to configure it with below command, it errors as below 

./configure --with-qpid-checkout=/opt/qpidc-0.16/

Error
configure: error: /opt/qpidc-0.16/ does not appear to be a valid qpid
checkout.






--
View this message in context: http://qpid.2158936.n2.nabble.com/qpid-durable-queues-gets-deleted-upon-quid-restart-tp7580124p7580154.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

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


Re: qpid durable queues gets deleted upon quid restart

Posted by Andy Goldstein <an...@redhat.com>.
Are you building qpid from source?  I usually use it as part of Red Hat's MRG Messaging product, but you can also build it yourself from source.  The source code for the store is located at http://anonsvn.jboss.org/repos/rhmessaging/store/.  You'll probably need to get the svn revision that matches the state of the qpid codebase you're using, perhaps http://anonsvn.jboss.org/repos/rhmessaging/store/tags/qpid-0.16-release/.  

HTH,
Andy

On Jul 24, 2012, at 5:08 PM, aparikh wrote:

> No..Would you please direct me about how to load the store module.
> 
> 
> 
> --
> View this message in context: http://qpid.2158936.n2.nabble.com/qpid-durable-queues-gets-deleted-upon-quid-restart-tp7580124p7580126.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
> 


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


Re: qpid durable queues gets deleted upon quid restart

Posted by aparikh <ar...@gmail.com>.
No..Would you please direct me about how to load the store module.



--
View this message in context: http://qpid.2158936.n2.nabble.com/qpid-durable-queues-gets-deleted-upon-quid-restart-tp7580124p7580126.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

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


Re: qpid durable queues gets deleted upon quid restart

Posted by Andy Goldstein <an...@redhat.com>.
Do you have the store module loaded?  If not, durability won't work.

Andy

On Jul 24, 2012, at 5:00 PM, aparikh wrote:

> Using below command to create durable queues.. However the queue gets deleted
> upon stoping and restarting of qpid.. 
> 
> qpid-tools-0.16/src/py/qpid-config add queue BKR_OUT --durable
> --max-queue-count 60000
> 
> qpid version: 0.16
> qpid-tool version: 0.16
> 
> Why would it delete durable queues. What is the configuration to persist
> queues upon restart of qpid c++ broker.
> 
> 
> 
> 
> 
> 
> 
> 
> --
> View this message in context: http://qpid.2158936.n2.nabble.com/qpid-durable-queues-gets-deleted-upon-quid-restart-tp7580124.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>