Sybase: FOR UPDATE can not be used in a SELECT ???

2007-05-03 Thread Dogbert
Hi there. I am using Snapshot 'apache-activemq-4.2-SNAPSHOT-20070501.230521-46' and trying to use Sybase as persistence layer. My driver already got recognized "INFO JDBCPersistenceAdapter - Database driver recognized: [jconnect__tm__for_jdbc__tm_]" and the SybaseJDBCAdapter is used as w

broker on the same machine with the producer and consumer on different machine ---- need help Urgent

2007-05-03 Thread Jignesh ShaH
This is the code of the producer with the explicit Broker running as service on the same machine as the producer : I understand that as there are 2 different conectionfactories as the consumer and the producer are on different machine i.e on different VMs altogether I want the consumer to connec

Re: Creating simple producer and consumer

2007-05-03 Thread Jonas Lim
For topics the consumer must be created first since messages are only delivered to the available consumers at the time the broker receives the message. For durable subscribers you can create a durable subscriber, kill it, run the producer, then start the subscriber again. http://java.sun.co

Re: Can't receive messages from C# NMS when sent using Java

2007-05-03 Thread sparky2708
Nevermind it was me... found the issue -- not an issue in ActiveMQ. sparky2708 wrote: > > Am using ActiveMQ 4.1.1 (seems to be fine in 4.1.0 so am going to revert > back). Every time I receive a message of type "TextMessage" in my C# NMS > client sent from Java (activemq version 4.1.1) I get th

Re: Creating simple producer and consumer

2007-05-03 Thread Bai Shen
Bai Shen wrote: > > > > James.Strachan wrote: >> >> Try looking at the queues & consumers in the broker >> http://activemq.apache.org/how-can-i-monitor-activemq.html >> >> -- >> James >> --- >> http://macstrac.blogspot.com/ >> >> > > I can see the topic in the console and the Enqueu

Re: Creating simple producer and consumer

2007-05-03 Thread Bai Shen
James.Strachan wrote: > > Try looking at the queues & consumers in the broker > http://activemq.apache.org/how-can-i-monitor-activemq.html > > -- > James > --- > http://macstrac.blogspot.com/ > > I can see the topic in the console and the Enqueue Count shows my messages. But I can't s

ActiveMQ CPP 2.0 graceful cleanup of Session and Connection

2007-05-03 Thread Kok Hoor
Hi, I am trying to use the ActiveMQ CPP 2.0 library to develop an XPCOM component to enable Mozilla XULRunner to use JMS messaging. However, one problem I face is, when the ActiveMQ Server is down, and the onException function of the ExceptionListener is invoked, I try to close the sessi

Can't receive messages from C# NMS when sent using Java

2007-05-03 Thread sparky2708
Every time I receive a message in my C# NMS client I get the following error: Value cannot be null. Parameter name: type -- View this message in context: http://www.nabble.com/Can%27t-receive-messages-from-C--NMS-when-sent-using-Java-tf3687799s2354.html#a10309362 Sent from the ActiveMQ - User m

Re: temporary queue in store and forward environment

2007-05-03 Thread David Budworth
I have a question along these lines, you said here that there's no mechanism to do real time broker-broker synchronization. Does that imply that when starting up a master slave system, you must start both the master and the slave before any clients start sending messages? Or if the master is up

Re: Web Console and binary version

2007-05-03 Thread didyeah971
Hi, could i have some example of how to use selectors with php Stomp connector. Because when i'am triying to implement it, my client get blocked and i don't see any other way to retrieve all messages in the queue ( or topic). Here's how i do : $properties['selector']=" 'type' = 'any'"; $c->subs

Re: [camel] using camel spring container

2007-05-03 Thread dr.jeff
Very good, excellent even, and nearly working. This: http://activemq.apache.org/camel/schema/camel-1.0.xsd";> gives this: Exception in thread "

RE: facing problems with explicitas well as embedded broker on the same machine with the producer and consumer on different machine ---- need help Urgent

2007-05-03 Thread Jignesh ShaH
This is the code of the producer with the explicit Broker running as service on the same machine as the producer : ActiveMQConnectionFactory connectionFactory = new ActiveMQConnectionFactory("tcp://localhost:61616"); System.out.println(connectionFactory.toString());

Re: facing problems with explicitas well as embedded broker on the same machine with the producer and consumer on different machine ---- need help Urgent

