Re: stopping ACtive MQ from a script

2006-04-03 Thread Adrian Co
Hi, AFAIK, there is no way to stop AMQ 3.x using a shell script. This feature has been added to AMQ 4.x though, plus a whole lot of other shell scripts. Refer to: http://www.activemq.org/ActiveMQ+Command+Line+Tools+Reference I would recommend moving to AMQ 4.x. :-) Regards, Adrian Co

Re: Broker config

2006-04-04 Thread Adrian Co
Hi, To try and answer some of your questions: Naby wrote: Thx James. I have some questions about it a) Is a message published to the failover broker if a producer gets no connection to the broker? Yes. As long as the failover connection of the client is able to connect to the secondaty

Re: Configuration of transportConnectors, persistenceAdapter beans

2006-04-04 Thread Adrian Co
Hi, I don't know if this would help, but i tried chaging: bean id=configurer1 class=org.springframework.beans.factory.config.PropertyPlaceholderConfigurer property name=location valueclasspath:context/server.properties/value /property /bean to bean id=configurer1

Re: Embedded Networked Brokers

2006-04-14 Thread Adrian Co
an absolute file path use: xbean:file:c:/activemq.xml Regards, Adrian Co -- View this message in context: http://www.nabble.com/Embedded-Networked-Brokers-t1448274.html#a3924923 Sent from the ActiveMQ - User forum at Nabble.com.

Re: Disabling the network bridge

2006-05-19 Thread Adrian Co
Hi, Whats the activemq config you are using and which version? You could possibly be starting a network connector. Do you have a networkConnector /networkConnector in your config? The broker config is usually in a file called activemq.xml. Regards, Adrian Co bjblackburn wrote: I am very

Re: Blocks on the method MutexTransport.oneaway

2006-05-22 Thread Adrian Co
Hi, There's a lot of fixes since rc2, maybe you could try the latest snapshot to see if it has been addressed. :) regards, Adrian Grant H wrote: Phenomenon 1 When using mq4.0-rc2 version to send messages, the following problems will occur. The thread sent by messages stays on the

Re: Problem with No Subscriber Advisory Topic

2006-05-22 Thread Adrian Co
/ /dispatchPolicy subscriptionRecoveryPolicy lastImageSubscriptionRecoveryPolicy / /subscriptionRecoveryPolicy /policyEntry /policyEntries/policyMap /destinationPolicy Let me know if that fixes your problem. :) Regards, Adrian

Re: Network of Brokers in two JVM into different host

2006-05-23 Thread Adrian Co
Jerome Camilleri wrote: Hi, From previous mail in this list, the following configuration run when you want run two instances of activeMQ in *localhost* : beans xmlns=http://activemq.org/config/1.0; broker brokerName=broker1 persistent=true useJmx=false transportConnectors

Re: ActiveMQOutputStream question

2006-05-23 Thread Adrian Co
Hi, You could try using ActiveMQConnection.createOutputStream(...); Hope this helps. :) Regards, Adrian Co new amq user wrote: Hi, I need help in making stream messages. Looking at the source, the constructor signature for the ActiveMQOutputStream is: public ActiveMQOutputStream

Re: Problem in running network of brokers.

2006-06-05 Thread Adrian Co
Hi, AMQ 4 uses rendezvous protocol from the previous zeroconf protocol of AMQ 3. i.e. rendezvous://cheese Hope this helps. :) Regards, Adrian Co S.P.Vijay wrote: Hi group.. To run a network of brokers using ActimeMQ4, I followed the instructions in http://www.activemq.org/site

Re: Can JMS API be used with ActiveMQ

2006-06-05 Thread Adrian Co
. :) Regards, Adrian Co KKS wrote: If I use Active MQ, will i be forced to use its custom API like ActiveMqConnectionFactory instead of standard JMS API ? Thx -- View this message in context: http://www.nabble.com/Can-JMS-API-be-used-with-ActiveMQ-t1738309.html#a4723978 Sent from the ActiveMQ

Re: javax.jms.JMSException: Failed to compress message payload

2006-06-19 Thread Adrian Co
text data, I'd recommend using TextMessage which can handle GB of characters. Though I don't know if this is the case for you. :) Regards, Adrian Co malukalu wrote: no suggestions? -- View this message in context: http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-compress-message

Re: ActiveMQ remote broker problem!

2006-06-26 Thread Adrian Co
Hi, One common oversight is not starting the connection. Did you call connection.start()? BTW, you might want to use AMQ 4.0.1 as it has more features and bug fixes. :) http://www.activemq.org/site/activemq-401-release.html Regards, Adrian kirkal wrote: hi! I'm a relative newbie to

Re: Deploy broker in JBoss using Java code

2006-06-26 Thread Adrian Co
Hi, These might help you: http://www.activemq.org/site/how-do-i-create-new-destinations.html http://www.activemq.org/site/how-do-i-configure-the-queues-i-want.html http://www.activemq.org/site/how-do-i-configure-distributed-queues-or-topics.html Regards, Adrian ChristineZ wrote: I've got a

Re: Problems with JAAS

2006-07-28 Thread Adrian Co
Hi, The activemq-jaas jar file may not have been included in the distro. You could try building the jaas module from source and dropping the jar file in the lib dir. But I would suggest trying out the 4.0.2 release as this also has several bug fixes. zmccoy wrote: Hello, I'm trying to

Re: jboss+activemq error

2006-08-29 Thread Adrian Co
If you mean that you can connect to ActiveMQ outside JBoss, then the answer is yes as long as you have a tcp connector open. pradeep wrote: Is the Activemq accessible outside of Jboss ? James.Strachan wrote: On 8/25/06, pradeep [EMAIL PROTECTED] wrote: James I read in some old

Re: jboss+activemq error

2006-08-29 Thread Adrian Co
Can you post the error? and the complete rar.xml? pradeep wrote: Thanks. How do I do that ? I had in rar.xml, config property ServerUrl=tcp://localhost:61616 but it was giving TCP error. I changed it to vm://localhost but it is not accessible from client. can you help me. Adrian Co wrote

Re: jboss+activemq error

2006-08-29 Thread Adrian Co
-name config-property-typejava.lang.String/config-property-type /config-property /adminobject /resourceadapter /connector Adrian Co wrote: Can you post the error? and the complete rar.xml? pradeep wrote: Thanks. How do I do that ? I had

Re: Messages send via JMX are deliverd, but the other ones not...

2006-08-29 Thread Adrian Co
Hi, Could you attach your client code, so we could test it and see? (producer and consumer) :) Markus Joschko wrote: Hi, I think I made a stupid mistake but I can't find it. I simply try to send and receive a message from a topic. The problem is that if I try to send a message from the

Re: Broker URI not working under jdk1.4.2

2006-08-29 Thread Adrian Co
Hi, Can you check if mx4j is in the classpath? rabidgremlin wrote: Hi all, I have a very simple app with an embedded broker: ... BrokerService broker = BrokerFactory.createBroker(new URI(args[0])); broker.start(); .. When I run this under JDK 1.5.0_05 with the following line: broker

Re: Exclusive Consumer

2006-08-29 Thread Adrian Co
Hi, I haven't tried it, but maybe you can set it in the jndi.properties file. e.g. queue.MyQueue = example.MyQueue?consumer.exclusive=true Let me know how it goes. :) Jack1011 wrote: I saw the example to create Exclusive Consumer as below. queue = new

Re: dynamicQueues

2006-08-29 Thread Adrian Co
Hi, Here's some documentation on ActiveMQ destinations: http://www.activemq.org/site/how-do-i-create-new-destinations.html To answer your question, ActiveMQ will attach to the existing one or create a new one if not yet existing. Hope this helps. :) Muzza wrote: Hi, If I specify a queue

Re: jboss problem - namenotfound

2006-08-30 Thread Adrian Co
Hi, Here's some example of some mdb in jboss: http://svn.apache.org/viewvc/incubator/activemq/trunk/systest/jboss-test/src/main/jboss-datasource/panacya-jms-ds.xml?view=co

Re: mySQL Too many connections

2006-08-30 Thread Adrian Co
Hi, I wonder if you can submit a JUnit test case for this? :) F-kris wrote: Hi, I am using ActiveMQ 4.1 and mySQL 5. I use persistence messaging : persistenceAdapter journaledJDBC journalLogFiles=5 dataDirectory=../activemq-data dataSource=#mysql-ds useJournal=true

Re: app to web demo

2006-08-30 Thread Adrian Co
/broker-configuration-uri.html Regards, Adrian Co pdread wrote: New to ActiveMQ, trying to get an Application to subscribe to the same topic as the Portfolio web demo. That is, I would like an app and the web to both subscribe to the same queue. I tried the ActiveMQConnectionFactory(vm://localhost

Re: nonpersistent/nondurable messages

2006-09-04 Thread Adrian Co
Are you using queues or topics? StanleyH wrote: I set the producer to deliver non-persistent but still receive old messages when my consumer runs.

Re: best way to implement online status

2006-09-05 Thread Adrian Co
Hi, Could you be more specific on how the results are incorrect? StanleyH wrote: hi, I am trying to implement online/offline status using a queue. I have an authenticator who consumes login requests and put the screennames on a queue and when someone logouts the authenticator consumes

Re: Java sending message to listening ajax

2006-09-05 Thread Adrian Co
Hi, You don't need to simulate an httppost, since internally the ajax messaging is still using JMS. (I'm assuming that you're using the activemq-web libraries :)) Are you getting any exceptions? What's your broker url? Maybe you're running into this issue:

Re: Running ActiveMQ under kaffe

2006-09-05 Thread Adrian Co
Out of curiosity, what problems/exceptions are you encountering? rubyfan wrote: I tried running ActiveMQ using kaffe and I can confirm that it does not work. Currently investigating running it with gij, but I'm losing hope that that will work either. James.Strachan wrote: On 8/28/06,

Re: Java sending message to listening ajax

2006-09-05 Thread Adrian Co
console: message type='chat' from=' + from + 'Hello World Yo!/message The ajax is working fine sending/receiving messages. It's just when I try to do it in a Java class, it won't receive it.Thank you. Adrian Co wrote: Hi, You don't need to simulate an httppost, since internally the ajax

Re: Running ActiveMQ under kaffe

2006-09-06 Thread Adrian Co
-data/ /persistenceAdapter Regards, Adrian Co rubyfan wrote: How does one go about disabling the journal ? Hiram Chirino wrote: I would suggest disabling the journal. Just run with direct jdbc. the Journal uses some NIO file access witch Kaffe might not be liking. On 9/6/06, James

Re: ActiveMQ in JBoss - Derby

2006-09-06 Thread Adrian Co
Could you include the full stack trace? johper wrote: Hi, Deployed ActiveMQ (Servicemix-SAR service archive) in Jboss and dropped my servicemix-service-assembly containing JMS-bindings which communicates with JBossMQ via JNDI, everything works really fine. Next step is to switch JBossMQ

Re: Postgres persistence in Tomcat

2006-09-06 Thread Adrian Co
=xbean:file:c:/activemq.xml - for file path referencing Hope this helps. Regards, Adrian Co petera wrote: Hi, I am using ActiveMQ 4.0.1 running under Tomcat 5.5.17. I would like to persist the messages to a Postgres database rather than the default apache-derby database. What additional config

Re: Running ActiveMQ under kaffe

2006-09-06 Thread Adrian Co
It should go in the activemq.xml config file. rubyfan wrote: So this should go into the project.xml firle? Adrian Co wrote: Hi, You could try specifying your persistence adapter to be just jdbc: persistenceAdapter jdbcPersistenceAdapter dataSource=#derby-ds

Re: Postgres persistence in Tomcat

2006-09-08 Thread Adrian Co
automatically creates the tables it requires. Or do I need to create some tables for it to use ? TIA Peter Adrian Co wrote: Hi, One way I could think of is to configure your broker using an external config file (i.e. activemq.xml) and just change the dataSource of the persistence adapter

Re: AMQ 4.0.1 - Unrecoverable failure

2006-09-08 Thread Adrian Co
You could try clearing the message database. If your using derby, you could delete the activemq-data folder I think. Muzza wrote: Hello All, I've been running AMQ 4.0.1 deployed within Websphere 5.1 as a Generic JMS provider. After about an hours processing today my MDBs stopped processing,

Re: How apply patch

2006-09-08 Thread Adrian Co
/ or I would advise checking out the latest 4.0 branch and just building it. https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.0/ Regards, Adrian Co Venkatg wrote: Hi, I am currently using ActiveMQ 4.0.1 and I came across an issue where all the messages are getting dropped

Re: AMQ 4.0.1 - Unrecoverable failure

2006-09-08 Thread Adrian Co
-ds]; root of BeanFactory hierarch y] Thanks, Steve Muzza wrote: Hi Adrian, I could do that, but then I'd lose all of my production data stored on the queues wouldn't I ? Adrian Co wrote: You could try clearing the message database. If your using derby, you could delete the activemq

Re: How apply patch

2006-09-11 Thread Adrian Co
and build as jar file. Description of the bug is confilicting whether it is fixed or not, but bug marked as resolved how do I know whether it is fixed or not. By that when is the release date for 4.0.3? https://issues.apache.org/activemq/browse/AMQ-776#action_36535 Thanks Venkat Adrian Co wrote

Re: Persistent messages not being cleaned up for non-durable Topic

2006-09-11 Thread Adrian Co
FWIW, 3.x is pretty old. I would go for the 4.x code. :) Let us know how your tests go with the 4.x code. kentdorsey wrote: The ActiveMQ 3.2.1 handling of persistent messages delivered to non-durable topic subscriptions appears to incorrectly persist messages that have been successfully

Re: receive() method not working on TopicSubscriber

2006-09-11 Thread Adrian Co
Could you post your broker config? You could also check your broker via JMX to see if messages are being received in the topic. rabidgremlin wrote: Yep the producer is working fine. If I run the old version of the code at the same time it receives messages. Don't have a sample bit of code

Re: Load Balancing with Single Consumer

2006-09-11 Thread Adrian Co
Wonder if these is what you are looking for: http://www.activemq.org/site/networks-of-brokers.html http://www.activemq.org/site/failover-transport-reference.html http://www.activemq.org/site/masterslave.html apinke wrote: We are trying to achieve load balancing with single producer and single

Re: Problems compiling activemq

2006-09-11 Thread Adrian Co
Hi, Could you also try upgrading the version of the javacc plugin to the one in the repo: 2.2-SNAPSHOT in the pom.xml to see if it would compile ok. Thanks! :) Hiram Chirino wrote: I've got a feeling your trying to compile it with maven 2. Use maven 1, it should work much better. On

Re: Load Balancing with Single Consumer

2006-09-11 Thread Adrian Co
and not as a load balancer 2) the other broker needed its own set of consumers. What we wanted to try out was if the 2 brokers would load balance but there would be only 1 consumer.. thanks Pat Adrian Co wrote: Wonder if these is what you are looking for: http://www.activemq.org/site/networks

Re: receive() method not working on TopicSubscriber

2006-09-12 Thread Adrian Co
? The broker is an embedded broker, JMX is turned off (conflicts with my container) and I'm not using any peristence. Other then that the broker has a single TCP connector added to it... Jonathan On 9/12/06, Adrian Co [EMAIL PROTECTED] wrote: Could you post your broker config? You could also

Re: Load Balancing with Single Consumer

2006-09-12 Thread Adrian Co
/ and network connector is: networkConnector uri=multicast://foo The producer used the uri : discovery:multicast://foo It didnt work. Anything wrong in the config ? Thanks Pat Adrian Co wrote: Do you mean having a multicast group of brokers? http://www.activemq.org/site/multicast-transport

Re: Activemq broker failover doesn't work

2006-09-14 Thread Adrian Co
Wonder if you're running into this problem: https://issues.apache.org/activemq/browse/AMQ-915 Could you try using the latest version of ActiveMQ? ravikiran wrote: Hi, I'm trying to do single JBOSS instance, single broker configuration.. I was succesful in both standalone, embeded.. Below

Re: Activemq broker failover doesn't work

2006-09-14 Thread Adrian Co
repeats when i try with two brokers in failover mode.. Adrian Co wrote: Wonder if you're running into this problem: https://issues.apache.org/activemq/browse/AMQ-915 Could you try using the latest version of ActiveMQ? ravikiran wrote: Hi, I'm trying to do single JBOSS instance

Re: ActiveMQ 4.0.1: Problem with Network of Brokers and remote publisher

2006-09-14 Thread Adrian Co
Hi, Could you post your broker config for remote and local? It's possible that you didn't create a network connector from remote to local. Xalibur wrote: Hello, I'm currently experimenting with ActiveMQ 4.0.1 and a network of brokers. I tried out the sender/receiver example from the

Re: where can I find activemq-jaas?

2006-09-14 Thread Adrian Co
Hi, You can get activemq-jaas here: http://people.apache.org/repository/incubator-activemq/jars/ or you can download the source and build it from there https://svn.apache.org/repos/asf/incubator/activemq/trunk/ wallace wrote: In weblogic integration guide, there is a required jar

Re: AMQ Beginner - slow producer

2006-09-14 Thread Adrian Co
Hi, Wonder if you can try setting useAsyncSend=true? i.e. connectionFactory.setUseAsyncSend(true); Rick wrote: public class ActiveMqTest { public ActiveMqTest() { } /// // Just getting started with

Re: Beginner need help starting

2006-09-14 Thread Adrian Co
property 'destinations' of bean class [org.apache.activemq.xbean.XBeanBrokerService]: Bean property 'destinations' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter? Any Idea? Thanks, YM Adrian Co wrote: Hi, You can try

Re: ClassNotFoundException when loading config file

2006-09-19 Thread Adrian Co
Hi, Could you post the complete xml file? Wonder if this is a namespace issue. GregC wrote: Hello, I am trying to run activemq with the following bean added to the activemq.xml config file: bean id=remoteJndi class=org.springframework.jndi.JndiTemplate property

Re: ClassNotFoundException when loading config file

2006-09-19 Thread Adrian Co
prop key=java.naming.factory.initialcom.tibco.tibjms.naming.TibjmsInitialContextFactory/prop prop key=java.naming.provider.urltibjmsnaming://hostname:7222/prop /props /property /bean /beans !-- END SNIPPET: example -- Adrian

Changes in ActiveMQStreamMessage wireformat

2006-10-04 Thread Adrian Co
message database to prevent any wireformat problems. :) Hope this is not too much of an inconvenience. Regards, Adrian Co

Re: Preserve message order in a network of brokers

2006-10-12 Thread Adrian Co
This could be what you need: http://www.activemq.org/site/total-ordering.html Bernhard Wellhöfer wrote: Hello, The FAQ entry at http://www.activemq.org/site/how-do-i-preserve-order-of-messages.html says: ActiveMQ will preserve the order of messages sent by a single producer to all

Re: Tree of brokers

2006-10-13 Thread Adrian Co
Hi, This should help you get started. http://www.activemq.org/site/networks-of-brokers.html Basically you need to create network connectors between each broker. [EMAIL PROTECTED] wrote: Hello, I've just recently started out using ActiveMQ and I must say that it seems very cool. However,

Re: creation of .dat files in ActiveMq directory which is in tomcat bin

2006-10-13 Thread Adrian Co
The files are generally the persistent storage used by ActiveMQ. Seeing that you disabled persistence, I find this very odd. Could it be that another embedded broker is starting up? BTW, I'd recommend using the 4.x version as the 3.x version is pretty old. ARUNA wrote: Hi, I am very new

Re: JMX using jconsole

2006-10-15 Thread Adrian Co
Hi, What version of ActiveMQ are you using? You could be running into this issue: https://issues.apache.org/activemq/browse/AMQ-949 if you are using 4.0.1 version. Try using the latest 4.0 or 4.1 branch. Andy Czerwonka-2 wrote: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi That's

Re: send(topic, msg)

2006-10-15 Thread Adrian Co
Hi, Yep. It's more efficient as you don't need to create the producer resources over and over again. You might also consider using composite destinations if you are sending the same message to different destinations. http://www.activemq.org/site/composite-destinations.html Andy Czerwonka-2

Re: Kaha Persistence with 4.1 SNAPSHOT

2006-10-25 Thread Adrian Co
Whats the exception of the second version? We did renamed the kaha adapter to kahaPersistenceAdapter to be consistent with the other persistence adapter. domenico wrote: Hi there I have troble running the Kaha persistence with a the in conjuncton with an

Re: Ajax Support.

2006-10-25 Thread Adrian Co
Aside from the javascript files, id look at the servlets in the activemq-web library and how these servlets are mapped in the web.xml config file of the demo. suhas wrote: Hello All, I am a new user for Active MQ and Ajax and jetty6 Continuation. Trying to understand the demo which is at:

Re: Kaha Persistence with 4.1 SNAPSHOT

2006-10-26 Thread Adrian Co
) ... 44 more C:\dlorenze\Benchmark\incubator-activemq-4.1-SNAPSHOT\bin thanks and kind regards, Domenico Adrian Co wrote: Whats the exception of the second version? We did renamed the kaha adapter to kahaPersistenceAdapter to be consistent with the other persistence adapter

Re: Start with Conf file.

2006-10-27 Thread Adrian Co
For ActiveMQ you can use: activemq xbean:myConf.xml - where myConf.xml is an activemq xml config file located in your classpath or activemq xbean:file:../etc/jms/myConf.xml - where myConf.xml is in the file path provided. suhas wrote: Hello All, We are planning to replace Tibco with

Re: Kaha Persistence with 4.1 SNAPSHOT

2006-10-27 Thread Adrian Co
namespace is already set as you recommend. I attach the activemq.xml for your reference. I appreciate your feedback. Thanks in advance. cheers, Domenico Adrian Co wrote: Hmmm... that's odd. The kaha adapter should be under ../lib/activemq-core-4.1-incubating-SNAPSHOT.jar/org/apache/activemq

Re: Use of ObjectMessageSerializationDefered

2006-10-27 Thread Adrian Co
I'm not sure if it should work or not. But maybe you can try setting copyMessageOnSend to false. brodyc wrote: Is there a way to send a message that contains an object which does not implement Serializable when using integrated broker ( brokerURL=vm://localhost). I read this on ActiveMQ

Re: Maven Jetty plugin problem

2006-10-30 Thread Adrian Co
, Adrian Co Vinicius Carvalho wrote: Hello there! Not quite sure if here or the maven list I should be asking this, but I'll give it a try ;) When running mvn jetty:run from the web console I get an error: org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.codehaus.mojo:jetty

Re: start message listener

2006-10-30 Thread Adrian Co
After you set the message listener, starting the connection should register your listener to the broker. jxie wrote: How do I make activemq to start a message listener (onMessage) automatically afte it is started? Now I embedded ActiveMQ with Tomcat, I want to seperate ActiveMQ from Tomcat so

Re: start message listener

2006-10-30 Thread Adrian Co
files. Adrian Co wrote: After you set the message listener, starting the connection should register your listener to the broker. jxie wrote: How do I make activemq to start a message listener (onMessage) automatically afte it is started? Now I embedded ActiveMQ with Tomcat, I want

Re: start message listener

2006-10-30 Thread Adrian Co
by the following code: public class BBSFileHandler implements MessageListener { public void onMessage(final Message message) { } } I don't know how to register this in standalone ActiveMQ. Don't I have to add some configuration parameters? Adrian Co wrote: One option is to use

Re: Log Aggregator

2006-10-30 Thread Adrian Co
Interesting. Kevin Kessler wrote: We are trying to build a system that could be thought of as a sort of log aggregator, with a small handful of listeners, and a much larger number of publishers (~150). The messages are going to be 2-5K in size, and we may burst up to 3000 messages per second.

Re: Configuration of 3 brokers

