cancel
Showing results for 
Search instead for 
Did you mean: 

creating subtype of type in model

sharifu
Confirmed Champ
Confirmed Champ
Hi have the following model which works with the type finance and its subtypes bonds etc..

however when i try to include type multiclient with a subtype of mlasuppliment it does not work

what am i doing wrong?


<?xml version="1.0" encoding="UTF-8"?>
<model name="sp:spectrummodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">




   <namespaces>
      <namespace uri="sp.new.model" prefix="sp" />
   </namespaces>

   <constraints>
      <constraint name="sp:location" type="LIST">
         <parameter name="allowedValues">
            <list>
               <value></value>
               <value>UK</value>
               <value>USA</value>
            </list>
         </parameter>
      </constraint>
   </constraints>

   <types>
      <type name="sp:contract">
         <title>Contract Document</title>
         <parent>cm:content</parent>
      </type>
      <type name="sp:finance">
         <title>Finance Document</title>
         <parent>sp:contract</parent>
      </type>
      <type name="sp:multiclient">
         <title>MultiClient Document</title>
         <parent>sp:contract</parent>
      </type>
      <!– <type name="sp:mlasuppliment">
         <title>MLA or Suppliment Document</title>
         <parent>sp:multiclient</parent>
      </type> –>
      <type name="sp:annualreturn">
         <title>Annual Return Document</title>
         <parent>sp:finance</parent>
      </type>
      <type name="sp:bonds">
         <title>Bonds and Garantees Document</title>
         <parent>sp:finance</parent>
      </type>
      <type name="sp:invoice">
         <title>Invoice</title>
         <parent>sp:finance</parent>
      </type>
   </types>

   <aspects>
      <aspect name="sp:contractFields">
         <title>Contract Meta Data</title>
         <properties>
            …
            …
            …
         </properties>
      </aspect>

      <aspect name="sp:finance2Fields">
         <title>MultiClient Meta Data</title>
         <properties>
            <property name="sp:creationDate">
               <title>Contract Creation Date</title>
               <type>d:date</type>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>true</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
         </properties>
      </aspect>
      <!–
      <aspect name="sp:mlasupplimentFields">
         <title>MLA or Suppliment Meta Data</title>
         <properties>
            <property name="sp:mctype">
               <title>Type</title>
               <type>d:text</type>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>true</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
         </properties>
      </aspect>
       –>
      <aspect name="sp:financeFields">
         <title>Finance Meta Data</title>
         <properties>
            <property name="sp:value">
               <title>Value</title>
               <type>d:text</type>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>true</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
         </properties>
      </aspect>

      <aspect name="sp:annualreturnFields">
         <title>Annual Return Meta Data</title>
         <properties>
         </properties>
      </aspect>

      <aspect name="sp:bondsFields">
         <title>Bonds Meta Data</title>
         <properties>
            <property name="sp:refNo">
               <title>Reference Number (optional)</title>
               <type>d:text</type>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>true</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
         </properties>
      </aspect>

      <aspect name="sp:invoiceFields">
         <title>Invoice Meta Data</title>
         <properties>
            <property name="sp:invoiceNo">
               <title>Invoice Number</title>
               <type>d:text</type>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>true</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
         </properties>
      </aspect>

   </aspects>

</model>




<alfresco-config>

   <config evaluator="string-compare" condition="Content Wizards">
      <content-types>
         <type name="sp:contract" />
         <type name="sp:multiclient" />
         <!–
            <subtype name="sp:mlasuppliment" />
         </type> –>
         <type name="sp:finance" >
            <subtype name="sp:annualreturn" />
            <subtype name="sp:bonds" />
            <subtype name="sp:invoice" />
         </type>         
      </content-types>
   </config>

   <config evaluator="string-compare" condition="Action Wizards">
      <!– The list of types shown in the is-subtype condition –>
      <subtypes>
         <type name="sp:contract" />
         <type name="sp:multiclient" />
            <!– <subtype name="sp:mlasuppliment" />
         </type> –>
         <type name="sp:finance" >
            <subtypes name="sp:annualreturn" />
            <subtypes name="sp:bonds" />
            <subtype name="sp:invoice" />
         </type>
      </subtypes>

      <specialise-types>
         <type name="sp:contract" display-label="Contract" />
         <type name="sp:multiclient" display-label="MultiClient Contract" />
         <!– <type name="sp:mlasuppliment" display-label="MLA or Suppliment" /> –>
         <type name="sp:finance" display-label="Finance" />
         <type name="sp:annualreturn" display-label="Annual Return" />
         <type name="sp:bonds" display-label="Bonds and Garantees" />
         <type name="sp:invoice" display-label="Invoice" />
      </specialise-types>

      <aspects>
         <aspect name="sp:contractFields" />
         <aspect name="sp:finance2Fields" />
         <!– <aspect name="sp:mlasupplimentFields" /> –>
         <aspect name="sp:financeFields" />
         <aspect name="sp:annualreturnFields" />
         <aspect name="sp:bondsFields" />
         <aspect name="sp:invoiceFields" />
      </aspects>
   </config>

   <config evaluator="aspect-name" condition="sp:contractFields">
      <property-sheet>
         <show-property name="sp:thirdParties" display-label="Customer/Vendor Name" />
         <show-property name="sp:location" display-label="Location" />
         <show-property name="sp:responsibleEmp" display-label="Responsible Employee" />
         <show-property name="sp:contractRef" display-label="Internal Reference" />
         <show-property name="sp:logNumber" display-label="Log Number" />
         <show-property name="sp:effectiveDate" display-label="Contract Signature Date (Client)" />
         <show-property name="sp:expiryDate" display-label="Contract Expiration Date" />
      </property-sheet>
   </config>

   <config evaluator="aspect-name" condition="sp:finance2Fields">
      <property-sheet>
         <show-property name="sp:mctype" display-label="Type" />
      </property-sheet>
   </config>
   <!–
   <config evaluator="aspect-name" condition=""sp:mlasupplimentFields"">
      <property-sheet>
         <show-property name="sp:mctype" display-label="Type" />         
      </property-sheet>
   </config>
    –>
   <config evaluator="aspect-name" condition="sp:financeFields">
      <property-sheet>
         <show-property name="sp:value" display-label="Value" />
      </property-sheet>
   </config>

   <config evaluator="aspect-name" condition="sp:annualreturnFields">
      <property-sheet>
      </property-sheet>
   </config>

   <config evaluator="aspect-name" condition="sp:bondsFields">
      <property-sheet>
         <show-property name="sp:refNo" display-label="Reference Number (optional)" />         
      </property-sheet>
   </config>
   
   <config evaluator="aspect-name" condition="sp:invoiceFields">
      <property-sheet>
         <show-property name="sp:invoiceNo" display-label="Invoice Number" />
      </property-sheet>
   </config>