2007-05-03 Thread James Strachan
What problems are you seeing? (You're not giving us much to go on)... http://activemq.apache.org/support.html On 5/3/07, Jignesh ShaH <[EMAIL PROTECTED]> wrote: facing problems with explicit as well as embedded broker on the same machine with the producer and consumer on different machine

Re: Creating simple producer and consumer

2007-05-03 Thread James Strachan
Try looking at the queues & consumers in the broker http://activemq.apache.org/how-can-i-monitor-activemq.html On 5/3/07, Bai Shen <[EMAIL PROTECTED]> wrote: jlim wrote: > > Hi, > > Can you check if you're calling the connection's start method > (connection.start()) before starting your consu

facing problems with explicitas well as embedded broker on the same machine with the producer and consumer on different machine ---- need help Urgent

2007-05-03 Thread Jignesh ShaH
facing problems with explicit as well as embedded broker on the same machine with the producer and consumer on different machine need help Urgent What I am doing is running the explicit broker and the producer on the same machine And the consumer on other machine The connectionfac

Re: Master/Slaver persistent?

2007-05-03 Thread sparky2708
Here's how my slave starts up. Is the line in bold normal? (null looks suspicious...): INFO BrokerService - ActiveMQ 4.1.1 JMS Message Broker (slave) is starting INFO BrokerService - For help or more information please see: http://incubator.apache.org/activemq/

Re: Master/Slaver persistent?

2007-05-03 Thread sparky2708
I have the same problem WITHOUT using the PERSISTENT delivery mode. Maybe we have some error in the activemq.xml file. Can someone check... My file for the master looks like: == for the master: == http://activemq.org/config/1.0";>

Re: Creating simple producer and consumer

2007-05-03 Thread Bai Shen
jlim wrote: > > Hi, > > Can you check if you're calling the connection's start method > (connection.start()) before starting your consumers. > > You could also try running the example consumer that is included in the > distribution to check if the problem is with your consumer. > > Regards

Re: [camel] using camel spring container

2007-05-03 Thread James Strachan
On 5/3/07, dr.jeff <[EMAIL PROTECTED]> wrote: http://activemq.apache.org/camel/schema/camel-1.0.xsd";> This looks good, but how do I use it? I've tried things like: and and and Ah I'd not done that bit yet :) I'd done it so that you can refer to Endpoint instances as

Re: Unable to build cpp client

2007-05-03 Thread Timothy Bish
What platform / OS are you running on? gimme cocoa wrote: > When i try to build activemq-cpp-2.0, I got error message like this. > > $ configure > checking for a BSD-compatible install... config/install-sh -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p

Re: Sending message to a queue residing on different machine

2007-05-03 Thread James Strachan
On 5/3/07, shwetketu <[EMAIL PROTECTED]> wrote: In ra.xml config-property-value is set to vm://localhost do i need to change it to tcp://hostname:port yes What isthe use of these two values? the host name / IP address and port of the broker you want to connect to :) -- James --- htt

What does it means maxOutstandingMessages and backlog parameters

2007-05-03 Thread topaze
Hello What does it means maxOutstandingMessages and backlog parameters ? Thanks -- View this message in context: http://www.nabble.com/What-does-it-means-maxOutstandingMessages-and-backlog-parameters-tf3685434s2354.html#a10301496 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Sending message to a queue residing on different machine

2007-05-03 Thread shwetketu
In ra.xml config-property-value is set to vm://localhost do i need to change it to tcp://hostname:port What isthe use of these two values? James.Strachan wrote: > > set the brokerURL in the ActiveMQConnectionFactory on the client to > point to the tcp://hostname:port that the broker is listen

Re: Tomcat: Embedding Activemq

2007-05-03 Thread James Strachan
On 5/3/07, Peter Steil <[EMAIL PROTECTED]> wrote: Hi, I there a way to embed the Activemq broker into Tomcat? The goal is to have the broker available as soon as Tomcat starts up. follow the links in here... http://activemq.apache.org/run-broker.html -- James --- http://macstrac.blogspo

Tomcat: Embedding Activemq

2007-05-03 Thread Peter Steil
Hi, I there a way to embed the Activemq broker into Tomcat? The goal is to have the broker available as soon as Tomcat starts up. Thanks, Peter -- "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail