[jboss-user] [JBoss Messaging] - Re: Failure on Control Connection : Messages going into ethe

2008-02-22 Thread timfox
Hi Wickus- Yes, since the version you are using the default remoting configuration has changed. I would strongly recommend using the remoting configuration that comes with JBM 1.4.0.SP3. In particular, there is a known issue with JBoss Remoting control connection pinging, which might cause

[jboss-user] [JBoss Messaging] - Re: JBM and informix

2008-02-21 Thread timfox
We aim to get a JBM 2.0 GA release out towards the end of the year, a beta in the summer, and an alpha in four to six weeks time, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4131047#4131047 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: JBM 1.4.0.SP3 JMSX properties bug

2008-02-21 Thread timfox
Clearly the extra sem-colon is a bug. But regarding the issue of not allowing JMSX properties to be set: The JMS spec (1.1, section 3.5.8, table 3.3) makes it clear that the only JMSX properties that can be set by the client are JMSXGroupID and JMSXGroupSeq. So I think the current behaviour is

[jboss-user] [JBoss Messaging] - Re: JBM 1.4.0.SP3 JMSX properties bug

2008-02-21 Thread timfox
Also this is related to http://jira.jboss.org/jira/browse/JBMESSAGING-1185 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4131051#4131051 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131051

[jboss-user] [JBoss Messaging] - Re: Message Pulling

2008-02-20 Thread timfox
First thing I would do is take MDBs out of the picture - try creating a vanilla JMS consumer on each node. The MDB layer buffers some messages - ready to send to it's local MDB instances - which will prevent them from being available for other nodes. Secondly, JBM (like pretty much any other

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging msg blocked

2008-02-19 Thread timfox
Have you tried with a more recent version of JBM? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4130353#4130353 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4130353 ___

[jboss-user] [JBoss Messaging] - Re: Detected failure on control connection

2008-02-19 Thread timfox
Hello Wickus- Any chance you could try with 1.4.0.SP3 and remoting 2.2.2.SP4? Several things have been fixed in remoting since the version you are using. If you're using the supported EAP 4.3 configuration, you'll already be using that. Cheers View the original post :

[jboss-user] [JBoss Messaging] - Re: Message redistribution

2008-02-18 Thread timfox
martin.wickus wrote : Precondition: JBM cluster consisting of two nodes posting messages to a clustered queue. The JBM cluster is formed across JBoss nodes. | | Step1. Start up a plain java process (configured with JBM client libraries and patched JBoss Remoting lib) which looks up a

[jboss-user] [JBoss Messaging] - Re: Message redistribution

2008-02-18 Thread timfox
Also make sure you don't have other consumers on the nodes. Any local consumers will always get the message if they are not busy. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4130049#4130049 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Message redistribution

2008-02-18 Thread timfox
Final thing to note: In 95% of user deployments, message redistribution is NOT necessary. Typically users deploy a homogeneous bank of MDBs (or other consumers) across the cluster - the same ones on each node. Client producing connections are also load balanced across the cluster. Since

[jboss-user] [JBoss Messaging] - Re: long live consumer stops working

2008-02-18 Thread timfox
I would double check again that you haven't changed any of the remoting settings from those in the distribution. If you are using service binding manager, ensure you have copied *exactly* those settings from the ones in the distro. View the original post :

[jboss-user] [JBoss Messaging] - Re: Message redistribution

2008-02-18 Thread timfox
There is also a simple distributed queue example in the distro that we recommend you run (see install guide) - can you see if this works? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4130057#4130057 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Message redistribution

2008-02-18 Thread timfox
Right - this implies that distribution is not working for you - it works about half the time, and about half the time the consumer will be created (randomly) on the same node. Almost certainly there's something wrong in your JGroups setup View the original post :

[jboss-user] [JBoss Messaging] - Re: Message redistribution

2008-02-18 Thread timfox
BTW, can you please try with the preconfigured queues (i.e. do not change ANYTHING from the example) from the distro - i.e. don't use your own queue. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4130078#4130078 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Message redistribution

2008-02-18 Thread timfox
Thanks, good catch :) I have created a JIRA report: http://jira.jboss.org/jira/browse/JBMESSAGING-1235 We'll get this fix into the next CP. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4130160#4130160 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: JBoss messaging for non JAVA applications?