</alfresco-config>




<alfresco-config>





   <config evaluator="string-compare" condition="Remote">
      <remote>
         …
         …

         <endpoint>
            <id>alfresco</id>
            <name>Alfresco - user access</name>
            <description>Access to Alfresco Repository WebScripts that require   user authentication   </description>
            <connector-id>alfrescoCookie</connector-id>
            <endpoint-url>http://alfrescotest.uk.spectrumasa.com:8080/alfresco/wcs</endpoint-url>
            <identity>user</identity>
            <external-auth>true</external-auth>
         </endpoint>

      </remote>
   </config>

   <config evaluator="string-compare" condition="DocumentLibrary">

      <types>
         <type name="cm:content">
            <subtype name="sp:contract" />
            <subtype name="sp:finance" />
            <subtype name="sp:multiclient" />
         </type>
         <!–
         <type name="sp:multiclient">
            <subtype name="sp:mlasuppliment" />
         </type>
          –>
         <type name="sp:finance" >
            <subtype name="sp:annualreturn" />
            <subtype name="sp:bonds" />
            <subtype name="sp:invoice" />         
         </type>
         
         <type name="cm:folder">
         </type>
      </types>

      <aspects>
         <visible>
            <aspect name="app:inlineeditable" />
            <aspect name="sp:contractFields" />
            <aspect name="sp:finance2Fields" />
            <!– <aspect name="sp:mlasupplimentFields" /> –>
            <aspect name="sp:financeFields" />
            <aspect name="sp:annualreturnFields" />
            <aspect name="sp:bondsFields" />
            <aspect name="sp:invoiceFields" />
         </visible>

         <addable>
         </addable>

         <removeable>
         </removeable>
      </aspects>
   </config>

   <config evaluator="node-type" condition="cm:content">
      <forms>
         <form>
            <field-visibility>
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:responsibleEmp" />
               <show id="sp:contractRef" />
               <show id="sp:logNumber" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />

               <show id="sp:refNo" />
               <show id="sp:value" />

            </field-visibility>
            <appearance>
               <field id="sp:thirdParties" label-id="Customer/Vendor Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Internal Reference" />
               <field id="sp:logNumber" label-id="Log Number" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />

               <field id="sp:refNo" label-id="Reference number (optional)" />
               <field id="sp:value" label-id="Value" />
            </appearance>
         </form>

         <form id="doclib-simple-metadata">
            <field-visibility>
               <hide id="cm:creator" />
               <hide id="cm:modified" />
               <hide id="cm:modifier" />
               <hide id="cm:accessed" />
               <hide id="cm:author" />
               <hide id="cm:encoding" />
               <hide id="cm:mimetype" />
               
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:responsibleEmp" />
               <show id="sp:contractRef" />
               <show id="sp:logNumber" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />

               <show id="sp:refNo" />
               <show id="sp:value" />
            </field-visibility>

            <appearance>
               <field id="sp:thirdParties" label-id="Customer/Vendor Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Internal Reference" />
               <field id="sp:logNumber" label-id="Log Number" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />

               <field id="sp:refNo" label-id="Reference number (optional)" />
               <field id="sp:value" label-id="Value" />
            </appearance>
         </form>

         <form id="doclib-inline-edit">
            <field-visibility>
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:responsibleEmp" />
               <show id="sp:contractRef" />
               <show id="sp:logNumber" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />

               <show id="sp:refNo" />
               <show id="sp:value" />
            </field-visibility>
            <appearance>
               <field id="sp:thirdParties" label-id="Customer/Vendor Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Internal Reference" />
               <field id="sp:logNumber" label-id="Log Number" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />

               <field id="sp:refNo" label-id="Reference number (optional)" />
               <field id="sp:value" label-id="Value" />
            </appearance>
         </form>
      </forms>
   </config>

   <config evaluator="node-type" condition="sp:contract">
      <forms>
         <form>
            <field-visibility>            
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:responsibleEmp" />
               <show id="sp:contractRef" />
               <show id="sp:logNumber" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />               
               <show id="cm:name" force="true" />
            </field-visibility>
            <appearance>
               <field id="sp:thirdParties" label-id="Customer/Vendor Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Internal Reference" />
               <field id="sp:logNumber" label-id="Log Number" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />
               <field id="cm:name" label-id="Original File Fane" read-only="true" />
            </appearance>
         </form>

         <form id="doclib-simple-metadata">
            <field-visibility>
               <hide id="cm:creator" />
               <hide id="cm:modified" />
               <hide id="cm:modifier" />
               <hide id="cm:accessed" />
               <hide id="cm:author" />
               <hide id="cm:encoding" />
               <hide id="cm:mimetype" />
               
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:responsibleEmp" />
               <show id="sp:contractRef" />
               <show id="sp:logNumber" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />
               <show id="cm:name" force="true" />
            </field-visibility>
            <appearance>
               <field id="sp:thirdParties" label-id="Customer/Vendor Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Internal Reference" />
               <field id="sp:logNumber" label-id="Log Number" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />
               <field id="cm:name" label-id="Original File Fane" read-only="true" />
            </appearance>
         </form>

         <form id="doclib-inline-edit">
            <field-visibility>
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:responsibleEmp" />
               <show id="sp:contractRef" />
               <show id="sp:logNumber" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />
               <show id="cm:name" force="true" />
            </field-visibility>
            <appearance>
               <field id="sp:thirdParties" label-id="Customer/Vendor Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Internal Reference" />
               <field id="sp:logNumber" label-id="Log Number" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />
               <field id="cm:name" label-id="Original File Fane" read-only="true" />
            </appearance>
         </form>
      </forms>
   </config>
   
   
   <config evaluator="node-type" condition="sp:multiclient">
      <forms>
         <form>
            <field-visibility>            
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:responsibleEmp" />
               <show id="sp:contractRef" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />
               <show id="sp:creationDate" />
               
            </field-visibility>
            <appearance>
               <field id="sp:thirdParties" label-id="Customer/Vendor Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Reference" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />
               <field id="sp:creationDate" label-id="Contract Creation Date" />
            </appearance>
         </form>

         <form id="doclib-simple-metadata">
            <field-visibility>

               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:responsibleEmp" />
               <show id="sp:contractRef" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />
               <show id="sp:creationDate" />
            </field-visibility>
            <appearance>
               <field id="sp:thirdParties" label-id="Customer/Vendor Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Reference" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />
               <field id="sp:creationDate" label-id="Contract Creation Date" />
            </appearance>
         </form>

         <form id="doclib-inline-edit">
            <field-visibility>
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:responsibleEmp" />
               <show id="sp:contractRef" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />
               <show id="sp:creationDate" />
            </field-visibility>
            <appearance>
               <field id="sp:thirdParties" label-id="Customer/Vendor Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Reference" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />
               <field id="sp:creationDate" label-id="Contract Creation Date" />
            </appearance>
         </form>
      </forms>
   </config>
   
   <!–
   <config evaluator="node-type" condition="sp:mlasuppliment">
      <forms>
         <form>
            <field-visibility>
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:mctype" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:responsibleEmp" />
               <show id="sp:contractRef" />
               <show id="sp:logNumber" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />
            </field-visibility>
            <appearance>
               <field id="sp:mctype" label-id="Type" />
               <field id="sp:thirdParties" label-id="Customer/Vendor Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Internal Reference" />
               <field id="sp:logNumber" label-id="Log Number" />
               <field id="sp:creationDate" label-id="Contract Creation Date" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />
            </appearance>
         </form>

         <form id="doclib-simple-metadata">
            <field-visibility>
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:mctype" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:responsibleEmp" />
               <show id="sp:contractRef" />
               <show id="sp:creationDate" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />
            </field-visibility>
            <appearance>
               <field id="sp:mctype" label-id="Type" />
               <field id="sp:thirdParties" label-id="Customer/Vendor Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Reference" />
               <field id="sp:creationDate" label-id="Contract Creation Date" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />               
            </appearance>
         </form>

         <form id="doclib-inline-edit">
            <field-visibility>
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:mctype" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:responsibleEmp" />
               <show id="sp:contractRef" />
               <show id="sp:creationDate" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />
            </field-visibility>
            <appearance>
               <field id="sp:mctype" label-id="Type" />
               <field id="sp:thirdParties" label-id="Customer/Vendor Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Reference" />
               <field id="sp:creationDate" label-id="Contract Creation Date" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />   
            </appearance>
         </form>
      </forms>
   </config>
    –>
   <config evaluator="node-type" condition="sp:finance">
      <forms>
         <form>
            <field-visibility>            
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:responsibleEmp" />
               <show id="sp:contractRef" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />
            </field-visibility>
            <appearance>
               <field id="sp:thirdParties" label-id="Customer/Vendor Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Reference" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />
            </appearance>
         </form>

         <form id="doclib-simple-metadata">
            <field-visibility>

               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:responsibleEmp" />
               <show id="sp:contractRef" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />
            </field-visibility>
            <appearance>
               <field id="sp:thirdParties" label-id="Customer/Vendor Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Reference" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />
            </appearance>
         </form>

         <form id="doclib-inline-edit">
            <field-visibility>
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:responsibleEmp" />
               <show id="sp:contractRef" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />
            </field-visibility>
            <appearance>
               <field id="sp:thirdParties" label-id="Customer/Vendor Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Reference" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />
            </appearance>
         </form>
      </forms>
   </config>
   
   <config evaluator="node-type" condition="sp:annualreturn">
      <forms>
         <form>
            <field-visibility>            
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:responsibleEmp" />
               <show id="sp:contractRef" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />
            </field-visibility>
            <appearance>
               <field id="cm:title" label-id="Year" />
               <field id="sp:thirdParties" label-id="Company Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Reference" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />
            </appearance>
         </form>

         <form id="doclib-simple-metadata">
            <field-visibility>
               <hide id="cm:creator" />
               <hide id="cm:modified" />
               <hide id="cm:modifier" />
               <hide id="cm:accessed" />
               <hide id="cm:author" />
               <hide id="cm:encoding" />
               <hide id="cm:mimetype" />
               
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:responsibleEmp" />
               <show id="sp:contractRef" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />
            </field-visibility>
            <appearance>
               <field id="cm:title" label-id="Year" />
               <field id="sp:thirdParties" label-id="Company Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Reference" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />
            </appearance>
         </form>

         <form id="doclib-inline-edit">
            <field-visibility>
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:responsibleEmp" />
               <show id="sp:contractRef" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />
            </field-visibility>
            <appearance>
               <field id="cm:title" label-id="Year" />
               <field id="sp:thirdParties" label-id="Company Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Reference" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />
            </appearance>
         </form>
      </forms>
   </config>


   <config evaluator="node-type" condition="sp:bonds">
      <forms>
         <form>
            <field-visibility>
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:contractRef" />               

               <show id="sp:refNo" />
               <show id="sp:value" />

               <show id="sp:responsibleEmp" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />
            </field-visibility>
            <appearance>
               <field id="sp:thirdParties" label-id="Company Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:contractRef" label-id="Reference" />

               <field id="sp:refNo" label-id="Reference number (optional)" />
               <field id="sp:value" label-id="Value" />

               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />
            </appearance>
         </form>

         <form id="doclib-simple-metadata">
            <field-visibility>
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:contractRef" />

               <show id="sp:refNo" />
               <show id="sp:value" />
               
               <show id="sp:responsibleEmp" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />
            </field-visibility>
            <appearance>
               <field id="sp:thirdParties" label-id="Company Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:contractRef" label-id="Reference" />

               <field id="sp:refNo" label-id="Reference number (optional)" />
               <field id="sp:value" label-id="Value" />

               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />
            </appearance>
         </form>

         <form id="doclib-inline-edit">
            <field-visibility>
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:contractRef" />

               <show id="sp:refNo" />
               <show id="sp:value" />

               <show id="sp:responsibleEmp" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />
            </field-visibility>
            <appearance>
               <field id="sp:thirdParties" label-id="Company Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:contractRef" label-id="Reference" />

               <field id="sp:refNo" label-id="Reference number (optional)" />
               <field id="sp:value" label-id="Value" />

               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />
            </appearance>
         </form>
      </forms>
   </config>
   
   <config evaluator="node-type" condition="sp:invoice">
      <forms>
         <form>
            <field-visibility>
               <hide id="cm:title" force="true" />
               <hide id="cm:description" force="true" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:contractRef" />               

               <show id="sp:invoiceNo" />
               <show id="sp:value" />

               <show id="sp:responsibleEmp" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />
            </field-visibility>
            <appearance>
               <field id="sp:thirdParties" label-id="Company Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:contractRef" label-id="Account Number" />

               <field id="sp:invoiceNo" label-id="Invoice Number" />
               <field id="sp:value" label-id="Value" />

               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />
            </appearance>
         </form>

         <form id="doclib-simple-metadata">
            <field-visibility>
               <hide id="cm:title" force="true" />
               <hide id="cm:description" force="true" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:contractRef" />               

               <show id="sp:invoiceNo" />
               <show id="sp:value" />

               <show id="sp:responsibleEmp" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />
            </field-visibility>
            <appearance>
               <field id="sp:thirdParties" label-id="Company Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:contractRef" label-id="Account Number" />

               <field id="sp:invoiceNo" label-id="Invoice Number" />
               <field id="sp:value" label-id="Value" />

               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />
            </appearance>
         </form>

         <form id="doclib-inline-edit">
            <field-visibility>
               <hide id="cm:title" force="true" />
               <hide id="cm:description" force="true" />
               <show id="sp:thirdParties" />
               <show id="sp:location" />
               <show id="sp:contractRef" />               

               <show id="sp:invoiceNo" />
               <show id="sp:value" />

               <show id="sp:responsibleEmp" />
               <show id="sp:effectiveDate" />
               <show id="sp:expiryDate" />
            </field-visibility>
            <appearance>
               <field id="sp:thirdParties" label-id="Company Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:contractRef" label-id="Account Number" />

               <field id="sp:invoiceNo" label-id="Invoice Number" />
               <field id="sp:value" label-id="Value" />

               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)" />
               <field id="sp:expiryDate" label-id="Contract Expiration Date" />
            </appearance>
         </form>
      </forms>
   </config>



   <config evaluator="string-compare" condition="Content Wizards">
      <types>
         <type name="cm:content">
            <subtype name="sp:contract" />
            <subtype name="sp:finance" />
            <subtype name="sp:multiclient" />
         </type>
         <!–
         <type name="sp:multiclient">
            <subtype name="sp:mlasuppliment" />
         </type>
          –>
         <type name="sp:finance" >
            <subtype name="sp:annualreturn" />
            <subtype name="sp:bonds" />
            <subtype name="sp:invoice" />            
         </type>
         
         <type name="cm:folder">
         </type>
      </types>

   </config>

   <config evaluator="string-compare" condition="AdvancedSearch">
      <advanced-search>
         <forms>
            <form label="Contract Document" description="Contract Document">sp:contract</form>
            <form label="MultiClient Contract Document" description="MultiClient Contract document">sp:multiclient</form>
            <!– <form label="MLA or Suppliment Document" description="MLA or Suppliment Document">sp:mlasuppliment</form> –>
            <form label="Finance Document" description="Finance document">sp:finance</form>
            <form label="Finance Annual Return" description="Finance Annual Return">sp:annualreturn</form>
            <form label="Finance Bonds and Garantees" description="Finance Bonds and Garantees">sp:bonds</form>
            <form label="Finance Invoice" description="Invoice">sp:invoice</form>
         </forms>
      </advanced-search>
   </config>

   <config evaluator="model-type" condition="sp:contract">
      <forms>
         <form id="search">
            <field-visibility>
               <show id="cm:name" />
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" force="true" />
               <show id="sp:location" force="true" />
               <show id="sp:responsibleEmp" force="true" />
               <show id="sp:contractRef" force="true" />
               <show id="sp:logNumber" force="true" />
               <show id="sp:effectiveDate" force="true" />
               <show id="sp:expiryDate" force="true" />
            </field-visibility>
            <appearance>
               <field id="sp:thirdParties" label-id="Customer/Vendor Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Internal Reference" />
               <field id="sp:logNumber" label-id="Log Number" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)">
                  <control template="/org/alfresco/components/form/controls/daterange.ftl" />
               </field>
               <field id="sp:expiryDate" label-id="Contract Expiration Date">
                  <control template="/org/alfresco/components/form/controls/daterange.ftl" />
               </field>
            </appearance>
         </form>
      </forms>
   </config>
   
   <config evaluator="model-type" condition="sp:multiclient">
      <forms>
         <form id="search">
            <field-visibility>
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" force="true" />
               <show id="sp:location" force="true" />
               <show id="sp:responsibleEmp" force="true" />
               <show id="sp:contractRef" force="true" />
               <show id="sp:effectiveDate" force="true" />
               <show id="sp:expiryDate" force="true" />
               <show id="sp:creationDate" force="true" />
            </field-visibility>
            <appearance>
               <field id="sp:thirdParties" label-id="Customer/Vendor Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Reference" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)">
                  <control template="/org/alfresco/components/form/controls/daterange.ftl" />
               </field>
               <field id="sp:expiryDate" label-id="Contract Expiration Date">
                  <control template="/org/alfresco/components/form/controls/daterange.ftl" />
               </field>
               <field id="sp:creationDate" label-id="Contract Creation Date">
                  <control template="/org/alfresco/components/form/controls/daterange.ftl" />
               </field>
            </appearance>         
         </form>
      </forms>
   </config>
   <!–
   <config evaluator="model-type" condition="sp:mlasuppliment">
      <forms>
         <form id="search">
            <field-visibility>
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:mctype" force="true" />
               <show id="sp:thirdParties" force="true" />
               <show id="sp:location" force="true" />
               <show id="sp:responsibleEmp" force="true" />
               <show id="sp:contractRef" force="true" />
               <show id="sp:creationDate" force="true" />
               <show id="sp:effectiveDate" force="true" />
               <show id="sp:expiryDate" force="true" />
            </field-visibility>
            <appearance>
               <field id="sp:mctype" label-id="Type" />
               <field id="sp:thirdParties" label-id="Customer/Vendor Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Reference" />
               <field id="sp:creationDate" label-id="Contract Creation Date">
                  <control template="/org/alfresco/components/form/controls/daterange.ftl" />
               </field>
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)">
                  <control template="/org/alfresco/components/form/controls/daterange.ftl" />
               </field>
               <field id="sp:expiryDate" label-id="Contract Expiration Date">
                  <control template="/org/alfresco/components/form/controls/daterange.ftl" />
               </field>               
            </appearance>         
         </form>
      </forms>
   </config>
    –>
   <config evaluator="model-type" condition="sp:finance">
      <forms>
         <form id="search">
            <field-visibility>
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" force="true" />
               <show id="sp:location" force="true" />
               <show id="sp:responsibleEmp" force="true" />
               <show id="sp:contractRef" force="true" />
               <show id="sp:effectiveDate" force="true" />
               <show id="sp:expiryDate" force="true" />
            </field-visibility>
            <appearance>
               <field id="sp:thirdParties" label-id="Customer/Vendor Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Reference" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)">
                  <control template="/org/alfresco/components/form/controls/daterange.ftl" />
               </field>
               <field id="sp:expiryDate" label-id="Contract Expiration Date">
                  <control template="/org/alfresco/components/form/controls/daterange.ftl" />
               </field>
            </appearance>         
         </form>
      </forms>
   </config>
   
   
   <config evaluator="model-type" condition="sp:annualreturn">
      <forms>
         <form id="search">
            <field-visibility>
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" force="true" />
               <show id="sp:location" force="true" />
               <show id="sp:responsibleEmp" force="true" />
               <show id="sp:contractRef" force="true" />
               <show id="sp:effectiveDate" force="true" />
               <show id="sp:expiryDate" force="true" />
            </field-visibility>
            <appearance>
               <field id="cm:title" label-id="Year" />
               <field id="sp:thirdParties" label-id="Company Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:contractRef" label-id="Reference" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)">
                  <control template="/org/alfresco/components/form/controls/daterange.ftl" />
               </field>
               <field id="sp:expiryDate" label-id="Contract Expiration Date">
                  <control template="/org/alfresco/components/form/controls/daterange.ftl" />
               </field>
            </appearance>         
         </form>
      </forms>
   </config>
   

   <config evaluator="model-type" condition="sp:bonds">
      <forms>
         <form id="search">
            <field-visibility>
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="sp:thirdParties" force="true" />
               <show id="sp:location" force="true" />
               <show id="sp:contractRef" force="true" />

               <show id="sp:refNo" force="true" />
               <show id="sp:value" force="true" />

               <show id="sp:responsibleEmp" force="true" />
               <show id="sp:effectiveDate" force="true" />
               <show id="sp:expiryDate" force="true" />
            </field-visibility>

            <appearance>
               <field id="sp:thirdParties" label-id="Company Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:contractRef" label-id="Reference" />

               <field id="sp:refNo" label-id="Reference number (optional)" />
               <field id="sp:value" label-id="Value" />

               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)">
                  <control template="/org/alfresco/components/form/controls/daterange.ftl" />
               </field>
               <field id="sp:expiryDate" label-id="Contract Expiration Date">
                  <control template="/org/alfresco/components/form/controls/daterange.ftl" />
               </field>
            </appearance>
         </form>
      </forms>
   </config>
   
   <config evaluator="model-type" condition="sp:invoice">
      <forms>
         <form id="search">
            <field-visibility>
               <hide id="cm:title" force="true" />
               <hide id="cm:description" force="true" />
               <show id="sp:thirdParties" force="true" />
               <show id="sp:location" force="true" />
               <show id="sp:contractRef" force="true" />

               <show id="sp:invoiceNo" force="true" />
               <show id="sp:value" force="true" />

               <show id="sp:responsibleEmp" force="true" />
               <show id="sp:effectiveDate" force="true" />
               <show id="sp:expiryDate" force="true" />
            </field-visibility>

            <appearance>
               <field id="sp:thirdParties" label-id="Company Name" />
               <field id="sp:location" label-id="Location" />
               <field id="sp:contractRef" label-id="Account Number" />

               <field id="sp:invoiceNo" label-id="Invoice Number" />
               <field id="sp:value" label-id="Value" />

               <field id="sp:responsibleEmp" label-id="Responsible Employee" />
               <field id="sp:effectiveDate" label-id="Contract Signature Date (Client)">
                  <control template="/org/alfresco/components/form/controls/daterange.ftl" />
               </field>
               <field id="sp:expiryDate" label-id="Contract Expiration Date">
                  <control template="/org/alfresco/components/form/controls/daterange.ftl" />
               </field>
            </appearance>
         </form>
      </forms>
   </config>


</alfresco-config>



currently i get the following errors



log4j:WARN No appenders could be found for logger (org.quartz.core.QuartzSchedulerThread).
log4j:WARN Please initialize the log4j system properly.
Aug 8, 2012 2:08:30 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/alfresco-4.0.d/java/jre/lib/amd64/server:/opt/alfresco-4.0.d/java/jre/lib/amd64:/opt/alfresco-4.0.d/java/jre/../lib/amd64:/opt/alfresco-4.0.d/common/lib::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Aug 8, 2012 2:08:30 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Aug 8, 2012 2:08:30 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8443
Aug 8, 2012 2:08:30 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1342 ms
Aug 8, 2012 2:08:31 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 8, 2012 2:08:31 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
Aug 8, 2012 2:08:31 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Aug 8, 2012 2:08:31 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Aug 8, 2012 2:08:31 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor alfresco.xml
Aug 8, 2012 2:08:32 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
2012-08-08 14:08:47,820  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
2012-08-08 14:08:47,883  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
2012-08-08 14:08:56,153  WARN  [alfresco.util.AbstractTriggerBean] [main] Job ehCacheTracerJob is not active/enabled
2012-08-08 14:08:58,904  INFO  [extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor Repository Template Processor for extension ftl
2012-08-08 14:08:58,906  INFO  [extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor Repository Script Processor for extension js
2012-08-08 14:09:07,561  INFO  [domain.schema.SchemaBootstrap] [main] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
2012-08-08 14:09:07,655  ERROR [domain.schema.SchemaBootstrap] [main] Schema auto-update failed
org.hibernate.exception.GenericJDBCException: could not get table metadata: JBPM_ACTION
   at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
   at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
   at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
   at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
   at org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(DatabaseMetadata.java:105)
   at org.hibernate.cfg.Configuration.generateSchemaUpdateScript(Configuration.java:954)
   at org.alfresco.repo.domain.schema.SchemaBootstrap.updateSchema(SchemaBootstrap.java:814)
   at org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBootstrap.java:1479)
   at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
   at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)
   at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
   at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
   at org.apache.catalina.core.StandardService.start(StandardService.java:519)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.sql.SQLException: Got error 28 from storage engine
   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1075)
   at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3566)
   at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3498)
   at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
   at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113)
   at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2562)
   at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2512)
   at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1476)
   at com.mysql.jdbc.DatabaseMetaData$2.forEach(DatabaseMetaData.java:2493)
   at com.mysql.jdbc.IterateBlock.doForAll(IterateBlock.java:53)
   at com.mysql.jdbc.DatabaseMetaData.getColumns(DatabaseMetaData.java:2367)
   at org.apache.commons.dbcp.DelegatingDatabaseMetaData.getColumns(DelegatingDatabaseMetaData.java:218)
   at org.apache.commons.dbcp.DelegatingDatabaseMetaData.getColumns(DelegatingDatabaseMetaData.java:218)
   at org.hibernate.tool.hbm2ddl.TableMetadata.initColumns(TableMetadata.java:146)
   at org.hibernate.tool.hbm2ddl.TableMetadata.<init>(TableMetadata.java:32)
   at org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(DatabaseMetadata.java:90)
   … 37 more
