Requires help in integrating activeMQ jms client with weblogic Server

2007-08-23 Thread pangupta
Hi I am using a sample code of active mq jms client. It successfully sends the message to my activeMQ server running at default 61616 port. But now i want to use the same client to send a message to weblogic server running on my local machine at 7001 port. It gives me the following exception. Ca

Re: Large PendingQueueSize values for subscriptions on a queue with one message

2007-08-23 Thread David Sitsky
Hi Rob, I thought that would be your answer - fair enough. I've attached a unit test which demonstrates the problem. I tried to make the code as small as possible. In this situation, the issue (program hangs) seems to happen when QUEUE_PREFETCH_SIZE == 1 and NUM_WORKERS = 2 (90% of the time

Questions regarding AMQ (AJAX and AjaxServlet)

2007-08-23 Thread JohnFish
Hi guys. I am just a beginner in JMS applications and I just discovered AMQ. I need to write a JAVA daemon that will post messages from a database (in frequent intervals) and a web page will consume them. The problem is that I need ajax functionality to update a news list on the fly. I have some

Build error

2007-08-23 Thread liuxiaoming
[INFO] Preparing eclipse:eclipse Downloading: http://agilejava.com/maven//com/agilejava/docbkx/docbkx-maven-plugi n/2.0.3-SNAPSHOT/docbkx-maven-plugin-2.0.3-SNAPSHOT.pom Downloading: http://people.apache.org/repo/m2-incubating-repository/com/agilejav a/docbkx/docbkx-maven-plugin/2.0.3-SNAPSHOT/doc

The speed of sending message is faster than receiving, consumer will be down!

2007-08-23 Thread liuxiaoming
-- View this message in context: http://www.nabble.com/The-speed-of-sending-message-is-faster-than-receiving%2C-consumer-will-be-down%21-tf4321308s2354.html#a12305858 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: problem set the expiration time for durable topic messages

2007-08-23 Thread ferry97
Thanks, I tried it, and it works (in ActiveMQ5 SNAPSHOT, as mentioned in JIRA ActiveMQ 4.1.1 has bug regarding handling expired message). BTW, does the expired message persist ? or it can be configured ? How to access the expired message? -- View this message in context: http://www.nabble.com/pr

Issue on ActiveMQ handling expired message

2007-08-23 Thread ferry97
Hi, Regarding the expired message : 1. Does the expired message persist ? 2. How to access the DLQ ? ( or What is the queue name?)I check in the log, it will try to create something like : Adding destination: topic://ActiveMQ.Advisory.Expired.Queue.ActiveMQ.DLQ.Queue.queue.MyQueue why does it

ActiveMQ Error on broker startup

2007-08-23 Thread manishbel
Hello First of all sorry if my messages are too annoying or naive but i am trying to get some help on various issues that i am facing. We're trying to use the directory persistence for our testing envrionment and when we brought the broker up it failed, when we looked into the locgs we saw the fo

Re: 4.1 and 3.0 communication

2007-08-23 Thread jefflab
I am having the same problem. I suspect the 4.1 client needs to specify a backwards compatible wire format in the url, however I haven't been able to find out how to do this. Does anyone else know the best wire format available in 3.1? Steve Olson wrote: > > Can a publisher using activeMQ 4.1

NPE while consuming messages

2007-08-23 Thread manishbel
I have a consumer that's consuming messages at about 6msgs/sec and after i sent about 15000 messages i got the following exception java.lang.NullPointerException at java.util.LinkedList.addBefore(LinkedList.java:635) at java.util.LinkedList.addFirst(LinkedList.java:153) at

Re: Failover error

