[ 
https://issues.apache.org/jira/browse/QPID-2375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806320#action_12806320
 ] 

Kim van der Riet commented on QPID-2375:
----------------------------------------

I have just tried this operation on trunk:

$ ./qpidd --load-module /path/to/msgstore.so --load-module /path/to/cluster.so 
--cluster-name clusterX --port 0 --no-data-dir --auth no
2010-01-29 07:06:36 critical Unexpected error: msgstore: If --data-dir is blank 
or --no-data-dir is specified, --store-dir must be present.

... which is the response I expected.

Can you provide more details on the versions of qpid/store? In particular, are 
the store and cluster libs matched to the version of qpid correctly? ie, are 
you sure that the cluster lib is the one you built and not one that was 
previously installed? I see from your command above that qpid was run from the 
src dir, and the store lib also has an absolute path to a build location, but 
not so with the cluster lib.

qpid r.904000
store r.3814

> --load-module msgstore.so without --store-dir causes explosion
> --------------------------------------------------------------
>
>                 Key: QPID-2375
>                 URL: https://issues.apache.org/jira/browse/QPID-2375
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>         Environment: Running from trunk, on F12
>            Reporter: john dunning
>            Priority: Minor
>
> I was testing something else, tried to start a broker with a msgstore, and 
> omitted the store-dir:
> [r...@jrd cpp]# src/.libs/qpidd -p5672 --auth no --load-module cluster.so 
> --cluster-name=foo --load-module 
> /home/jrd/work/messaging/sre/store/trunk/cpp/lib/.libs/msgstore.so  
> --no-data-dir --log-enable trace 
> 2010-01-28 16:42:04 trace SEND PackageInd package=org.apache.qpid.broker 
> to=schema.package
> Segmentation fault (core dumped)
> [r...@jrd cpp]# 
> With --store-dir it starts ok.
> I realize it might not be expected to work, but probably should die more 
> gracefully.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to