Customised tModel
If you wan't to create your own tModel you must define it in tmodel/base-tmodels.xml, but you need
also match the customized tModel key to the root domain property define in dragon.properties.
Example if you create the following tModel:
<tModel tModelKey="uddi:ebmwebsourcing.com:categorization:test">
<name>test environment</name>
<description xml:lang="en">testing environment</description>
<categoryBag>
<keyedReference keyName="uddi-org:types:categorization"
keyValue="categorization" tModelKey="uddi:uddi.org:categorization:types" />
<keyedReference keyName="uddi-org:types:checked"
keyValue="checked" tModelKey="uddi:uddi.org:categorization:types" />
<keyedReference keyName="dragon.org:category:type"
keyValue="businessService" tModelKey="uddi:uddi.org:categorization:general_keywords" />
</categoryBag>
</tModel>
The root.domain must match the ebmwebsourcing.com value, because the validity of the key is based on this property.
If you don't take in account this issue you can during Petals Master initialization recover the following log message:
Can't load TModels from location: classpath:tmodel/base-tmodels.xml