<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Am 19.01.2015 um 13:49 schrieb
      Christoph Kukulies:<br>
    </div>
    <blockquote cite="mid:54BCFD55.7000302@physik.rwth-aachen.de"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div class="moz-cite-prefix">I'm still having errors during
        startup. It's probably not the java parameters but another
        problem related to solr.<br>
        Look here (what is logged, when I start cmsshell.sh):<br>
        <br>
        <br>
        19 Jan 2015 13:44:54,956  INFO
        [pencms.search.CmsSearchManager:2956] . Search Solr          :
        Solr core container created using
        /var/lib/tomcat7/webapps/ROOT/WEB-INF/solr as Solr home and
        solr.xml as configuration file.<br>
        19 Jan 2015 13:44:55,255 ERROR [ org.apache.solr.core.SolrCore:
        481] [descriptor] Solr index directory
        '/var/lib/tomcat7/webapps/ROOT/WEB-INF/index/Solr Online/index/'
        is locked.  Throwing exception<br>
        19 Jan 2015 13:44:55,256 ERROR
        [apache.solr.core.CoreContainer:1449] Unable to create core:
        descriptor<br>
        org.apache.solr.common.SolrException: Index locked for write for
        core descriptor
        <div class="moz-cite-prefix">Am 19.01.2015 um 13:49 schrieb
          Christoph Kukulies:<br>
        </div>
        <blockquote cite="mid:54BCFD55.7000302@physik.rwth-aachen.de"
          type="cite">
          <div class="moz-cite-prefix">I'm still having errors during
            startup. It's probably not the java parameters but another
            problem related to solr.<br>
            Look here (what is logged, when I start cmsshell.sh):<br>
            <br>
            <br>
            19 Jan 2015 13:44:54,956  INFO
            [pencms.search.CmsSearchManager:2956] . Search Solr         
            : Solr core container created using
            /var/lib/tomcat7/webapps/ROOT/WEB-INF/solr as Solr home and
            solr.xml as configuration file.<br>
            19 Jan 2015 13:44:55,255 ERROR [
            org.apache.solr.core.SolrCore: 481] [descriptor] Solr index
            directory '/var/lib/tomcat7/webapps/ROOT/WEB-INF/index/Solr
            Online/index/' is locked.  Throwing exception<br>
          </div>
        </blockquote>
        <br>
        OK, that one is because I had the servlet container running at
        the same time as I was trying to run  cmsshell.sh.<br>
        That's why the solr index directory was locked. After stopping
        the service I ran the cmsshell.sh once again and it now<br>
        turns out that there is another error:<br>
        <br>
        type init   : added resource type "documentation-dummy-content"
        id=362 class=org.opencms.file.types.CmsResourceTypeXmlContent<br>
        19 Jan 2015 14:07:34,403  INFO
        [ncms.loader.CmsResourceManager:1416] . Resource type init   :
        added resource type "documentation-demo-layout-element" id=372
        class=org.opencms.file.types.CmsResourceTypeXmlContent<br>
        19 Jan 2015 14:07:34,403  INFO
        [ncms.loader.CmsResourceManager:1533] . Resource type init   :
        finished<br>
        19 Jan 2015 14:07:34,860 ERROR [ypes.CmsResourceTypeXmlContent:
        279] Invalid XML schema
        "/system/modules/org.opencms.frontend.templatetwo/schemas/config.xsd"
        configured for type name "ttconfig".<br>
        org.opencms.xml.CmsXmlException: Invalid custom widget class
        "org.opencms.frontend.templatetwo.CmsPresetSelectWidget" for
        element "Preset" in content definition
"opencms://system/modules/org.opencms.frontend.templatetwo/schemas/config.xsd".<br>
                at
org.opencms.xml.content.CmsDefaultXmlContentHandler.addWidget(CmsDefaultXmlContentHandler.java:1762)<br>
                at
org.opencms.xml.content.CmsDefaultXmlContentHandler.initLayouts(CmsDefaultXmlContentHandler.java:2092)<br>
                at
org.opencms.xml.content.CmsDefaultXmlContentHandler.initialize(CmsDefaultXmlContentHandler.java:1069)<br>
                at
org.opencms.xml.CmsXmlContentDefinition.unmarshalInternal(CmsXmlContentDefinition.java:990)<br>
                at
org.opencms.xml.CmsXmlContentDefinition.unmarshal(CmsXmlContentDefinition.java:387)<br>
                at
org.opencms.file.types.CmsResourceTypeXmlContent.initialize(CmsResourceTypeXmlContent.java:270)<br>
                at
org.opencms.loader.CmsResourceManager.initialize(CmsResourceManager.java:1169)<br>
                at
        org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:1353)<br>
                at
        org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1970)<br>
                at
        org.opencms.main.CmsShell.<init>(CmsShell.java:526)<br>
                at org.opencms.main.CmsShell.main(CmsShell.java:604)<br>
        Caused by: java.lang.ClassNotFoundException:
        org.opencms.frontend.templatetwo.CmsPresetSelectWidget<br>
                at
        java.net.URLClassLoader$1.run(URLClassLoader.java:366)<br>
                at
        java.net.URLClassLoader$1.run(URLClassLoader.java:355)<br>
                at java.security.AccessController.doPrivileged(Native
        Method)<br>
                at
        java.net.URLClassLoader.findClass(URLClassLoader.java:354)<br>
                at java.lang.ClassLoader.loadClass(ClassLoader.java:425)<br>
                at
        sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)<br>
                at java.lang.ClassLoader.loadClass(ClassLoader.java:358)<br>
                at java.lang.Class.forName0(Native Method)<br>
                at java.lang.Class.forName(Class.java:191)<br>
                at
org.opencms.xml.content.CmsDefaultXmlContentHandler.addWidget(CmsDefaultXmlContentHandler.java:1754)<br>
                ... 10 more<br>
        19 Jan 2015 14:07:34,897 ERROR [ypes.CmsResourceTypeXmlContent:
        279] Invalid XML schema
        "/system/modules/org.opencms.frontend.templatetwo/schemas/listbox.xsd"
        configured for type name "ttlistbox".<br>
        org.opencms.xml.CmsXmlException: Invalid custom widget class
        "org.opencms.frontend.templatetwo.CmsCollectorSelectWidget" for
        element "Collector" in content definition
"opencms://system/modules/org.opencms.frontend.templatetwo/schemas/listbox.xsd".<br>
                at
org.opencms.xml.content.CmsDefaultXmlContentHandler.addWidget(CmsDefaultXmlContentHandler.java:1762)<br>
                at
org.opencms.xml.content.CmsDefaultXmlContentHandler.initLayouts(CmsDefaultXmlContentHandler.java:2092)<br>
                at
org.opencms.xml.content.CmsDefaultXmlContentHandler.initialize(CmsDefaultXmlContentHandler.java:1069)<br>
        <br>
        <br>
        <br>
      </div>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
    </div>
  </body>
</html>