Re: How to know whether embedded broker is stoped?

2009-05-19 Thread JS75
oh...I forgot to mention that I use 4.1.2 instead of 5 service.waitUntilStopped(); This function seems not apply for 4.1.2 Jean rajdavies wrote: > > > On 18 May 2009, at 09:32, JS75 wrote: > >> >> Dear Sir: >> Here is my scenario - multi-producers a

How to know whether embedded broker is stoped?

2009-05-18 Thread JS75
Dear Sir: Here is my scenario - multi-producers and multi-consumers in the same application. I am sure all consumers and producers are closed before I close the application. And please note that I close the application by terminate JVM. (so I may not close broker properly?) So sometimes I found so

Could I get user name and password of JDBC connection in config file

2008-03-27 Thread JS75
, Jean JS75 wrote: > > Than you James~^^ > > I still have one more question, if I disable createTablesOnStartup which > means MQ will not create DB table for the first time (obviously in my > test), so I need to create table by manually? If so, is there any addon > program

Re: COMMIT TRANSACTION 要 求沒有對應的 BEGIN TRANSACTION

2008-03-26 Thread JS75
? And I still wonder another better way thant could I move this warning by logger configure??? After all, what I want to do is to prevent users to get confused with it but relying on MQ default settings. Sincerely, Jean James.Strachan wrote: > > On 26/03/2008, JS75 <[EMAIL PROTECTE

COMMIT TRANSACTION 要求沒 有對應的 BEGIN TRANSACTION

2008-03-26 Thread JS75
Dear All: I use MQ 4.1 to replace my internal queue, and I'd like it to be persisitent by SQL 2005. Every thing goes well~!! Only one thing, I found warning like this ... [java] 2008-03-26 15:36:25.390 WARN [main] org.apache.activemq.store.jdbc.JDBCPersistenceAdapter - Cannot create t

Re: SQLException : table or view does not exist

2008-02-17 Thread JS75
It seems that no one gets the idea how to solve this problem. I guessed there should be certain problem in config xml file. Here is part of my xml file. Is there any problem ? JS75 wrote: > > Dear All: > First, I try to start my embedded br

SQLException : table or view does not exist

2008-02-14 Thread JS75
Dear All: First, I try to start my embedded broker with config xml in MQ4.1. It starts successfully, if I set db-source as SQL server 2005. But I got exception below for oracle. 14-02-2008 16:48:58 ERROR [broker.BrokerService] - Failed to start ActiveMQ JMS Message Broker. Reason: java.io.IOExcep

Exception : factory:java.io.IOException

2008-01-31 Thread JS75
Dear All: Now I need to implement two requirements with MQ4.1. 1. Start my embedded broker with cofig.xml file. 2. Use MS SQL Server instead of default derby. And here is my activeMQ.xml (I put it in C disk) http://www.springframework.org/schema/beans"; xmlns:amq="http://activemq.org/config/1

Cannot synchronously receive a message when a MessageListener is set

2008-01-17 Thread JS75
Dear All: I tried to receive message from topic, however, I got exception below. [java] [java] javax.jms.IllegalStateException: Cannot synchronously receive a message when a MessageListener is set [java] [java] at org.apache.activemq.ActiveMQSession.checkMessageListener

Re: Performance & Backup problems

2007-12-25 Thread JS75
ar and commons-logging-1.1.jar, and have no problem. > > For issue 2: You can leverage the CommandAgent. > > http://activemq.apache.org/command-agent.html > > And/or use mirrored queues to monitor the traffic. > > http://activemq.apache.org/mirrored-queues.html > >

Re: Performance & Backup problems

2007-12-23 Thread JS75
settings in activemq.xml so that I could monitor queues in my project?? Sincerely, Jean JS75 wrote: > > Yeah... > In AMQ4.1.1, what Jar I need is only apache-activemq-4.1.1.jar > In AMQ 5.0, I added activemq-all-5.0.0.jar first > But I got this exception > java.lang.NoClass

Re: Performance & Backup problems

2007-12-20 Thread JS75
n jar so that I got this exception java.lang.NoSuchMethodError: org.apache.activemq.ActiveMQMessageProducerSupport.getDestination()Ljavax/jms/Destination; rajdavies wrote: > > Your sure you're picking up the jar correctly? > On Dec 21, 2007, at 6:47 AM, JS75 wrote: > >> &

Performance & Backup problems

2007-12-20 Thread JS75
Dear Sir: Thanked to your help, I build a simple project profile. However, I have some issues and problems!! 1. As posted before, I get certain exception from AMQ4.1 to AMQ5.0 java.lang.NoSuchMethodError: org.apache.activemq.ActiveMQMessageProducerSupport.getDestination()Ljavax/jms/Destination;

Re: Journal is locked

2007-12-19 Thread JS75
n JVM clients can use vm://fred > > With regards to the class path error - which jars are you using ? > > cheers, > > Rob > > > Rob Davies > 'Go further faster with Apache Camel!' > http://rajdavies.blogspot.com/ > > > > On Dec 18, 20

Re: Journal is locked

2007-12-17 Thread JS75
veMQConnectionFactory connectionFactory = > new ActiveMQConnectionFactory(vm://serverbroker); > > Joe > > > > JS75 wrote: >> >> Dear Sirs: >> >> As a neophyte of activeMQ, I encountered some tasks, and please help me >> to solve them >"&

Journal is locked

2007-12-17 Thread JS75
Dear Sirs: As a neophyte of activeMQ, I encountered some tasks, and please help me to solve them >"http://www.nabble.com/Journal-is-locked-tp14375869s2354p14375869.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.