2008-02-17 Thread timfox
JBM currently only supports Java clients natively. Non Java native client support is scheduled sometime after 2.0. You may be able to use StompConnect though in the mean time. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129963#4129963 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Tomcat and JBoss messaging

2008-02-17 Thread timfox
Just use the standard JCA JMS resource adaptor - this is available in the same VM: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJMSRA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129965#4129965 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Message redistribution

2008-02-17 Thread timfox
Please can you be more specific about what you have done, and what you have observed (step by step instructions). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129959#4129959 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging RA configuration

2008-02-17 Thread timfox
kdeboer wrote : | Can the destination be reconfigured as a resource reference in jboss.xml deployment descriptor? | See my previous post. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129961#4129961 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Tomcat and JBoss messaging

2008-02-17 Thread timfox
I'm assuming you're trying to access JBM from a Servlet being running with the version of JBoss Web that comes bundled with JBoss AS. If you're not using that, I'd ask why you don't just use that! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129966#4129966

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging RA configuration

2008-02-15 Thread timfox
kdeboer wrote : Thanks for the link. I was aware of this wiki page. | But there is something unclear to me: | If you have a handle to a remote connectionFactory, how can you get a handle to a queue running in a remote server. Is this automatically done in the correct JNDI namespace (the

[jboss-user] [JBoss Messaging] - Re: Reliable delivery

2008-02-15 Thread timfox
You can't lose messages with DUPS_OK, but there is a possibility of duplicates if the system fails and recovers. As Andy says, you can then implement duplicate detection and effectively then get once and only once delivery. View the original post :

[jboss-user] [JBoss Messaging] - Re: Reliable delivery

2008-02-14 Thread timfox
vc123 wrote : | | 1. I will, but we do not want DUPS ;) | | Well you won't get reliable (once and only) delivery using AUTO_ACKNOWLEDGE either. AUTO_ACK = *at most once* anonymous wrote : | 3. Is producer flow control going to be implemented in JBM 2 ? | yes View the

[jboss-user] [JBoss Messaging] - Re: Reliable delivery

2008-02-14 Thread timfox
vc123 wrote : ataylor wrote : | | I am not sure why the consumer falls behind so quickly. True, the producer does not do much, but neither does the consumer, and yet it is about 30% slower than the producer which leads to the queue explosion. | | | | Probably the other

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging RA configuration

2008-02-14 Thread timfox
Maybe this helps: http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIConfigureTheJMSResourceAdapterToUseARemoteConnectionFactory View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129534#4129534 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Messaging Client required libs for JBoss AS 4.3-EAP

2008-02-12 Thread timfox
jimrigsbee wrote : I had some trouble resolving what client libraries I needed to get my simple JMS sender program to work. I finally resolved that I needed:trove | | javassist | | jbossall-client | | jboss-aop-jdk50 | | | | Yes, that's what the user guide install section

[jboss-user] [JBoss Messaging] - Re: Reliable delivery

2008-02-11 Thread timfox
Hypersonic has no transaction support, so should never be used other than very simple demos. http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQDB View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4128503#4128503 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Reliable delivery

2008-02-11 Thread timfox
vc123 wrote : Hi, | | We are evaluating JBoss Messaging suitability for reliable delivery. | | I am not quite sure how reliable message delivery (PERSISTENT) is implemented in JBoss Messaging. Assuming a JDBC persistence manager, does the AUTO_ACK mode result in a JDBC commit after

[jboss-user] [JBoss Messaging] - Re: Reliable delivery

2008-02-11 Thread timfox
For persistent messages, you are fundamentally limited by the speed of your database. So your persistent message throughput will entirely depend on how your Oracle box is set-up tuned etc. Oracle is very tunable however. View the original post :

[jboss-user] [Messaging, JMS JBossMQ] - Re: RHM qpid

2008-02-11 Thread timfox
Yes beware that RHM/QPid has very poor JMS support. The current AMQP spec is lacking in many areas and not currently rich enough to support full JMS semantics (e.g. it lacks any concept of filters/selectors). QPid added proprietary hacks over and above the AMQP spec in order to get their JMS

[jboss-user] [JBoss Messaging] - Re: JMS messaging in AS vs. JBossMQ

2008-02-09 Thread timfox
[Moved from design forum to user forum] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4128053#4128053 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128053 ___ jboss-user mailing

[jboss-user] [JBoss Messaging] - Re: URGENT -JBoss limitation in accepting messages.

2008-02-09 Thread timfox
Posting on the developer forum, cross posting, and using URGENT in the titles of threads is NOT a good way to get us to respond!! I am locking this thread View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4128055#4128055 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: URGENT -JBoss limitation in accepting messages.

2008-02-09 Thread timfox
Posting on the developer forum, cross posting, off topic posts, and using URGENT in the titles of threads is NOT a good way to get us to respond!! Please observe basic forum etiquette in future before making posts or you will be ignore or your posts deleted. I am now locking this thread, you

[jboss-user] [JBoss Messaging] - Re: JBoss 5.0.0 Beta3 Messaging Client

2008-02-08 Thread timfox
| version3.2.3/version | You're taking jboss-all-client from JBoss 3.2.3?? The classpath you quote should certainly work, you're probably just pulling in wrong versions of those files though. To verify this, take Maven out of the picture and _manually_ get those jars from the distro.

[jboss-user] [JBoss Messaging] - Re: java.lang.IllegalArgumentException: No such SQL statemen

2008-02-08 Thread timfox
They should be there. If not it looks like the product team ommitted them :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4127880#4127880 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4127880

[jboss-user] [JBoss Messaging] - Re: Message priority does not seem to work

2008-02-07 Thread timfox
ydzsidemiik wrote : | During my testing, I was surprised to find that priorities set on JMS message objects (javax.jms.Message.setJMSPriority(int)) seem to be getting ignored. The high priority messages come out of the queue with their priority set to 4, which would explain why they are not

[jboss-user] [JBoss Messaging] - Re: Message priority does not seem to work

2008-02-07 Thread timfox
I haven't run your code but I had a quick look at it. A couple of observations 1) As already mentioned. JMSPriority set on a message is ignored - you need to set it on the producer (as per JMS spec) 2) JBM (and pretty much every other messaging system) buffers messages on the client side. So

[jboss-user] [JBoss Messaging] - Re: Threads not being cleaned up when clustered

2008-02-07 Thread timfox
I agree that although your application usage of temporary queues was an anti-pattern, it shouldn't leak threads as long as you were closing the connection. Can you create a JIRA with a small program that demonstrates this issue and we will investigate further? Also can you first verify you're

[jboss-user] [JBoss Messaging] - Re: java.lang.IllegalArgumentException: No such SQL statemen

2008-02-07 Thread timfox
mr.colin.daly wrote : | for the record setting Clustered to false fixes that last problem... | Yes, if you want clustering you need to make sure you are in the all configuration, I suspect you are using a non clustered configuration like default. View the original post :

[jboss-user] [JBoss Messaging] - Re: Messaging Cluster issue

2008-02-06 Thread timfox
In most cases, allowing selectors on a JMS queue is an anti-pattern since it can cause the queue to be scanned frequently - i.e. give poor performance. Also JMS selectors only work on the *local* queue - i.e. each clustered queue is made up of n local partial queues - one on each node. If your

[jboss-user] [JBoss Messaging] - Re: jboss-messaging-1.4.0.SP3-clarification

2008-02-06 Thread timfox
[Moved from the design forum] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4127004#4127004 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4127004 ___ jboss-user mailing list

[jboss-user] [JBoss Messaging] - Re: Messaging Cluster issue

2008-02-05 Thread timfox
Can you explain your topology in more detail - i.e., where are the clients that put messages on the queue and where are the clients that remove messages from the queue? (It's important to know what node they're on). Also can you post your message consumer code? Thanks View the original post :

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging via .Net

2008-02-05 Thread timfox
Bear in mind I said 2.0 series. I.e. 2.0 probably won't have support for other language clients (depending on how much time we have) - more likely 2.1 :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126483#4126483 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Messaging Cluster issue

2008-02-05 Thread timfox
So you have a clustered response queue, and, say two consumers on it on different nodes A response message gets posted to the queue. Clearly the response message is destined for a specific consumer, but if you have two consumers on the queue, you can' be sure it gets to the right consumer

[jboss-user] [JBoss Messaging] - Re: Threads not being cleaned up when clustered

2008-02-05 Thread timfox
I would have a look in your code to see where you are creating temporary queues, and make sure you are deleting them when you're finished. Also it's worth taking a look in JNDI (use jmx-console) to see if there are a lot of temp queues hanging around. View the original post :

