Pab*_*jim 6 java spring hibernate ehcache
我有一个相当简单的非集群应用程序运行带有spring和hibernate的ehcache.
在启动时我收到此错误:
<06-Sep-2010 19:14:05 o'clock BST> <Error> <Net> <Failed to communicate with proxy: 10.x.x.x/8080. Will try connection www.terracotta.org/80 now.
Run Code Online (Sandbox Code Playgroud)
java.net.SocketTimeoutException:连接超时
如何阻止此通话?
这是我的ehcache.xml:
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="ehcache.xsd"
updateCheck="false" monitoring="off" dynamicConfig="false">
<defaultCache maxElementsInMemory="1000" eternal="false"
timeToIdleSeconds="60" timeToLiveSeconds="60"
overflowToDisk="false" >
<terracotta clustered="false"/>
</defaultCache>
Run Code Online (Sandbox Code Playgroud)
我确信这个ehcache.xml被拾取并使用,例如没有类路径问题.
我正在使用:ehcache 2.0.1和hibernate 3.3.1.GA
ear*_*las 14
添加updateCheck="false"到<ehcache />元素时不起作用,请尝试-Dnet.sf.ehcache.skipUpdateCheck=true在命令行或以System.setProperty("net.sf.ehcache.skipUpdateCheck", "true")编程方式设置系统属性.
| 归档时间: |
|
| 查看次数: |
7919 次 |
| 最近记录: |