Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding data tag to config file is giving error #50

Open
satishpatro44 opened this issue Jun 3, 2019 · 0 comments
Open

adding data tag to config file is giving error #50

satishpatro44 opened this issue Jun 3, 2019 · 0 comments

Comments

@satishpatro44
Copy link

satishpatro44 commented Jun 3, 2019

tc-config file is working fine. But, when I am adding data tag it is showing error

code :

<server host="localhost" name="default-server">
  <logs>terracotta/server-logs</logs>
  <!--data>%(user.home)/terracotta/server-data</data-->
  <data>terracotta/server-data</data>
  <tsa-port>9410</tsa-port>	  
</server>

Error :

2019-06-03 18:32:38,414 [main] INFO com.tc.server.TCServerMain - Terracotta 5.6.0, as of 2019-02-25 at 11:39:51 PST (Revision e3ecf35a0f429b388fa8eaa411d52e830920f2ea from UNKNOWN)
2019-06-03 18:32:38,438 [main] INFO com.tc.server.TCServerMain - PID is 1752
2019-06-03 18:32:38,445 [main] INFO com.tc.properties.TCPropertiesImpl - Loading default properties from tc.properties
2019-06-03 18:32:38,449 [main] INFO com.tc.properties.TCPropertiesImpl - The property "l2.dump.on.exception.timeout" was read before initialization completed. "l2.dump.on.exception.timeout" = 30
2019-06-03 18:32:38,468 [main] INFO com.tc.classloader.ServiceLocator - Entity/Service apis will be loaded from C:\Users\m1047270\Downloads\caching\ehcache-clustered-3.7.0-kit\ehcache-clustered-3.7.0-kit\server\plugins\api
2019-06-03 18:32:38,468 [main] INFO com.tc.classloader.ServiceLocator - Entity/Service implementations will be loaded from C:\Users\m1047270\Downloads\caching\ehcache-clustered-3.7.0-kit\ehcache-clustered-3.7.0-kit\server\plugins\lib
2019-06-03 18:32:38,538 [main] INFO com.tc.properties.TCPropertiesImpl - The property "tc.config.total.timeout" was read before initialization completed. "tc.config.total.timeout" = 300000
2019-06-03 18:32:38,539 [main] INFO com.tc.properties.TCPropertiesImpl - The property "tc.config.getFromSource.timeout" was read before initialization completed. "tc.config.getFromSource.timeout" = 30000
2019-06-03 18:32:38,710 [main] INFO com.tc.config.schema.setup.StandardXMLFileConfigurationCreator - Attempting to load configuration from the file at 'C:\Users\m1047270\Downloads\caching\ehcache-clustered-3.7.0-kit\ehcache-clustered-3.7.0-kit\server\bin\..\conf\tc-config.xml'...


Fatal Terracotta startup exception:

 org.terracotta.config.TCConfigurationSetupException: Couldn't parse configuration file, there are 1 error(s).
 [1] Line 19, column 10: cvc-complex-type.2.4.a: Invalid content was found starting with element 'data'. One of '{"http://www.terracotta.org/config":tsa-port, "http://www.terracotta.org/config":tsa-group-port}' is expected.


Server startup failed.
2019-06-03 18:32:38,872 [main] INFO com.tc.properties.TCPropertiesImpl - The property "l2.nha.autoRestart" was read before initialization completed. "l2.nha.autoRestart" = true
2019-06-03 18:32:38,876 [main] INFO com.tc.server.TCServerMain - ExitState : CallbackOnExitState[Throwable: class com.tc.config.schema.setup.ConfigurationSetupException; RestartNeeded: false]; AutoRestart: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant