[jboss-user] [JBoss Messaging] - Re: BisocketClientInvoker deadlock

2008-05-13 Thread timfox
Please state what versions of JBM and JBR you are using when making a post. Without that information no one will be able to help you. Please also ensure you have the correct versions of JBM and JBR on both the client and server side (as explained in the user guide). Also please paste a java

[jboss-user] [JBoss Messaging] - Re: BisocketClientInvoker deadlock

2008-05-13 Thread timfox
Next time it occurs, please get a kill -3 thread dump, and we'll take it from there. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4150333#4150333 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4150333

[jboss-user] [JBoss Messaging] - Re: BisocketClientInvoker deadlock

2008-05-13 Thread timfox
Can you get the stack using kill -3 please (or CTRL-BREAK on windows)? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4150338#4150338 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4150338

[jboss-user] [JBoss Messaging] - Re: getting messages by the order they were sent

2008-05-12 Thread timfox
I am failing to understand what this thread is about. JBM fully supports all ordering semantics as defined in the JMS spec. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4150052#4150052 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: getting messages by the order they were sent

2008-05-12 Thread timfox
That should certainly never happen. JBM will (as per JMS spec) always deliver messages in the order they were sent from a particular producer. Please post a simple test case demonstrating the issue. Also please mention what version of JBM you are using. View the original post :

[jboss-user] [JBoss Messaging] - Re: getting messages by the order they were sent

2008-05-10 Thread timfox
If you create a non durable subscriber it will only receive messages that are sent while that subscriber exists. That is *as per JMS spec*. If you want to receive messages that were sent while the subscriber is not is connected, you need to use a durable subscriber. Again, I would suggest

[jboss-user] [JBoss Messaging] - Re: How to prevent firewall from closing client connections

2008-05-10 Thread timfox
You can't configure JBoss Messaging to prevent your firewall closing connections! If your firewall decides to close connections then no application can stop it - if it could it would be a pretty useless firewall (think of the exploits). You need to read your firewall manual and find out how to

[jboss-user] [JBoss Messaging] - Re: JMS client in a applet

2008-05-10 Thread timfox
Please see my previous comment, here it is again :) anonymous wrote : | JBM doesn't support clients in applets or other restricted sandboxes (like webstart), this is because JBoss Remoting (which JBM 1.x uses) doesn't support this. | | This is being fixed in JBoss remoting 2.4.0, see

[jboss-user] [JBoss Messaging] - Re: Add setters/getters to the JMX MBean interface to MDB?

2008-05-10 Thread timfox
What has this got to do with JBoss Messaging? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149899#4149899 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149899 ___ jboss-user

[jboss-user] [JBoss Messaging] - Re: Improve performance on sending messages to a queue

2008-05-10 Thread timfox
This question is completely impossible to answer since it is totally subjective and lacks any meaningful information. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149900#4149900 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: QueueConnectionFactory.createQueueConnection is bloked

2008-05-10 Thread timfox
anonymous wrote : | Thank you very much Tom, that helps. No problem ;) By the way, my name is Tim, not Tom View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149901#4149901 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: JMS client in a applet

2008-05-10 Thread timfox
Not sure why you would need to patch JBM. AFAIK this is a JBoss Remoting issue. You should post this in the JBR forum so they are aware of this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149913#4149913 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: How to prevent firewall from closing client connections

2008-05-09 Thread timfox
Perhaps you should ask your firewall manufacturer or read your firewall manual? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149733#4149733 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149733

[jboss-user] [JBoss Messaging] - Re: Could Transparent Failover cause subscriber to miss out

2008-05-08 Thread timfox
scotthkao wrote : I read from the online document somewhere that one distinctive added feature of JBoss Messaging(JBM) is transparent failover, i.e. failover without the client-side code to handle connection exception. But I just wonder that could there be any message lost during the

[jboss-user] [JBoss Messaging] - Re: Is it possible to combine CORBA with JBoss messaging

2008-05-08 Thread timfox
JBoss Messaging does not use CORBA as a transport. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149317#4149317 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149317 ___

