-
Bug
-
Resolution: Done
-
Major
-
JBossAS-4.0.3 SP1, JBossAS-3.2.8RC1
-
None
If you don't specify a statemanager on the destination manager in JBossMQ,
you get an infinite loop.
/**
- Gets the ID attribute of the JMSServer object
* - @return The ID value
*/
public String getID()
{
String ID = null;
while (true)
{
try
{
synchronized (idLock)
stateManager.addLoggedOnClientId(ID);
break;
}
catch (Exception e)
{
}
}
The code interprets the NPE caused by a null statemanger as the generated client id is already logged in
and tries again, FOREVER.