[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]
TC_SERVER/tc.server usage  XML
Forum Index -> General
Author Message
jmiller

neo

Joined: 09/17/2008 12:50:04
Messages: 1
Offline

Hey all,

I'm curious about the usage of the environment variable TC_SERVER and the java system property tc.server. It doesn't seem to be very well documented. Is there something I'm missing?

Can it accept the same format as tc.config/TC_CONFIG_PATH? That is, a comma separated list of host:port pairs?

If so, then this line from dso-env.bat seems incorrect:

if defined TC_SERVER set TC_JAVA_OPTS=%TC_JAVA_OPTS% -Dtc.server="%TC_SERVER%"

Specifically, the quotes around %TC_SERVER%. That causes dso-env.bat to choke if tc.server has a comma separated list of host:port pairs.

What's the intended usage of these variables?

Thanks in advance,
Justin
gkeim

ophanim

Joined: 12/05/2006 10:22:37
Messages: 685
Location: Terracotta, Inc.
Offline

TC_SERVER is discussed here: http://www.terracotta.org/web/display/orgsite/Multi+Node+Quick+Start

And, yes, it is meant to be a comma-separated list of DSO server addresses meant mainly for experimenting with the demos on multiple nodes. I think you've found a bug. Would you mind filing a JIRA ticket on it?

http://jira.terracotta.org

Gary Keim (terracotta developer) Want to post to this forum? Join the Terracotta Community
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.7 © JForum Team