1

我有一个使用一致性缓存的应用程序,但在启动时出现此错误:

2012-10-16 09:25:52,153 错误 [resmanThreadExecutor-49] getItem -(包装:无法加载操作配置:/tangosol-coherence.xml)java.io.IOException:缺少操作配置:“/tangosol- coherence.xml", loader=weblogic.utils.classloaders.ChangeAwareClassLoader@122ccff 查找器:weblogic.utils.classloaders.CodeGenClassFinder@2794e3 注释:com.tangosol.util.Base 上的 ResponseManagerNew@ResponseManager-0.1.0.BUILD-SNAPSHOT.war .ensureRuntimeException(Base.java:288) 在 com.tangosol.run.xml.XmlHelper.loadResourceInternal(XmlHelper.java:341) 在 com.tangosol.run.xml.XmlHelper.loadResource(XmlHelper.java:251) 在 com。 com.tangosol.coherence.component 上的 tangosol.coherence.component.application.console.Coherence.loadConfiguration(Coherence.CDB:19)。application.console.Coherence.getServiceConfig(Coherence.CDB:13) 在 com.tangosol.coherence.component.application.console.Coherence.ensureRunningLogger(Coherence.CDB:15) 在 com.tangosol.coherence.component.application.console。 Coherence.debugOutput(Coherence.CDB:1) at com.tangosol.coherence.Component._trace(Component.CDB:3) at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:37) at com .tangosol.coherence.component.util.safeService.SafeCacheService.ensureRunningCacheService(SafeCacheService.CDB:3) at com.tangosol.coherence.component.util.SafeNamedCache$CacheAction.run(SafeNamedCache.CDB:3) at java.security.AccessController com.tangosol 的 javax.security.auth.Subject.doAs(Subject.java:337) 的 .doPrivileged(Native Method)。coherence.component.util.SafeNamedCache.restartNamedCache(SafeNamedCache.CDB:8) 在 com.tangosol.coherence.component.util.SafeNamedCache.ensureRunningNamedCache(SafeNamedCache.CDB:33) 在 com.tangosol.coherence.component.util.SafeNamedCache。 getRunningNamedCache(SafeNamedCache.CDB:1) at com.tangosol.coherence.component.util.SafeNamedCache.get(SafeNamedCache.CDB:1) at com.ttech.rbm.coherence.commoncache.blockage.CacheManager.getItem(CacheManager.java: 36) 在 com.tcell.resman.util.WebServiceUtil.callWriteResponseListWS(WebServiceUtil.java:152) 在 com.tcell.resman.service.successmessage.impl.SuccessMessageFlow.processAccepted(SuccessMessageFlow.java:669) 在 com.tcell.resman .service.successmessage.impl.SuccessMessageFlow.start(SuccessMessageFlow.java:281) 在 com.tcell.resman。service.successmessage.impl.SuccessMessageFlow.execute(SuccessMessageFlow.java:78) at com.tcell.resman.service.successmessage.impl.SuccessMessageFlow$$FastClassByCGLIB$$79bf8ebe.invoke() at net.sf.cglib.proxy.MethodProxy .invoke(MethodProxy.java:204) 在 org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688) 在 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) 在org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:80) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask .java:138) 在 java.util.concurrent.ThreadPoolExecutor$Worker。runTask(ThreadPoolExecutor.java:886) 在 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 在 java.lang.Thread.run(Thread.java:619)

Coherence jar 在我的 war 文件中,我不想将它放在 weblogic 启动类路径中。xml 文件在 jar (coherence.jar) 中。它的版本是 3.7.1.5

有任何想法吗?

4

0 回答 0