2012-08-08 14:09:07,659  ERROR [web.context.ContextLoader] [main] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 07080000 Schema auto-update failed
   at org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBootstrap.java:1612)
   at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
   at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)
   at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
   at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
   at org.apache.catalina.core.StandardService.start(StandardService.java:519)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.hibernate.exception.GenericJDBCException: could not get table metadata: JBPM_ACTION
   at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
   at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
   at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
   at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
   at org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(DatabaseMetadata.java:105)
   at org.hibernate.cfg.Configuration.generateSchemaUpdateScript(Configuration.java:954)
   at org.alfresco.repo.domain.schema.SchemaBootstrap.updateSchema(SchemaBootstrap.java:814)
   at org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBootstrap.java:1479)
   … 34 more
Caused by: java.sql.SQLException: Got error 28 from storage engine
   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1075)
   at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3566)
   at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3498)
   at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
   at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113)
   at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2562)
   at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2512)
   at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1476)
   at com.mysql.jdbc.DatabaseMetaData$2.forEach(DatabaseMetaData.java:2493)
   at com.mysql.jdbc.IterateBlock.doForAll(IterateBlock.java:53)
   at com.mysql.jdbc.DatabaseMetaData.getColumns(DatabaseMetaData.java:2367)
   at org.apache.commons.dbcp.DelegatingDatabaseMetaData.getColumns(DelegatingDatabaseMetaData.java:218)
   at org.apache.commons.dbcp.DelegatingDatabaseMetaData.getColumns(DelegatingDatabaseMetaData.java:218)
   at org.hibernate.tool.hbm2ddl.TableMetadata.initColumns(TableMetadata.java:146)
   at org.hibernate.tool.hbm2ddl.TableMetadata.<init>(TableMetadata.java:32)
   at org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(DatabaseMetadata.java:90)
   … 37 more
