<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <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<br>
              at
      org.apache.solr.core.SolrCore.<init>(SolrCore.java:821)<br>
              at
      org.apache.solr.core.SolrCore.<init>(SolrCore.java:618)<br>
              at
org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:949)<br>
              at
      org.apache.solr.core.CoreContainer.create(CoreContainer.java:984)<br>
              at
org.opencms.search.CmsSearchManager.registerSolrIndex(CmsSearchManager.java:1773)<br>
              at
      org.opencms.search.solr.CmsSolrIndex.initialize(CmsSolrIndex.java:367)<br>
              at
org.opencms.search.CmsSearchManager.initSearchIndexes(CmsSearchManager.java:2474)<br>
              at
org.opencms.search.CmsSearchManager.initializeIndexes(CmsSearchManager.java:1539)<br>
      <br>
      <br>
      Am 19.01.2015 um 12:36 schrieb Alberto Gallardo:<br>
    </div>
    <blockquote
cite="mid:CA+zs-Pw00rMZ10iYJ-K1=npv2UFuE+uXTWe8gRmt6GX3hesFTg@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div class="gmail_extra"><br>
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000"><span class="">
                  <blockquote type="cite">
                    <div dir="ltr"><br>
                      Thinking out loud: have you tried increasing the
                      permgen? I found during some performance tuning
                      sessions that when running out of memory, OpenCms
                      often gets into a corrupted state silently.</div>
                  </blockquote>
                  <br>
                </span> Where would you put this increase? In tomcat
                configuration (Windows 7) in the jvm options:<br>
                -XX:PermSize=384m<br>
                -XX:MaxPermSize=512m<span class=""><br>
                  ?<br>
                </span></div>
            </blockquote>
            <div><br>
            </div>
            <div>You're having problems with the script, aren't you? In
              that case, and as you've already noticed, the script
              invokes java in the last line: </div>
            <div><br>
            </div>
            <div><span style="font-family:'Courier
                New',Courier,monospace;font-size:9px">java -classpath
                "${SERVLET_API}:${JSP_API}:${</span><span
                style="font-family:'Courier
                New',Courier,monospace;font-size:9px">OPENCMS_CLASSPATH}:${TOMCAT_</span><span
                style="font-family:'Courier
                New',Courier,monospace;font-size:9px">CLASSPATH}:classes"
                org.opencms.main.CmsShell -base="${OPENCMS_BASE}" "$@"</span><br>
            </div>
            <div><span style="font-family:'Courier
                New',Courier,monospace;font-size:9px"><br>
              </span></div>
            <div>That'd be my bet. I'd also try increasing Xmx Xms, just
              in case, to see if it helps.</div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>