在启动时加载Tangosol.coherence.xml

时间:2012-10-16 07:09:00

标签: java oracle-coherence

我有一个使用coherence缓存的应用程序,但在启动时我遇到了这个错误:

  

2012-10-16 09:25:52,153 ERROR [resmanThreadExecutor-49] getItem -   (包装:无法加载操作配置:   /tangosol-coherence.xml)java.io.IOException:可操作   配置丢失:“/ tangosol-coherence.xml”,   loader=weblogic.utils.classloaders.ChangeAwareClassLoader@122ccff   finder:weblogic.utils.classloaders.CodeGenClassFinder@2794e3   注解:   ResponseManagerNew@ResponseManager-0.1.0.BUILD-SNAPSHOT.war           at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)           在com.tangosol.run.xml.XmlHelper.loadResourceInternal(XmlHelper.java:341)           在com.tangosol.run.xml.XmlHelper.loadResource(XmlHelper.java:251)           at com.tangosol.coherence.component.application.console.Coherence.loadConfiguration(Coherence.CDB:19)           at com.tangosol.coherence.component.application.console.Coherence.getServiceConfig(Coherence.CDB:13)           at com.tangosol.coherence.component.application.console.Coherence.ensureRunningLogger(Coherence.CDB:15)           at 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.doPrivileged(Native Method)           在javax.security.auth.Subject.doAs(Subject.java:337)           at com.tangosol.coherence.component.util.SafeNamedCache.restartNamedCache(SafeNamedCache.CDB:8)           at com.tangosol.coherence.component.util.SafeNamedCache.ensureRunningNamedCache(SafeNamedCache.CDB:33)           at 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)           at 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()           在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)           在java.util.concurrent.FutureTask.run(FutureTask.java:138)           at java.util.concurrent.ThreadPoolExecutor $ Worker.runTask(ThreadPoolExecutor.java:886)           at 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

有什么想法吗?

0 个答案:

没有答案