Geert Bevin wrote:
> Have you read the text of the warning?
>
> "...
> When several clients are being executed on the same machine, a typical  
> solution to properly separate these directories is by using a JVM  
> property at startup that is unique for each client.
>
> For example:
>     dso-java.sh -Dtc.node-name=node1 your.main.Class
>   
  Stopped exactly at this line. Text before was already too long, if you 
ask me... :)
> You can then adapt the tc-config.xml file so that this JVM property is  
> picked up when the statistics directory is configured by using % 
> (tc.node-name) in the statistics path."
>   
  It sounds like too many changes to configure...

  I know we don't have any infrastructure for this, but it need to be 
unified at some point. So, if there is no setting specified in 
tc-config, adding "node name" system property should be enough for 
logging and stats subsystems to use different folders. Also, when system 
property is not specified, those subsystems could probably use new 
"random dir" instead of printing half page of text that says "sorry I 
can't do anything it is your fault", which imho isn't very helpful.

  regards,
  Eugene


_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to