<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 16:11 schrieb Kai
Widmann:<br>
</div>
<blockquote
cite="mid:C55BD5BAE254404F9AC26C237DA9BB93014240EBF3FE@EXCHANGE.mediaworx.de"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hey
Chris, <o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">well, the error you are getting states that a
class was not found. <o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">Did you check if
WEB-INF/classes/opencms/frontend/templatetwo/CmsPresetSelectWidget.class
exists?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">If not, is it in the VFS (I guess it should be
in “org.opencms.frontend.templatetwo”). If the class is in
the VFS but not in the real file system, maybe it wasn’t
written to disk because a publish job failed. Then a full
publish might help.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">If the class is in the VFS and the real FS,
then I still think that there might be something wrong with
the classpath.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">Cheers<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">Kai<o:p></o:p></span></p>
</div>
</blockquote>
<br>
<br>
Hi Kai,<br>
<br>
<br>
first off, I guess you mean
WEB-INF/classes/org/opencms/frontend/templatetwo (with an org in the
path).<br>
No, there are only<br>
<br>
frontend_de.properties workplace_de.properties
workplace.properties<br>
frontend.properties workplace_en.properties<br>
<br>
In the workplace (Offline project) I'm seeing the same:<br>
<br>
/system/modules/org.opencms.frontend.templatetwo/classes/org/opencms/frontend/templatetwo/<br>
<br>
Where should I find the class files in the VFS ?<br>
<br>
When I press the publish button (That is "full publish?") I'm
getting nothing to publish.<br>
<br>
<blockquote
cite="mid:C55BD5BAE254404F9AC26C237DA9BB93014240EBF3FE@EXCHANGE.mediaworx.de"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">Von:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
<a class="moz-txt-link-abbreviated" href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a>
[<a class="moz-txt-link-freetext" href="mailto:opencms-dev-bounces@opencms.org">mailto:opencms-dev-bounces@opencms.org</a>] <b>Im Auftrag
von </b>Christoph Kukulies<br>
<b>Gesendet:</b> Montag, 19. Januar 2015 14:30<br>
<b>An:</b> <a class="moz-txt-link-abbreviated" href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>
<b>Betreff:</b> Re: [opencms-dev] opencms 9.5.0
cmsshell.sh<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Am 19.01.2015 um 13:49 schrieb Christoph
Kukulies:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">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 <o:p></o:p></p>
<div>
<p class="MsoNormal">Am 19.01.2015 um 13:49 schrieb
Christoph Kukulies:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">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<o:p></o:p></p>
</div>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><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>
<o:p></o:p></p>
</div>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">-- <br>
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
<o:p></o:p></p>
</div>
</div>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
</div>
</body>
</html>