• New Feature
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • kkannaiy
  • Reporter: teck
  • March 24, 2009
  • 0
  • Watchers: 0
  • February 12, 2013
  • April 10, 2009

Description

In this forum post two interesting things happened:

(1) The user could not figure out from the error message what to do (2) The user was thought providing different names would define different servers

This JIRA item is to evaluate whether we should either update the error message, this would address (1). The message should maybe include the “names” to help illuminate the issue

Or perhaps we should treat “name” as the hostname if it is not defined in the element. This seems to have been the users expectation.

Comments

Saravanan Subbiah 2009-03-24

The forum post that initiated this JIRA is at http://forums.terracotta.org/forums/posts/list/1941.page

Saravanan Subbiah 2009-04-07

If host element is not provided, then make it default to the server name.

Also when improve the error message.

Raghvendra Singh 2009-04-10

fixed in 3.0, merged to enterprise branch in rev 3862 and 12495

Kalai Kannaiyan 2009-04-21

Tested with Terracotta Enterprise 3.0.1-nightly, as of 20090421-150439 (Revision 3896-12542 by cruise@su10mo5 from 3.0), 2009-04-21 17:05:02,750 INFO - Terracotta 3.0.1-nightly, as of 20090421-080405 (Revision 12542 by cruise@su10mo5 from 3.0), it is working as expected when only name is included in the element i.e., it is treating the name as hostname.

Steps:

  1. Install the 3.0.1-nightly-ee
  2. created the tc-config.xml under bin with name as “localhost”
terracotta/server-data/data 9530 permanent-store terracotta/backup-data 9530 permanent-store networked-active-passive 5
  1. execute bin/start-tc-server.bat -f tc-config.xml -n localhost

Actual: server started successfully

  1. Install 3.0.1-nightly

  2. created the tc-config.xml under bin with name as “localhost”

terracotta/server-data/ws-cm-17-data 9530 permanent-store
  1. execute bin/start-tc-server.bat

Actual: server started successfully