I believe it's just a suggestion rather than a requirement. You can add
<statistics> path to <server> and <clients> now to
get rid of that suggestion:
<server>
<statistics>/path/to/server/statistics</statistics>
</server>
<clients>
<statistics>/path/to/clients-statistics/%(tc.nodeName)</statistics>
</clients>
Eugene Kuleshov wrote:
Taylor Gautier wrote:
why is the cvt system doing such a thing?
Here is the error I am seeing on console when launching apps from
Maven. The one below is somewhat weird, because it is printed when L2
been launched (no actual L1 on that VM):
[INFO] [dso start] 2008-03-25 19:07:51,031 ERROR -
[INFO] [dso start]
**************************************************************************************
[INFO] [dso start] The statistics store couldn't be opened at
[INFO] [dso start] 'C:\dev\terr\20spring\statistics'.
[INFO] [dso start] The CVT gathering system will not be active for this
node.
[INFO] [dso start]
[INFO] [dso start] A common reason for this is that you're launching
several Terracotta L1
[INFO] [dso start] clients on the same machine. The default directory
for the statistics store
[INFO] [dso start] uses the IP address of the machine that it runs on as
the identifier.
[INFO] [dso start] When several clients are being executed on the same
machine, a typical solution
[INFO] [dso start] to properly separate these directories is by using a
JVM property at startup
[INFO] [dso start] that is unique for each client.
[INFO] [dso start]
[INFO] [dso start] For example:
[INFO] [dso start] dso-java.sh -Dtc.node-name=node1 your.main.Class
[INFO] [dso start]
[INFO] [dso start] You can then adapt the tc-config.xml file so that
this JVM property is picked
[INFO] [dso start] up when the statistics directory is configured by
using %(tc.node-name) in the
[INFO] [dso start] statistics path.
[INFO] [dso start]
**************************************************************************************
----- Original Message -----
From: "Eugene Kuleshov" <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, March 25, 2008 4:05:52 PM (GMT-0800) America/Los_Angeles
Subject: [tc-dev] need to standardize on the system property names
I just noticed that new CVT system is expecting system property
tc.node-name is used to specify node name. However when application is
launched from Maven using Terracotta plugin, the property name used to
specify node is tc.nodeName and it is quite inconvenient.
We need to standardize this property as well as anything similar we
might be using in various subsystems.
regards,
Eugene
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev
|
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev