This closes #3295
This commit is contained in:
commit
8ff072a4e8
|
@ -570,11 +570,12 @@ public class PagingStoreImpl implements PagingStore {
|
|||
SequentialFileFactory factory = null;
|
||||
try {
|
||||
factory = checkFileFactory();
|
||||
SequentialFile file = factory.createSequentialFile(fileName);
|
||||
return file.exists();
|
||||
} catch (Exception ignored) {
|
||||
logger.debug("PagingStoreFactory::checkPageFileExists never-throws assumption failed.", ignored);
|
||||
return false;
|
||||
}
|
||||
|
||||
SequentialFile file = factory.createSequentialFile(fileName);
|
||||
return file.exists();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -405,7 +405,7 @@ public final class ReplicationEndpoint implements ChannelHandler, ActiveMQCompon
|
|||
}
|
||||
}
|
||||
|
||||
if (this.channel != null && outgoingInterceptors != null) {
|
||||
if (channel != null && outgoingInterceptors != null) {
|
||||
if (channel.getConnection() instanceof RemotingConnectionImpl) {
|
||||
try {
|
||||
RemotingConnectionImpl impl = (RemotingConnectionImpl) channel.getConnection();
|
||||
|
|
|
@ -1335,7 +1335,7 @@ public class ActiveMQServerImpl implements ActiveMQServer {
|
|||
try {
|
||||
securityStore.stop();
|
||||
} catch (Throwable t) {
|
||||
ActiveMQServerLogger.LOGGER.errorStoppingComponent(t, managementService.getClass().getName());
|
||||
ActiveMQServerLogger.LOGGER.errorStoppingComponent(t, securityStore.getClass().getName());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue