JBoss Remoting 2.2.2??????Bug
???????????? ???????[ 2014/12/17 15:09:47 ] ??????????????? ??????
?????????????????????JBoss?????????semphore.attempt???????????????????????????????д????ж?????????????jboss??????????????????????????????????????????????????????????semphore.release()??
try
{
boolean tryPool = retryCount < (numberOfCallRetries - 1)
|| maxPoolSize == 1
|| numberOfCallRetries == 1;
long l = System.currentTimeMillis();
socketWrapper = getConnection(marshaller?? unmarshaller?? tryPool?? timeLeft);
long d = System.currentTimeMillis() - l;
if (trace) log.trace("took " + d + " ms to get socket " + socketWrapper);
}
catch (Exception e)
{
// if (bailOut)
// return null;
semaphore.release();
if (trace) log.trace(this + " released semaphore: " + semaphore.permits()?? e);
sockEx = new CannotConnectException(
"Can not get connection to server. Problem establishing " +
"socket connection for " + locator?? e);
continue;
}
?????????????????????2.2.2?汾??????bug???
????:)??????2.4???????????semphore??????????bug????????????????????????????????bug????fixed????????????Σ????bug?????????
???????bug???????jboss remoting?????????????????????????jboss remoting 2.2.2??jboss as 4.2.2????????汾??
???????????????????????semphore???????????????????????????С?????????????????????????????Щlong+Object Lock?????????????????????bug??????????????????????Щ????????????????????????????????????????Щ????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11