[jboss-user] [JBoss Messaging] - Re: Threads not being cleaned up when clustered

2008-02-05 Thread timfox
BTW I would avoid creating a new temp rely queue for every message you send. This is likely to adversely affect performance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126698#4126698 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Message priority does not seem to work

2008-02-04 Thread timfox
ydzsidemiik wrote : Just to clarify, you are talking about a stand alone, J2SE client connecting to JBM from outside the container, correct? This is my understanding of 'no EJB', as I assume you are not talking about writing MBeans. | | . It can be inside or outside the container, it

[jboss-user] [JBoss Messaging] - Re: Message priority does not seem to work

2008-02-04 Thread timfox
ydzsidemiik wrote : I am trying to test the pure JMS approach, but I am seeing this error: | | javax.jms.IllegalStateException: This method is not applicable inside the application server. See the J2EE spec, e.g. J2EE1.4 Section 6.6 | at

[jboss-user] [JBoss Messaging] - Re: JBoss 5.0.0 Beta3 Messaging Client

2008-02-03 Thread timfox
Sorry - I don't know anything about Maven, we don't use it. JBM should work out of the box with JBosss 5 beta 3 - it's the default JMS provider. What classpath are you using that doesn't work? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4125845#4125845

[jboss-user] [JBoss Messaging] - Re: Threads not being cleaned up when clustered

2008-02-03 Thread timfox
Please can you post (or mail me) a complete thread dump of the server when this problem occurs? (killall -3 java) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4125846#4125846 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: What does JMSUserManager do?

2008-02-03 Thread timfox
JMSUserManager is really an artifact from JBoss MQ days. It maintains a mapping of user-preconfigured client id. If there is an entry for a user, then when the user creates a connection, the server will preconfigure that connection with that client id. If you don't want that functionality you

[jboss-user] [JBoss Messaging] - Re: long live consumer stops working

2008-02-03 Thread timfox
http://jira.jboss.org/jira/browse/JBMESSAGING-1228 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4125849#4125849 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125849 ___

[jboss-user] [JBoss Messaging] - Re: Message priority does not seem to work

2008-02-03 Thread timfox
Can you try using pure JMS (i.e. no MDBs) and see if the problem still occurs? The MDB layer does some buffering so this may be related to the issue. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4125848#4125848 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging via .Net

2008-02-03 Thread timfox
We don't currently support non Java clients directly, but aim to do this for the JBM 2 series. However I believe StompConnect works with JBM http://stomp.codehaus.org/StompConnect And has many clients for .NET and other lanugages. I personally haven't used this so can't vouch for it, but

[jboss-user] [JBoss Messaging] - Re: Programmaticaly create queue

2008-02-03 Thread timfox
thangle wrote : I have some questions relating this topic: | 1. How many Queues can we safely create dynamically under JBoss 4.0.3? Is it a recommended way? JBoss 4.0.3 doesn't use JBossMessaging, it uses JBoss MQ. Please post in the JBoss MQ forum, this the JBoss Messaging forum :) View the

