-
1. Re: How to resolve error javax.jms.InvalidClientIDException:
schrouf Apr 1, 2005 5:30 AM (in response to jens.schanz)Have a look into the JBoss source code
org.jboss.mq.server.ClientReconnectInterceptor
This might solve your problem :-)
Regards
Ulf -
2. Re: How to resolve error javax.jms.InvalidClientIDException:
jens.schanz Apr 1, 2005 7:06 AM (in response to jens.schanz)Hi,
i've done this before an uncommented this interceptor. Unfortunately is this interceptor not working correct. I've created an entry in the bug database with the result, that this interceptor was implemented in a dirty way and will be removed in future versions. So this is no solution for us.
Adrian Brock commented on JBAS-1626:
------------------------------------
I disagreed with this interceptor when it was first written
but let it pass because it is not enabled by default.
It was put there by the guy (who now works on ActriveMQ)
that wrote the buggy ILs that couldn't detect that a client crashed.
We no longer use those ILs.
It is a big security concern (to me) that one client can hijack another
client's subscription. It is certainly not spec compliant.
If you are telling me it does not work, I am more likely to delete it
than fix it.
There are no tests for this behaviour in the testsuite.
So unless you can provide a fix yourself, I am going to close
this as "Won't Fix" and remove the interceptor from the codebase. -
3. What IL's are working properly, in what release of jboss
bartvh Apr 1, 2005 7:42 AM (in response to jens.schanz)We are also experiencing the same problem, using HTTPIL in jboss-3.2.3. So I suspect that invocation layer is still 'buggy'?
-
4. Re: How to resolve error javax.jms.InvalidClientIDException:
bartvh Apr 7, 2005 8:29 AM (in response to jens.schanz)I am hesitating to install this ClientReconnectInterceptor, because of the change in semantics.
My new question is : would a ClientMonitorInterceptor also work? The idea is that this interceptor would close the stale connection (the connection won't be used because the client side has thrown away it's side). And thus recovering the client id.
Any comments?