Aug 8, 2012 2:09:10 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Aug 8, 2012 2:09:10 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [SolrWatcherScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [SolrWatcherScheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [SolrWatcherScheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_Worker-4] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_Worker-5] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_Worker-6] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_Worker-7] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_Worker-8] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_Worker-9] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_Worker-10] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [Thread-4] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [SolrWatcherScheduler_QuartzSchedulerThread] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_QuartzSchedulerThread] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.ClassFactory$1@2dc2caa7]) and a value of type [java.util.WeakHashMap] (value [{class org.alfresco.repo.audit.model._3.DataGenerators=java.lang.ref.WeakReference@56851105, class org.alfresco.repo.audit.model._3.DataExtractor=java.lang.ref.WeakReference@3a208ba3, class org.alfresco.repo.audit.model._3.PathMappings=java.lang.ref.WeakReference@2eaf9825, class java.util.ArrayList=java.lang.ref.WeakReference@a2dbd15, class org.alfresco.repo.audit.model._3.DataExtractors=java.lang.ref.WeakReference@40d8b2eb, class org.alfresco.repo.audit.model._3.Audit=java.lang.ref.WeakReference@52ca838f, class javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.WeakReference@6d834bbf, class org.alfresco.repo.audit.model._3.PathMap=java.lang.ref.WeakReference@46e220c4, class org.alfresco.repo.audit.model._3.GenerateValue=java.lang.ref.WeakReference@27d54837, class org.alfresco.repo.audit.model._3.RecordValue=java.lang.ref.WeakReference@2378274f, class org.alfresco.repo.audit.model._3.DataGenerator=java.lang.ref.WeakReference@255cc5ba, class org.alfresco.repo.audit.model._3.AuditPath=java.lang.ref.WeakReference@6db9497f, class org.alfresco.repo.audit.model._3.Application=java.lang.ref.WeakReference@1f886920}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@34adc40c]) and a value of type [org.apache.cxf.bus.CXFBusImpl] (value [org.apache.cxf.bus.CXFBusImpl@7c220ad8]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@1ef62a93]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@336528c6]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Aug 8, 2012 2:09:10 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3657f986]) and a value of type [org.alfresco.util.CachingDateFormat] (value [yyyy-MM-dd]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
Aug 8, 2012 2:09:12 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor solr.xml
Aug 8, 2012 2:09:12 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: Using JNDI solr.home: /opt/alfresco-4.0.d/alf_data/solr
Aug 8, 2012 2:09:12 PM org.apache.solr.core.SolrResourceLoader <init>
INFO: Solr home set to '/opt/alfresco-4.0.d/alf_data/solr/'
Aug 8, 2012 2:09:12 PM org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding 'file:/opt/alfresco-4.0.d/alf_data/solr/lib/spring-webeditor-1.0.0.jar' to classloader
Aug 8, 2012 2:09:12 PM org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding 'file:/opt/alfresco-4.0.d/alf_data/solr/lib/servlet.jar' to classloader
Aug 8, 2012 2:09:12 PM org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding 'file:/opt/alfresco-4.0.d/alf_data/solr/lib/commons-codec-1.4.jar' to classloader
Aug 8, 2012 2:09:12 PM org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding 'file:/opt/alfresco-4.0.d/alf_data/solr/lib/log4j-1.2.15.jar' to classloader
Aug 8, 2012 2:09:12 PM org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding 'file:/opt/alfresco-4.0.d/alf_data/solr/lib/org.springframework.orm-3.0.5.RELEASE.jar' to classloader
Aug 8, 2012 2:09:12 PM org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding 'file:/opt/alfresco-4.0.d/alf_data/solr/lib/org.springframework.aop-3.0.5.RELEASE.jar' to classloader
Aug 8, 2012 2:09:12 PM org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding 'file:/opt/alfresco-4.0.d/alf_data/solr/lib/jaxen-1.1-beta-8.jar' to classloader
Aug 8, 2012 2:09:12 PM org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding 'file:/opt/alfresco-4.0.d/alf_data/solr/lib/spring-surf-core-1.0.0.jar' to classloader

…..
…..
…..
…..

INFO: created null: org.apache.solr.analysis.WordDelimiterFilterFactory
Aug 8, 2012 2:09:13 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.LowerCaseFilterFactory
Aug 8, 2012 2:09:13 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created alfrescoDataType: org.alfresco.solr.AlfrescoDataType
Aug 8, 2012 2:09:15 PM org.apache.solr.handler.component.SpellCheckComponent inform
WARNING: No queryConverter defined, using default converter
Aug 8, 2012 2:09:17 PM org.apache.solr.handler.component.SpellCheckComponent inform
WARNING: No queryConverter defined, using default converter
Aug 8, 2012 2:09:18 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
2012-08-08 14:09:22,604  INFO  [extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor freemarker for extension ftl
2012-08-08 14:09:22,675  INFO  [extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor javascript for extension js
2012-08-08 14:09:22,675  INFO  [extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor freemarker for extension ftl
2012-08-08 14:09:22,679  INFO  [extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor javascript for extension js
2012-08-08 14:09:25,144  INFO  [extensions.webscripts.DeclarativeRegistry] [main] Registered 312 Web Scripts (+0 failed), 322 URLs
2012-08-08 14:09:25,144  INFO  [extensions.webscripts.DeclarativeRegistry] [main] Registered 8 Package Description Documents (+0 failed)
2012-08-08 14:09:25,144  INFO  [extensions.webscripts.DeclarativeRegistry] [main] Registered 0 Schema Description Documents (+0 failed)
2012-08-08 14:09:25,586  INFO  [extensions.webscripts.AbstractRuntimeContainer] [main] Initialised Spring Surf Container Web Script Container (in 2900.744ms)
2012-08-08 14:09:25,592  INFO  [extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor freemarker for extension ftl
2012-08-08 14:09:25,596  INFO  [extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor javascript for extension js
2012-08-08 14:09:25,824  INFO  [site.servlet.SSOAuthenticationFilter] [main] SSOAuthenticationFilter initialised.
Aug 8, 2012 2:09:25 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Aug 8, 2012 2:09:25 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Aug 8, 2012 2:09:25 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Aug 8, 2012 2:09:25 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/18  config=null
Aug 8, 2012 2:09:25 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8443
Aug 8, 2012 2:09:25 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 54988 ms
Aug 8, 2012 2:09:30 PM org.quartz.core.JobRunShell run
SEVERE: Job Solr.CoreTracker-alfresco threw an unhandled Exception:
org.alfresco.error.AlfrescoRuntimeException: 07080000 GetModelsDiff return status is 404
   at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1010)
   at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1630)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1134)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:491)
   at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Aug 8, 2012 2:09:30 PM org.quartz.core.ErrorLogger schedulerError
SEVERE: Job (Solr.CoreTracker-alfresco threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 07080000 GetModelsDiff return status is 404]
   at org.quartz.core.JobRunShell.run(JobRunShell.java:227)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Caused by: org.alfresco.error.AlfrescoRuntimeException: 07080000 GetModelsDiff return status is 404
   at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1010)
   at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1630)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1134)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:491)
   at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   … 1 more
