Spring xbean SAXParseException?

2007-11-12 Thread Jason Novak
My Spring container no longer starts, due to a SAXParseException. Is there a fix or workaround? I use the following applicationContext.xml prologue: http://www.springframework.org/schema/beans"; xmlns:amq="http://activemq.org/config/1.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-

ActiveMQ 4.1.1 Memory Leak with CMS

2007-11-12 Thread bradford
Hey, I'm trying to setup a CPP client to connect with ActiveMQ 4.1.1. I'm using activemq-cpp-2.1.1 and I have it set up to create and tear down several connections within a thread. It seems that as the test progresses, the message broker continues to consume more and more memory until a java.la

Re: Unable to create MessageProducer

2007-11-12 Thread TOPPER_HARLEY
>"Its normally a glitch in the network - or that the broker died." : I'm pretty sure the broker was OK since a new client could get a connection & session and create a temp queue. I previously registered another query ( http://www.nabble.com/Temp-queue-deleted-when-thread-interrupted-tf4393533s23

Re: jdbcPersistence behaviour

2007-11-12 Thread James Strachan
On 11/11/2007, ikbenben <[EMAIL PROTECTED]> wrote: > > hey all, > > i've got a question regarding the behaviour of using the > jdbcPersistenceAdaptor. i have deployed ActiveMQ into a clustered JBoss > 4.0.5 environment. I basically have 2 JBoss servers, each of which has the > ActiveMQ RAR deploy

Problem With Camel Example

2007-11-12 Thread ttmdev
I just downloaded apache-activemq-5.0-20071109.001854-55 and ran activemq with the default activemq.xml file, which results in the exception below. If I pull out the example camel context that comes with the default activemq.xml file, the broker is once again a happy camper. What could be wrong?

Re: Amq client crash when losing connection to broker

2007-11-12 Thread Timothy Bish
Please upgrade to ActiveMQ-CPP 2.1.1 as this sounds like an error that we fixed. Then let us know if it still misbehaves. Regards Tim On Mon, 2007-11-12 at 08:19 -0800, pfid wrote: > I'm using ActiveMQ-CPP 2.1 in my client application, and the broker version > 4.1.1. > > in case the client lose

Amq client crash when losing connection to broker

2007-11-12 Thread pfid
I'm using ActiveMQ-CPP 2.1 in my client application, and the broker version 4.1.1. in case the client loses its connection to the activemq broker, i want it to close all activemq queue connections, and try to reopen them if possible. i simulate this behaviour by stopping the broker via ctrl+c wh

Re: Unable to create MessageProducer

2007-11-12 Thread James Strachan
On 12/11/2007, TOPPER_HARLEY <[EMAIL PROTECTED]> wrote: > >"It could just be the socket has been dropped.": > Is socket dropping a common occurence or simply related to the quality of > the network one is running on (my TCP level knowledge isn't great). Its normally a glitch in the network - or th

Re: Unable to create MessageProducer

2007-11-12 Thread TOPPER_HARLEY
>"It could just be the socket has been dropped.": Is socket dropping a common occurence or simply related to the quality of the network one is running on (my TCP level knowledge isn't great). Would vm: style for the brokerURL prevent this since it would be insice JVM? This is our setup: We have a

Re: Messages not being received by consumer

2007-11-12 Thread CobraTheSleek
Hi James, thanks much for the response. In my sender code, if I do an explicit commit() on the session, I receive the following message as an XA transaction is in progress: 08:35:57,390 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) 08:35:57,390 ERROR [STDERR] Caused by: javax.jms.Tr

Re: ActiveMQ Connection management on the server side

2007-11-12 Thread James Strachan
On 06/11/2007, gnigats <[EMAIL PROTECTED]> wrote: > > Can someone help me please! When using JCA adaptor from on the Client side, > the ConnectionFactory and ResourceAdaptor propeties include user id and > password. How is the user id and password used on the server side? I > expected to see use

Re: Maximize Throughput

2007-11-12 Thread James Strachan
On 09/11/2007, appi03 <[EMAIL PROTECTED]> wrote: > > Running the latest activemq release 4.1.1 and using the cms library. > > I have a Linux Server set up that has 4 cpus where I am running my broker > and the producer. I was hoping to get a good performance out of it but > activemq only utilizes o

Re: SessionPooling

2007-11-12 Thread James Strachan
On 09/11/2007, Dave Carlson <[EMAIL PROTECTED]> wrote: > Hello, we are implementing an activeMQ application using 4.1.1, and we have > found that the performance bottleneck is in creating a session. I have > reviewed the JavaDoc on pooling, but are there any examples of using pooling? See this F

Re: ActiveMQ - Spring

2007-11-12 Thread James Strachan
On 30/10/2007, navneek <[EMAIL PROTECTED]> wrote: > > Hi, > > Im trying to use the Spring approach to access the components in > activemq.xml > I tried to load this file using the following syntax > > ApplicationContext context = new > ClassPathXmlApplicationContext("activemq.xml"); > > But it thro

Re: Unable to create MessageProducer

2007-11-12 Thread James Strachan
Without more information on how you are using the JMS client its hard to know really. It could just be the socket has been dropped. You night wanna enable failover... http://activemq.apache.org/how-can-i-support-auto-reconnection.html On 10/11/2007, TOPPER_HARLEY <[EMAIL PROTECTED]> wrote: > > Hi

Re: How to Start ActiveMQ from Tomcat

2007-11-12 Thread ttmdev
I would recommend creating a ServletContextListener for your web application. Through the listener, you can then start an embedded AMQ broker (I am assuming this is the broker type you want) when your web application gets deployed/initialized. Use your web app's ../META-INF/context.xml file to co

ActiveMQ Performance Report

2007-11-12 Thread Viswanath Durbha
Hi, The documentation of ActiveMQ has the following link to the Performance Report comparing ActiveMQ with other JMS providers. http://www.logicblaze.com/reg.jsp?nextPage=reg_thank_you.jsp&resource=perfomance%20report&optout=false But this link is being redirected to the following URL. http://op

Re: XSD Validation issues with Spring and embedded ActiveMQ

2007-11-12 Thread James Strachan
For spring you must include the XSD declaration at the top. See the Spring 2 example here http://activemq.apache.org/spring-support.html On 07/11/2007, stuarthardy <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm having some major problems with configuring an embedded Broker through > Spring. I'm follo

Re: Selector Modification

2007-11-12 Thread James Strachan
On 09/11/2007, mrh <[EMAIL PROTECTED]> wrote: > > Is it possible to modify selectors after the listener has been started, > without closing and restarting the consumer? Only via JMX on the broker. Failing that stop and start the consumer. If you are using queues it doesn't make any difference; its

Re: Messages not being received by consumer

2007-11-12 Thread James Strachan
It looks like you're creating a transactional session and never calling commit(). On 09/11/2007, CobraTheSleek <[EMAIL PROTECTED]> wrote: > > Hi, > > ENV: > ActiveMQ-Snapshot-5.0 > JBoss AS 4.2.1 > > I have the following queues defined: > > name="activemq.queue:name=org.apache.activemq.requestQu