[jboss-user] [JBoss Messaging] - Re: Understanding JBoss Messaging and SPOF (Single Point of

2008-02-01 Thread timfox
seattle.golfer wrote : any chance some of these features can/will be backported to 1.4.x? | This is very unlikely - we don't really have the resources for that and it would involve deep changes. anonymous wrote : | Also, in your opinion, is what's in source stable enough to start

[jboss-user] [JBoss Messaging] - Re: long live consumer stops working

2008-02-01 Thread timfox
bodrin wrote : It is strange that the messaging is using some configuration inside $JBOSS_HOME/docs/examples. | Don't blame messaging! It is using the config from there because you (or someone else on your side) configured it to use that. Do a search in the wiki for ServiceBindingManager to

[jboss-user] [JBoss Messaging] - Re: Understanding JBoss Messaging and SPOF (Single Point of

2008-01-31 Thread timfox
seattle.golfer wrote : | I've been away from JBoss for about 4+ years (working in Weblogic), and am finally coming back home. | Glad to hear it! :) anonymous wrote : | I'm trying to get a better handle on JBoss Messaging's clustering capabilities. They way I read the

[jboss-user] [JBoss Messaging] - Re: Understanding JBoss Messaging and SPOF (Single Point of

2008-01-31 Thread timfox
File based persistence is already done in TRUNK too View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4125040#4125040 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125040 ___

[jboss-user] [JBoss Messaging] - Re: MessageSucker: How to change password ?

2008-01-31 Thread timfox
http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP3/html/configuration.html#conf.serverpeer.attributes.suckerpassword View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4125264#4125264 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: MessageSucker: How to change password ?

2008-01-31 Thread timfox
Sorry you're running 1.4.1, it's: http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.1.Beta1/html/configuration.html#conf.securityMetadataStore.attributes.suckerpassword View the original post :

[jboss-user] [JBoss Messaging] - Re: long live consumer stops working

2008-01-30 Thread timfox
Can you first with a more recent version and see if the problem is still there? JBM 1.4.0.SP3 or 1.4.1 with JBossRemoting 2.2.2.SP4 ? If problem re-occurs please post a simple test case or simple instructions on how to replicate and someone will take a look. View the original post :

[jboss-user] [JBoss Messaging] - Re: long live consumer stops working

2008-01-30 Thread timfox
bodrin wrote : Ok. I tried to setup jboss-messaging-1.4.0.SP3 on jboss-4.2.2.GA with jboss-remoting-2.2.2.SP4. | | I have done all the steps described in [4.1.1. Automated Installation] for clustered installation with two nodes. | | When starting there is a problem with the remoting

[jboss-user] [JBoss Messaging] - Re: long live consumer stops working

2008-01-30 Thread timfox
If you're using old service binding manager configuration with invalid remoting configuration with 1.3.0 this could explain your timeout issues with that... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124864#4124864 Reply to the post :

[jboss-user] [Messaging, JMS JBossMQ] - Re: Problem clustering of MDB on JBoss.

2008-01-30 Thread timfox
[Moved from JBoss Messaging forum where it was mis-posted] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124869#4124869 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124869 ___

[jboss-user] [JBoss Messaging] - Re: Warnings with 1.4.1Beta1

2008-01-28 Thread timfox
JBoss Messaging 1.40/1.4.1 is tested against JGroups 2.4.1.SP3 which is the version of JG in the AS 4.2/4.3 We simply don't know if it will work with other versions of JG since it's not a supported/tested configuration. For AS 5, version JG 2.6 is used, so for this we will upgrade our

[jboss-user] [JBoss Messaging] - Re: Warnings with 1.4.1Beta1

2008-01-28 Thread timfox
Several stack config settings have been deprecated in 2.6, which is why JGroups is producing those warnings. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123973#4123973 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Clustered environment with non persistent messages ?

2008-01-28 Thread timfox
The point with non persistent messages, is they are not persisted, == they do not survive failure. Users use non persistent messages when they want higher performance but they can cope with message loss. If we had to persist non persistent messages too, that would kind of defeat the purpose

[jboss-user] [JBoss Messaging] - Re: JBM 1.4.0.SP3 JMSX properties bug

2008-01-28 Thread timfox
Thanks for the report. :) We'll get in fixed in the next release http://jira.jboss.org/jira/browse/JBMESSAGING-1224 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124039#4124039 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Clustered environment with non persistent messages ?

2008-01-24 Thread timfox
kemp40 wrote : | Btw, wouldn't be a really cool idea to replicate non-persistent messages among active nodes to gain performance, it's really unlikely to have all nodes crush ... ;) | | Hello kemp, Martin's comment was not correct, JBoss Mesaging *does* cluster non persistent

[jboss-user] [JBoss Messaging] - Re: Occasional NPE when use JGroups multiplexor

2008-01-21 Thread timfox
JBM will use the JGroups multiplexor in JBAS 5, but for JBAS 4.x we don't test with the multiplexor, due to stability issues with it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121826#4121826 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Occasional NPE when use JGroups multiplexor

2008-01-21 Thread timfox
Tested/supported configuation of JBM in AS 4.2/4.3 is JGroups 2.4.1.SP3 with no multiplexor. Any other configuration you may or may not get to work, but we just don't know - it's not a tested/supported version/configuration. View the original post :

[jboss-user] [JBoss Messaging] - Re: Occasional NPE when use JGroups multiplexor

2008-01-21 Thread timfox
Also JG 2.5 or later is specifically known not to work in some cases with JBM since it uses concurrent event queues which is new in 2.5. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121829#4121829 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Messaging 1.3 Clustering question

2008-01-17 Thread timfox
nbakizada wrote : | | I'm having trouble understanding if the 2 nodes in a cluster act as some sort of primary/secondary, or if they're both equal primaries. In the event of a basic failover (one of the 2 appservers goes down), things failover to the other just fine. But what happens if,

[jboss-user] [JBoss Messaging] - Re: Messaging 1.3 Clustering question

2008-01-17 Thread timfox
nbakizada wrote : The second oddity I noticed is this: | | Failover will occur cleanly if I kill -9 one of the 2 nodes' process. | | On the other hand, doing a graceful shutdown of the appserver on a given node will NOT trigger failover. Any messages that were held on that given queue

[jboss-user] [JBoss Messaging] - Re: unable to choose a default cluster node for messaging

2008-01-15 Thread timfox
Ok, you just described the HA singleton. JBM supports this mode too, as mentioned before: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBMHASingleton HTH View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4119981#4119981 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Exception with EJB3 MDB strictmaxpool

2008-01-15 Thread timfox
Martin- It might be worth asking the EJB3 guys to comment - they may have more insight. One other thing you could do: In the 10 seconds before the timeout occurs, could you get a fully Java thread dump (killall -3 java) and post it here? View the original post :

[jboss-user] [JBoss Messaging] - Re: unable to choose a default cluster node for messaging

2008-01-15 Thread timfox
bodrin wrote : OK, I see.. | | The bad thing is that : | | ... | When running this way you will lose other benefits of JBoss Messaging like automatic failover and distributed destinations. | | Well distributed destinations are meaningless anyway if you only have one active

[jboss-user] [JBoss Messaging] - Re: LocalTx, ClientTransaction leak?

2008-01-12 Thread timfox
Could you post a simple sample program or test that exhibits the problem and one of the team will take a look? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4119326#4119326 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: unable to choose a default cluster node for messaging

2008-01-12 Thread timfox
Bodrin- I am trying to understand why you only want one node in the cluster to be active at any one time? Why not let your clients connect to any node, then you won't have these issues. Maybe I don't understand your motivations for doing this... View the original post :

[jboss-user] [JBoss Messaging] - Re: Queue automatic deployment in MDB

2008-01-12 Thread timfox
There is no automatic creation of queues. You need to ensure all queues you want to use are deployed before you use them. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4119371#4119371 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: unable to choose a default cluster node for messaging

2008-01-10 Thread timfox
bodrin wrote : I want to setup something like a master-slave cluster - all jms clients (external) using only the master node and switch to the slave only if the master is down. If you want a JBoss MQ style approach where only one node is active at any one time, you can deploy JBM as a HA

[jboss-user] [JBoss Messaging] - Re: unable to choose a default cluster node for messaging

2008-01-10 Thread timfox
bodrin wrote : | | Don't you think that when I configure the ClusterConnectionFactory to not load-balance it should use only the local node - the one to which I have a connecttion already? | | if you set supportsLoadBalancing to false on the ConnectionFactory then all connections

[jboss-user] [JBoss Messaging] - Re: unable to choose a default cluster node for messaging

2008-01-10 Thread timfox
bodrin wrote : | Can you tell me where can I find this FAQ of how to configure JBM as a ha-singleton? With all the other FAQs on the wiki page ;) I'll leave it as an exercise for you to find the JBoss Messaging wiki page... View the original post :