[jboss-user] [JBoss Messaging] - Re: Is it possible to combine CORBA with JBoss messaging

2008-05-08 Thread timfox
genman wrote : But maybe you could use Corba from an MDB? I don't know if that's technically the messaging system talking to legacy code. | Yes, maybe (IIOP), but that's not a JBoss Messaging question, that an EJB question :) View the original post :

[jboss-user] [JBoss Messaging] - Re: Could Transparent Failover cause subscriber to miss out

2008-05-08 Thread timfox
scotthkao wrote : So, the transparent failover of JBM can be turned off in the xml configuration file? | [/quote} | | Yes, this is covered in the user guide: |

[jboss-user] [JBoss Messaging] - Re: JMS client in a applet

2008-05-08 Thread timfox
JBM doesn't support clients in applets or other restricted sandboxes (like webstart), this is because JBoss Remoting (which JBM 1.x uses) doesn't support this. This is being fixed in JBoss remoting 2.4.0, see JIRA: http://jira.jboss.org/jira/browse/JBREM-978 View the original post :

[jboss-user] [JBoss Messaging] - Re: QueueConnectionFactory.createQueueConnection is bloked

2008-05-06 Thread timfox
I would check you have the correct version of JBoss Remoting on *both* the client and server side. The remoting jar should be on the client classpath before any other entries (see userguide). The same version should be on both the client and server side. View the original post :

[jboss-user] [JBoss Messaging] - Re: OutOfMemoryError with JBoss Messaging

2008-05-06 Thread timfox
harish43 wrote : | 1. Lookup /ConnectionFactory | 2. Lookup Queue | 3. Create Connection | 4. Create Session | 5. Create Producer | 6. Create Text Message | 7. Send message | 8. Create Consumer | 9. Start the connection | 10. Receive text message | 11. Close connection |

[jboss-user] [JBoss Messaging] - Re: OutOfMemoryError with JBoss Messaging

2008-05-06 Thread timfox
harish43 wrote : I | | 769946 .. 168189k . char[] | 2814906 . 98961k .. java.util.HashMap$Entry | 936726 .. 88564k .. java.util.HashMap$Entry[] | 2008055 . 54907k .. java.lang.String | 936446 .. 51211k .. java.util.HashMap | 434925 .. 25114k .. java.lang.Object[] | 634584 ..

[jboss-user] [JBoss Messaging] - Re: Exception: Did not load correct number of messages

2008-05-06 Thread timfox
Adding a FK constraint is not recommended. If you read the JIRA you will notice in a later comment I say Am 99.9% sure this is due to using a non transacted datastore so closing. In other words the FK comment is a *red herring* Also, you didn't mention what version of JBM you are using...

[jboss-user] [JBoss Messaging] - Re: Exception: Did not load correct number of messages

2008-05-06 Thread timfox
If you can produce a step by step description of how to replicate this issue we can re-open the JIRA and take a look. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4148767#4148767 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Where is 1.4.1.CR1?

2008-05-03 Thread timfox
Right, 1.4.1 is for JB 5 only - maybe you can get it to work with JBoss 4.x, maybe not. Once we've got JBM 2.0 alpha out we'll release another stable version for 4.x (where x =2), probably in the next coupld of months, depending on resources. View the original post :

[jboss-user] [JBoss Messaging] - Re: monitoring msg updates via queues

2008-05-01 Thread timfox
ssjboss wrote : please try this | | qbrowser = qsession.createBrowser(queue); | Enumeration e = qbrowser.getEnumeration(); // gets list of messages. | | while (e.hasMoreElements()) { |// counter variable | } | | --- | SS That's really not a good idea -

[jboss-user] [JBoss Messaging] - Re: Problem in creating Jboss Messaging .sar deploying

2008-05-01 Thread timfox
Read the stack trace! anonymous wrote : | Caused by: java.lang.NoSuchMethodException: src.service.Listener.() | It's saying you haven't defined a default constructor in your class. I suggest you do a little more research before posting on this forum :) View the original post :

[jboss-user] [JBoss Messaging] - Re: MQ migration help

2008-05-01 Thread timfox
tnine wrote : I haven't forgotten about this, but I have had to put it off while working on production issues. I'm now reading from the DLQ, however I'm getting very erratic behavior. Somtimes a read with receiveNoWait will return messages on the DLQ, other times I'll have to call it 4 or 5

[jboss-user] [JBoss Messaging] - Re: Simple Queue into a Clustered enviroment

2008-04-26 Thread timfox
Please post post JBoss MQ questions on the JBoss MQ forum, not the JBoss Messaging forum. See sticky post at the top of this forum, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146978#4146978 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: PLEASE DO NOT POST JBOSS MQ QUESTIONS HERE

2008-04-26 Thread timfox
Actually, that datasheet is pretty out of date now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146979#4146979 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146979 ___

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging JMS connection usage leading to problems

2008-04-26 Thread timfox
harish43 wrote : I am not certain whether we are using the JCA connection pool. Assuming that we are not using the connection pool is there a fix for the issue mentioned by Kevin Conner? It's slightly worrying that you don't know if your using the JCA managed conection factory or not, since

[jboss-user] [JBoss Messaging] - Re: ConnectionNotifier is produced: java.lang.NullPointerExc

2008-04-26 Thread timfox
The stack trace shows this is in jboss remoting. Have you tried asking in the jboss remoting forum? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146991#4146991 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146991

[jboss-user] [JBoss Messaging] - Re: JOBSS Messaging POC

2008-04-25 Thread timfox
Please do as Jeff has suggested, also please stop spamming this list with annoying messages about basic JNDI. If you do not understand how to use JNDI I would suggest buying good JNDI book or doing one of the surely many tutorials on line. After that, if JBoss JNDI is not working for you, try

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging JMS connection usage leading to problems

2008-04-25 Thread timfox
If you're using the JCA connection pool as you say, then the old problem should never occur since the JCA layer will cache connections. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146784#4146784 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Clustered server preference

2008-04-24 Thread timfox
chip_schoch wrote : Thank you Andy and Clebert for taking the time to explain this in detail. To reiterate, what you are saying is that if I need to have multiple consumers processing messages from a clustered queue in FIFO order, than I should have all my client consumers connect to the same

[jboss-user] [JBoss Messaging] - Re: JMSServerInvocationHandler deadlock

2008-04-15 Thread timfox
Short answer - don't use 1.3.0.GA. I believe this was fixed ages ago - look in JIRA and you should find the report. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4144220#4144220 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: JBM clustered connection factory and load balancing

2008-04-11 Thread timfox
jmesnil wrote : | The load balancing is not a true round robin: the local node is always favored if it can consume messages. | This avoids unnecessary network hops to send the message to another node if it can be consumed locally: | |

[jboss-user] [JBoss Messaging] - Re: Message redistibution between 2 MDB's

2008-04-10 Thread timfox
To elaborate on what Clebert has already said - also I think this has been covered before on other threads. JBoss Messaging has connection load balancing - this means that if you use a connection factory with the attribute supportsLoadBalancing set to true, then subsequent create connection

[jboss-user] [JBoss Messaging] - Re: Messaging gets hung up getting sockey

2008-04-03 Thread timfox
chip_schoch wrote : Isn't what I posted a stack trace? We have been looking into this and it seems that there is a firewall that is between the client and the server that drops connections that are inactive for a certain period of time. | | I am not sure what other stack trace you are

[jboss-user] [JBoss Messaging] - Re: Limiting the consumers producers of a queue

2008-04-03 Thread timfox
It seems like your real requirement here is to ensure that all messages from a queue are processed by only one consumer. Limiting consumers is one solution to that problem, another more flexible way is message grouping - which guarantees that messages in a specific group always get processed

[jboss-user] [JBoss Messaging] - Re: Limiting the consumers producers of a queue

2008-04-03 Thread timfox
The way message grouping would work is as follows: Before you send a message you set a special header on the message - not sure what it is going to be called yet, but let's call it GROUP_ID for now. Before JBM delivers the message to a consumer, it checks if the GROUP_ID header is present, if

[jboss-user] [JBoss Messaging] - Re: Limiting the consumers producers of a queue