2007-08-23 Thread Dave Carlson
Does anyone have any insight into this issue? Is this something on my side? Here are some code snippets: logger.debug("creating QueueConnectionFactory with:"+uri); ActiveMQConnectionFactory factory = new ActiveMQConnectionFactory( user,

Re: Database lock is not removed when broker is shutdown by calling shutdown mehtod on it.

2007-08-23 Thread manishbel
Sorry, my bad, i figured that activemq is doing the select for update to lock it and once the connection is gone the lock's gone too. in my case it was hanging because there was another broker connected to it from some other machine. Manish. manishbel wrote: > > Hello, > > My broker is conf

Re: two instances of web amq - one webconsole

2007-08-23 Thread Mario Siegenthaler
Only if the two are a master/slave pair (only one running at a time). Else I'd recommend you to just deploy the activemq twice on a tomcat and use jndi to configure it. You'd then have myhost/amqc1 and myhost/amqc2 as urls to the webconsole. Mario On 8/23/07, den!s <[EMAIL PROTECTED]> wrote: > >

Getting java.lang.RuntimeException: -2147480867, 2147486429

2007-08-23 Thread Kamlesh
Hi, I am getting the following error while posting message to the queue from ESB. Why? Iam using ActiveMQ 4.1.0 and oracle as data storage. Caused by: java.io.IOException: Write failed: java.lang.RuntimeException: -2147480867, 2147486429 at org.apache.activeio.journal.active.JournalImpl

Database lock is not removed when broker is shutdown by calling shutdown mehtod on it.

2007-08-23 Thread manishbel
Hello, My broker is configured to use the JournaledJdbc which by default allows the Master/Slave behavior, i have set the start flag to false so that the broker is not started automatically by the context as i want to start the broker asynchronously in its own thread so that the other slaves in t

two instances of web amq - one webconsole

2007-08-23 Thread den!s
Hi all, i'm using amq-4.1.1 and the web console that goes with it. The console is deployed on a tomcat using those arguments -Dwebconsole.type=properties -Dwebconsole.jms.url=http://:61616 -Dwebconsole.jmx.url=service:jmx:rmi:///jndi/rmi://:1099/jmxrmi as tomcat system properties. My problem is

Re: Problems running Web Console

2007-08-23 Thread anish pathadan
You just need to start your amq server .Web console is integrated to amq. After the startup you can access the web console using the following url:- http://localhost:8161/admin/ Thanks, Anish Pathadan On 8/23/07, ferry97 <[EMAIL PROTECTED]> wrote: > > > How to run a web console ? > I check the we

Re: Problems running Web Console

2007-08-23 Thread ferry97
How to run a web console ? I check the website http://activemq.apache.org/web-console.html, and click running a broker, but it goes to blank page. I'm running ActiveMQ 5. Please help. Thanks -- View this message in context: http://www.nabble.com/Problems-running-Web-Console-tf1809852s2354.html#a

How to monitor ActiveMQ that run in JBOSS

2007-08-23 Thread ferry97
Hi, How to monitor ActiveMQ that run in JBOSS. I run ActiveMQ 5 which should come with its Web-Console, but I don't know how to run it ? My queue all is configured under JBOSS. Please help. Thanks Many thanks, Ferry -- View this message in context: http://www.nabble.com/How-to-monitor-ActiveMQ-t

Re: Large PendingQueueSize values for subscriptions on a queue with one message

2007-08-23 Thread Rob Davies
could you build a junit test case to demonstrate this ? This would be most hopeful cheers, Rob 'Go Get Integrated - ride the Camel! - http://activemq.apache.org/ camel/' http://rajdavies.blogspot.com/ On Aug 23, 2007, at 9:22 AM, David Sitsky wrote: I have an application which is usin

Large PendingQueueSize values for subscriptions on a queue with one message

2007-08-23 Thread David Sitsky
I have an application which is using the latest snapshot of ActiveMQ 5.0. I have a master JVM process which sends an item to a work-item queue. I have worker JVM processes which pick up these items, process them, and possibly create new items into the work-item queue as a part of processing t

Re: problem set the expiration time for durable topic messages

2007-08-23 Thread Rob Davies
set time to live on the message producer ... On Aug 23, 2007, at 5:28 AM, ferry97 wrote: Hi, So should we use Message.setJMSExpiration or Producer.setTimeToLive ? Thanks. Regards, Ferry pbolle wrote: Hi, Sorry, my last comment was not correct. In the trunk version I have the problem tha