1 package org.infinispan.util.logging;
2
3 import org.infinispan.IllegalLifecycleStateException;
4 import org.infinispan.commands.ReplicableCommand;
5 import org.infinispan.commands.tx.PrepareCommand;
6 import org.infinispan.commons.CacheConfigurationException;
7 import org.infinispan.commons.CacheException;
8 import org.infinispan.commons.CacheListenerException;
9 import org.infinispan.commons.marshall.AdvancedExternalizer;
10 import org.infinispan.commons.util.TypedProperties;
11 import org.infinispan.jmx.JmxDomainConflictException;
12 import org.infinispan.lifecycle.ComponentStatus;
13 import org.infinispan.partitionhandling.AvailabilityException;
14 import org.infinispan.partitionhandling.AvailabilityMode;
15 import org.infinispan.persistence.spi.PersistenceException;
16 import org.infinispan.persistence.support.SingletonCacheWriter;
17 import org.infinispan.remoting.RemoteException;
18 import org.infinispan.remoting.responses.Response;
19 import org.infinispan.remoting.transport.Address;
20 import org.infinispan.remoting.transport.jgroups.SuspectException;
21 import org.infinispan.topology.CacheTopology;
22 import org.infinispan.transaction.LockingMode;
23 import org.infinispan.transaction.TransactionMode;
24 import org.infinispan.transaction.impl.LocalTransaction;
25 import org.infinispan.transaction.xa.GlobalTransaction;
26 import org.infinispan.transaction.xa.recovery.RecoveryAwareRemoteTransaction;
27 import org.infinispan.transaction.xa.recovery.RecoveryAwareTransaction;
28 import org.infinispan.util.concurrent.TimeoutException;
29 import org.jboss.logging.BasicLogger;
30 import org.jboss.logging.annotations.Cause;
31 import org.jboss.logging.annotations.LogMessage;
32 import org.jboss.logging.annotations.Message;
33 import org.jboss.logging.annotations.MessageLogger;
34 import org.jgroups.View;
35
36 import javax.management.InstanceAlreadyExistsException;
37 import javax.management.MBeanRegistrationException;
38 import javax.management.ObjectName;
39 import javax.naming.NamingException;
40 import javax.transaction.Synchronization;
41 import javax.transaction.TransactionManager;
42 import javax.transaction.xa.XAException;
43 import javax.transaction.xa.XAResource;
44 import javax.xml.namespace.QName;
45
46 import java.io.File;
47 import java.io.IOException;
48 import java.lang.reflect.Method;
49 import java.net.URL;
50 import java.nio.channels.FileChannel;
51 import java.security.Permission;
52 import java.util.Collection;
53 import java.util.List;
54 import java.util.Map;
55 import java.util.UUID;
56
57 import static org.jboss.logging.Logger.Level.*;
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92 @MessageLogger(projectCode = "ISPN")
93 public interface Log extends BasicLogger {
94
95 @LogMessage(level = WARN)
96 @Message(value = "Unable to load %s from cache loader", id = 1)
97 void unableToLoadFromCacheLoader(Object key, @Cause PersistenceException cle);
98
99 @LogMessage(level = WARN)
100 @Message(value = "Field %s not found!!", id = 2)
101 void fieldNotFound(String fieldName);
102
103 @LogMessage(level = WARN)
104 @Message(value = "Property %s could not be replaced as intended!", id = 3)
105 void propertyCouldNotBeReplaced(String line);
106
107 @LogMessage(level = WARN)
108 @Message(value = "Unexpected error reading properties", id = 4)
109 void errorReadingProperties(@Cause IOException e);
110
111 @LogMessage(level = WARN)
112 @Message(value = "Detected write skew on key [%s]. Another process has changed the entry since we last read it! Unable to copy entry for update.", id = 5)
113 void unableToCopyEntryForUpdate(Object key);
114
115 @LogMessage(level = WARN)
116 @Message(value = "Failed remote execution on node %s", id = 6)
117 void remoteExecutionFailed(Address address, @Cause Throwable t);
118
119 @LogMessage(level = WARN)
120 @Message(value = "Failed local execution ", id = 7)
121 void localExecutionFailed(@Cause Throwable t);
122
123 @LogMessage(level = WARN)
124 @Message(value = "Can not select %s random members for %s", id = 8)
125 void cannotSelectRandomMembers(int numNeeded, List<Address> members);
126
127 @LogMessage(level = INFO)
128 @Message(value = "DistributionManager not yet joined the cluster. Cannot do anything about other concurrent joiners.", id = 14)
129 void distributionManagerNotJoined();
130
131 @LogMessage(level = WARN)
132 @Message(value = "DistributionManager not started after waiting up to 5 minutes! Not rehashing!", id = 15)
133 void distributionManagerNotStarted();
134
135 @LogMessage(level = WARN)
136 @Message(value = "Problem %s encountered when applying state for key %s!", id = 16)
137 void problemApplyingStateForKey(String msg, Object key, @Cause Throwable t);
138
139 @LogMessage(level = WARN)
140 @Message(value = "Unable to apply prepare %s", id = 18)
141 void unableToApplyPrepare(PrepareCommand pc, @Cause Throwable t);
142
143 @LogMessage(level = INFO)
144 @Message(value = "Couldn't acquire shared lock", id = 19)
145 void couldNotAcquireSharedLock();
146
147 @LogMessage(level = WARN)
148 @Message(value = "Expected just one response; got %s", id = 21)
149 void expectedJustOneResponse(Map<Address, Response> lr);
150
151 @LogMessage(level = INFO)
152 @Message(value = "wakeUpInterval is <= 0, not starting expired purge thread", id = 25)
153 void notStartingEvictionThread();
154
155 @LogMessage(level = WARN)
156 @Message(value = "Caught exception purging data container!", id = 26)
157 void exceptionPurgingDataContainer(@Cause Exception e);
158
159 @LogMessage(level = WARN)
160 @Message(value = "Could not acquire lock for eviction of %s", id = 27)
161 void couldNotAcquireLockForEviction(Object key, @Cause Exception e);
162
163 @LogMessage(level = WARN)
164 @Message(value = "Unable to passivate entry under %s", id = 28)
165 void unableToPassivateEntry(Object key, @Cause Exception e);
166
167 @LogMessage(level = INFO)
168 @Message(value = "Passivating all entries to disk", id = 29)
169 void passivatingAllEntries();
170
171 @LogMessage(level = INFO)
172 @Message(value = "Passivated %d entries in %s", id = 30)
173 void passivatedEntries(int numEntries, String duration);
174
175 @LogMessage(level = TRACE)
176 @Message(value = "MBeans were successfully registered to the platform MBean server.", id = 31)
177 void mbeansSuccessfullyRegistered();
178
179 @LogMessage(level = WARN)
180 @Message(value = "Problems un-registering MBeans", id = 32)
181 void problemsUnregisteringMBeans(@Cause Exception e);
182
183 @LogMessage(level = WARN)
184 @Message(value = "Unable to unregister Cache MBeans with pattern %s", id = 33)
185 void unableToUnregisterMBeanWithPattern(String pattern, @Cause MBeanRegistrationException e);
186
187 @Message(value = "There's already a JMX MBean instance %s already registered under " +
188 "'%s' JMX domain. If you want to allow multiple instances configured " +
189 "with same JMX domain enable 'allowDuplicateDomains' attribute in " +
190 "'globalJmxStatistics' config element", id = 34)
191 JmxDomainConflictException jmxMBeanAlreadyRegistered(String mBeanName, String jmxDomain);
192
193 @LogMessage(level = WARN)
194 @Message(value = "Could not reflect field description of this class. Was it removed?", id = 35)
195 void couldNotFindDescriptionField();
196
197 @LogMessage(level = WARN)
198 @Message(value = "Did not find attribute %s", id = 36)
199 void couldNotFindAttribute(String name);
200
201 @LogMessage(level = WARN)
202 @Message(value = "Failed to update attribute name %s with value %s", id = 37)
203 void failedToUpdateAttribute(String name, Object value);
204
205 @LogMessage(level = WARN)
206 @Message(value = "Method name %s doesn't start with \"get\", \"set\", or \"is\" " +
207 "but is annotated with @ManagedAttribute: will be ignored", id = 38)
208 void ignoringManagedAttribute(String methodName);
209
210 @LogMessage(level = WARN)
211 @Message(value = "Method %s must have a valid return type and zero parameters", id = 39)
212 void invalidManagedAttributeMethod(String methodName);
213
214 @LogMessage(level = WARN)
215 @Message(value = "Not adding annotated method %s since we already have read attribute", id = 40)
216 void readManagedAttributeAlreadyPresent(Method m);
217
218 @LogMessage(level = WARN)
219 @Message(value = "Not adding annotated method %s since we already have writable attribute", id = 41)
220 void writeManagedAttributeAlreadyPresent(String methodName);
221
222 @LogMessage(level = WARN)
223 @Message(value = "Did not find queried attribute with name %s", id = 42)
224 void queriedAttributeNotFound(String attributeName);
225
226 @LogMessage(level = WARN)
227 @Message(value = "Exception while writing value for attribute %s", id = 43)
228 void errorWritingValueForAttribute(String attributeName, @Cause Exception e);
229
230 @LogMessage(level = WARN)
231 @Message(value = "Could not invoke set on attribute %s with value %s", id = 44)
232 void couldNotInvokeSetOnAttribute(String attributeName, Object value);
233
234 @LogMessage(level = ERROR)
235 @Message(value = "Problems encountered while purging expired", id = 45)
236 void problemPurgingExpired(@Cause Exception e);
237
238 @LogMessage(level = ERROR)
239 @Message(value = "Unknown responses from remote cache: %s", id = 46)
240 void unknownResponsesFromRemoteCache(Collection<Response> responses);
241
242 @LogMessage(level = ERROR)
243 @Message(value = "Error while doing remote call", id = 47)
244 void errorDoingRemoteCall(@Cause Exception e);
245
246 @LogMessage(level = ERROR)
247 @Message(value = "Interrupted or timeout while waiting for AsyncCacheWriter worker threads to push all state to the decorated store", id = 48)
248 void interruptedWaitingAsyncStorePush(@Cause InterruptedException e);
249
250 @LogMessage(level = ERROR)
251 @Message(value = "Unexpected error", id = 51)
252 void unexpectedErrorInAsyncProcessor(@Cause Throwable t);
253
254 @LogMessage(level = ERROR)
255 @Message(value = "Interrupted on acquireLock for %d milliseconds!", id = 52)
256 void interruptedAcquiringLock(long ms, @Cause InterruptedException e);
257
258 @LogMessage(level = WARN)
259 @Message(value = "Unable to process some async modifications after %d retries!", id = 53)
260 void unableToProcessAsyncModifications(int retries);
261
262 @LogMessage(level = ERROR)
263 @Message(value = "Unexpected error in AsyncStoreCoordinator thread. AsyncCacheWriter is dead!", id = 55)
264 void unexpectedErrorInAsyncStoreCoordinator(@Cause Throwable t);
265
266 @LogMessage(level = ERROR)
267 @Message(value = "Exception reported changing cache active status", id = 58)
268 void errorChangingSingletonStoreStatus(@Cause SingletonCacheWriter.PushStateException e);
269
270 @LogMessage(level = WARN)
271 @Message(value = "Had problems removing file %s", id = 59)
272 void problemsRemovingFile(File f);
273
274 @LogMessage(level = WARN)
275 @Message(value = "Problems purging file %s", id = 60)
276 void problemsPurgingFile(File buckedFile, @Cause PersistenceException e);
277
278 @LogMessage(level = WARN)
279 @Message(value = "Unable to acquire global lock to purge cache store", id = 61)
280 void unableToAcquireLockToPurgeStore();
281
282 @LogMessage(level = ERROR)
283 @Message(value = "Error while reading from file: %s", id = 62)
284 void errorReadingFromFile(File f, @Cause Exception e);
285
286 @LogMessage(level = WARN)
287 @Message(value = "Problems creating the directory: %s", id = 64)
288 void problemsCreatingDirectory(File dir);
289
290 @LogMessage(level = ERROR)
291 @Message(value = "Exception while marshalling object: %s", id = 65)
292 void errorMarshallingObject(@Cause IOException ioe, Object obj);
293
294 @LogMessage(level = ERROR)
295 @Message(value = "Unable to read version id from first two bytes of stream, barfing.", id = 66)
296 void unableToReadVersionId();
297
298 @LogMessage(level = INFO)
299 @Message(value = "Will try and wait for the cache %s to start", id = 67)
300 void waitForCacheToStart(String cacheName);
301
302 @LogMessage(level = INFO)
303 @Message(value = "Cache named %s does not exist on this cache manager!", id = 68)
304 void namedCacheDoesNotExist(String cacheName);
305
306 @LogMessage(level = WARN)
307 @Message(value = "Caught exception when handling command %s", id = 71)
308 void exceptionHandlingCommand(ReplicableCommand cmd, @Cause Throwable t);
309
310 @LogMessage(level = ERROR)
311 @Message(value = "Failed replicating %d elements in replication queue", id = 72)
312 void failedReplicatingQueue(int size, @Cause Throwable t);
313
314 @LogMessage(level = ERROR)
315 @Message(value = "Unexpected error while replicating", id = 73)
316 void unexpectedErrorReplicating(@Cause Throwable t);
317
318 @LogMessage(level = ERROR)
319 @Message(value = "Message or message buffer is null or empty.", id = 77)
320 void msgOrMsgBufferEmpty();
321
322 @LogMessage(level = INFO)
323 @Message(value = "Starting JGroups channel %s", id = 78)
324 void startingJGroupsChannel(String cluster);
325
326 @LogMessage(level = INFO)
327 @Message(value = "Channel %s local address is %s, physical addresses are %s", id = 79)
328 void localAndPhysicalAddress(String cluster, Address address, List<Address> physicalAddresses);
329
330 @LogMessage(level = INFO)
331 @Message(value = "Disconnecting JGroups channel %s", id = 80)
332 void disconnectJGroups(String cluster);
333
334 @LogMessage(level = ERROR)
335 @Message(value = "Problem closing channel %s; setting it to null", id = 81)
336 void problemClosingChannel(@Cause Exception e, String cluster);
337
338 @LogMessage(level = INFO)
339 @Message(value = "Stopping the RpcDispatcher for channel %s", id = 82)
340 void stoppingRpcDispatcher(String cluster);
341
342 @LogMessage(level = ERROR)
343 @Message(value = "Class [%s] cannot be cast to JGroupsChannelLookup! Not using a channel lookup.", id = 83)
344 void wrongTypeForJGroupsChannelLookup(String channelLookupClassName, @Cause Exception e);
345
346 @LogMessage(level = ERROR)
347 @Message(value = "Errors instantiating [%s]! Not using a channel lookup.", id = 84)
348 void errorInstantiatingJGroupsChannelLookup(String channelLookupClassName, @Cause Exception e);
349
350 @Message(value = "Error while trying to create a channel using the specified configuration file: %s", id = 85)
351 CacheConfigurationException errorCreatingChannelFromConfigFile(String cfg, @Cause Exception e);
352
353 @Message(value = "Error while trying to create a channel using the specified configuration XML: %s", id = 86)
354 CacheConfigurationException errorCreatingChannelFromXML(String cfg, @Cause Exception e);
355
356 @Message(value = "Error while trying to create a channel using the specified configuration string: %s", id = 87)
357 CacheConfigurationException errorCreatingChannelFromConfigString(String cfg, @Cause Exception e);
358
359 @LogMessage(level = INFO)
360 @Message(value = "Unable to use any JGroups configuration mechanisms provided in properties %s. " +
361 "Using default JGroups configuration!", id = 88)
362 void unableToUseJGroupsPropertiesProvided(TypedProperties props);
363
364 @LogMessage(level = ERROR)
365 @Message(value = "getCoordinator(): Interrupted while waiting for members to be set", id = 89)
366 void interruptedWaitingForCoordinator(@Cause InterruptedException e);
367
368 @LogMessage(level = WARN)
369 @Message(value = "Channel not set up properly!", id = 92)
370 void channelNotSetUp();
371
372 @LogMessage(level = INFO)
373 @Message(value = "Received new, MERGED cluster view for channel %s: %s", id = 93)
374 void receivedMergedView(String cluster, View newView);
375
376 @LogMessage(level = INFO)
377 @Message(value = "Received new cluster view for channel %s: %s", id = 94)
378 void receivedClusterView(String cluster, View newView);
379
380 @LogMessage(level = ERROR)
381 @Message(value = "Error while processing a prepare in a single-phase transaction", id = 97)
382 void errorProcessing1pcPrepareCommand(@Cause Throwable e);
383
384 @LogMessage(level = ERROR)
385 @Message(value = "Exception while rollback", id = 98)
386 void errorRollingBack(@Cause Throwable e);
387
388 @LogMessage(level = ERROR)
389 @Message(value = "Unprocessed Transaction Log Entries! = %d", id = 99)
390 void unprocessedTxLogEntries(int size);
391
392 @LogMessage(level = WARN)
393 @Message(value = "Stopping, but there are %s local transactions and %s remote transactions that did not finish in time.", id = 100)
394 void unfinishedTransactionsRemain(int localTransactions, int remoteTransactions);
395
396 @LogMessage(level = WARN)
397 @Message(value = "Failed synchronization registration", id = 101)
398 void failedSynchronizationRegistration(@Cause Exception e);
399
400 @LogMessage(level = WARN)
401 @Message(value = "Unable to roll back global transaction %s", id = 102)
402 void unableToRollbackGlobalTx(GlobalTransaction gtx, @Cause Throwable e);
403
404 @LogMessage(level = ERROR)
405 @Message(value = "A remote transaction with the given id was already registered!!!", id = 103)
406 void remoteTxAlreadyRegistered();
407
408 @LogMessage(level = WARN)
409 @Message(value = "Falling back to DummyTransactionManager from Infinispan", id = 104)
410 void fallingBackToDummyTm();
411
412 @LogMessage(level = ERROR)
413 @Message(value = "Failed creating initial JNDI context", id = 105)
414 void failedToCreateInitialCtx(@Cause NamingException e);
415
416 @LogMessage(level = ERROR)
417 @Message(value = "Found WebSphere TransactionManager factory class [%s], but " +
418 "couldn't invoke its static 'getTransactionManager' method", id = 106)
419 void unableToInvokeWebsphereStaticGetTmMethod(@Cause Exception ex, String className);
420
421 @LogMessage(level = INFO)
422 @Message(value = "Retrieving transaction manager %s", id = 107)
423 void retrievingTm(TransactionManager tm);
424
425 @LogMessage(level = ERROR)
426 @Message(value = "Error enlisting resource", id = 108)
427 void errorEnlistingResource(@Cause XAException e);
428
429 @LogMessage(level = ERROR)
430 @Message(value = "beforeCompletion() failed for %s", id = 109)
431 void beforeCompletionFailed(Synchronization s, @Cause Throwable t);
432
433 @LogMessage(level = ERROR)
434 @Message(value = "Unexpected error from resource manager!", id = 110)
435 void unexpectedErrorFromResourceManager(@Cause Throwable t);
436
437 @LogMessage(level = ERROR)
438 @Message(value = "afterCompletion() failed for %s", id = 111)
439 void afterCompletionFailed(Synchronization s, @Cause Throwable t);
440
441 @LogMessage(level = WARN)
442 @Message(value = "exception while committing", id = 112)
443 void errorCommittingTx(@Cause XAException e);
444
445 @LogMessage(level = ERROR)
446 @Message(value = "Unbinding of DummyTransactionManager failed", id = 113)
447 void unbindingDummyTmFailed(@Cause NamingException e);
448
449 @LogMessage(level = ERROR)
450 @Message(value = "Unsupported combination (dldEnabled, recoveryEnabled, xa) = (%s, %s, %s)", id = 114)
451 void unsupportedTransactionConfiguration(boolean dldEnabled, boolean recoveryEnabled, boolean xa);
452
453 @LogMessage(level = WARN)
454 @Message(value = "Recovery call will be ignored as recovery is disabled. " +
455 "More on recovery: http://community.jboss.org/docs/DOC-16646", id = 115)
456 void recoveryIgnored();
457
458 @LogMessage(level = WARN)
459 @Message(value = "Missing the list of prepared transactions from node %s. " +
460 "Received response is %s", id = 116)
461 void missingListPreparedTransactions(Object key, Object value);
462
463 @LogMessage(level = ERROR)
464 @Message(value = "There's already a prepared transaction with this xid: %s. " +
465 "New transaction is %s. Are there two different transactions having same Xid in the cluster?", id = 117)
466 void preparedTxAlreadyExists(RecoveryAwareTransaction previous,
467 RecoveryAwareRemoteTransaction remoteTransaction);
468
469 @LogMessage(level = WARN)
470 @Message(value = "Could not load module at URL %s", id = 118)
471 void couldNotLoadModuleAtUrl(URL url, @Cause Exception ex);
472
473 @LogMessage(level = WARN)
474 @Message(value = "Module %s loaded, but could not be initialized", id = 119)
475 void couldNotInitializeModule(Object key, @Cause Exception ex);
476
477 @LogMessage(level = WARN)
478 @Message(value = "Invocation of %s threw an exception %s. Exception is ignored.", id = 120)
479 void ignoringException(String methodName, String exceptionName, @Cause Throwable t);
480
481 @LogMessage(level = ERROR)
482 @Message(value = "Unable to set value!", id = 121)
483 void unableToSetValue(@Cause Exception e);
484
485 @LogMessage(level = WARN)
486 @Message(value = "Unable to convert string property [%s] to an int! Using default value of %d", id = 122)
487 void unableToConvertStringPropertyToInt(String value, int defaultValue);
488
489 @LogMessage(level = WARN)
490 @Message(value = "Unable to convert string property [%s] to a long! Using default value of %d", id = 123)
491 void unableToConvertStringPropertyToLong(String value, long defaultValue);
492
493 @LogMessage(level = WARN)
494 @Message(value = "Unable to convert string property [%s] to a boolean! Using default value of %b", id = 124)
495 void unableToConvertStringPropertyToBoolean(String value, boolean defaultValue);
496
497 @LogMessage(level = WARN)
498 @Message(value = "Unable to invoke getter %s on Configuration.class!", id = 125)
499 void unableToInvokeGetterOnConfiguration(Method getter, @Cause Exception e);
500
501 @LogMessage(level = WARN)
502 @Message(value = "Attempted to stop() from FAILED state, but caught exception; try calling destroy()", id = 126)
503 void failedToCallStopAfterFailure(@Cause Throwable t);
504
505 @LogMessage(level = WARN)
506 @Message(value = "Needed to call stop() before destroying but stop() threw exception. Proceeding to destroy", id = 127)
507 void stopBeforeDestroyFailed(@Cause CacheException e);
508
509 @LogMessage(level = INFO)
510 @Message(value = "Infinispan version: %s", id = 128)
511 void version(String version);
512
513 @LogMessage(level = WARN)
514 @Message(value = "Received a remote call but the cache is not in STARTED state - ignoring call.", id = 129)
515 void cacheNotStarted();
516
517 @LogMessage(level = ERROR)
518 @Message(value = "Caught exception! Aborting join.", id = 130)
519 void abortingJoin(@Cause Exception e);
520
521 @LogMessage(level = INFO)
522 @Message(value = "%s completed join rehash in %s!", id = 131)
523 void joinRehashCompleted(Address self, String duration);
524
525 @LogMessage(level = INFO)
526 @Message(value = "%s aborted join rehash after %s!", id = 132)
527 void joinRehashAborted(Address self, String duration);
528
529 @LogMessage(level = WARN)
530 @Message(value = "Attempted to register listener of class %s, but no valid, " +
531 "public methods annotated with method-level event annotations found! " +
532 "Ignoring listener.", id = 133)
533 void noAnnotateMethodsFoundInListener(Class<?> listenerClass);
534
535 @LogMessage(level = WARN)
536 @Message(value = "Unable to invoke method %s on Object instance %s - " +
537 "removing this target object from list of listeners!", id = 134)
538 void unableToInvokeListenerMethodAndRemoveListener(Method m, Object target, @Cause Throwable e);
539
540 @LogMessage(level = WARN)
541 @Message(value = "Could not lock key %s in order to invalidate from L1 at node %s, skipping....", id = 135)
542 void unableToLockToInvalidate(Object key, Address address);
543
544 @LogMessage(level = ERROR)
545 @Message(value = "Execution error", id = 136)
546 void executionError(@Cause Throwable t);
547
548 @LogMessage(level = INFO)
549 @Message(value = "Failed invalidating remote cache", id = 137)
550 void failedInvalidatingRemoteCache(@Cause Exception e);
551
552 @LogMessage(level = INFO)
553 @Message(value = "Could not register object with name: %s", id = 138)
554 void couldNotRegisterObjectName(ObjectName objectName, @Cause InstanceAlreadyExistsException e);
555
556 @LogMessage(level = WARN)
557 @Message(value = "Infinispan configuration schema could not be resolved locally nor fetched from URL. Local path=%s, schema path=%s, schema URL=%s", id = 139)
558 void couldNotResolveConfigurationSchema(String localPath, String schemaPath, String schemaURL);
559
560 @LogMessage(level = WARN)
561 @Message(value = "Lazy deserialization configuration is deprecated, please use storeAsBinary instead", id = 140)
562 void lazyDeserializationDeprecated();
563
564 @LogMessage(level = WARN)
565 @Message(value = "Could not rollback prepared 1PC transaction. This transaction will be rolled back by the recovery process, if enabled. Transaction: %s", id = 141)
566 void couldNotRollbackPrepared1PcTransaction(LocalTransaction localTransaction, @Cause Throwable e1);
567
568 @LogMessage(level = WARN)
569 @Message(value = "Received a key that doesn't map to this node: %s, mapped to %s", id = 143)
570 void keyDoesNotMapToLocalNode(Object key, Collection<Address> nodes);
571
572 @LogMessage(level = WARN)
573 @Message(value = "Failed loading value for key %s from cache store", id = 144)
574 void failedLoadingValueFromCacheStore(Object key, @Cause Exception e);
575
576 @LogMessage(level = ERROR)
577 @Message(value = "Error invalidating keys from L1 after rehash", id = 147)
578 void failedToInvalidateKeys(@Cause Exception e);
579
580 @LogMessage(level = WARN)
581 @Message(value = "Invalid %s value of %s. It can not be higher than %s which is %s", id = 148)
582 void invalidTimeoutValue(Object configName1, Object value1, Object configName2, Object value2);
583
584 @LogMessage(level = WARN)
585 @Message(value = "Fetch persistent state and purge on startup are both disabled, cache may contain stale entries on startup", id = 149)
586 void staleEntriesWithoutFetchPersistentStateOrPurgeOnStartup();
587
588 @LogMessage(level = FATAL)
589 @Message(value = "Rehash command received on non-distributed cache. All the nodes in the cluster should be using the same configuration.", id = 150)
590 void rehashCommandReceivedOnNonDistributedCache();
591
592 @LogMessage(level = ERROR)
593 @Message(value = "Error flushing to file: %s", id = 151)
594 void errorFlushingToFileChannel(FileChannel f, @Cause Exception e);
595
596 @LogMessage(level = INFO)
597 @Message(value = "Passivation configured without an eviction policy being selected. " +
598 "Only manually evicted entities will be passivated.", id = 152)
599 void passivationWithoutEviction();
600
601
602
603 @LogMessage(level = ERROR)
604 @Message(value = "Unable to unlock keys %2$s for transaction %1$s after they were rebalanced off node %3$s", id = 154)
605 void unableToUnlockRebalancedKeys(GlobalTransaction gtx, List<Object> keys, Address self, @Cause Throwable t);
606
607 @LogMessage(level = WARN)
608 @Message(value = "Unblocking transactions failed", id = 159)
609 void errorUnblockingTransactions(@Cause Exception e);
610
611 @LogMessage(level = WARN)
612 @Message(value = "Could not complete injected transaction.", id = 160)
613 void couldNotCompleteInjectedTransaction(@Cause Throwable t);
614
615 @LogMessage(level = INFO)
616 @Message(value = "Using a batchMode transaction manager", id = 161)
617 void usingBatchModeTransactionManager();
618
619 @LogMessage(level = INFO)
620 @Message(value = "Could not instantiate transaction manager", id = 162)
621 void couldNotInstantiateTransactionManager(@Cause Exception e);
622
623 @LogMessage(level = WARN)
624 @Message(value = "FileCacheStore ignored an unexpected file %2$s in path %1$s. The store path should be dedicated!", id = 163)
625 void cacheLoaderIgnoringUnexpectedFile(Object parentPath, String name);
626
627 @LogMessage(level = ERROR)
628 @Message(value = "Rolling back to cache view %d, but last committed view is %d", id = 164)
629 void cacheViewRollbackIdMismatch(int committedViewId, int committedView);
630
631 @LogMessage(level = INFO)
632 @Message(value = "Strict peer-to-peer is enabled but the JGroups channel was started externally - this is very likely to result in RPC timeout errors on startup", id = 171)
633 void warnStrictPeerToPeerWithInjectedChannel();
634
635 @LogMessage(level = ERROR)
636 @Message(value = "Custom interceptor %s has used @Inject, @Start or @Stop. These methods will not be processed. Please extend org.infinispan.interceptors.base.BaseCustomInterceptor instead, and your custom interceptor will have access to a cache and cacheManager. Override stop() and start() for lifecycle methods.", id = 173)
637 void customInterceptorExpectsInjection(String customInterceptorFQCN);
638
639 @LogMessage(level = WARN)
640 @Message(value = "Unexpected error reading configuration", id = 174)
641 void errorReadingConfiguration(@Cause Exception e);
642
643 @LogMessage(level = WARN)
644 @Message(value = "Unexpected error closing resource", id = 175)
645 void failedToCloseResource(@Cause Throwable e);
646
647 @LogMessage(level = WARN)
648 @Message(value = "The 'wakeUpInterval' attribute of the 'eviction' configuration XML element is deprecated. Setting the 'wakeUpInterval' attribute of the 'expiration' configuration XML element to %d instead", id = 176)
649 void evictionWakeUpIntervalDeprecated(Long wakeUpInterval);
650
651 @LogMessage(level = WARN)
652 @Message(value = "%s has been deprecated as a synonym for %s. Use one of %s instead", id = 177)
653 void randomCacheModeSynonymsDeprecated(String candidate, String mode, List<String> synonyms);
654
655 @LogMessage(level = WARN)
656 @Message(value = "stateRetrieval's 'alwaysProvideInMemoryState' attribute is no longer in use, " +
657 "instead please make sure all instances of this named cache in the cluster have 'fetchInMemoryState' attribute enabled", id = 178)
658 void alwaysProvideInMemoryStateDeprecated();
659
660 @LogMessage(level = WARN)
661 @Message(value = "stateRetrieval's 'initialRetryWaitTime' attribute is no longer in use.", id = 179)
662 void initialRetryWaitTimeDeprecated();
663
664 @LogMessage(level = WARN)
665 @Message(value = "stateRetrieval's 'logFlushTimeout' attribute is no longer in use.", id = 180)
666 void logFlushTimeoutDeprecated();
667
668 @LogMessage(level = WARN)
669 @Message(value = "stateRetrieval's 'maxProgressingLogWrites' attribute is no longer in use.", id = 181)
670 void maxProgressingLogWritesDeprecated();
671
672 @LogMessage(level = WARN)
673 @Message(value = "stateRetrieval's 'numRetries' attribute is no longer in use.", id = 182)
674 void numRetriesDeprecated();
675
676 @LogMessage(level = WARN)
677 @Message(value = "stateRetrieval's 'retryWaitTimeIncreaseFactor' attribute is no longer in use.", id = 183)
678 void retryWaitTimeIncreaseFactorDeprecated();
679
680 @LogMessage(level = INFO)
681 @Message(value = "The stateRetrieval configuration element has been deprecated, " +
682 "we're assuming you meant stateTransfer. Please see XML schema for more information.", id = 184)
683 void stateRetrievalConfigurationDeprecated();
684
685 @LogMessage(level = INFO)
686 @Message(value = "hash's 'rehashEnabled' attribute has been deprecated. Please use stateTransfer.fetchInMemoryState instead", id = 185)
687 void hashRehashEnabledDeprecated();
688
689 @LogMessage(level = INFO)
690 @Message(value = "hash's 'rehashRpcTimeout' attribute has been deprecated. Please use stateTransfer.timeout instead", id = 186)
691 void hashRehashRpcTimeoutDeprecated();
692
693 @LogMessage(level = INFO)
694 @Message(value = "hash's 'rehashWait' attribute has been deprecated. Please use stateTransfer.timeout instead", id = 187)
695 void hashRehashWaitDeprecated();
696
697 @LogMessage(level = ERROR)
698 @Message(value = "Error while processing a commit in a two-phase transaction", id = 188)
699 void errorProcessing2pcCommitCommand(@Cause Throwable e);
700
701 @LogMessage(level = WARN)
702 @Message(value = "While stopping a cache or cache manager, one of its components failed to stop", id = 189)
703 void componentFailedToStop(@Cause Throwable e);
704
705 @LogMessage(level = WARN)
706 @Message(value = "Use of the 'loader' element to configure a store is deprecated, please use the 'store' element instead", id = 190)
707 void deprecatedLoaderAsStoreConfiguration();
708
709 @LogMessage(level = DEBUG)
710 @Message(value = "When indexing locally a cache with shared cache loader, preload must be enabled", id = 191)
711 void localIndexingWithSharedCacheLoaderRequiresPreload();
712
713 @LogMessage(level = WARN)
714 @Message(value = "hash's 'numVirtualNodes' attribute has been deprecated. Please use hash.numSegments instead", id = 192)
715 void hashNumVirtualNodesDeprecated();
716
717 @LogMessage(level = WARN)
718 @Message(value = "hash's 'consistentHash' attribute has been deprecated. Please use hash.consistentHashFactory instead", id = 193)
719 void consistentHashDeprecated();
720
721 @LogMessage(level = WARN)
722 @Message(value = "Failed loading keys from cache store", id = 194)
723 void failedLoadingKeysFromCacheStore(@Cause Exception e);
724
725 @LogMessage(level = ERROR)
726 @Message(value = "Error during rebalance for cache %s on node %s", id = 195)
727 void rebalanceError(String cacheName, Address node, @Cause Throwable cause);
728
729 @LogMessage(level = ERROR)
730 @Message(value = "Failed to recover cluster state after the current node became the coordinator", id = 196)
731 void failedToRecoverClusterState(@Cause Throwable cause);
732
733 @LogMessage(level = WARN)
734 @Message(value = "Error updating cluster member list", id = 197)
735 void errorUpdatingMembersList(@Cause Throwable cause);
736
737 @LogMessage(level = INFO)
738 @Message(value = "Unable to register MBeans for default cache", id = 198)
739 void unableToRegisterMBeans();
740
741 @LogMessage(level = INFO)
742 @Message(value = "Unable to register MBeans for named cache %s", id = 199)
743 void unableToRegisterMBeans(String cacheName);
744
745 @LogMessage(level = INFO)
746 @Message(value = "Unable to register MBeans for cache manager", id = 200)
747 void unableToRegisterCacheManagerMBeans();
748
749 @LogMessage(level = TRACE)
750 @Message(value = "This cache is configured to backup to its own site (%s).", id = 201)
751 void cacheBackupsDataToSameSite(String siteName);
752
753 @LogMessage(level = WARN)
754 @Message(value = "Problems backing up data for cache %s to site %s: %s", id = 202)
755 void warnXsiteBackupFailed(String cacheName, String key, Object value);
756
757 @LogMessage(level = WARN)
758 @Message(value = "The rollback request for tx %s cannot be processed by the cache %s as this cache is not transactional!", id=203)
759 void cannotRespondToRollback(GlobalTransaction globalTransaction, String cacheName);
760
761 @LogMessage(level = WARN)
762 @Message(value = "The commit request for tx %s cannot be processed by the cache %s as this cache is not transactional!", id=204)
763 void cannotRespondToCommit(GlobalTransaction globalTransaction, String cacheName);
764
765 @LogMessage(level = WARN)
766 @Message(value = "Trying to bring back an non-existent site (%s)!", id=205)
767 void tryingToBringOnlineNonexistentSite(String siteName);
768
769 @LogMessage(level = WARN)
770 @Message(value = "Could not execute cancelation command locally %s", id=206)
771 void couldNotExecuteCancellationLocally(String message);
772
773 @LogMessage(level = WARN)
774 @Message(value = "Could not interrupt as no thread found for command uuid %s", id=207)
775 void couldNotInterruptThread(UUID id);
776
777 @LogMessage(level = ERROR)
778 @Message(value = "No live owners found for segment %d of cache %s. Current owners are: %s. Faulty owners: %s", id=208)
779 void noLiveOwnersFoundForSegment(int segmentId, String cacheName, Collection<Address> owners, Collection<Address> faultySources);
780
781 @LogMessage(level = WARN)
782 @Message(value = "Failed to retrieve transactions for segments %s of cache %s from node %s", id=209)
783 void failedToRetrieveTransactionsForSegments(Collection<Integer> segments, String cacheName, Address source, @Cause Exception e);
784
785 @LogMessage(level = WARN)
786 @Message(value = "Failed to request segments %s of cache %s from node %s (node will not be retried)", id=210)
787 void failedToRequestSegments(Collection<Integer> segments, String cacheName, Address source, @Cause Throwable e);
788
789 @LogMessage(level = ERROR)
790 @Message(value = "Unable to load %s from any of the following classloaders: %s", id=213)
791 void unableToLoadClass(String classname, String classloaders, @Cause Throwable cause);
792
793 @LogMessage(level = WARN)
794 @Message(value = "Unable to remove entry under %s from cache store after activation", id = 214)
795 void unableToRemoveEntryAfterActivation(Object key, @Cause Exception e);
796
797 @Message(value = "Unknown migrator %s", id=215)
798 Exception unknownMigrator(String migratorName);
799
800 @LogMessage(level = INFO)
801 @Message(value = "%d entries migrated to cache %s in %s", id = 216)
802 void entriesMigrated(long count, String name, String prettyTime);
803
804 @Message(value = "Received exception from %s, see cause for remote stack trace", id = 217)
805 RemoteException remoteException(Address sender, @Cause Throwable t);
806
807 @LogMessage(level = INFO)
808 @Message(value = "Timeout while waiting for the transaction validation. The command will not be processed. " +
809 "Transaction is %s", id = 218)
810 void timeoutWaitingUntilTransactionPrepared(String globalTx);
811
812 @LogMessage(level = WARN)
813 @Message(value = "Shutdown while handling command %s", id = 219)
814 void shutdownHandlingCommand(ReplicableCommand command);
815
816 @LogMessage(level = WARN)
817 @Message(value = "Problems un-marshalling remote command from byte buffer", id = 220)
818 void errorUnMarshallingCommand(@Cause Throwable throwable);
819
820 @LogMessage(level = WARN)
821 @Message(value = "Unknown response value [%s]. Expected [%s]", id = 221)
822 void unexpectedResponse(String actual, String expected);
823
824 @Message(value = "Custom interceptor missing class", id = 222)
825 CacheConfigurationException customInterceptorMissingClass();
826
827 @LogMessage(level = WARN)
828 @Message(value = "Custom interceptor '%s' does not extend BaseCustomInterceptor, which is recommended", id = 223)
829 void suggestCustomInterceptorInheritance(String customInterceptorClassName);
830
831 @Message(value = "Custom interceptor '%s' specifies more than one position", id = 224)
832 CacheConfigurationException multipleCustomInterceptorPositions(String customInterceptorClassName);
833
834 @Message(value = "Custom interceptor '%s' doesn't specify a position", id = 225)
835 CacheConfigurationException missingCustomInterceptorPosition(String customInterceptorClassName);
836
837 @Message(value = "Error while initializing SSL context", id = 226)
838 CacheConfigurationException sslInitializationException(@Cause Throwable e);
839
840 @LogMessage(level = WARN)
841 @Message(value = "Support for concurrent updates can no longer be configured (it is always enabled by default)", id = 227)
842 void warnConcurrentUpdateSupportCannotBeConfigured();
843
844 @LogMessage(level = ERROR)
845 @Message(value = "Failed to recover cache %s state after the current node became the coordinator", id = 228)
846 void failedToRecoverCacheState(String cacheName, @Cause Throwable cause);
847
848 @Message(value = "Unexpected initial version type (only NumericVersion instances supported): %s", id = 229)
849 IllegalArgumentException unexpectedInitialVersion(String className);
850
851 @LogMessage(level = ERROR)
852 @Message(value = "Failed to start rebalance for cache %s", id = 230)
853 void rebalanceStartError(String cacheName, @Cause Throwable cause);
854
855 @Message(value="Cache mode should be DIST or REPL, rather than %s", id = 231)
856 IllegalStateException requireDistOrReplCache(String cacheType);
857
858 @Message(value="Cache is in an invalid state: %s", id = 232)
859 IllegalStateException invalidCacheState(String cacheState);
860
861 @Message(value = "Root element for %s already registered in ParserRegistry", id = 234)
862 IllegalArgumentException parserRootElementAlreadyRegistered(QName qName);
863
864 @Message(value = "Configuration parser %s does not declare any Namespace annotations", id = 235)
865 CacheConfigurationException parserDoesNotDeclareNamespaces(String name);
866
867 @Message(value = "Purging expired entries failed", id = 236)
868 PersistenceException purgingExpiredEntriesFailed(@Cause Throwable cause);
869
870 @Message(value = "Waiting for expired entries to be purge timed out", id = 237)
871 PersistenceException timedOutWaitingForExpiredEntriesToBePurged(@Cause Throwable cause);
872
873 @Message(value = "Directory %s does not exist and cannot be created!", id = 238)
874 CacheConfigurationException directoryCannotBeCreated(String path);
875
876 @Message(value="Cache manager is shutting down, so type write externalizer for type=%s cannot be resolved", id = 239)
877 IOException externalizerTableStopped(String className);
878
879 @Message(value="Cache manager is shutting down, so type (id=%d) cannot be resolved. Interruption being pushed up.", id = 240)
880 IOException pushReadInterruptionDueToCacheManagerShutdown(int readerIndex, @Cause InterruptedException cause);
881
882 @Message(value="Cache manager is %s and type (id=%d) cannot be resolved (thread not interrupted)", id = 241)
883 CacheException cannotResolveExternalizerReader(ComponentStatus status, int readerIndex);
884
885 @Message(value="Missing foreign externalizer with id=%s, either externalizer was not configured by client, or module lifecycle implementation adding externalizer was not loaded properly", id = 242)
886 CacheException missingForeignExternalizer(int foreignId);
887
888 @Message(value="Type of data read is unknown. Id=%d is not amongst known reader indexes.", id = 243)
889 CacheException unknownExternalizerReaderIndex(int readerIndex);
890
891 @Message(value="AdvancedExternalizer's getTypeClasses for externalizer %s must return a non-empty set", id = 244)
892 CacheConfigurationException advanceExternalizerTypeClassesUndefined(String className);
893
894 @Message(value="Duplicate id found! AdvancedExternalizer id=%d for %s is shared by another externalizer (%s). Reader index is %d", id = 245)
895 CacheConfigurationException duplicateExternalizerIdFound(int externalizerId, Class<?> typeClass, String otherExternalizer, int readerIndex);
896
897 @Message(value="Internal %s externalizer is using an id(%d) that exceeded the limit. It needs to be smaller than %d", id = 246)
898 CacheConfigurationException internalExternalizerIdLimitExceeded(AdvancedExternalizer<?> ext, int externalizerId, int maxId);
899
900 @Message(value="Foreign %s externalizer is using a negative id(%d). Only positive id values are allowed.", id = 247)
901 CacheConfigurationException foreignExternalizerUsingNegativeId(AdvancedExternalizer<?> ext, int externalizerId);
902
903 @Message(value = "Invalid cache loader configuration!! Only ONE cache loader may have fetchPersistentState set " +
904 "to true. Cache will not start!", id = 248)
905 CacheConfigurationException multipleCacheStoresWithFetchPersistentState();
906
907 @Message(value = "The cache loader configuration %s does not specify the loader class using @ConfigurationFor", id = 249)
908 CacheConfigurationException loaderConfigurationDoesNotSpecifyLoaderClass(String className);
909
910 @Message(value = "Invalid configuration, expecting '%s' got '%s' instead", id = 250)
911 CacheConfigurationException incompatibleLoaderConfiguration(String expected, String actual);
912
913 @Message(value = "Cache Loader configuration cannot be null", id = 251)
914 CacheConfigurationException cacheLoaderConfigurationCannotBeNull();
915
916 @LogMessage(level = ERROR)
917 @Message(value = "Error executing parallel store task", id = 252)
918 void errorExecutingParallelStoreTask(@Cause Throwable cause);
919
920 @Message(value = "Invalid Cache Loader class: %s", id = 253)
921 CacheConfigurationException invalidCacheLoaderClass(String name);
922
923 @LogMessage(level = WARN)
924 @Message(value = "The transport element's 'strictPeerToPeer' attribute is no longer in use.", id = 254)
925 void strictPeerToPeerDeprecated();
926
927 @LogMessage(level = ERROR)
928 @Message(value = "Error while processing prepare", id = 255)
929 void errorProcessingPrepare(@Cause Throwable e);
930
931 @LogMessage(level = ERROR)
932 @Message(value = "Configurator SAXParse error", id = 256)
933 void configuratorSAXParseError(@Cause Exception e);
934
935 @LogMessage(level = ERROR)
936 @Message(value = "Configurator SAX error", id = 257)
937 void configuratorSAXError(@Cause Exception e);
938
939 @LogMessage(level = ERROR)
940 @Message(value = "Configurator general error", id = 258)
941 void configuratorError(@Cause Exception e);
942
943 @LogMessage(level = ERROR)
944 @Message(value = "Async store executor did not stop properly", id = 259)
945 void errorAsyncStoreNotStopped();
946
947 @LogMessage(level = ERROR)
948 @Message(value = "Exception executing command", id = 260)
949 void exceptionExecutingInboundCommand(@Cause Exception e);
950
951 @LogMessage(level = ERROR)
952 @Message(value = "Failed to execute outbound transfer", id = 261)
953 void failedOutBoundTransferExecution(@Cause Throwable e);
954
955 @LogMessage(level = ERROR)
956 @Message(value = "Failed to enlist TransactionXaAdapter to transaction", id = 262)
957 void failedToEnlistTransactionXaAdapter(@Cause Throwable e);
958
959 @LogMessage(level = WARN)
960 @Message(value = "FIFO strategy is deprecated, LRU will be used instead", id = 263)
961 void warnFifoStrategyIsDeprecated();
962
963 @LogMessage(level = WARN)
964 @Message(value = "Not using an L1 invalidation reaper thread. This could lead to memory leaks as the requestors map may grow indefinitely!", id = 264)
965 void warnL1NotHavingReaperThread();
966
967 @LogMessage(level = WARN)
968 @Message(value = "Unable to reset GlobalComponentRegistry after a failed restart!", id = 265)
969 void unableToResetGlobalComponentRegistryAfterRestart(@Cause Exception e);
970
971 @LogMessage(level = WARN)
972 @Message(value = "Unable to reset GlobalComponentRegistry after a failed restart due to an exception of type %s with message %s. Use DEBUG level logging for full exception details.", id = 266)
973 void unableToResetGlobalComponentRegistryAfterRestart(String type, String message, @Cause Exception e);
974
975 @LogMessage(level = WARN)
976 @Message(value = "Problems creating interceptor %s", id = 267)
977 void unableToCreateInterceptor(Class type, @Cause Exception e);
978
979 @LogMessage(level = WARN)
980 @Message(value = "Unable to broadcast evicts as a part of the prepare phase. Rolling back.", id = 268)
981 void unableToRollbackEvictionsDuringPrepare(@Cause Throwable e);
982
983 @LogMessage(level = WARN)
984 @Message(value = "Cache used for Grid metadata should be synchronous.", id = 269)
985 void warnGridFSMetadataCacheRequiresSync();
986
987 @LogMessage(level = WARN)
988 @Message(value = "Could not commit local tx %s", id = 270)
989 void warnCouldNotCommitLocalTx(Object transactionDescription, @Cause Exception e);
990
991 @LogMessage(level = WARN)
992 @Message(value = "Could not rollback local tx %s", id = 271)
993 void warnCouldNotRollbackLocalTx(Object transactionDescription, @Cause Exception e);
994
995 @LogMessage(level = WARN)
996 @Message(value = "Exception removing recovery information", id = 272)
997 void warnExceptionRemovingRecovery(@Cause Exception e);
998
999 @Message(value = "Indexing can not be enabled on caches in Invalidation mode", id = 273)
1000 CacheConfigurationException invalidConfigurationIndexingWithInvalidation();
1001
1002 @LogMessage(level = ERROR)
1003 @Message(value = "Persistence enabled without any CacheLoaderInterceptor in InterceptorChain!", id = 274)
1004 void persistenceWithoutCacheLoaderInterceptor();
1005
1006 @LogMessage(level = ERROR)
1007 @Message(value = "Persistence enabled without any CacheWriteInterceptor in InterceptorChain!", id = 275)
1008 void persistenceWithoutCacheWriteInterceptor();
1009
1010 @Message(value = "Could not find migration data in cache %s", id = 276)
1011 CacheException missingMigrationData(String name);
1012
1013 @LogMessage(level = WARN)
1014 @Message(value = "Could not migrate key %s", id = 277)
1015 void keyMigrationFailed(String key, @Cause Throwable cause);
1016
1017 @Message(value = "Indexing can only be enabled if infinispan-query.jar is available on your classpath, and this jar has not been detected.", id = 278)
1018 CacheConfigurationException invalidConfigurationIndexingWithoutModule();
1019
1020 @Message(value = "Failed to read stored entries from file. Error in file %s at offset %d", id = 279)
1021 PersistenceException errorReadingFileStore(String path, long offset);
1022
1023 @Message(value = "Caught exception [%s] while invoking method [%s] on listener instance: %s", id = 280)
1024 CacheListenerException exceptionInvokingListener(String name, Method m, Object target, @Cause Throwable cause);
1025
1026 @Message(value = "%s reported that a third node was suspected, see cause for info on the node that was suspected", id = 281)
1027 SuspectException thirdPartySuspected(Address sender, @Cause SuspectException e);
1028
1029 @Message(value = "Cannot enable Invocation Batching when the Transaction Mode is NON_TRANSACTIONAL, set the transaction mode to TRANSACTIONAL", id = 282)
1030 CacheConfigurationException invocationBatchingNeedsTransactionalCache();
1031
1032 @Message(value = "A cache configured with invocation batching can't have recovery enabled", id = 283)
1033 CacheConfigurationException invocationBatchingCannotBeRecoverable();
1034
1035 @LogMessage(level = WARN)
1036 @Message(value = "Problem encountered while installing cluster listener", id = 284)
1037 void clusterListenerInstallationFailure(@Cause Throwable cause);
1038
1039 @LogMessage(level = WARN)
1040 @Message(value = "Issue when retrieving cluster listeners from %s response was %s", id = 285)
1041 void unsuccessfulResponseForClusterListeners(Address address, Response response);
1042
1043 @LogMessage(level = WARN)
1044 @Message(value = "Issue when retrieving cluster listeners from %s", id = 286)
1045 void exceptionDuringClusterListenerRetrieval(Address address, @Cause Throwable cause);
1046
1047 @Message(value = "Unauthorized access: subject '%s' lacks '%s' permission", id = 287)
1048 SecurityException unauthorizedAccess(String subject, String permission);
1049
1050 @Message(value = "A principal-to-role mapper has not been specified", id = 288)
1051 CacheConfigurationException invalidPrincipalRoleMapper();
1052
1053 @LogMessage(level = WARN)
1054 @Message(value = "Unable to send X-Site state chunk to '%s'.", id = 289)
1055 void unableToSendXSiteState(String site, @Cause Throwable cause);
1056
1057 @LogMessage(level = WARN)
1058 @Message(value = "Unable to wait for X-Site state chunk ACKs from '%s'.", id = 290)
1059 void unableToWaitForXSiteStateAcks(String site, @Cause Throwable cause);
1060
1061 @LogMessage(level = WARN)
1062 @Message(value = "Unable to apply X-Site state chunk.", id = 291)
1063 void unableToApplyXSiteState(@Cause Throwable cause);
1064
1065 @LogMessage(level = WARN)
1066 @Message(value = "Unrecognized attribute %s. Please check your configuration. Ignoring!!", id = 292)
1067 void unrecognizedAttribute(String property);
1068
1069 @LogMessage(level = INFO)
1070 @Message(value = "Ignoring XML attribute %s, please remove from configuration file", id = 293)
1071 void ignoreXmlAttribute(Object attribute);
1072
1073 @LogMessage(level = INFO)
1074 @Message(value = "Ignoring XML element %s, please remove from configuration file", id = 294)
1075 void ignoreXmlElement(Object element);
1076
1077 @Message(value = "No thread pool with name %s found", id = 295)
1078 CacheConfigurationException undefinedThreadPoolName(String name);
1079
1080 @Message(value = "Attempt to add a %s permission to a SecurityPermissionCollection", id = 296)
1081 IllegalArgumentException invalidPermission(Permission permission);
1082
1083 @Message(value = "Attempt to add a permission to a read-only SecurityPermissionCollection", id = 297)
1084 SecurityException readOnlyPermissionCollection();
1085
1086 @LogMessage(level = DEBUG)
1087 @Message(value = "Using internal security checker", id = 298)
1088 void authorizationEnabledWithoutSecurityManager();
1089
1090 @Message(value = "Unable to acquire lock after %s for key %s and requestor %s. Lock is held by %s", id = 299)
1091 TimeoutException unableToAcquireLock(String timeout, Object key, Object requestor, Object owner);
1092
1093 @Message(value = "There was an exception while processing retrieval of entry values", id = 300)
1094 CacheException exceptionProcessingEntryRetrievalValues(@Cause Throwable cause);
1095
1096 @Message(value = "Iterator response for identifier %s encountered unexpected exception", id = 301)
1097 CacheException exceptionProcessingIteratorResponse(UUID identifier, @Cause Throwable cause);
1098
1099 @LogMessage(level = WARN)
1100 @Message(value = "Issue when retrieving transactions from %s, response was %s", id = 302)
1101 void unsuccessfulResponseRetrievingTransactionsForSegments(Address address, Response response);
1102
1103 @LogMessage(level = WARN)
1104 @Message(value = "More than one configuration file with specified name on classpath. The first one will be used:\n %s", id = 304)
1105 void ambiguousConfigurationFiles(String files);
1106
1107 @Message(value = "Cluster is operating in degraded mode because of node failures.", id = 305)
1108 AvailabilityException partitionDegraded();
1109
1110 @Message(value = "Key '%s' is not available. Not all owners are in this partition", id = 306)
1111 AvailabilityException degradedModeKeyUnavailable(Object key);
1112
1113 @Message(value = "Cannot clear when the cluster is partitioned", id = 307)
1114 AvailabilityException clearDisallowedWhilePartitioned();
1115
1116 @LogMessage(level = INFO)
1117 @Message(value = "Rebalancing enabled", id = 308)
1118 void rebalancingEnabled();
1119
1120 @LogMessage(level = INFO)
1121 @Message(value = "Rebalancing suspended", id = 309)
1122 void rebalancingSuspended();
1123
1124 @LogMessage(level = INFO)
1125 @Message(value = "Starting cluster-wide rebalance for cache %s, topology %s", id = 310)
1126 void startRebalance(String cacheName, CacheTopology cacheTopology);
1127
1128 @LogMessage(level = DEBUG)
1129 @Message(value = "Received a command from an outdated topology, returning the exception to caller", id = 311)
1130 void outdatedTopology(@Cause Throwable oe);
1131
1132 @LogMessage(level = WARN)
1133 @Message(value = "Cache %s lost data because of graceful leaver %s", id = 312)
1134 void lostDataBecauseOfGracefulLeaver(String cacheName, Address leaver);
1135
1136 @LogMessage(level = WARN)
1137 @Message(value = "Cache %s lost data because of abrupt leavers %s", id = 313)
1138 void lostDataBecauseOfAbruptLeavers(String cacheName, Collection<Address> leavers);
1139
1140 @LogMessage(level = WARN)
1141 @Message(value = "Cache %s lost at least half of the stable members, possible split brain causing data inconsistency. Current members are %s, lost members are %s, stable members are %s", id = 314)
1142 void minorityPartition(String cacheName, Collection<Address> currentMembers, Collection<Address> lostMembers, Collection<Address> stableMembers);
1143
1144 @LogMessage(level = ERROR)
1145 @Message(value = "Unexpected availability mode %s for cache %s partition %s", id = 315)
1146 void unexpectedAvailabilityMode(AvailabilityMode availabilityMode, String cacheName, CacheTopology cacheTopology);
1147
1148 @LogMessage(level = ERROR)
1149 @Message(value = "Cache %s lost data because of graceful leaver %s, entering degraded mode", id = 316)
1150 void enteringDegradedModeGracefulLeaver(String cacheName, Address leaver);
1151
1152 @LogMessage(level = ERROR)
1153 @Message(value = "Cache %s lost data because of abrupt leavers %s, assuming a network split and entering degraded mode", id = 317)
1154 void enteringDegradedModeLostData(String cacheName, Collection<Address> leavers);
1155
1156 @LogMessage(level = ERROR)
1157 @Message(value = "Cache %s lost at least half of the stable members, assuming a network split and entering degraded mode. Current members are %s, lost members are %s, stable members are %s", id = 318)
1158 void enteringDegradedModeMinorityPartition(String cacheName, Collection<Address> currentMembers, Collection<Address> lostMembers, Collection<Address> stableMembers);
1159
1160 @LogMessage(level = ERROR)
1161 @Message(value = "After merge (or coordinator change), cache %s still hasn't recovered all its data and must stay in degraded mode. Current members are %s, lost members are %s, stable members are %s", id = 319)
1162 void keepingDegradedModeAfterMergeDataLost(String cacheName, Collection<Address> currentMembers, Collection<Address> lostMembers, Collection<Address> stableMembers);
1163
1164 @LogMessage(level = ERROR)
1165 @Message(value = "After merge (or coordinator change), cache %s still hasn't recovered a majority of members and must stay in degraded mode. Current members are %s, lost members are %s, stable members are %s", id = 320)
1166 void keepingDegradedModeAfterMergeMinorityPartition(String cacheName, Collection<Address> currentMembers, Collection<Address> lostMembers, Collection<Address> stableMembers);
1167
1168 @LogMessage(level = WARN)
1169 @Message(value = "Cyclic dependency detected between caches, stop order ignored", id = 321)
1170 void stopOrderIgnored();
1171
1172 @LogMessage(level = WARN)
1173 @Message(value = "Unable to re-start x-site state transfer to site %s", id = 322)
1174 void failedToRestartXSiteStateTransfer(String siteName, @Cause Throwable cause);
1175
1176 @Message(value = "%s is in 'TERMINATED' state and so it does not accept new invocations. " +
1177 "Either restart it or recreate the cache container.", id = 323)
1178 IllegalLifecycleStateException cacheIsTerminated(String cacheName);
1179
1180 @Message(value = "%s is in 'STOPPING' state and this is an invocation not belonging to an on-going transaction, so it does not accept new invocations. " +
1181 "Either restart it or recreate the cache container.", id = 324)
1182 IllegalLifecycleStateException cacheIsStopping(String cacheName);
1183
1184 @Message (value="Creating tmp cache %s timed out waiting for rebalancing to complete on node %s ", id=325)
1185 RuntimeException creatingTmpCacheTimedOut(String cacheName, Address address);
1186
1187 @LogMessage(level = WARN)
1188 @Message(value = "Remote transaction %s timed out. Rolling back after %d ms", id = 326)
1189 void remoteTransactionTimeout(GlobalTransaction gtx, long ageMilliSeconds);
1190
1191 @Message(value = "Cannot find a parser for element '%s' in namespace '%s'. Check that your configuration is up-to date for this version of Infinispan.", id = 327)
1192 CacheConfigurationException unsupportedConfiguration(String element, String namespaceUri);
1193
1194 @LogMessage(level = DEBUG)
1195 @Message(value = "Finished local rebalance for cache %s on node %s, topology id = %d", id = 328)
1196 void rebalanceCompleted(String cacheName, Address node, int topologyId);
1197
1198 @LogMessage(level = WARN)
1199 @Message(value = "Unable to read rebalancing status from coordinator %s", id = 329)
1200 void errorReadingRebalancingStatus(Address coordinator, @Cause Exception e);
1201
1202 @LogMessage(level = WARN)
1203 @Message(value = "Distributed task failed at %s. The task is failing over to be executed at %s", id = 330)
1204 void distributedTaskFailover(Address failedAtAddress, Address failoverTarget, @Cause Exception e);
1205
1206 @LogMessage(level = WARN)
1207 @Message(value = "Unable to invoke method %s on Object instance %s ", id = 331)
1208 void unableToInvokeListenerMethod(Method m, Object target, @Cause Throwable e);
1209
1210 @Message(value = "Remote transaction %s rolled back because originator is no longer in the cluster", id = 332)
1211 CacheException orphanTransactionRolledBack(GlobalTransaction gtx);
1212
1213 @Message(value = "The site must be specified.", id = 333)
1214 CacheConfigurationException backupSiteNullName();
1215
1216 @Message(value = "Using a custom failure policy requires a failure policy class to be specified.", id = 334)
1217 CacheConfigurationException customBackupFailurePolicyClassNotSpecified();
1218
1219 @Message(value = "Two-phase commit can only be used with synchronous backup strategy.", id = 335)
1220 CacheConfigurationException twoPhaseCommitAsyncBackup();
1221
1222 @LogMessage(level = INFO)
1223 @Message(value = "Finished cluster-wide rebalance for cache %s, topology id = %d", id = 336)
1224 void clusterWideRebalanceCompleted(String cacheName, int topologyId);
1225
1226 @Message(value = "The 'site' must be specified!", id = 337)
1227 CacheConfigurationException backupMissingSite();
1228
1229 @Message(value = "It is required to specify a 'failurePolicyClass' when using a custom backup failure policy!", id = 338)
1230 CacheConfigurationException missingBackupFailurePolicyClass();
1231
1232 @Message(value = "Null name not allowed (use 'defaultRemoteCache()' in case you want to specify the default cache name).", id = 339)
1233 CacheConfigurationException backupForNullCache();
1234
1235 @Message(value = "Both 'remoteCache' and 'remoteSite' must be specified for a backup'!", id = 340)
1236 CacheConfigurationException backupForMissingParameters();
1237
1238 @Message(value = "Cannot configure async properties for an sync cache. Set the cache mode to async first.", id = 341)
1239 IllegalStateException asyncPropertiesConfigOnSyncCache();
1240
1241 @Message(value = "Cannot configure sync properties for an async cache. Set the cache mode to sync first.", id = 342)
1242 IllegalStateException syncPropertiesConfigOnAsyncCache();
1243
1244 @Message(value = "Must have a transport set in the global configuration in " +
1245 "order to define a clustered cache", id = 343)
1246 CacheConfigurationException missingTransportConfiguration();
1247
1248 @Message(value = "reaperWakeUpInterval must be >= 0, we got %d", id = 344)
1249 CacheConfigurationException invalidReaperWakeUpInterval(long timeout);
1250
1251 @Message(value = "completedTxTimeout must be >= 0, we got %d", id = 345)
1252 CacheConfigurationException invalidCompletedTxTimeout(long timeout);
1253
1254 @Message(value = "Total Order based protocol not available for transaction mode %s", id = 346)
1255 CacheConfigurationException invalidTxModeForTotalOrder(TransactionMode transactionMode);
1256
1257 @Message(value = "Cache mode %s is not supported by Total Order based protocol", id = 347)
1258 CacheConfigurationException invalidCacheModeForTotalOrder(String friendlyCacheModeString);
1259
1260 @Message(value = "Total Order based protocol not available with recovery", id = 348)
1261 CacheConfigurationException unavailableTotalOrderWithTxRecovery();
1262
1263 @Message(value = "Total Order based protocol not available with %s", id = 349)
1264 CacheConfigurationException invalidLockingModeForTotalOrder(LockingMode lockingMode);
1265
1266 @Message(value = "Enabling the L1 cache is only supported when using DISTRIBUTED as a cache mode. Your cache mode is set to %s", id = 350)
1267 CacheConfigurationException l1OnlyForDistributedCache(String cacheMode);
1268
1269 @Message(value = "Using a L1 lifespan of 0 or a negative value is meaningless", id = 351)
1270 CacheConfigurationException l1InvalidLifespan();
1271
1272 @Message(value = "Use of the replication queue is invalid when using DISTRIBUTED mode.", id = 352)
1273 CacheConfigurationException noReplicationQueueDistributedCache();
1274
1275 @Message(value = "Use of the replication queue is only allowed with an ASYNCHRONOUS cluster mode.", id = 353)
1276 CacheConfigurationException replicationQueueOnlyForAsyncCaches();
1277
1278 @Message(value = "Cannot define both interceptor class (%s) and interceptor instance (%s)", id = 354)
1279 CacheConfigurationException interceptorClassAndInstanceDefined(String customInterceptorClassName, String customInterceptor);
1280
1281 @Message(value = "Unable to instantiate loader/writer instance for StoreConfiguration %s", id = 355)
1282 CacheConfigurationException unableToInstantiateClass(Class<?> storeConfigurationClass);
1283
1284 @Message(value = "Maximum data container size is currently 2^48 - 1, the number provided was %s", id = 356)
1285 CacheConfigurationException evictionSizeTooLarge(long value);
1286
1287 @LogMessage(level = ERROR)
1288 @Message(value = "end() failed for %s", id = 357)
1289 void xaResourceEndFailed(XAResource resource, @Cause Throwable t);
1290
1291 @Message(value = "A cache configuration named %s already exists. This cannot be configured externally by the user.", id = 358)
1292 CacheConfigurationException existingConfigForInternalCache(String name);
1293
1294 @Message(value = "Keys '%s' are not available. Not all owners are in this partition", id = 359)
1295 AvailabilityException degradedModeKeysUnavailable(Collection<?> keys);
1296
1297 @LogMessage(level = WARN)
1298 @Message(value = "The xml element eviction-executor has been deprecated and replaced by expiration-executor, please update your configuration file.", id = 360)
1299 void evictionExecutorDeprecated();
1300
1301 @Message(value = "Cannot commit remote transaction %s as it was already rolled back", id = 361)
1302 CacheException remoteTransactionAlreadyRolledBack(GlobalTransaction gtx);
1303
1304 @Message(value = "Could not find status for remote transaction %s, please increase transaction.completedTxTimeout", id = 362)
1305 TimeoutException remoteTransactionStatusMissing(GlobalTransaction gtx);
1306
1307 @LogMessage(level = WARN)
1308 @Message(value = "No indexing service provider found for indexed filter of type %s", id = 363)
1309 void noFilterIndexingServiceProviderFound(String filterClassName);
1310
1311 @Message(value = "Attempted to register cluster listener of class %s, but listener is annotated as only observing pre events!", id = 364)
1312 CacheException clusterListenerRegisteredWithOnlyPreEvents(Class<?> listenerClass);
1313
1314 @Message(value = "Could not find the specified JGroups configuration file '%s'", id = 365)
1315 CacheConfigurationException jgroupsConfigurationNotFound(String cfg);
1316
1317 @Message(value = "Unable to add a 'null' Custom Cache Store", id = 366)
1318 IllegalArgumentException unableToAddNullCustomStore();
1319
1320 @LogMessage(level = ERROR)
1321 @Message(value = "There was an issue with topology update for topology: %s", id = 367)
1322 void topologyUpdateError(int topologyId, @Cause Throwable t);
1323
1324 @LogMessage(level = WARN)
1325 @Message(value = "Memory approximation calculation for eviction is unsupported for the '%s' Java VM", id = 368)
1326 void memoryApproximationUnsupportedVM(String javaVM);
1327
1328 @LogMessage(level = WARN)
1329 @Message(value = "Ignoring asyncMarshalling configuration", id = 369)
1330 void ignoreAsyncMarshalling();
1331
1332 @Message(value = "Cache name '%s' cannot be used as it is a reserved, internal name", id = 370)
1333 IllegalArgumentException illegalCacheName(String name);
1334
1335 @Message(value = "Cannot remove cache configuration '%s' because it is in use", id = 371)
1336 IllegalStateException configurationInUse(String configurationName);
1337
1338 @Message(value = "Statistics are enabled while attribute 'available' is set to false.", id = 372)
1339 CacheConfigurationException statisticsEnabledNotAvailable();
1340
1341 @Message(value = "Attempted to start a cache using configuration template '%s'", id = 373)
1342 CacheConfigurationException templateConfigurationStartAttempt(String cacheName);
1343
1344 @Message(value = "No such template '%s' when declaring '%s'", id = 374)
1345 CacheConfigurationException undeclaredConfiguration(String extend, String name);
1346
1347 @Message(value = "Cannot use configuration '%s' as a template", id = 375)
1348 CacheConfigurationException noConfiguration(String extend);
1349
1350 @Message(value = "Interceptor stack is not supported in simple cache", id = 376)
1351 UnsupportedOperationException interceptorStackNotSupported();
1352
1353 @Message(value = "Explicit lock operations are not supported in simple cache", id = 377)
1354 UnsupportedOperationException lockOperationsNotSupported();
1355
1356 @Message(value = "Invocation batching not enabled in current configuration! Please enable it.", id = 378)
1357 CacheConfigurationException invocationBatchingNotEnabled();
1358
1359 @Message(value = "Map Reduce Framework is not supported in simple cache", id = 379)
1360 CacheConfigurationException mapReduceNotSupported();
1361
1362 @Message(value = "Distributed Executors Framework is not supported in simple cache", id = 380)
1363 CacheConfigurationException distributedExecutorsNotSupported();
1364
1365 @Message(value = "This configuration is not supported for simple cache", id = 381)
1366 CacheConfigurationException notSupportedInSimpleCache();
1367
1368 @Message(value = "Global state persistence was enabled without specifying a location", id = 382)
1369 CacheConfigurationException missingGlobalPersistentStateLocation();
1370 }