Re: Closing a consumer create more messages than sent

2008-06-02 Thread kloh
Here are some additional informations, which might be important: Each consumer and producer run in their own thread, each of them uses his own session. They all share a common connection. -- View this message in context: http://www.nabble.com/Closing-a-consumer-create-more-messages-than-sent-tp

spring transaction configuration

2008-06-02 Thread kpetrov
Hello everybody, I'm trying to setup a simple transactional setup where I receive a message using "DefaultMessageListenerContainer" and then send it using JmsTemplate. When I look at the log I have the following messages non stop: 13:14:54 DEBUG ID:kvp-pro-2.local-61811-1212437692103-2:0:5 Trans

Re: First ActiveMQ/jms project

2008-06-02 Thread Aaron Mulder
When you say "JMS binding component", do you mean you want to use JMS from ServiceMix or Camel, or are you just trying to use a regular Java client to talk to ActiveMQ? Thanks, Aaron On Mon, Jun 2, 2008 at 12:04 PM, floulou <[EMAIL PROTECTED]> wrote: > > Hi, > I want to do my first applica

Re: First ActiveMQ/jms project

2008-06-02 Thread ttmdev
Sun has a decent JMS tutorial. http://java.sun.com/products/jms/tutorial/ Joe floulou wrote: > > Hi, > I want to do my first application using JMS binding component and > activeMQ,so can you give me a tutorial wich helps me in this purpose. > NB:I am using NetBeans IDE > Thanking in advance

Re: Sending message to password protected queue via JMX?

2008-06-02 Thread ttmdev
I have create AMQ-1761 and submitted a patch for review. The patch enhances sendTextMessage() such that it accepts an optional username and password. This allows you to send a text message, via jmx, while authentication services have been enabled. Joe ttmdev wrote: > > There is the 'sendText

Re: Broker hitting max memory with large persistent queue

2008-06-02 Thread tpounds
Maarten Dirkse-2 wrote: > > Hi, > I've spent quite a bit of time trying to find a solution to this problem, > but nothing that I've come across in the documentation or the mailing list > seems to help, so here goes: > > I've got ActiveMQ set up to provide messaging between a chain of four > co

First ActiveMQ/jms project

2008-06-02 Thread floulou
Hi, I want to do my first application using JMS binding component and activeMQ,so can you give me a tutorial wich helps me in this purpose. NB:I am using NetBeans IDE Thanking in advance. -- View this message in context: http://www.nabble.com/First-ActiveMQ-jms-project-tp17604856s2354p17604856.

Queue stop

2008-06-02 Thread odobas
Can you stop a queue from taking new messages while it still delivers the ones that are in it? I need that in order to not lose any messages when I am bringing the queue down say for maintenance... Thanks. -- View this message in context: http://www.nabble.com/Queue-stop-tp17603840s2354p1760384

Closing a consumer create more messages than sent

2008-06-02 Thread kloh
Hi *, we're concerning with interested happenings, about which we're not sure, wether this is caused by bad configuration, bad code or a bug. The scenario: ActiveMQ 5.1, persistence with the amq-store, transactional. We have two producer, each sends 10.000 messages to the broker, to a queue. We

Re: Some problem with web-console!!

2008-06-02 Thread Xuyang
I cant connect to service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi ,plz tell me how to change!thanks! Mario Siegenthaler-2 wrote: > > Can you connect to service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi > using jconsole? It looks like the port is not open: >java.net.ConnectException: Co

Re: Slow Consumers and MaximumPendingMessageLimit or MaximumPendingQueueSize?

2008-06-02 Thread srasul
any help on this would be greatly appreciated... =) srasul wrote: > > Hi, > > when dealing with slow/deadlocked consumers, it seems that one thing that > really helps is setting the MaximumPendingQueueSize in the subscription > via JMX Console. > > My questions are: what is the difference bet

Re: Connection reset by broker with messages greater than 42KB

2008-06-02 Thread Ivan Jovanovic
I still can not solve this, the number of bytes that are sent before the closing of connection is variable with the same message. The message is totaly ok with its format. It is string 'test' multiplied 10, 100, 1000 and 1 thousand times like "testtesttesttesttest" For 1,10,100 it works bu

Re: Some problem with web-console!!

2008-06-02 Thread Dejan Bosanac
Yes, maybe you haven't configured your broker to use JMX ( http://activemq.apache.org/jmx.html) Add useJMX=true to your conf -- Dejan Bosanac www.scriptinginjava.net On Mon, Jun 2, 2008 at 1:11 PM, Mario Siegenthaler <[EMAIL PROTECTED]> wrote: > Can you connect to service:jmx:rmi:///jndi/rmi:

Re: Some problem with web-console!!

2008-06-02 Thread Mario Siegenthaler
Can you connect to service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi using jconsole? It looks like the port is not open: java.net.ConnectException: Connection refused: connect Mario On Mon, Jun 2, 2008 at 1:02 PM, Xuyang <[EMAIL PROTECTED]> wrote: > > I have modified the catalina.bat,and ad

Re: Some problem with web-console!!

2008-06-02 Thread Xuyang
I have modified the catalina.bat,and add the above items: set JAVA_OPTS=-Dwebconsole.type=properties -Dwebconsole.jms.url=tcp://localhost:61616 -Dwebconsole.jmx.url=service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi -Dwebconsole.jmx.role= -Dwebconsole.jmx.password= but when I restart the tomcat,i

How can I check the memory usage of activemq broker without jconsole?

2008-06-02 Thread Wing
I would like to check the memory usage of activemq broker in the Linux environment. I know there is a UsageMemory.class, but I don't know how to call it and check the memory usage. -- View this message in context: http://www.nabble.com/How-can-I-check-the-memory-usage-of-activemq-broker-without

new transfer protokols for blob-messages

2008-06-02 Thread Marco Buss
I have put the ftp support to blob messages. (see: https://issues.apache.org/activemq/browse/AMQ-1744) Is there a need for other protocols which should supported for blob-messages? -- View this message in context: http://www.nabble.com/new-transfer-protokols-for-blob-messages-tp17596166s2354p17

Re: Some problem with web-console!!

2008-06-02 Thread Dejan Bosanac
Hi, can you please post your configuration and errors you are experiencing? Cheers -- Dejan Bosanac www.scriptinginjava.net On Mon, Jun 2, 2008 at 4:17 AM, Xuyang <[EMAIL PROTECTED]> wrote: > > I want to use web-console in tomcat , when use the version 5.0.0 ,it works > well .But I think 5.1.0