Does activemq-dotnet have a vm://localhost broker URL option?

2007-03-21 Thread Dave Syer
Setting brokerURL=vm://localhost is great for testing on the Java side. Is there an equivalent in .NET? It seems that vm: is not recognised by AMQ and it tries to create a socket connection with that protocol and fails: TestApplication.MessageTests.SendAndReceive : System.ArgumentOutOfRangeE

Problems with Persistent Messages

2007-03-21 Thread Karthik.Gopalakrishnan
Hi I am new to activemq and now i am facing a weird problem with ActiveMQ(integrated with JBoss). I have a c# client which sends persistent messages to a queue that is created using the file activemq-jms-ds.xml the contents of which is as follows http://www.jboss.org/j2ee/dt

Re: Need help on Apache MQ

2007-03-21 Thread James Strachan
On 3/22/07, Shilpa <[EMAIL PROTECTED]> wrote: hi, i am new to Apache MQ Series please help me in going ahead i have down loaded apache-activemq-4.1.0-incubator.zip and unzipped to a folder and then i runned activemq.bat located in bin folder so broker is started. i have to know how to

Re: Need help on Apache MQ

2007-03-21 Thread Adrian Co
You could start here: http://activemq.apache.org/getting-started.html Shilpa wrote: hi, i am new to Apache MQ Series please help me in going ahead i have down loaded apache-activemq-4.1.0-incubator.zip and unzipped to a folder and then i runned activemq.bat located in bin folder so b

RE: Need help on Apache MQ

2007-03-21 Thread Nilantha Jayalath
http://activemq.apache.org/how-can-i-monitor-activemq.html jconsole could be a good starting point Hermes is also a good tool... http://www.hermesjms.com/confluence/display/HJMS/Home Hope these helps -Nilantha -Original Message- From: Shilpa [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Need help on Apache MQ

2007-03-21 Thread Shilpa
hi, i am new to Apache MQ Series please help me in going ahead i have down loaded apache-activemq-4.1.0-incubator.zip and unzipped to a folder and then i runned activemq.bat located in bin folder so broker is started. i have to know how to test the service? if i run monitoring url "ht

Re: Web console in version 4.2

2007-03-21 Thread M. David Minnigerode
Hum... Tried various versions of jetty. Event updated to previous revisions. Can get the build to work. But get spring exceptions as in the other subthread. Has anyone done a clean checkout from trunk and done a build w/o an existing maven repository? thanks dave M. David Minnigerode w

Priorities In ActiveMQ 4

2007-03-21 Thread greenbean
We have a fixed number of consumers written in C using Stomp that need to consume messages from a queue based on priorities. We have recently learned that ActiveMQ 4 lacks support for priorities. What is involved in adding support for priorities to ActiveMQ 4? Is there an alternative using mess

Re: ActiveMQ/Kaha restart failed

2007-03-21 Thread Po Cheung
Thanks for the quick response. When we switch the broker from 4.1 to 4.2, can the ActiveMQ client (compiled using JDK 1.4) continue to use 4.1 jars to talk to a 4.2 broker? Po rajdavies wrote: > > kaha is fixed in 4.2 - but we've also changed the default storage - > to use a mix of the jour

Re: Out of memory errors

