Re: Connecting to ActiveMQ 5.2.0 integrated JBoss 5.0.1. GA

2009-05-20 Thread Giovani Seben
Looks like the broker is not starting. Do you see any exceptions in the Jboss log? A while ago, (see: https://issues.apache.org/activemq/browse/AMQ-2212) there was a fix for a classloading issue with the 5.2 resource adapter. It was found when using Websphere but it might affect Jboss as well. -Gi

Re: Managing a Broker via JMX

2009-05-20 Thread Jai_M
I am working on a similar implementation and could not get to create transportConnector via JMX. See my earlier post regarding this at http://www.nabble.com/How-to-create-a-TransportConnector-using-JMX-td23643601.html I even tried the example provided in the link by Bruce. Surprisingly createTopi

How to create a TransportConnector using JMX

2009-05-20 Thread Jai_M
Hi, I am trying to create TransportConnector using JMX and I am getting the following NullPointerException. java.lang.NullPointerException at org.apache.activemq.broker.TransportConnector.start(TransportConnector.java:197) at org.apache.activemq.broker.jmx.BrokerView.addConnect

How often does ActiveMQ discovery send a message?

2009-05-20 Thread darrickc
How often does the ActiveMQ discovery mechanism send a broadcast message? I'm getting reports that it is "flooding" the network which I find hard to believe. Can you give me an idea of how often and how much data is being sent whenever the discovery mechanism broadcasts that a broker is online? T

Getting Exception in thread "Persistence Adaptor Task" when hot deploy a war

2009-05-20 Thread jinglei
Here is the stack trace, 08:40:46,972 ERROR [STDERR] Exception in thread "Persistence Adaptor Task" 08:40:46,972 ERROR [STDERR] java.lang.NullPointerException 08:40:46,972 ERROR [STDERR] at org.apache.log4j.LogManager.getLogger(LogManager.java:188) 08:40:46,972 ERROR [STDERR] at org.apac

Re: Batch processing

2009-05-20 Thread Dejan Bosanac
Hi, you can use JMS transactions and commit them after you commit your DB. Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Wed, May 20, 2009 at 1:22 PM, milan tomic wrote: > > Howd

Batch processing

2009-05-20 Thread milan tomic
Howdy, I have this case: For each message that comes, I have to insert an record into MY_LOG table and to make commit. Commits slows my DB, so I have decided to use MQ. The question is: does MQ supports batch processing of messages? Can I say: give me 50 messages from the queue at once, so I wou

ActiveMQ on JDK1.4.2 and JBoss 4.0.3SP1

2009-05-20 Thread jamiebarrow
Hi, I am going to be working on a project involving ApacheMQ whose environment uses Java version 1.4.2 and JBoss version 4.0.3SP1 (unfortunately, there is no way to use newer versions currently). I will be integrating MQ into JBoss as described in the guide on the MQ website (using the connector)

Connecting to ActiveMQ 5.2.0 integrated JBoss 5.0.1. GA

2009-05-20 Thread flippo
A few months ago i integrated Apache ActiveMQ 4.1.2 with JBoss 4.0.5GA which worked fine for me. My application could send messages to the queue's by using the tcp://localhost:61616. Now when I use almost the same configuration with the combination ActiveMQ 5.2.0 and JBoss 5.0.1. GA I can't connec

briwsing a protected queue from activemq-admin

2009-05-20 Thread Aleksandar Ivanisevic
how in activemq 5.2.0 can I specify user and password to activemq-admin browse? Tried with -Dactivemq.{username,password} but it doesn't work java -Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Dcom.sun.management.jmxremote '-Dactivemq.classpath=/opt/activemq/conf;' -Dactivemq.home