latest build can't open stats - even though it does
---------------------------------------------------

                 Key: CDV-716
                 URL: https://jira.terracotta.org/jira//browse/CDV-716
             Project: Community Development
          Issue Type: Bug
            Reporter: Taylor Gautier
            Assignee: Issue Review Board


I get the following error in my console trying to use maven 1.1.0-SNAPSHOT 
which gets latest 2.6.  

INFO] [dso start] 2008-04-09 09:24:43,883 INFO - Terracotta 
2.6-nightly-rev8038, as of 20080408-200445 (Revision 8038 by [EMAIL PROTECTED] 
from 2.6)
[INFO] [dso start] 2008-04-09 09:24:44,473 INFO - Configuration loaded from the 
file at 
'/Users/tgautier/src/forge/projects/labs/tim-guice/sample/tc-config.xml'.
[INFO] [dso start] 2008-04-09 09:24:44,518 INFO - Log file: 
'/Users/tgautier/src/forge/projects/labs/tim-guice/sample/terracotta/server-logs/terracotta-server.log'.
[INFO] [dso start] 2008-04-09 09:24:44,579 ERROR - 
[INFO] [dso start] 
**************************************************************************************
[INFO] [dso start] The statistics store couldn't be opened at 
[INFO] [dso start] 
'/Users/tgautier/src/forge/projects/labs/tim-guice/sample/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] 
**************************************************************************************
[INFO] [dso start] 
[INFO] [dso start] 2008-04-09 09:24:44.863::INFO:  Logging to STDERR via 
org.mortbay.log.StdErrLog
[INFO] [dso start] 2008-04-09 09:24:44.915::INFO:  jetty-6.1.8
[INFO] [dso start] 2008-04-09 09:24:44.961::INFO:  Started [EMAIL PROTECTED]:0
[INFO] [dso start] 2008-04-09 09:24:44,808 WARN - 
[INFO] [dso start] 
**************************************************************************************
[INFO] [dso start] The statistics buffer couldn't be opened at 
[INFO] [dso start] 
'/Users/tgautier/src/forge/projects/labs/tim-guice/sample/statistics'.
[INFO] [dso start] The CVT 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 buffer
[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] 
**************************************************************************************
[INFO] [dso start] 
[INFO] [dso start] 2008-04-09 09:24:44,884 INFO - JMX Server started. Available 
at URL[service:jmx:jmxmp://0.0.0.0:9520]
[INFO] [dso start] 2008-04-09 09:24:45,690 INFO - Terracotta Server has started 
up as ACTIVE node on 0.0.0.0:9510 successfully, and is now ready for work.
[INFO] [dso start] 2008-04-09 09:24:45,719 INFO - Update Checker: Checking...
[INFO] [dso start] 2008-04-09 09:24:45,825 INFO - Update Checker: No updates 
found
[INFO] [dso start] 2008-04-09 09:24:45,831 INFO - Update Checker: Next check at 
Wed Apr 16 09:24:45 PDT 2008
[INFO] DSO Server status: OK
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12 seconds
[INFO] Finished at: Wed Apr 09 09:24:46 PDT 2008
[INFO] Final Memory: 11M/21M
[INFO] ------------------------------------------------------------------------



However, when it started, my statistics directory was not there.  And while 
it's running, here is the ls -ltr:

tmac:sample tgautier$ ls -ltr statistics/
total 0
-rw-r--r--  1 tgautier  tgautier  0 Apr  9 09:24 statistics-store-tc.lck
-rw-r--r--  1 tgautier  tgautier  0 Apr  9 09:24 statistics-buffer-tc.lck


So this warning is either specious, or something else bad is happening as it 
appears to have done something.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.terracotta.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev
  • [tc-dev] [JIRA] Created: (CD... Terracotta JIRA (on behalf of Taylor Gautier)

Reply via email to