2006-10-30 Thread Adrian Co
Here's a link to setup a network of brokers. http://www.activemq.org/site/networks-of-brokers.html I'd check the networkTTL property. Could be that the message is not making it to the third broker. (Assuming you have a setup like: A-B-C and you're sending a message from A to C) lolo wrote:

Re: Performance test not working

2006-10-31 Thread Adrian Co
Workaround would be to manually build the plugin by downloading the source and going to .\activemq-tooling\maven-activemq-perf-plugin\ and do a mvn install. Vinicius Carvalho wrote: Hello there! Just like the maven plugin for web-console is broken (as reported on previous email). When I run

Re: AW: How to use an embedded broker with spring2.0 and activemq4.1?

2006-10-31 Thread Adrian Co
I've encountered this problem using the default activemq.xml file. Currently, the default activemq.xml has a transport named default and a network connector named default. Just change one of them to something else. I'm not sure if this is a bug or not though.. Bernhard Wellhöfer wrote:

Re: Setting Persistence using spring 2.0 schema

2006-10-31 Thread Adrian Co
I used this format: amq:broker persistent=true brokerName=localhost useJmx=true xmlns:amq=http://activemq.org/config/1.0; amq:persistenceAdapter amq:journaledJDBC journalLogFiles=5 dataDirectory=${activemq.home}/target/foo / /amq:persistenceAdapter /amq:broker Vinicius

Re: SimpleAuthenticationPlugIn problem

2006-10-31 Thread Adrian Co
This is the config I got working using the latest snapshot of ActiveMQ 4.1: beans xmlns=http://www.springframework.org/schema/beans; xmlns:util=http://www.springframework.org/schema/util; !-- Allows us to use system properties as variables in this configuration file -- bean

Re: Problems with JAAS

2006-10-31 Thread Adrian Co
-61.zip The JIRA issue http://issues.apache.org/activemq/browse/AMQ-801 has not been updated. Am I overlooking something, or. Any ideas? --MB Adrian Co wrote: Hi, The activemq-jaas jar file may not have been included in the distro. You could try building the jaas module from source

Re: Problems with JAAS

2006-10-31 Thread Adrian Co
hmmm... jars in that link are pretty old I think. massive.boisson wrote: Right, or other releases can be found here http://people.apache.org/repo/m1-snapshot-repository/incubator-activemq/jars/. Thanks, somehow I overlooked that. --MB Adrian Co wrote: http://people.apache.org/maven

Re: iptables configuration changes needed for activemq

2006-11-01 Thread Adrian Co
You might want to reconfigure JMX also. I think it might open a port to 1099 by default.. James Strachan wrote: On 10/31/06, wpen [EMAIL PROTECTED] wrote: Hello, I would like to run activemq behind a firewall with only one transport connector setup for tcp on port 61616. Is 61616 the only

Re: simple JMS client

2006-11-06 Thread Adrian Co
Hi, In the ActiveMQ distribution is an example folder that contains simple implementations of a JMS Consumer and a JMS Producer. I'd recommend starting from there. :) soussou97 wrote: Hi; I search a implementation to sent and retrieve JMS message via a queue with natif java code

Re: QueueBrowser in embedded broker not getting any messages

2006-11-21 Thread Adrian Co
Hi, The current behavior of ActiveMQ is that a queue browser can only browse messages that are available when it is created and not when getEnumeration is called. Priya Parvatikar wrote: Hi Adrian, Does using an actual consumer instead of a queue browser works? I tried using a

Re: Consumer connected and started, but onMessage never invoked

2006-11-21 Thread Adrian Co
Hi, Do you see in JMX that the consumer is connecting to the broker? Have you tried creating a consumer with no selector? rhodebump wrote: Hi everyone, I am trying to using spring 2.0, activemq 4.1 snapshot and lucene in an exciting open source project that I will soon be releasing. I

Re: AMQ-1060

2006-11-21 Thread Adrian Co
Hi, Sorry, but I don't have Websphere installed. You could just as well post any code you created, so maybe someone who have done Websphere 5.1 can scan through it and maybe see something. :) Muzza wrote: Hi Adrian, I've replied to your questions below : Are you seeing any exceptions? No,

Re: QueueBrowser in embedded broker not getting any messages

2006-11-21 Thread Adrian Co
Try enabling JMX in your embedded broker and check if there are really messages being enqueued in the queue specified. Does using an actual consumer instead of a queue browser works? Priya Parvatikar wrote: Hi, I am trying to use a QueueBrowser to browse messages sent using an embedded

Re: SOS

2006-11-21 Thread Adrian Co
Try subscribing the consumers first before sending messages. int main(int argc, char* argv[]) { Consumer1(); Consumer2(); Produce(); } sgliu wrote: Please help me. sgliu wrote: I wish I producer message A, and then I exit the producer program. Then I start two

Re: Delete Topic Programmatically?

2006-11-21 Thread Adrian Co
Well, in a short note, the function you want would be BrokerViewMBean.removeTopic. You just need to connect to the mbean server and get the broker mbean via JMX. SingleShot wrote: I would like to create a Java API to allow clients to create and destroy topics. I've scoured the ActiveMQ site

Re: Newbie configuration questions

2006-11-22 Thread Adrian Co
), there are configuration options for persistence of messages. Is there something I'm missing. Adrian Co a écrit : For me, one of the key use of embedding brokers in the client, is that clients can continue processing stuff even when the remote broker is down. AFAIK, using the failover protocol, will block

Re: Active MQ with Continuations example

2006-11-22 Thread Adrian Co
I'm not sure if this has something to do with the session being used. Have you tried running the consumer clients in two different browsers? or in different machines? Shahpurkar, Suhas wrote: Hello, I am a new user in ActiveMQ and Continuations. I have tried to run the example of 'publishing