2008-04-03 Thread timfox
dsmiley wrote : If group_id is not specified by the clients that connect then where is it specified? (i.e. how do I set REDHAT_STOCK in your example) | Sorry, to clarify, GROUP_ID is specified by the sender (consumer id isn't) anonymous wrote : | I tend to think my suggested

[jboss-user] [JBoss Messaging] - Re: ClassLoader issue with user classes and JBM 1.0.1SP4

2008-04-03 Thread timfox
This is a known issue http://jira.jboss.org/jira/browse/JBMESSAGING-924 which was fixed about a year ago. It's also discussed here: http://jboss.com/index.html?module=bbop=viewtopicp=4028694 Moral of the story: If you have a problem always search the forums and JIRA first to see if it's

[jboss-user] [JBoss Messaging] - Re: question with rollback/redelivery semantics

2008-04-01 Thread timfox
If a consumer is closed (is that what you mean by destroyed?), before the session is acknowledged, then the messages won't be visible to any other session until the session commits/rolls back. This is normal JMS operation. Can you be more specific about a) What you are doing b) What you

[jboss-user] [JBoss Messaging] - Re: OutOfMemory exception in JMS server

2008-04-01 Thread timfox
FullSize is the maximum number of messages to hold in memory for that queue at any one time PageSize is the number of messages to to load from disk in one go So yes, pageSize must be less than downCacheSize View the original post :

[jboss-user] [JBoss Messaging] - Re: Messaging gets hung up getting sockey

2008-04-01 Thread timfox
Stack trace please? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4140352#4140352 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4140352 ___ jboss-user mailing list

[jboss-user] [JBoss Messaging] - Re: question with rollback/redelivery semantics

2008-04-01 Thread timfox
If you have consumed messages via a message consumer and then roll back, the same session will receive the same stream of messages. This behaviour is as specified in the JMS spec. (1.1, sectons 4.4.7 and 4.4.11) If you have the same message consumer(s) open on that session, then it will

[jboss-user] [JBoss Messaging] - Re: question with rollback/redelivery semantics

2008-04-01 Thread timfox
rlucente wrote : I read the JMS spec but I didn't really see the description of a session/message affinity at rollback. | 4.4.7: ... If a transaction rollback is done, its produced messages are destroyed and its consumed messages are automatically recovered. For more information on

[jboss-user] [JBoss Messaging] - New IRC channel

2008-03-31 Thread timfox
Hello all- We've started up a new public IRC channel for JBoss Mesaging related chat. It's here: #jbossmessaging at irc.freenode.net. See you there :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4140259#4140259 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: OutOfMemory exception in JMS server

2008-03-31 Thread timfox
kgreiner wrote : I | | Should SimpleMessageReference directly reference the message or a key into the SimpleMessageStore? | | Yes, it should reference it directy [quote} Should I be setting FullSize and/or DownCacheSize? Documentation for either is rather lacking right now. View

[jboss-user] [JBoss Messaging] - Re: changing destinations-service.xml does not bound/unbound

2008-03-28 Thread timfox
subrata_jboss wrote : Thanks it works. | | if several client using several queue , restarting all the queue will cause | some problem. The unit of redeployment is the file. So if you want to redeploy different sets of queues separately you can put them in different files. BTW this is no

[jboss-user] [JBoss Messaging] - Re: Is it mandatory to have a shared database to deploy dist

2008-03-27 Thread timfox
In that version a database is required for persisting queue/topic information as well as message data. If you're not persisting message data you could just use a simple database like HSQL for persisting your queue/topic information. In the next 1.4 release there will be a null persistence

[jboss-user] [JBoss Messaging] - Re: PLEASE DO NOT POST JBOSS MQ QUESTIONS HERE

2008-03-27 Thread timfox
test View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4139450#4139450 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4139450 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss Messaging] - Re: PLEASE DO NOT POST JBOSS MQ QUESTIONS HERE

2008-03-27 Thread timfox
test2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4139498#4139498 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4139498 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss Messaging] - Re: Issues with JBM 1.4.0 SP3 and MSSQL 2005 express edition

2008-03-26 Thread timfox
Can you post the configuration for the datasource you are using? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138869#4138869 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138869

[jboss-user] [JBoss Messaging] - Re: Is it mandatory to have a shared database to deploy dist

2008-03-26 Thread timfox
What version of JBM are you using? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138870#4138870 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138870 ___ jboss-user mailing list

[jboss-user] [JBoss Messaging] - Re: Issues with JBM 1.4.0 SP3 and MSSQL 2005 express edition

2008-03-26 Thread timfox
I can see you're using an XA datasource. JBM needs a non XA datasource to function. You can find an MSSQL non xa datasource example in docs/examples/jca of your app server distribution. There have been a few other threads about this on this forum before, it's probably worth a search View the

[jboss-user] [JBoss Messaging] - Re: Failover on clustered queues causes thread leak

2008-03-26 Thread timfox
How many nodes did you start with, and how many did you failover? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138911#4138911 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138911

[jboss-user] [JBoss Messaging] - Re: Failover on clustered queues causes thread leak

2008-03-26 Thread timfox
One more question: How many connections and sessions do you have attached to each node when failover occurs? Do you see the same problem if you failover with no jms connections using the nodes? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138915#4138915

[jboss-user] [JBoss Messaging] - Re: Failover on clustered queues causes thread leak

2008-03-26 Thread timfox
Can i confirm you have no MDBs or any other consumers on the nodes? Also can you confirm which version of JBoss remoting you are using? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138943#4138943 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Failover on clustered queues causes thread leak

2008-03-26 Thread timfox
Ok, I think I know what is going on here. I should have it sorted by the end of the week. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4139051#4139051 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4139051

[jboss-user] [JBoss Messaging] - Re: Failover on clustered queues causes thread leak

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

[jboss-user] [JNDI/Naming/Network] - Re: Different ways of populating Context for sending message

2008-03-25 Thread timfox
[Moved from JBoss Messaging user forum] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138668#4138668 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138668 ___ jboss-user mailing

[jboss-user] [JBoss Messaging] - Re: problems connecting to a Queue

2008-03-18 Thread timfox
jeuk wrote : | Any ideas? You didn't start the connection: | connection.start(); | java.sun.com provides a good JMS tutorial which goes through the basics, I suggest trying it out. :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4137472#4137472

[jboss-user] [JBoss Messaging] - Re: problems connecting to a Queue

2008-03-18 Thread timfox
See the log4j site for how to configure log4j. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4137502#4137502 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4137502 ___ jboss-user

[jboss-user] [JBoss Messaging] - Re: no exception callback for JBM clients when server detect

2008-03-14 Thread timfox
I have added this task for someone to investigate whether this is a real issue or not: http://jira.jboss.org/jira/browse/JBMESSAGING-1249 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4136532#4136532 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Authentication of producers consumers in jboss messagi

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

[jboss-user] [JBoss Messaging] - Re: clustered messages stuck on queues

2008-03-12 Thread timfox
Dave, take a look at http://jira.jboss.org/jira/browse/JBMESSAGING-1245, maybe it explains your issue? Regarding batching, have a look at how the JBoss Messaging bridge does it. It uses onMessage(), and you can configure batches to have a maximum number of messages and/or a maximum time. View

[jboss-user] [JBoss Messaging] - Re: no exception callback for JBM clients when server detect

2008-03-12 Thread timfox
If you use a connection factory with enableFailover set to true, then when an exception occurs it will automatically try and reconnect to another server, so you won't get the exception unless it can't reconnect. See user guide If you don't want automatic failover then set to false and you will

[jboss-user] [JBoss Messaging] - Re: clustered messages stuck on queues

2008-03-11 Thread timfox
Hello Dave- Can you provide instructions on how to replicate the issue and we'll make sure someone investigates it further? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4135580#4135580 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: clustered messages stuck on queues

2008-03-11 Thread timfox
One thing that strikes me: You say you're using consumer.receive(1000) to receive messages from the queue. Are you saying you are polling in a loop? Any reason you don't use a MessageListener? What happens if the call to receive(1000) returns with null - this is perfectly possible even if

[jboss-user] [JBoss Messaging] - Re: clustered messages stuck on queues

2008-03-11 Thread timfox
That code doesn't look valid to me. The call to receive(1000) could legitimately return null even thought there are messages in the queue. This would cause it to break out of the loop and process the batch. Is this what you want? You could just do the same code in a message listener surely?

[jboss-user] [JBoss Messaging] - Re: messages stuck in queues

2008-03-11 Thread timfox
Looking at http://jira.jboss.org/jira/browse/JBMESSAGING-1245, I believe I can see a potential race condition which might give the behaviour observed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4135600#4135600 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: messages stuck in queues

2008-03-11 Thread timfox
Wickus: I have inspected the code and I believe I can see potential for a race condition, more here http://jira.jboss.org/jira/browse/JBMESSAGING-1245 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4135599#4135599 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: messages stuck in queues

2008-03-11 Thread timfox
Due to the non deterministic nature of thread scheduling this is hard to replicate since it requires, the call to changeRate to come in at that specific point, AFAICT this will only happen after the consumer is first created, so the condition is far more likely to occur if you are creating and

[jboss-user] [JBoss Messaging] - Re: having problems getting started with JMS in JBoss 5 Beta

2008-03-11 Thread timfox
czar_iv wrote : PeterJ, | | What version of JBoss messaging are you using | I am using 1.4.0.SP2. That's strange. JBoss AS 5.0 beta 4 comes *pre-installed* with JBoss Messaging 1.4.1.beta1 (see http://anonsvn.jboss.org/repos/jbossas/tags/JBoss_5_0_0_Beta4/build/build-thirdparty.xml).

[jboss-user] [JBoss Messaging] - Re: having problems getting started with JMS in JBoss 5 Beta

2008-03-11 Thread timfox
czar_iv wrote : ok, I am obviously new to JBoss and JBoss Messaging; I was trying the examples from JBoss Messaging 1.4.0 SP1. I'll download JBoss Messaging 1.4.1 beta 1 and try those examples. Thanks! You don't need to download anything apart from the app server. If you are using JBoss 5,

[jboss-user] [JBoss Messaging] - Re: having problems getting started with JMS in JBoss 5 Beta

2008-03-11 Thread timfox
rexer wrote : So can anybody see any obvious problems with my experimental code I posed in my original question? | | Sounds like most of you have tried annotations instead of using XML. Are those generally more reliable? | | I'll try to find the examples you folks are referring to.

[jboss-user] [JBoss Messaging] - Re: MDBs not getting messages after long run

2008-03-09 Thread timfox
mpr_prabhu wrote : | However would consider this as a defect in JBM as I expect it to handle it more gracefully and clean up expired messages or ensure these do not affect new messages | The JMS spec only requires that expired messages are never received by a consumer. It does not

[jboss-user] [JBoss Messaging] - Re: MDBs not getting messages after long run

2008-03-05 Thread timfox
There's no such release as JBoss Messaging 1.4.1.SP1. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134139#4134139 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134139 ___

[jboss-user] [JBoss Messaging] - Re: messages stuck in queues

2008-03-05 Thread timfox
Wickus - Can you clarify what value of prefetchSize and slowConsumers you were using when you saw the problem? Just to be clear- you're saying that the with the default values its ok, but when you change them to your values you get the problem? View the original post :

[jboss-user] [JBoss Messaging] - Re: messages stuck in queues

2008-03-05 Thread timfox
Sorry, I'm a bit confused. So, you're saying you saw the problem with the default, out of the box values, with no changes? What values do you need for your system - do you need to change the prefetchSize or slowconsumers? View the original post :

[jboss-user] [JBoss Messaging] - Re: messages stuck in queues

2008-03-05 Thread timfox
I want to try and replicate this on this end. Can you give me more information on your setup? Size of messages, number of messages, number of consumers etc etc. so we can replicate something similar? And what I should do to replicate? Looking at the code the only time consumecount gets

[jboss-user] [JBoss Messaging] - Re: MDBs not getting messages after long run

2008-03-05 Thread timfox
Does the same problem also occur with 1.4.0.SP3? Can you also ensure you are using JBoss Remoting 2.2.2.SP4? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134471#4134471 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: messages stuck in queues

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

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging clustering

2008-03-04 Thread timfox
Did you manage to successfully run the examples, including the clustering examples? (See user guide) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133820#4133820 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133820

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging clustering

2008-03-04 Thread timfox
Sounds like your installation failed. Did you follow the installation instructions in the user guide exactly? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134023#4134023 Reply to the post :

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

2008-03-04 Thread timfox
There was another thread on this forum recently which explained what libraries you need to use for JBoss 5, please have a search. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134021#4134021 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: receiveNoWait returns always null

2008-03-04 Thread timfox
There have been several other threads about receiveNoWait semantics on this forum. Please have a search. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134024#4134024 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134024

[jboss-user] [JBoss Messaging] - Re: Bridge problems across two clusters

2008-03-04 Thread timfox
Yes, I believe this has been fixed since the version you are using. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134053#4134053 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134053

[jboss-user] [JBoss Messaging] - Re: Bridge problems across two clusters

2008-03-04 Thread timfox
navjeetc wrote : | How about my other question about JMS provider jndi url setup? | There is a wiki page on how to set up bridge for remote providers: View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134067#4134067 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: messages stuck in queues

2008-03-03 Thread timfox
Hello Wickus- Can you ensure that you upgraded to remoting 2.2.2.SP4 on both client and server side? We had a few issues reported that sounded like this when remoting wasn't upgraded to 2.2.2SP4 everywhere in the system. Remoting 2.2.2.SP4 is not compatible with earlier versions. View the

[jboss-user] [JBoss Messaging] - Re: Unable to create native thread

2008-03-03 Thread timfox
I would check if you are creating a lot of sessions somewhere and not closing them. Common causes would be creating a connection, session, sending a message etc from inside an ejb, but not using the JCA managed connection factory at java:/JmsXA View the original post :

[jboss-user] [JBoss Messaging] - Re: Unable to send message

2008-03-03 Thread timfox
It means you're trying to send a message on a closed session which is illegal. Try and find where in your code the session is being closed. A common possibility would be you have an exception listener which closes the connection (which closes the session). View the original post :

[jboss-user] [JBoss Messaging] - New messaging blog

2008-03-02 Thread timfox
I have started a new messaging blog here http://jbossfox.blogspot.com :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133487#4133487 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133487

[jboss-user] [JBoss Messaging] - Re: Problem with JEMS JMS install: User is NOT authenticated

2008-02-28 Thread timfox
Personally I wouldn't bother with the installer, but install using the instructions in the user guide. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132868#4132868 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132868

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

2008-02-22 Thread timfox
sams wrote : | Evidently when JBoss creates the MDB, it create's the MDB's Message Listener from a Session that was created from a standard ConnectionFactory instead of the ClusteredConnectionFactory. I have not seen a setting in any of the config files so far to change this, so it may be

[jboss-user] [JBoss Messaging] - JBoss World JBM presentation

2008-02-22 Thread timfox
For those of you who couldn't make it to JBoss World last week, the presentations are now online: http://www.jbossworld.com/downloads/presentations/ Be sure to check out the JBoss Messaging presentation - it mainly goes into what's new in JBM 2.0 View the original post :

[jboss-user] [JBoss Messaging] - Re: Determining the number of messages in a topic

2008-02-22 Thread timfox
Well.. topics don't hold on to messages, so it wouldn't make sense to browse them. You can create multiple subscriptions on a particular topic, and it might make sense to browse them but JMS doesn't provide any such functionality. However with JBM you can use the JMX management interface to

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

2008-02-22 Thread timfox
There should be documentation on the stompconnect site about this. I haven't actually tried this myself View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4131548#4131548 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131548

[jboss-user] [JBoss Messaging] - Re: java.lang.RuntimeException: Failed to convert payload to

2008-02-22 Thread timfox
wow that's an old version :) Have a look through JIRA. It's more than likely that was solved in a later version. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4131546#4131546 Reply to the post :

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