Re: Problems with Persistent Messages

2007-03-23 Thread tabshift
I am sorry, I do not have any experience in integrating ActiveMQ into JBoss. Karthik.Gopalakrishnan wrote: I was not able to configure ActiveMQ4.2 to integrate it with JBoss . I followed the same set of steps to integrate ActiveMQ with JBoss and i get an exception IllegalStateException :

starting activemq getting errors

2007-03-23 Thread Prakash sen
Hi, While starting activemq i am getting this error. Any idea or suggestion would be helpfull. Thanks, Prakash Sen. E:\MQ\apache-activemq-4.1.0-incubator\binactivemq ACTIVEMQ_HOME: E:\MQ\apache-activemq-4.1.0-incubator\bin\.. Loading message broker from: xbean:activemq.xml ERROR:

Unable to recognize DB2Driver

2007-03-23 Thread garima015
Hi, I am using incubator-activemq-4.0.2.jar and is configuring DB2 in activemq.xml using bean id=db2 class=org.apache.commons.dbcp.BasicDataSource property name=driverClassName value=com.ibm.db2.jcc.DB2Driver/ property name=url value=URL/ property name=username value=USER/

Re: Unable to recognize DB2Driver

2007-03-23 Thread tabshift
You simply need the JDBC Type 4 driver for connecting to DB2 databases. This file is called db2jcc.jar. Get it and put it in ActiveMQ's lib-Dir. garima015 wrote: Hi, I am using incubator-activemq-4.0.2.jar and is configuring DB2 in activemq.xml using bean id=db2

Re: Unable to recognize DB2Driver

2007-03-23 Thread garima015
With jdbc and persistence as true it is giving really bad performance. any idea how to improve this? tabshift wrote: You simply need the JDBC Type 4 driver for connecting to DB2 databases. This file is called db2jcc.jar. Get it and put it in ActiveMQ's lib-Dir. garima015 wrote:

Re: ActiveMQ object cleanup

2007-03-23 Thread Ted X Toth
Well I thought I was on to something. I created a threadgroup and put my thread in it and sure enough the activemq created threads as part of my spring context creation get created in my thread group, great. Then when I close my spring context I get the threadgroup and call interrupt and my

Peer transport mode: AMQ4.1 runs out of heap space

2007-03-23 Thread uma_rk
Environment: JDK1.6 ActiveMQ 4.1 Linux Kernel 2.6.17-1.2630 Setup: VM1 on local workstation configured with Peer transport Topics: 2 published Number of subscribers: 2 Queues: None Broker configuration: bean id=jmsFactory

Re: ActiveMQ object cleanup

2007-03-23 Thread Xavier Toth
For instance the run method in TcpTransport doesn't check for isInterrupted on the thead. I tried added it myself but I think readCommand is blocking and the threadgroup interrupt has no affect in blocking I/O so it's not getting back to the while to check whether the thread was interrupted. I

Re: ActiveMQ object cleanup

2007-03-23 Thread Xavier Toth
Well it does look like the tcp transport thread does get cleaned up through inactivity. However there are other threads that don't and I've included the log dump of the threadgroup: ( DEBUG 23 Mar 2007 15:43:51,408 Channel ChannelThread