[jboss-user] [JBoss Messaging] - Re: unable to choose a default cluster node for messaging

2008-01-10 Thread timfox
bodrin wrote : | Anyway, I can not undestand the behaviour of the current JBM. I'm connecting to the master node (ha-jndi) and I have disabled the load balancing of the ClusteredConnectionFactory and sometimes I get | Assertion failed, 0 == 0 | sometimes | Assertion failed, 1 == 1 |

[jboss-user] [JBoss Messaging] - Re: LocalTx, ClientTransaction leak?

2008-01-09 Thread timfox
Also if you give some kind of description of what your app does, does it use other products (e.g. Spring), that would be good. You seem to be opening and closing a lot of sessions. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4118226#4118226 Reply to the

[jboss-user] [JBoss Messaging] - Re: LocalTx, ClientTransaction leak?

2008-01-09 Thread timfox
Another observation. In your helper class there's no need to explicitly close the session in your finally block. Closing the connection will automatically ensure the session is closed (or returned to the pool). | finally | { | | try

[jboss-user] [JBoss Messaging] - Re: LocalTx, ClientTransaction leak?

2008-01-09 Thread timfox
It would be good if you could provide full allocation traces. I don't know what profiler you are using, but I believe that JProfiler by default only shows a certain depth, this is configurable. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4118428#4118428

