[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]
Session 不共享  XML
Forum Index -> Terracotta 中文社区
Author Message
zhuxinping

journeyman

Joined: 11/02/2009 19:15:41
Messages: 11
Offline

按照lima的《通过 Terracotta实现基于Tomcat的Web应用集群教程 》 部署完成,启动也没问题,但是在Terracotta Developer Console 中 Object browser 都是空的Hashtable 如图:

tc-config.xml配置如下:
<?xml version="1.0" encoding="UTF-8"?>
<con:tc-config xmlns:con="http://www.terracotta.org/config">
<servers>
<server host="108.168.88.105">
<dso-port>9510</dso-port>
<jmx-port>9520</jmx-port>
<data>terracotta/server-data</data>
<logs>terracotta/server-logs</logs>
<statistics>terracotta/cluster-statistics</statistics>
</server>
</servers>
<clients>
<modules>
<module name="tim-tomcat-6.0" version="2.0.2" />
<module name="tim-tomcat-5.5" version="2.0.2" />
<module name="tim-tomcat-common" version="2.0.2" />
</modules>
<logs>terracotta/client-logs</logs>
</clients>
<application>
<dso>

<instrumented-classes>
<include>
<class-expression>cal.*</class-expression>
</include>
</instrumented-classes>

<web-applications>
<web-application>examples</web-application>
</web-applications>
</dso>
</application>
</con:tc-config>


希望能我帮解答下,谢谢!
ari

seraphim

Joined: 05/24/2006 14:23:21
Messages: 1665
Location: San Francisco, CA
Offline

The HashTable isn't necessarily empty. Check all 128 segments for data. right-click the tree element named "tc:session_localhost/examples" and select "More" a few times. That will grab 10 more hashTable $Segments at a time, and you will eventually find a non-empty segment.

--Ari
[WWW]
zhuxinping

journeyman

Joined: 11/02/2009 19:15:41
Messages: 11
Offline

Thanks!
 
Forum Index -> Terracotta 中文社区
Go to:   
Powered by JForum 2.1.7 © JForum Team