Re: QueueBrowser acknowledge

2006-11-23 Thread Adrian Co
Hi, I don't think you can remove a message from a queue using a queue browser. You'd generally use a queue receiver for that. zizou77 wrote: Hi, I use a queueBrowser with a selector in my program. So I get some Message. But when I use message's acknowledge method, messages are still in the

Re: Newbie configuration questions

2006-11-24 Thread Adrian Co
ktrue wrote: Hi guys, Adrian Co wrote: For me, one of the key use of embedding brokers in the client, is that clients can continue processing stuff even when the remote broker is down. AFAIK, using the failover protocol, will block the sending of a message until the client is able

Re: Newbie configuration questions

2006-11-24 Thread Adrian Co
below, the embedded brokers can send messages to the remote broker, but the remote broker cannot send messages to the embedded brokers. Adrian Co wrote: ktrue wrote: Hi guys, Adrian Co wrote: For me, one of the key use of embedding brokers in the client, is that clients can continue

Re: SOS

2006-11-24 Thread Adrian Co
,then receive.In topic.setCMSExpiration() function? What can I do? Adrian Co wrote: Try subscribing the consumers first before sending messages. int main(int argc, char* argv[]) { Consumer1(); Consumer2(); Produce(); } sgliu wrote: Please help me. sgliu wrote

Re: Message's live time

2006-11-28 Thread Adrian Co
Try: producer-setTimeToLive(1); //10 second sgliu wrote: Please help me. sgliu wrote: I change to follow code. Sorry. 10 second later,message doesn't disappear. #include time.h double getcurt() { time_t ltime; time(ltime); double ddd; ddd=ltime*1000;

Re: Cannot get SSL client-to-broker connection

2006-11-28 Thread Adrian Co
Did you do the export ACTIVEMQ_OPTS thingy? I wonder if the version you're using does not support this yet.. Try manually adding the properties inside the activemq startup script (e.g. activemq.bat) RVlad wrote: Hi guru, Excuse, i'm new in ActiveMQ... Have built certificates/keystores as

Re: ActiveMQConnectionFactory as an administered object

2006-11-28 Thread Adrian Co
This is a known bug that has been fixed in the 4.1 branch. Can you give that a shot? :) alexandre.correa wrote: Hi folks, I'm trying to configure ActiveMQConnectionFactory as an administered object in JBoss4.0.2, so I can register an ActiveMQ ConnectionFactory into JBoss JNDI (I'm using

Re: Cannot get SSL client-to-broker connection

2006-11-29 Thread Adrian Co
For network of brokers, I think it should be the same. Haven't tried though. :) RVlad wrote: Hi Adrian Co, Thanks for right direction! Yes, i've defined a global environment variable --console--- c:\ActiveMQset ACTIVEMQ_OPTS=-Djavax.net.ssl.keyStore=c:\activemq

Re: Can you help me ?

2006-11-30 Thread Adrian Co
Specify in your classpath where the App.class is located. i.e. java -cp . App cob888 wrote: Tha sample of Helloworld in activemq ,which I success to compile by javac;they product four *.class

Re: Can you help me ?

2006-11-30 Thread Adrian Co
Also include the activemq jar. i.e. -cp apache-activemq-4.1-incubator-SNAPSHOT.jar;. or whatever the activemq jar you are using. To make life easier, I'd recommend looking at using maven. http://maven.apache.org/ or the eclipse IDE. cob888 wrote: Thank you for your quick reply !!! I just

Re: OpenJMS Alpha and Active MQ jmeter tests

2006-12-05 Thread Adrian Co
Can you file a jira for this? I wasn't aware of a restriction to use JNDI to lookup topics... Hemant Gaur wrote: Hi, I am trying to run the jmeter performance tests on the OpenJMS. Though I am able to get the tests running and results for release version there is an exception thrown in the

Re: OpenJMS Alpha and Active MQ jmeter tests

2006-12-05 Thread Adrian Co
Ooops, my bad, this is an issue with either openJMS or jmeter. Maybe you should try their maliing list. Adrian Co wrote: Can you file a jira for this? I wasn't aware of a restriction to use JNDI to lookup topics... Hemant Gaur wrote: Hi, I am trying to run the jmeter performance tests

  1   2   >