[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
java加载TC缓存异常  XML
Forum Index -> Terracotta 中文社区
Author Message
taolive

neo

Joined: 03/22/2013 05:58:56
Messages: 1
Offline

版本:terracotta-3.5.1 windows 7 机器运行,正常启动,并且可以使用
bin目录下的dev-console.bat工具正常连接,
JDK:V1.6

但是使用
使用java代码

String tcFile = "E:\\workspaces\\Myeclipse\\ehcache-tc.xml";
CacheManager cacheManager = new CacheManager(tcFile);

失败,
信息如下:
net.sf.ehcache.CacheException: Unable to load class net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory. Initial cause was com.tc.config.schema.setup.ConfigurationSetupException:
*******************************************************************************
We were unable to read configuration data from the base configuration from file at 'C:\Users\ADMINI~1\AppData\Local\Temp\tc-config6690226943719146143.xml': Characters larger than 4 bytes are not supported: byte 0xb8 implies a length of more than 4 bytes



具体异常信息,见附件,希望兄弟们给予解答,谢谢!
 Filename tc异常.txt [Disk] Download
 Description 异常信息
 Filesize 7 Kbytes
 Downloaded:  384 time(s)

rajoshi

seraphim

Joined: 07/04/2011 04:36:10
Messages: 1491
Offline

Can you please post your issue in English.

Rakesh Joshi
Senior Consultant
Terracotta.
 
Forum Index -> Terracotta 中文社区
Go to:   
Powered by JForum 2.1.7 © JForum Team