我让 JBoss 5 和 JBoss 7 使用同一个数据库在同一个盒子中并行运行。另外,我配置了 Java 数据库更改通知和 Infinispan。但是在尝试在 JBoss7 中启动应用程序而不暂时关闭 JBoss 5 时,我在 JBoss 7 中收到以下错误。请就如何克服这个问题提出建议
2017.04.06 10:09:46 INFO GlobalComponentRegistry(691): Infinispan version: Infinispan 'Ursus' 4.2.1.FINAL
2017.04.06 10:09:46 INFO GlobalComponentRegistry(691): Infinispan version: Infinispan 'Ursus' 4.2.1.FINAL
2017.04.06 10:09:46 DEBUG InterceptorChain(67): Interceptor chain size: 6
2017.04.06 10:09:46 DEBUG InterceptorChain(67): Interceptor chain size: 6
2017.04.06 10:09:46 DEBUG InterceptorChain(68): Interceptor chain is:
>> org.infinispan.interceptors.InvocationContextInterceptor
>> org.infinispan.interceptors.TxInterceptor
>> org.infinispan.interceptors.NotificationInterceptor
>> org.infinispan.interceptors.LockingInterceptor
>> org.infinispan.interceptors.ReplicationInterceptor
>> org.infinispan.interceptors.CallInterceptor
2017.04.06 10:09:46 DEBUG InterceptorChain(68): Interceptor chain is:
>> org.infinispan.interceptors.InvocationContextInterceptor
>> org.infinispan.interceptors.TxInterceptor
>> org.infinispan.interceptors.NotificationInterceptor
>> org.infinispan.interceptors.LockingInterceptor
>> org.infinispan.interceptors.ReplicationInterceptor
>> org.infinispan.interceptors.CallInterceptor
2017.04.06 10:09:46 DEBUG StateTransferManagerImpl(126): Initiating state transfer process
2017.04.06 10:09:46 DEBUG StateTransferManagerImpl(126): Initiating state transfer process
2017.04.06 10:09:46 WARN JGroupsTransport(359): Channel not set up properly!
2017.04.06 10:09:46 ERROR CacheManager(444): Exception while trying to take over listening
org.infinispan.CacheException: Unable to invoke method public void org.infinispan.statetransfer.StateTransferManagerImpl.start() throws org.infinispan.statet
ransfer.StateTransferException on object
at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:174)
at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:889)
at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:687)
at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:589)
at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:147)
at org.infinispan.CacheDelegate.start(CacheDelegate.java:323)
at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:516)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:439)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:171)
... 17 more
Caused by: org.infinispan.statetransfer.StateTransferException: Transport does not, or is not configured to, support state transfer. Please disable fetching
state on startup, or reconfigure your transport.
at org.infinispan.remoting.rpc.RpcManagerImpl.retrieveState(RpcManagerImpl.java:189)
at org.infinispan.statetransfer.StateTransferManagerImpl.start(StateTransferManagerImpl.java:130)
... 22 more