Aug 8, 2012 2:09:30 PM org.quartz.core.JobRunShell run
SEVERE: Job Solr.CoreTracker-archive threw an unhandled Exception:
org.alfresco.error.AlfrescoRuntimeException: 07080001 GetModelsDiff return status is 404
   at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1010)
   at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1630)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1134)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:491)
   at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Aug 8, 2012 2:09:30 PM org.quartz.core.ErrorLogger schedulerError
SEVERE: Job (Solr.CoreTracker-archive threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 07080001 GetModelsDiff return status is 404]
   at org.quartz.core.JobRunShell.run(JobRunShell.java:227)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Caused by: org.alfresco.error.AlfrescoRuntimeException: 07080001 GetModelsDiff return status is 404
   at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1010)
   at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1630)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1134)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:491)
   at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   … 1 more
Aug 8, 2012 2:09:38 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Aug 8, 2012 2:09:38 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8443
Aug 8, 2012 2:09:39 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Aug 8, 2012 2:09:39 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/share] created a ThreadLocal with key of type [null] (value [org.springframework.extensions.webscripts.processor.FTLTemplateProcessor$NonBlockingObjectWrapper$1@66b2a74d]) and a value of type [freemarker.template.DefaultObjectWrapper] (value [freemarker.template.DefaultObjectWrapper@5b05e4e7]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Aug 8, 2012 2:09:39 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/share] created a ThreadLocal with key of type [null] (value [org.springframework.extensions.webscripts.processor.FTLTemplateProcessor$NonBlockingObjectWrapper$1@5ff72860]) and a value of type [freemarker.template.DefaultObjectWrapper] (value [freemarker.template.DefaultObjectWrapper@5b7be7d8]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Aug 8, 2012 2:09:39 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/share] created a ThreadLocal with key of type [null] (value [org.springframework.extensions.webscripts.processor.FTLTemplateProcessor$NonBlockingObjectWrapper$1@23b244d4]) and a value of type [freemarker.template.DefaultObjectWrapper] (value [freemarker.template.DefaultObjectWrapper@cc4cc9b]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Aug 8, 2012 2:09:39 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/share] created a ThreadLocal with key of type [null] (value [org.springframework.extensions.webscripts.processor.FTLTemplateProcessor$NonBlockingObjectWrapper$1@4c54daa9]) and a value of type [freemarker.template.DefaultObjectWrapper] (value [freemarker.template.DefaultObjectWrapper@56dfb465]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Aug 8, 2012 2:09:39 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/solr] appears to have started a thread named [SolrTrackerScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:39 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/solr] appears to have started a thread named [SolrTrackerScheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:39 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/solr] appears to have started a thread named [SolrTrackerScheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:39 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/solr] appears to have started a thread named [MultiThreadedHttpConnectionManager cleanup] but has failed to stop it. This is very likely to create a memory leak.
Aug 8, 2012 2:09:39 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Aug 8, 2012 2:09:39 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8443
log4j:WARN No appenders could be found for logger (org.quartz.core.QuartzSchedulerThread).
log4j:WARN Please initialize the log4j system properly.

1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator
Hello,


as far as I see this has nothing to do with your custom model. According to the following links, this is an issue with your database, which does not have enough space left to write data to its storage.

http://www.cyberciti.biz/faq/mysql-error-28-and-solution/
http://dev.mysql.com/doc/refman/5.1/de/cannot-create.html

Regards
Axel