Autolocked class without a corresponding include clause in the eclipse 
plugin-generated config
----------------------------------------------------------------------------------------------

                 Key: CDV-764
                 URL: https://jira.terracotta.org/jira//browse/CDV-764
             Project: Community Development
          Issue Type: Bug
          Components: Eclipse Plugin
    Affects Versions: 2.6.0
            Reporter: Orion Letizi
            Assignee: Issue Review Board


Not sure how this happened, but somehow I ended up with this configuration when 
using only the context menus in the eclipse plugin.  I configured all of the 
methods in the main.action.BulkUpdate class to be autolocked, but the 
corresponding include clause was not inserted by the plugin.

<?xml version="1.0" encoding="UTF-8"?>
<con:tc-config xmlns:con="http://www.terracotta.org/config";>
  <servers>
    <server host="192.168.1.111" name="localhost">
      <dso-port>9510</dso-port>
      <jmx-port>9520</jmx-port>
      <data>terracotta/server-data</data>
      <logs>terracotta/server-logs</logs>
      <statistics>terracotta/cluster-statistics</statistics>
    </server>
    <update-check>
      <enabled>true</enabled>
    </update-check>
  </servers>
  <clients>
    <logs>terracotta/client-logs</logs>
    <statistics>terracotta/client-statistics/%D</statistics>
  </clients>
  <application>
    <dso>
      <instrumented-classes>
        <include>
          <class-expression>model.Person</class-expression>
        </include>
        <include>
          <class-expression>sor.WriteQueue</class-expression>
        </include>
        <include>
          <class-expression>sor.SystemOfRecord</class-expression>
        </include>
        <include>
          <class-expression>sor.WriteTask</class-expression>
        </include>
        <include>
          <class-expression>sor.WriteWorker</class-expression>
        </include>
        <include>
          <class-expression>sor.Cache</class-expression>
        </include>
        <include>
          <class-expression>config.Configuration</class-expression>
        </include>
        <include>
          <class-expression>sor.Session</class-expression>
        </include>
      </instrumented-classes>
      <roots>
        <root>
          <field-name>config.ConfigurationFactory.config</field-name>
        </root>
        <root>
          <field-name>sor.SystemOfRecordFactory.sor</field-name>
        </root>
      </roots>
      <locks>
        <autolock auto-synchronized="false">
          <method-expression>* sor.WriteTask.*(..)</method-expression>
          <lock-level>write</lock-level>
        </autolock>
        <autolock auto-synchronized="false">
          <method-expression>* model.Person.*(..)</method-expression>
          <lock-level>write</lock-level>
        </autolock>
        <autolock auto-synchronized="false">
          <method-expression>* sor.Cache.*(..)</method-expression>
          <lock-level>write</lock-level>
        </autolock>
        <autolock>
          <method-expression>* config.Configuration.*(..)</method-expression>
          <lock-level>write</lock-level>
        </autolock>
        <autolock auto-synchronized="false">
          <method-expression>void 
sor.SystemOfRecord.__INIT__()</method-expression>
          <lock-level>write</lock-level>
        </autolock>
        <autolock auto-synchronized="false">
          <method-expression>* sor.SystemOfRecord.*(..)</method-expression>
          <lock-level>write</lock-level>
        </autolock>
        <autolock auto-synchronized="false">
          <method-expression>* sor.Session.*(..)</method-expression>
          <lock-level>write</lock-level>
        </autolock>
        <autolock auto-synchronized="false">
          <method-expression>* sor.WriteWorker.*(..)</method-expression>
          <lock-level>write</lock-level>
        </autolock>
        <autolock>
          <method-expression>* main.action.BulkUpdate.*(..)</method-expression>
          <lock-level>write</lock-level>
        </autolock>
      </locks>
    </dso>
  </application>
</con:tc-config>


-- 
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

Reply via email to