[jboss-user] [JBoss Messaging Users] - Re: JBoss Messaging Newbie Needs Help
Have you considered using HornetQ - HornetQ supersedes JBoss Messaging. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269790#4269790 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269790 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Durable subscriptions management via JMX console
jeffleboss wrote : | I have the same requirement. | | The problem is that I cannot upgrade to HornetQ, since we are using JBoss 5.1.0. | HornetQ works with both JBoss 4 and JBoss 5 (see quickstart guide) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269830#4269830 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269830 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Durable subscriptions management via JMX console
HornetQ does support it View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268986#4268986 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268986 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: TTL on Message Producer Not Honored
Firstly, I can't tell what messaging system you're using (could be JBoss MQ or JBoss Messaging), but just because a message is still in a queue after TTL does not mean TTL is not honoured. The JMS spec just says that messages should not be delivered after TTL is exceeded. It does not require messages to be actively removed from queues before delivery. If you tried to consume that message, you'd find it would get expired at the point of delivery and you wouldn't receive it, thus honouring TTL. Some more advanced messaging systems, like HornetQ http://hornetq.org do have active expiry of messages in queue *before* delivery but JBoss Messaging / JBoss MQ do not. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268891#4268891 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268891 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: source for org.jboss.test.messaging.tools.container.Loca
svn View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268892#4268892 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268892 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Reconnect after a lost connection
This depends what messaging system you are talking about. JBoss has 3: JBoss MQ, JBoss Messaging and HornetQ. HornetQ certainly has auto reconnect functionality IIRC JBoss Messaging and JBoss MQ do not. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268893#4268893 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268893 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: source for org.jboss.test.messaging.tools.container.Loca
You didn't look very hard All the tags are here: http://anonsvn.jboss.org/repos/messaging/tags/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268902#4268902 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268902 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Perormance Testing with JBoss MQ
You're in the wrong forum. JBoss MQ is a completely different messaging system to JBoss Messaging. You should post in the JBoss MQ user forum instead. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268122#4268122 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268122 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: JMS with JBOSS AS versus JBOSS messaging
If you go to the JBoss Messaging home page (go to jboss.org and follow the links), that will explain what JBoss Messaging is. JBoss MQ is the system that came before JBoss Messaging and is in JBoss AS 4.2.3 You'll find that JBoss Messaging, as a project is superseded by HornetQ. So we have JBoss MQ---JBoss Messaging---HornetQ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4267384#4267384 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: JMS with JBOSS AS versus JBOSS messaging
Also, there's an explanation in wikipedia View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4267385#4267385 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Orderer redelivery of messages
If you're talking about HornetQ, you're in the wrong forum. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266784#4266784 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266784 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: how do i install JMS2 on solaris 10
You're in the wrong forum, this forum is for JBoss Messaging, not HornetQ. Go to hornetq.org and follow the links to forums, documentation etc View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4264414#4264414 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4264414 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Is there a max. Message Queue size?
JBoss MQ forum is here. http://www.jboss.org/index.html?module=bbop=viewforumf=48 Not sure what you mean by it's closed - can't you post messages? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4264281#4264281 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4264281 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Is there a max. Message Queue size?
asander wrote : Thank you for the link. | | I can post messages there but it is a subforum of closed and obviously not in use anymore. It seems the forum is not read anymore by anyone. That's a shame, but I don't think it will help you to post here, since no-one here knows much about JBoss MQ. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4264286#4264286 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4264286 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Websphere MQ 7.0 - jBoss 4.2.3 Clustering
You're asking in the wrong forum. This forum is about JBoss Messaging, if you want to know how to configure a different JMS provider in JBoss AS, the correct place to ask is the JCA users forums. Also look in the wiki View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263524#4263524 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263524 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: jBoss 4.2.3GA and Websphere MQ 7.0
This forum is about JBoss Messaging. The correct place to ask questions about other JMS providers is in the JCA user forum. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263525#4263525 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263525 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Connection pool for ClusteredConnectionFactory, how to ?
If you're using a stateless session bean that means you're running on a server so you can just use JCA pooling. There are various wiki pages on this. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4262091#4262091 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4262091 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Connection pool for ClusteredConnectionFactory, how to ?
This is actually mandated by the JEE spec. Any JMS connections you create from a SLSB must be created (and pooled) by a JCA managed connection factory. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4262097#4262097 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4262097 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Connection pool for ClusteredConnectionFactory, how to ?
http://www.jboss.org/community/wiki/ShouldIcacheJMSconnectionsandJMSsessions View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4262099#4262099 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4262099 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: jbossall-client.jar and the jar hell at remote JBM clien
jar hell has been a known issue for a long time in JBoss Messaging. But all new dev is on HornetQ - which doesn't have these issues. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4259583#4259583 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259583 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Nullpointer while creating a remote JMS Session
IIRC, the user manual chapter 4 explains exactly what jars you need on the classpath, and in what order. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4258855#4258855 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4258855 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: jbossall-client.jar and the jar hell at remote JBM clien
There exact jars you need on the client side is explained in detail in section 4.4 of the user manual, and yes, it does also say in a yellow note box that they must appear in a different order: http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.5.GA/html/installation.html#inst.remoteclient It's always worth looking in the documentation before asking a question like this. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4258052#4258052 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4258052 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: java.lang.RuntimeException: Error setting up server invo
Looks to me there is an extra . on the address: | Caused by: java.net.UnknownHostException: 0.0.0.0.. | Should be 0.0.0.0 not 0.0.0.0. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257577#4257577 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257577 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Unable to get the jca-config example to work
First, I'd recommend you use beta5. Also moving this question to the hornetq forum View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257265#4257265 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257265 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: JMS connection/session handling
That is not correct. It is an *anti pattern* to create a new session/consumer/producer each time you say, send a message. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4255710#4255710 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255710 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: JMS connection/session handling
I'm going to wite a wiki page on this. This question must have come up about 10 times and I'm getting tired of answering it ;) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4255717#4255717 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255717 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: JMS connection/session handling
I've written a wiki article on this subject, on the HornetQ wiki: http://www.jboss.org/community/wiki/ShouldIcacheJMSconnectionsandJMSsessions View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4255793#4255793 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255793 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Announcing the release of project HornetQ
This is an exciting day for messaging at JBoss and Red Hat. After months of preparation, the middleware messaging team are excited to announce the birth of a new project HornetQ What is HornetQ? HornetQ http://hornetq.org is an open source project to build a multi-protocol, embeddable, high performance, clustered, asynchronous messaging system. HornetQ is an example of Message Oriented Middleware (MoM) HornetQ is designed with usability, flexibility and performance in mind. HornetQ has a great feature set that you'd expect from any serious messaging broker. Read the full announcement on our new HornetQ team blog http://hornetq.blogspot.com Project web site is here http://hornetq.org View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4251150#4251150 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4251150 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Rollback Problem in JBM 2.0.0 BETA4
This seems to be an issue in consumer window sizing. You can workaround it for now by setting ConsumerWindowSize on the connection factory to a very large number (or zero). I've opened on a JIRA on the HornetQ project http://hornetq.org We should continue the discussion on the hornetq forum http://www.jboss.org/index.html?module=bbop=viewforumf=312 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4251197#4251197 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4251197 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Rollback Problem in JBM 2.0.0 BETA4
https://jira.jboss.org/jira/browse/HORNETQ-111 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4251198#4251198 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4251198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Please use the HornetQ user forums for JBoss Messaging 2.0 i
Hello All- With the launch of our new HornetQ http://hornetq.org project, if you've been previously evaluating JBoss Messaging 2.0, could you please use the HornetQ user forum http://www.jboss.org/index.html?module=bbop=viewforumf=312 for any issue from now on. This forum will only be used for issues relating to JBoss Messaging 1.x View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4251205#4251205 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4251205 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM2 Beta5 with JBAS5.1 - Memory leak SessionContinuatio
Simon- you're absolutely right. It's clear from looking at the code that it's highly inefficient to allocate a large buffer when perhaps as little as one byte is read from the stream. I have refactored the code, so this is done more sensibly! The fix will be in the next release (on Monday) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250994#4250994 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250994 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM2 Beta4 with JBAS5.1 - setListener( null )
Fixed in trunk https://jira.jboss.org/jira/browse/JBMESSAGING-1716 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250324#4250324 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Messaging and transactions together
If you want messaging and a database to work as part of the same JTA transaction in a servlet, you should use the JMS JCA adapter (java:/JmsXA) in the same way you might do it from an EJB. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249342#4249342 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249342 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: How to know message's send order?
A message's timestamp is set on the *client side* before it is sent, not by the server. The order messages are put in a queue are the order they are received on the server. So, there's no guarantee that messages in a queue will be in order of timestamp. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249172#4249172 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249172 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMSServerControl.createQueue() fails when there are any
clebert.suco...@jboss.com wrote : | You could set paging-max-global-size-bytes to something very close to your full memory. Say..if you have 1G memory. Put it 700MiB (700 * 1024 * 1024). | Actually, I would recommend keeping it at the default value of -1, and just specifying paging parameters at an address level. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248496#4248496 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248496 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM in an applet
AIUI You shouldn't need to sign any jars since JBM should require any extra permissions beyond those given to an applet. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247764#4247764 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247764 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMSServerControl.createQueue() fails when there are any
clebert.suco...@jboss.com wrote : On the JMS example, the only bug I found was the second destination didn' t enter into page mode right away. What should be fixed. But that will mean the destination will enter into page mode right away, so it should fail at the first time. | | In your case.. you have the server full. We can't route any more messages until DestinationA had messages being consumed and Acked. | | | So... what's happening is: | | Client sends messages to destinationA. | At this point the server is Full. | | Client sends messages to destinationB. | (At this point the server should still be full. DestinationB should page right away, and the consumer shouldn' t receive anything until messages from destinationA were received). | That's not the behaviour I would expect. I would expect destinationB to be depaged too - since it's just going to be consumed anyway. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247766#4247766 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247766 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM in an applet
What browser are you using? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247768#4247768 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247768 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMSServerControl.createQueue() fails when there are any
jmesnil wrote : clebert.suco...@jboss.com wrote : | | In your case.. you have the server full. We can't route any more messages until DestinationA had messages being consumed and Acked. | | | | I'm not sure I understand it. Why would I been able to consume from destinationA but not from destinationB? | When I hit the global page mode, I'm expecting to be able to consume from any queue. Otherwise, a single queue with no consumer could prevent to consume from any other queues (like the example). This seems wrong, no? | [/quote} | | +1. | | If global paging is full it shouldn't prevent destinations from being *consumed*, it should only prevent new messages being added into destinations in memory. | | anonymous wrote : | | We can bypass paging for management or temp queues (even if I'd prefer not to) but this won't solve the issue highlighted by the example. | | How can we make sure that when we hit the global page mode, a consumer can receive messages from any queue? | | +1 again. If we solve the core issue here then having a special case for management won't be necessary View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247798#4247798 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247798 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM in an applet
gaohoward wrote : Hi Tim, | | I'm using firefox 3.0.12. | | | | You shouldn't need to sign any jars since JBM should require any extra permissions beyond those given to an applet. | | | | I don't understand it. Are you saying if i didn't sign the jars, the applet still can run in a browser? | AIUI signing classes is only necessary if you want them to do things over and above what default applets are allowed to do. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247815#4247815 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247815 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM / JMS / EAI / c++ / wire-protocol
gaohoward wrote : | So if you want to access JBM from c/c++, i think you need use JNI to wrap the JBM java client. | | No, you can use any stomp client with JBM 1.x with StompConnect. Stomp clients are available in many languages including C++ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247922#4247922 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247922 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unable to consume more than 777, 000 messages
There is no such method Message.acknowledgeThisMethod() on the JMS API. JMS does not support the acknowledgement of specific messages. This is not specific to JBoss Messaging. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247549#4247549 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247549 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unable to consume more than 777, 000 messages
The JBM core api is more powerful than the JMS API in that if you call message.acknowledge() it will acknowledge all messages up to and including that one that have been delivered on the session. This differs from the JMS message.acknowledge() which acknowledges *all* messages that have been delivered on that session up until the time when you call it. There is a subtle but important difference there. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247592#4247592 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247592 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Error on clustered nodes on startup
ejb3workshop wrote : | I haven't found this issue reported anywhere else, | It's in JIRA https://jira.jboss.org/jira/browse/JBMESSAGING-1682 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247593#4247593 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247593 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMSServerControl.createQueue() fails when there are any
I'm not sure I fully understand what is going on here - if the management reply is paged, then won't it get depaged when it is consumed? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247422#4247422 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247422 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Receiving XML from c++ sender
sanches wrote : Hello all, | | Is it possible to receive TextMessages (with XML payload) from the client written in c++ and using ActiveMQ? | What URI should be given to the cpp client in such a case? | | Thanks. Yes, it's possible to use activemq with c++ clients, but I don't see how that is related to JBoss Messaging. Look at the activemq docs and website for more info. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247378#4247378 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247378 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Receiving XML from c++ sender
clebert.suco...@jboss.com wrote : Is it possible to receive TextMessages (with XML payload) from the client written in c++ and using ActiveMQ? | | What URI should be given to the cpp client in such a case? | | Sorry... your question was a little bit obscure to me... | | | I couldn' t realize you wanted to transfer messages from ActiveMQ to JBossMessaging. | You can use a JMS bridge to do this *already* in JBM 1.x and 2.x. anonymous wrote : | We are scheduled to implement AMQP on JBoss Messaging 2, what will enabled C++ to connect to JBoss Messaging. | You can already use a Stomp client to talk to JBoss Messaging 1.x/2.x using StompConnect (google it) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247379#4247379 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247379 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Receiving XML from c++ sender
clebert.suco...@jboss.com wrote : ... and JBossMessaging will implement AMQP, and other clients such as C++, .NET will be able to connect to JBoss Messaging 2 using those libraries, which is a nice synergy. Not only AMQP, JBM will be implementing REST and STOMP natively giving you a very large range of options for messaging interoperability. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247380#4247380 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247380 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Bridge with QOS_ONCE_AND_ONLY_ONCE
JBM 1.4 should *never* be used with an XA JDBC data source. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247381#4247381 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247381 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: How to post Message to IBM MQ Queue from Webservice ?( U
Please post on the JCA forum - this question is not about JBM View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247382#4247382 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Receiving XML from c++ sender
First of all, you are using JBoss Messaging 1.x , not JBoss MQ (default JMS provider in AS 5.0 is JBM) - I can see that in the stack trace. | javax.jms.JMSException: There is no administratively defined topic with name:SERVER/TOP | In JBM 1.x Having a forward slash in a destination name is illegal (there was a recent thread on this on this forum). You could try defining your topic as server.top, using a dot '.' to delimit words in a destination is also more consistent with how many other messaging systems define topic hierarchies. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247389#4247389 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM with singleton MDB
As Clebert mentioned, MDBs are *not* part of JBoss Messaging - JBM has no knowledge of MDBs. MDBs exist as part of JBoss AS. MDBs provide their own pooling and buffering of messages which is not part of JBM. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247390#4247390 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247390 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Defining a distributed / clustered queue
As I mentioned in my previous reply you need to either a) use a clustered *temporary* queue b) use a response *topic* View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4245478#4245478 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4245478 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Urgent! Clustered-queue on 2 nodes failed
You're not specify your hostname on your acceptors, this will default to localhost which is clearly not visible from other machines. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4245469#4245469 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4245469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM2 cluster fails under heavy load
Also it would help a lot if you always mention what exact version you are running. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4245470#4245470 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4245470 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Clustered messages not being received by external client
If you have a queue called responseQueue deployed on each of your nodes, how can JBoss Messaging possibly know which actual version of responseQueue on what node to send the response to? JBM is not psychic ;) It can't, you simply haven't given it enough information. The proper way of implementing this pattern is to implement a temporary response queue which will have a unique name across the cluster, then when you send a response to it from any other node, JBM will unambiguously know where to route it, otherwise it has no idea which node to route it to. Alternatively you can create a response topic and consume responses with a selector (response_id=X). Either way will work. BTW There are tests in the test suite for this. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244843#4244843 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244843 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Problem with remote JBM access from applet running on co
There are tests in the JBM test suite which should be checking it runs ok in a restricted security environment. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244706#4244706 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244706 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re:
It's very difficult for us to give a recommendation since we're not familiar with your business or architecture, and there's rarely a one size fits all solution. But I'll try to give some pointers, if you're sending messages from web requests into an application in the same app server instance then using the JCA managed connection factory is the recommended approach (java:/JmsXA) and will give you the pooling you need. The overhead of this shouldn't be too high for sending messages. Do you need MDBs? Well that really depends on whether you also need to persist the row to a database in the same transaction. Doing this in an MDB allows you to use JTA to do the message delivery and insert of row in the same global transaction. Of course this comes at an overhead. If you can design out the insert into the DB that will give you your biggest performance boost, since then you can just use a standard JMS consumer and you can avoid JTA too. But as we've discussed before I'm not sure that's possible for you. To demonstrate the overhead of all this stuff, try creating a simple program that uses raw JMS to send and consume from a queue. No JTA, MDB, JCA, Spring or anything else. And compare the performance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244463#4244463 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re:
clebert.suco...@jboss.com wrote : anonymous wrote : You do not expect me to look at persisted JMS messages as the system of record for my orders, do you? | | This all depends on your business. | | If the data should exist on the DB only for the life cycle of the message. (I mean, as soon as the message is consumed, the record is deleted), you could just store data on the message using a persistent message, and not use the DB for anything. | | But if the data will exist on the DB after the message is processed, then you probably need the data on the DB for other business matters. But on that case the Database will be your bottleneck. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=423#423 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=423 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re:
The resources and tx mgr need to sync too and it doesn't solve that View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244387#4244387 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244387 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re:
The point I was trying to make is if if you are persisting the message in a separate database for *every* message then that's likely to be the slowest link in the chain, and the overall system will be only as fast as the slowest part. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244382#4244382 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re:
Now not only are you doing that once you're doing that twice, so that will involve 2 JTA transactions. Each JTA transactions will involve a minimum of 3 syncs to the file system, so that's 6 syncs +2 more for the databases = probably around 8 syncs. So yes, it will be slow (and it's not because of JBM) ;) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244385#4244385 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re:
Why are you persisting orders in a database? If you are using persistent messages then the JMS system can guarantee persistence for you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244370#4244370 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244370 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re:
clebert.suco...@jboss.com wrote : timfox wrote : Why are you persisting orders in a database? | | | | If you are using persistent messages then the JMS system can guarantee persistence for you. | | Usually an orders table needs to be kept for historical reasons, right? That's a sweeping statement if ever I've heard one. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244379#4244379 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244379 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re:
I'm slightly confused - I can't see where in your test program the Spring JMS Template is being used... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244346#4244346 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244346 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re:
The right way depends on what you are trying to do. From your test program I can see you are just sending messages to a queue, and consuming them via an MDB which does nothing but log a message. In this case you don't need transactions on your MDB, also there's no real JCA involved here, since you're just sending messages from a client - there's nothing to pool. Also you are currently using persistent messages, for the purposes of this example that's unnecessary too. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244349#4244349 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244349 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re:
clebert.suco...@jboss.com wrote : timfox wrote : If you post your example application on a JIRA, then someone next week can have a look at it and see why it's acting slow... | | | | The test we were using to replicate the ping issue replicates this transaction issue. Yes I know, but I am not sure whether that is the exact same program that the user used to get 14 TPS (which seems extremely slow), that's why I asked for it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244333#4244333 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244333 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re:
If you post your example application on a JIRA, then someone next week can have a look at it and see why it's acting slow... In the mean-time - gave you looked at the performance tuning section in the jbm user manual? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244293#4244293 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re:
In my experience most very high performance messaging installations are not using JEE (no MDBs, JTA, JCA) - all these things have an overhead and often you can design them out in your application. E.g. you can often design out JTA by using duplicate detection (see user manual) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244295#4244295 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244295 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re:
nbhatia wrote : Ok I checked out your latest tweaks on the trunk, and it seems like the problem is gone. 1 messages sent and received without any hiccups!. That's great! | | As a side note, it took 12 minutes for the full round trip, which translates to about 14 tps. Any tips on how this can be improved? Of course this is on my crappy laptop, but I will try it later on my new desktop, which has the Intel i7 processor. | | Thanks again for nailing this issue. | | Naresh We know that JBM 2 can do many 1000s of msgs/sec even on a crappy laptop. Probably 99.9% of the time taken in your test is being spent in non JBM code. Remember you're using MDBs and the JCA layer, both of which are parts of the AS (not part of JBM). You're probably opening and processing a JTA (XA) transaction for *every* message being consumed (JTA is heavyweight), again the JTA impl (JBoss TS) is part of the AS not JBM. JTA will require syncing to disc at several points in the 2PC commit protocol. Then if you are doing other stuff in your transaction (maybe writing to a DB) you have the time taken writing, preparing, and committing the tx - that's processing in the DB, not JBM. And finally you've got time processing your actual user code in your MDB onMessage. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244248#4244248 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244248 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re:
Nothing should be able to hold back pings since they are never written on the same thread as other requests. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244007#4244007 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244007 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: session.createTextMessage() returns null?
Are you sure it's really returning null? The code from JBossSession::createTextMessage is just this: | public TextMessage createTextMessage() throws JMSException |{ | checkClosed(); | | return new JBossTextMessage(session); |} | So I don't see how any well behaved JVM could return null, even under error conditions. If the creation of the text message proceeds you'll get a non null object. If it throws an exception, then an exception should be thrown from the method. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4243795#4243795 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243795 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Any recommendation how to use JBM2 Producers Pool?
If you're servlets are running in the same AS instance as the broker and it's JBoss AS then you can just use the JMS JCA adapter to pool connections. If it's not JBoss then you can share a ConnectionFactory (or ClientSessionFactory) instance between servlets - this will provide its own pooling of underlying connections. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4243457#4243457 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243457 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Application Client can't find version.properties
Gunther- Can you create a self contained program which replicates this issue, file a JIRA and attach it? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4243546#4243546 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243546 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re:
nbhatia wrote : | Thanks for the pointers. Based on your suggestions I have been able to send and receive 1000 messages on my Windows XP box without any problems! I tried to push this number upwards but it breaks at about 3000 messages - same Connection failure has been detected message. Anyway, I am not worried about that right now since I am not expecting those kinds of loads on my system. | I am worrried though since that should never happen, irrespective of load. Clebert and Andy are the guys who have access to Windows boxes. Hopefully one of them will try and replicate this. anonymous wrote : | 1) When I monitor my queue from JBoss jmx-console I see very low message counts, typically less that 50. I know that all my 1000 messages have been pumped into the queue because the call to send them has returned. I also know that only a handful have been received by watching the logs. So why does the console not show a big number in the queue? | The messages probably aren't in the queue, they're buffered on the client waiting for consumption. If you don't want buffering you can turn this off, see http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/usermanual-2.0.0.beta3/html_single/index.html#flow-control.consumer.window anonymous wrote : | Next, I would use these diagrams as a base for explaining deeper concepts. Overlay them with connection factories to show where they are located and how many of them are there. Especially useful would be to show what we get out-of-the-box. For example, I had no idea that we get the JmsXA factory out-of-the-box and it is a JCA factory that I can start using right away. The documentation leads me to believe that I got to do a #~it-load of configuration before I can get JCA working - which is absolutely not true. | Well, you don't get it out of the box with JBoss Messaging. The thing at java/:JmsXA is the JBoss app server is the JMS JCA resource adapter - it's not part of JBoss Messaging is part of the application server and is there irrespective of whether you have installed JBM or not. The JBoss AS JCA adapter can be used with other messaging implementations too. anonymous wrote : | Finally, it would be very helpful to use the diagrams to show which configuration file controls which piece. There are so many configuration files flying out there that it is confusing for a beginner. | Certainly JBoss application server has many configurations files, but JBoss Messaging actually has very few, just: jbm-configuration.xml - this is the main config file with most stuff in it jbm-users.xml - this is the default user credential file - you probably won't even use this when using jboss as jbm-jms.xml - this just contains JMS destinations and connection factories, you won't use this if you're not using JMS You can actually run a fully functioning server with just jbm-configuration.xml. The purpose of all the above files are explained in http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/usermanual-2.0.0.beta3/html_single/index.html#using-server.configuration Any other files you have configured (e.g. jms-ds.xml) are not part of JBoss Messaging - they're JBoss Application Server config files and should be described in the JBoss AS documentation. Thanks for your feedback it's very constructive. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4243188#4243188 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243188 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Embedded server - how to create JMS Topic?
Leos.Bitto wrote : | Cool, it is nice to see that you guys from JBoss are willing to suggest a straight replacement of JBoss Microcontainer by Spring Framework. Well.. we're not recommending a replacement of JBoss MC by Spring. But we also realise that a lot of people use Spring, or A.N. Other dependency injection framework and we want JBM to be flexible enough to work with all those :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4243244#4243244 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243244 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss 5.1.0GA with JBM2.0.0. b3
Hi Gunther- If you run the ant install script as mentioned in the quick start guide (after setting JBOSS_HOME) as described in http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/quickstart-2.0.0.beta2/html/installation.html#installation.jboss then it should create a default-with-jbm2 profile and you don't need to manually copy any other files over. To validate that JBM 2.0 was installed correctly you can try running the javaee examples as explained in the examples chapter. If these examples run ok you know you installed JBM alright. Otherwise it's likely it's a botched install, in which case I suggest starting the installation again with a fresh download of JBoss AS and JBM 2.0. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4243299#4243299 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss 5.1.0GA with JBM2.0.0. b3
ataylor wrote : firstly, you shouldn't need to copy any files the install script does this for you. | | also, can you use the jmx console not the admin console. have you tried sending messages to the queue? +1. JBM 2.0 *as yet* is not managed by the JBoss AS 5 admin console. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4243301#4243301 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re:
nbhatia wrote : Andy and Tim, thanks for answering my questions. I guess I was not very clear on the boundaries between JBM and JBoss, so your explanation was very helpful. Since many users will use JBoss and JBM together, I suppose including that explanation in the manual would also be very useful. | Agreed, especially for users using JBM in JBoss AS, it's easy to just think of everything as just JBoss. We should add some clarification in the documentation. Thanks again for your good feedback :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4243303#4243303 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243303 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM compatibility across releases
To clarify Howard's answer: For JBM 1.4 we try and keep releases compatible but we make no guarantees - sometimes we have to fix bugs or other components need to fix bugs (e.g. JBoss Remoting) which requires incompatible fixes. For EAP CP releases, the rules are stricter and we are required to maintain compatibility between them unless there is a critical bug whose fix requires compatibility is broken. JBM 2.0 is *very different* to JBM 1.4. There is no compatibility between 1.4 and 2.0 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4242758#4242758 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242758 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: How to find total mumber of messages in a queue (i.e. in
There are other ways we could implement this, e.g. we could store a record in the bindings journal which has the count, and checkpoint this every X records paged and at shutdown. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4242762#4242762 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242762 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re:
Hi Naresh- I don't have a Windows machine at hand (as you can imagine most of us don't use Windows) to try and replicate your issue, but Clebert and Andy have - perhaps they can try and replicate it. Regarding the JCA config - there's a chapter in the user manual on how to configure this, also there should be a fully working example in the distro that demonstrates an MDB in action. Andy is currently rewriting the JCA chapter (since it's a bit terse) so should be able to help you out with your config. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4242760#4242760 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242760 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Messaging with IBM Websphere MQ 7 JCA Adapter
Can you post your question on the JCA users forum? it's not related to JBoss Messaging. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4242790#4242790 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242790 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Connection failure has been detected message
Pinging changed between beta1/2 and beta3. Are you sure you're not using a jar from beta1/beta2 with different jars from beta3? E.g. you have jars from an earlier release on the client side and different jars on the server side. Or maybe you are using the rar from a different release. All jars used *everywhere* must be from the same release. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4242604#4242604 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242604 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re:
anonymous wrote : | However I had to add the acceptors and connectors at the config. | The fact that Clebert had to add these acceptors and connectors in order to get your example to work and you didn't, tells me you can't be using beta3. Otherwise you would have had to do the same too to get the example to work. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4242605#4242605 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242605 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re:
clebert.suco...@jboss.com wrote : Take a look at jms-ds.xml | | | The JNDI is java:/XAConnectionFactory. | | (You need to use the local JNDI for that... just do new InitialContext(). As you may known java:/ means local VM). | | | you can just do: | | | InitialContext ctx = new IntialContext(); | | ConnectionFactory cf = (ConnectionFactory)ctx.lookup(java:/XAConnectionFactory); | | | | That is NOT correct. If you lookup java:/XAConnectionFactory you will NOT be using JCA. There is a section on using JCA in the docs: http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/usermanual-2.0.0.beta3/html_single/index.html#d0e5931 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4242607#4242607 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242607 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: deleting messages rather than blocking if server down fo
Adrian- Are your client threads calling send() on the same ClientProducer (core ) or MessageProducer (JMS) instance? If you do this you would have to synchronize access in your client application since neither JMS MessageProducers or core ClientProducer instances are designed to be used by more than one thread at a time, Alternatively if you're creating a new MessageProducer for each message sent - that would also be frowned upon as an anti-pattern. Sessions/Producers/Consumers should always be reused between messages sent/consumed (unless you're not worried about performance). If you enable auto reconnect you do so on the presumption that your server has not really failed but there is a temporary network glitch (like someone has pulled out the cable for a while), and when the network comes back the client will be able to automatically reconnect its session(s) with the sesssion(s) still remaining on the server and carry on as if nothing had happened (this is transparent reconnection). In your case the server has really failed so on recovery the server sessions will clearly not be there any more (since the server was restarted) and they won't be able to connect. That's why you don't get the exception until the client has tried to reconnect and not found the session(s) there. If you turn off auto reconnection you'll get the exception sooner. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4242372#4242372 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242372 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: deleting messages rather than blocking if server down fo
AdrianWoodhead wrote : The clients are calling send() on the same MessageProducer instance, and this isn't synchronized. This hasn't caused any noticeable problems in the past (when the MessageProducer was using ActiveMQ) or since we started evaluating JBM (although the loads on those 2 servers are still very low). This makes me think I really should queue up the messages to be sent myself and have one thread call send(), which will also get rid of the blocking problem.. +1 You may have just got lucky in the past. All sorts of weird subtle errors might start happening if you use a JMS session concurrently with different threads. http://java.sun.com/javaee/5/docs/api/javax/jms/Session.html ...A Session object is a single-threaded context for producing and consuming messages... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4242377#4242377 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: deleting messages rather than blocking if server down fo
Perhaps you also need a thread pool in your application to stop potentially unlimited number of threads being created for your HTTP requests... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4242378#4242378 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242378 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Jboss Messaging examples in JBoss AS 5.1.0
Howard you should make an announcement/blog etc about this. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4242169#4242169 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242169 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: EnableOrderingGroup attribute in JBM 1.4.1
The JMS spec guarantees that messages sent from a particular producer are delivered in order to a single consumer in the absence of failures. You don't need order grouping for that. If you're not seeing that, please add a test case that demonstrates it and someone will investigate it since it would imply there is a bug. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4242179#4242179 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242179 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Could not find reference with id (JBM 2.0.0.BETA3)
Looks like a bug. It seems that messages with an expiry set do not currently work well with pre-ack. Can you file a JIRA? Should be an easy fix. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4242246#4242246 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242246 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: using log4j in JBoss Messaging client
Andy- is this documented in the user manual? If not, we should make sure it is. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4242281#4242281 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242281 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: deleting messages rather than blocking if server down fo
Adrian- I am trying to get my head around what you're asking here. if you're referring to command buffering: http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/usermanual-2.0.0.beta3/html/command-buffering.html Then JBM will block by default on send if it hasn't received any acks back from the server. As mentioned in the docs you can turn this off by setting the ProducerWindowSize param to -1, but do so at your peril! Flow control is there to stop the server getting overwhelmed. BTW JBM won't create any threads here - there will only be as many threads blocking as the number of threads from your application that have called send(), so I'm not sure how that could bring your application down. You could also set an ExceptionListener which would be called when a problem with the connection is detected. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4242284#4242284 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242284 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Clusted FailOver doesn't seem to work correctly with Bri
If you want a client in JBM 1.x to failover automatically from one node to another you need to set supportsFailover to true in the descriptor where the connection factory is deployed. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4242041#4242041 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242041 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Clusted FailOver doesn't seem to work correctly with Bri
It depends what you want to do. When you originally said failover I assume you really meant reconnection, in which case you don't need a clustered connection factory. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4242055#4242055 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242055 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message bridge performance in WAN
If you are sending a lot of messages in a fairly constant stream it doesn't make a lot sense to me why you are setting maxBatchSize to a value other than -1, since the batch will be sent anyway when maxBatchSize is reached. Regarding the speed of bridging, this is a function of many factors including: The size of your messages Are the messages persistent? The bandwidth of your network The round trip time of your network The speed of the ActiveMQ server The Quality of service mode you are using. The speed of the JBM server So it's very hard to quantify. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241489#4241489 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Stand-Alone Messaging: Trouble Configuring a Core Bridge
Also you have a typo here: param key-jbm.remoting.netty.host value=server1 type=Strnig / (Strnig) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241573#4241573 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241573 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Stand-Alone Messaging: Trouble Configuring a Core Bridge
Looks like you didn't specify host name on your acceptors. If you don't specify it it will default to listening on localhost which won't be accessible from another machine. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241572#4241572 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241572 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user