Every so often we start getting this error when we are trying to send a message to a local queue. Anyone know specifically what needs to be changed to stop getting this problem? Normally we just stop and restart JBOSS but that is not an optimal solution. I have attached the code that we use to send messages. Even if you don't know the answer to the question anyone want to give some pointers on things in the code that should be changed?