[jboss-user] [JBoss Messaging] - Re: LocalTx, ClientTransaction leak?

2008-01-09 Thread timfox
This doesn't look right to me. The only time that creating a connection, creating a session, doing something, then closing them is not an antipattern, is when you are using a JMS JCA resource adaptor. This is because when using a resource adaptor, when you call createConnection() it doesn't

[jboss-user] [JBoss Messaging] - Re: LocalTx, ClientTransaction leak?

2008-01-09 Thread timfox
Personally I try and discourage people from relying on resource adaptor caching and using the ejb-style create connection, create session, do something, close connection approach, since I believe this encourages poor JMS habits. One thing to note is the JMS resource adapter only caches JMS

[jboss-user] [JBoss Messaging] - Re: LocalTx, ClientTransaction leak?

2008-01-09 Thread timfox
Not related to you case, but creating consumers for each action is exactly what the Spring JMS template does, and is one reason why we can't recommend it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4118433#4118433 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: LocalTx, ClientTransaction leak?

2008-01-08 Thread timfox
Does this occur with the latest version of JBM? (1.4.0.SP3) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4117937#4117937 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4117937 ___

[jboss-user] [JBoss Messaging] - Re: Different Message id for each listener

2008-01-07 Thread timfox
assaf49 wrote : Hi Tim, we are not using a clustered connection. | However, we read in Jboss documentation (see http://docs.jboss.org/jbossas/javadoc/4.0.3SP1/j2ee/javax/jms/Connection.html) | that a JMS provider should attempt to resolve connection problems itself before it notifies the

[jboss-user] [JBoss Messaging] - Re: Different Message id for each listener

2008-01-07 Thread timfox
assaf49 wrote : | However, whilst connected, we would like our Listeners to be notified of gaps in the order. In other words we would like JBM to tell us when some kind of connection problem caused messages to be lost. | That can't happen, as long as the subscription is alive, there will

[jboss-user] [JBoss Messaging] - Re: Different Message id for each listener

2008-01-06 Thread timfox
Hello Assaf, I am still having trouble understanding your scenario: assaf49 wrote : | | Scenario Clarified: | 1) Producer sends Message A. | 2) BEFORE Message A is recieved, some Connection failure occurs on the Listeners side. Note that the client does NOT crash, it's just a 'small'

[jboss-user] [JBoss Messaging] - Re: XA Datasource?

2008-01-04 Thread timfox
I just added a FAQ on this: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessaging View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4116972#4116972 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4116972

[jboss-user] [JBoss Messaging] - Re: XA Datasource?

2008-01-04 Thread timfox
JBM does not rely on the database to provide XA functionality, so should not be used with an XA datasource. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4116970#4116970 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: MDB and clustered Topics

2008-01-04 Thread timfox
A Topic is JMS mechanism for publish-subscribe messaging. This basically means that multiple subscribers can subscribe to a particular topic (e,g, a news feed), and _all_ the subscribers will receive messages posted to that topic. JMS also supports what is known as point to point messaging

[jboss-user] [JBoss Messaging] - Re: MDB and clustered Topics

2008-01-04 Thread timfox
Ok I think I understand what you are doing now :) JBM does support clustered durable subscriptions. If you had multiple MDBs on different nodes of the cluster with the same client id and durable subscription name, then JBM will ensure that only one of them will get the message. This allows

[jboss-user] [JBoss Messaging] - Re: mysql persistence performance - high load + deadlocks

2008-01-04 Thread timfox
Could you try upgrading to 1.4.0.SP3? Also, on mysql, if you go to a mysql console and type show innodb status http://dev.mysql.com/doc/refman/5.0/en/innodb-monitor.html It will tell you what's causing the deadlocks. Based on that you may be able to add some indexes to prevent the deadlock.

<    2   3   4   5   6   7   8   9   10   11   >