activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: getTopics
Date Tue, 15 Aug 2006 03:02:14 GMT
On 8/15/06, Matthew L. Hyatt <mhyatt@brainbout.com> wrote:
> First, thank you for helping with my previous problems running multiple
> web-apps. I can now run the two samples at the same time.
>
> Today I tried getting a List of current topics. I'm sure I've
> overlooked something basic in the API that will do the trick.
>
> I converted the sample "chat.html" into chat.jsp. Then, using the sample
> code: "ActiveMQ-Web-Console/topics.jsp" as my guide, I
> attempted to get a Collection of Topics in my new chat.jsp. I attached
> "xbean.XBeanBrokerService" and proved that it worked by fetching a simple
> String (getBrokerName). It worked. But, when I tried:
> MyBeanRef.getAdminView().getTopics() my favorite error: "Journal already
> open" was returned. All other attempts to get Topics via getAdminView,
> resulted in the same error.

That just means you are running 2 brokers in the same directory. Just
stop the other one. (The XBeanBrokerService is a broker)
-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message