2007-03-21 Thread Po Cheung
Po Cheung wrote: > > We got OutOfMemory errors on both the broker and client after > sending/receiving 600K messages to persistent queues with transactions. > The memory graph below shows the heap usage of the broker growing > gradually. Max heap size is 512MB. UsageManager is also at 512MB (

Out of memory errors

2007-03-21 Thread Po Cheung
We got OutOfMemory errors on both the broker and client after sending/receiving 600K messages to persistent queues with transactions. The memory graph below shows the heap usage of the broker growing gradually. Max heap size is 512MB. UsageManager is also at 512MB (will that cause a problem? s

Re: ActiveMQ/Kaha restart failed

2007-03-21 Thread Rob Davies
kaha is fixed in 4.2 - but we've also changed the default storage - to use a mix of the journal and kaha - I'll try document it soon! cheers, Rob On 21 Mar 2007, at 19:12, Po Cheung wrote: ActiveMQ was consuming 100% cpu for over 12 hours after the restart. Here is a partial thread du

Re: ActiveMQ/Kaha restart failed

2007-03-21 Thread Po Cheung
ActiveMQ was consuming 100% cpu for over 12 hours after the restart. Here is a partial thread dump: "WrapperSimpleAppMain" prio=1 tid=0x08389780 nid=0x2847 runnable [0xf19fd000..0xf19ff1b0] at org.apache.activemq.kaha.impl.index.IndexItem.read(IndexItem.java:141) at org.apache.active

Re: ActiveMQ object cleanup

2007-03-21 Thread Xavier Toth
On further inspection I see that there are a number of threads started on behalf of ActiveMQ and I'm wondering if and how these ever get cleaned up? I've included a super simplified example of a standalone broker and client along with build and run scripts (the classpath will have to be changed fo

Is there a patched version of activemq for spring (AMQ-1016)?

2007-03-21 Thread Geoffrey De Smet
Hi all, AMQ-1016 is blocking our spring-based application. So far we've used this stopgap in development: xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://activemq.org/config/1.0 http://mydomain.com/schema/acti

ActiveMQ - java.lang.Exception: java.io.IOException: Could load xbean factory:java.lang.NoClassDefFoundE

2007-03-21 Thread Malathi
Hi I have followed the Apache MQ userguide and have added the required jars to the classpath but I am still seeing the foll. error on both 4.0.2 and 4.1.0 versions when I try to run activemq. There seems to be some kind of class incompatibility. Any help to resolve this is appreciated. De

Error while posting message: Failed to build body from bytes

2007-03-21 Thread Kamlesh
Hi, All I get following error while posting message to ActiveMQ 3.1 running on window server. javax.jms.JMSException: Failed to build body from bytes. Reason: java.io.IOException: com.core.MyObject I get this error when message is posted from the application running on the sun server. I don't s

How can I completely shutdown ActiveMQ client correctly?

2007-03-21 Thread Dennis Cheung
I have some problem on shutting down the ActiveMQ client (not the broker). I have a Java application using ActiveMQ 4.0.2. (async send is already disabled, tcpNoDelay is enabled) 1. Create temporary topic A. 2. Send message to another queue B. 3. Receive a message on topic A, with a

Re: Web console in version 4.2

2007-03-21 Thread M. David Minnigerode
No... someone needs to put the correct version of jetty into the maven repository that's in the pom... or put the repository with the correct version of jetty into the pom. It sounds like someone switched the jetty version in the pom... but the rc1 version doesn't actually work... But I just sho

ActiveMQ/Kaha restart failed

2007-03-21 Thread Po Cheung
ActiveMQ was restarted but did not come up successfully. Clients could not connect to it. 2007-03-16 14:43:11,026 [WrapperSimpleAppMain] INFO (BrokerService.java:505) - ActiveMQ 4.1-SNAPSHOT JMS Message Broker (localhost) is starting 2007-03-16 14:43:11,030 [WrapperSimpleAppMain] INFO (BrokerS

Re: [Spam: 5.0] Receiving BlobMessage with activeMQ-4.2

2007-03-21 Thread Aleksi Kallio
We discuss this development over at dev@activemq.apache.org, so you might subscribe to it. Or you could monitor the JIRA issue: https://issues.apache.org/activemq/browse/AMQ-1075 thank you very much i'm very excited to see this functionality working.. and a final point: how can i know when

Re: Web console in version 4.2

2007-03-21 Thread Daryl Richter
I have exactly the same problem here. [Prax:~/Code/Java/activemq] ngzax% svn up At revision 520846. The message indicates that I could install Jetty manually, but certainly that isn't what we should all be doing, right? On 3/20/07 7:06 PM, "M. David Minnigerode" <[EMAIL PROTECTED]> wrote: > >

Re: Creating a Persistent Queue in ActiveMQ ?

2007-03-21 Thread Karthik.Gopalakrishnan
Hi James I have actually created the destinations(the same way it is being explained in the link that you had provided ).The problem i am facing is that when i try to send a message to the queue from a c# client with the persistent set to true in the producer i dont see the message on the queue

Re: Creating a Persistent Queue in ActiveMQ ?

2007-03-21 Thread James Strachan
Persistence is on by default. I wonder if this helps... http://activemq.apache.org/how-do-i-create-new-destinations.html On 3/21/07, Karthik.Gopalakrishnan <[EMAIL PROTECTED]> wrote: Hi I followed the steps given in http://devzone.logicblaze.com/site/integrating-apache-activemq-with-jb

Creating a Persistent Queue in ActiveMQ ?

2007-03-21 Thread Karthik.Gopalakrishnan
Hi I followed the steps given in http://devzone.logicblaze.com/site/integrating-apache-activemq-with-jboss.html http://devzone.logicblaze.com/site/integrating-apache-activemq-with-jboss.html to integrate ActiveMQ with JBoss.I wanted the AdminObject(Queue in my case) created using activ

Creating a Persistent Queue in ActiveMQ ?

2007-03-21 Thread Karthik.Gopalakrishnan
Hi I followed the steps given in http://devzone.logicblaze.com/site/integrating-apache-activemq-with-jboss.html http://devzone.logicblaze.com/site/integrating-apache-activemq-with-jboss.html to integrate ActiveMQ with JBoss.I wanted the AdminObject(Queue in my case) created using activ

Re: JMS Client connecting to Broker

2007-03-21 Thread James Strachan
On 3/21/07, Hendry <[EMAIL PROTECTED]> wrote: Ok, it works, but now I don't receive any message from the broker, the provider url that I used : vm://localhost I've also tried the url: vm:(broker:(tcp://localhost:61616)?persistent=false)?marshal=false Both doesn't work. Any suggestion? Thanx. T

Re: JMS Client connecting to Broker

2007-03-21 Thread Hendry
Ok, it works, but now I don't receive any message from the broker, the provider url that I used : vm://localhost I've also tried the url: vm:(broker:(tcp://localhost:61616)?persistent=false)?marshal=false Both doesn't work. Any suggestion? Thanx. Regards, Hendry James Strachan wrote: The A