Hi,
you should add activemq-optional.jar to your classpath.
Regards
--
Dejan Bosanac
Senior Software Engineer | FuseSource Corp.
dej...@fusesource.com | fusesource.com
skype: dejan.bosanac | twitter: @dejanb
blog: http://www.nighttale.net
ActiveMQ in Action: http://www.manning.com/snyder/
On
Hi all,
I've followed the instructions at
http://activemq.apache.org/apollo/documentation/user-manual.html#On_Windows
to install a broker as a Windows Service. Unfortunately I it fails to start
the service with the following error in apollo-broker-service.err.log:
Exception in thread main
Here is the log that I am getting for that.
Java Runtime: Sun Microsystems Inc. 1.6.0_32 C:\Program
Files\Java\jdk1.6.0_32\jre
Heap sizes: current=124544k free=121942k max=466048k
JVM args: -Dcom.sun.management.jmxremote -Xmx512M
-Dorg.apache.activemq.UseDedicatedTaskRunner=true
Can u post the logs?
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Activemq-needs-to-be-reinstalled-every-time-tp4655412p4655413.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Hi ,
I am using activemq 5.4.1 on my window desktop. First time when I start
using activemq.bat , it is working fine. But from second time onwards it was
not starting properly and I need to reinstall I mean need to unzip installer
and again use . is there any where I need to set any settings to
When trying to start a broker I get this error on brokerService.start():
BrokerService brokerService = new BrokerService();
brokerService.setPersistent(false); //Simpler for testing
brokerService.setSupportFailOver(false);
brokerService.addConnector(tcp://127.0.0.1:61616);
brokerService.start();
issue resolved, tag 1.0.1 located to Geronimo specs with help at
us...@geronimo.apache.org:
http://apache-geronimo.328035.n3.nabble.com/Missing-sources-to-geronimo-jta-1-0-1B-spec-1-0-1-tt3985620.html#a3985621
br,
Martti
--
View this message in context:
Hi Everyone
A user is complaining about his application logs being filled up with
Store is locked... waiting 10 seconds. The KahaPersistenceAdapter
seems to be having trouble obtaining a lock. I am using an embedded
broker, but the broker is only ever started once. I am quite sure of
this.
What is more troubling me is that the messages sent by the Producer to a
Topic is lost when the Master goes down. When I restart my consumer, all
those messages that the Producer had sent to the Topic was lost. How do I
handle this? Where is the high availability in picture in this AMQ
Clustering?
If you're starting with ActiveMQ, do you really want to use such an old version?
I highly encourage you to upgrade to the latest 5.6 version if that is
possible.
Torsten Mielke
tors...@fusesource.com
tmie...@blogspot.com
On Aug 22, 2012, at 11:28 AM, Sri wrote:
Hi ,
I am using activemq
What version of ActiveMQ is your user using? If its any later version, i.e.
5.5.0 or higher, I suggest switching to KahaDB as the persistence adapter.
Torsten Mielke
tors...@fusesource.com
tmie...@blogspot.com
On Aug 21, 2012, at 8:02 AM, Jamie wrote:
Hi Everyone
A user is complaining
if you attach your config files i can give it a try on my side
-
http://www.christianposta.com/blog
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Store-and-Forward-with-embedded-brokers-stand-alone-broker-tp4655028p4655431.html
Sent from the ActiveMQ - User mailing
The problem is now solved...
It turns out that ActiveMQSslConnectionFactory.setKeyAndTrustManagers does
not work (at least in this context).
Replacing that the following does work:
System.setProperty(javax.net.ssl.keyStore,KEY_STORE_FILE_NAME);
Im trying to understand the concept behind the network of brokers in
ActiveMQ. What I understand from the documentation is that by having a
network or broker we can get load balancing. I would assume that load
balancing would mean that the messages are sent to either one of the brokers
(Master or
You appear to be missing the required slf4j-api-1.6.4.jar dependency.
(*Chris*)
On Tue, Aug 21, 2012 at 2:33 PM, offbyone r...@iridiumsuite.com wrote:
When trying to start a broker I get this error on brokerService.start():
BrokerService brokerService = new BrokerService();
What is the connection URL you are using on your clients?
(*Chris*)
On Wed, Aug 22, 2012 at 12:16 AM, joesan codeintheo...@gmail.com wrote:
Any help friends?
--
View this message in context:
http://activemq.2283324.n4.nabble.com/ActiveMQ-Clustering-Issue-tp4655306p4655410.html
Sent
That's not a network of brokers, it's a single broker with a failover. For
a network of brokers you would need multiple databases.
(*Chris*)
On Wed, Aug 22, 2012 at 9:28 AM, joesan codeintheo...@gmail.com wrote:
Im trying to understand the concept behind the network of brokers in
ActiveMQ.
But isn't configuring the networkConnectors with a static discovery in the
activemq.xml configuration file is a network of brokers?
--
View this message in context:
http://activemq.2283324.n4.nabble.com/ActiveMQ-Network-of-Brokers-tp4655435p4655439.html
Sent from the ActiveMQ - User mailing
You are mixing failover with nob.
Not the same thing.
On Aug 22, 2012, at 11:30 AM, joesan codeintheo...@gmail.com wrote:
But isn't configuring the networkConnectors with a static discovery in the
activemq.xml configuration file is a network of brokers?
--
View this message in context:
I'm happy to see some help at last.
Here is how the fail-over url looks like from my clients (both producer and
consumer)
failover:(tcp://localhost:61616,tcp://localhost:61617)
--
View this message in context:
When I configure the networkConnector in the activemq.xml file, I'm doing a
network of brokers. Did I get it correctly?
When my clients use a failover protocol, it is a failover scenario. Is this
correct as well?
In my case, I have both. Something similar to this.
Thanks for the reply. Can you explain me why that with a shared file system I
cannot have a network of brokers?
--
View this message in context:
http://activemq.2283324.n4.nabble.com/ActiveMQ-Network-of-Brokers-tp4655435p4655444.html
Sent from the ActiveMQ - User mailing list archive at
It's not with two hosts, but with two hosts and a shared database, I lock the
second to a waiting state. I got the point. So my earlier understanding was
correct that with a Master / Slave and a shared database lock, the slave
will not start it's transport connectors and will wait for the lock.
At least from what I'm seeing in *ActiveMQ in Action*, that looks right.
Could it be that your maxRecoveryAttempts=1 is preventing it from
recovering the second time? (I'm fairly new to this myself)
(*Chris*)
On Wed, Aug 22, 2012 at 10:32 AM, joesan codeintheo...@gmail.com wrote:
I'm happy
The problem is that you're duplicating functionality. The shared database
means that the two brokers share the information they are receiving by
placing it in a shared location, i.e. the database. The Network of Brokers
is a different way of sharing the information between the brokers, by
I would try increasing the maxReconnectAttempts to a bigger value. Is there a
rule of thumb as to how big this should be? Is there an indefinite try? what
happens if I specify -1? Will it try indefinitely until it gets a
connection? I would love to have that!
--
View this message in context:
Well as per the docs, it is so!
http://activemq.apache.org/failover-transport-reference.html
maxReconnectAttempts=-1 will try indefinitely! I will try that tomorrow on
my cluster configuration and let know the results here!
Thanks for all the help!
--
View this message in context:
I have two centos machines up and running. When I disable or turn
off iptables, the one broker can establish a transport bridge with the
other broker on the other centos machine.
I noticed that the port number being used changes -- 53033, 53067, etc..
How can I configure each broker in the
Sure... I've no spaces in my path with the exception of the location of
java.exe. apollo-broker-service.xml looks like this:
service
idorg.apache.activemq.apollo.Test/id
nameApollo: Test/name
descriptionApache Apollo is a reliable messaging broker/description
Maybe this activemq.log might shed more light on this:
2012-08-22 12:58:20,497 | INFO | ActiveMQ 5.6.0 JMS Message Broker
(static-broker-centos-test1) is starting |
org.apache.activemq.broker.BrokerService | main
2012-08-22 12:58:20,497 | INFO | For help or more information please
see:
Further investigation seems to show that if I extract Apollo into C:\Apollo
it works just fine. If I extract to D:\Apollo it does not.
If I extract and install from D:\Apollo and then (just to test) extract to
C:\Apollo before starting the Windows Service it will start just fine. Looks
like
I can recreate this as you've described. Not sure why it's happening. I've
opened a JIRA for it and will hack at it when I get a sec.
https://issues.apache.org/jira/browse/APLO-246
-
http://www.christianposta.com/blog
--
View this message in context:
Hi -
I'm trying to figure out the architecture for a large scale system that
I'm building that consists of hosting a number of services that would use a
pub/sub pattern. Could some please let me know the pros and cons of using
embedded broker Vs. standalone brokers especially in terms of
From your logs:
sk92129 wrote
2012-08-22 12:58:21,363 | INFO | Listening for connections at:
ssl://centos-test1.foo.com:61616?needClientAuth=true |
org.apache.activemq.transport.TransportServerThreadSupport | main
You can see from your config:
sk92129 wrote
This is a difficult question to answer but briefly, it will depend on the
services' design, state management of the system, concurrency-model, the
domain and what the services will be doing. I presume they will have
different behaviors with a mixture of cpu-bound, diskIO-bound,
networkIO-bound,
attached: activemq-centos-test1.xml for broker 1
attached: activemq-centos-test3.xml for broker 2.
On Wed, Aug 22, 2012 at 3:46 PM, ceposta christian.po...@gmail.com wrote:
From your logs:
sk92129 wrote
2012-08-22 12:58:21,363 | INFO | Listening for connections at:
The network connector in broker 2 has duplex set to true
This will open a connection in both directions, which explains the random
port on broker1.
Can you try having uni-directional network connectors on each broker?
-
http://www.christianposta.com/blog
--
View this message in context:
If it is duplex, it is not configurable to use a certain port or specific range?
For my case, I am not 100% certain at this time whether unidirectional
will work the the business case.
On Wed, Aug 22, 2012 at 5:07 PM, ceposta christian.po...@gmail.com wrote:
The network connector in broker 2
So if I set broker centos-test3 as a unidirectional bridge- it cannot
be a consumer, only a producer on a queue.
how does real world deployments handle data going in both directions?
I can think of two ways:
1.) put the broker in a less restricted DMZ zone in a company with
less ports blocked.
39 matches
Mail list logo