<html><body>
<p>Dear Tobias,<br>
<br>
I did the integration as it is published in the Chapter 5.1 "Creating an Alkacon Comments Configuration".<br>
The source code of my test page:<br>
<br>
<i><?xml version="1.0" encoding="UTF-8"?></i><br>
<br>
<i><AlkaconCommentForms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="opencms://system/modules/com.alkacon.opencms.comments/schemas/comment.xsd"></i><br>
<i> <AlkaconCommentForm language="en"></i><br>
<i> <Options></i><br>
<i> <Moderated>true</Moderated></i><br>
<i> <List><![CDATA[5]]></List></i><br>
<i> <Security><![CDATA[none]]></Security></i><br>
<i> <Minimized>false</Minimized></i><br>
<i> <OfferLogin>true</OfferLogin></i><br>
<i> <StyleSheet></i><br>
<i> <link type="WEAK"></i><br>
<i> <target><![CDATA[/sites/default/Ressourcen/_config_/style]]></target></i><br>
<i> <uuid>e85f5e8f-2020-11de-aad3-000c29724022</uuid></i><br>
<i> </link></i><br>
<i> </StyleSheet></i><br>
<i> </Options></i><br>
<i> <InputField></i><br>
<i> <FieldType><![CDATA[text]]></FieldType></i><br>
<i> <FieldLabel><![CDATA[Testwert]]></FieldLabel></i><br>
<i> <FieldMandatory>false</FieldMandatory></i><br>
<i> </InputField></i><br>
<i> </AlkaconCommentForm></i><br>
<i></AlkaconCommentForms></i><br>
<br>
I have no idea, what to change. I followed the manual step by step.<br>
Maybe, somewhere there is a checklist-type, a how-to that shows how the example will look like if you follow the steps.<br>
<br>
Thank you in advance.<br>
<br>
Frank<br>
<br>
<img width="16" height="16" src="cid:1__=4EBBFF00DFFA87518f9e8a93@vater-gruppe.de" border="0" alt="Inactive hide details for Tobias Herrmann <t.herrmann@alkacon.com>">Tobias Herrmann <t.herrmann@alkacon.com><br>
<br>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td style="background-image:url(cid:2__=4EBBFF00DFFA87518f9e8a93@vater-gruppe.de); background-repeat: no-repeat; " width="40%">
<ul>
<ul>
<ul>
<ul><b><font size="2">Tobias Herrmann <t.herrmann@alkacon.com></font></b><font size="2"> </font><br>
<font size="2">Gesendet von: opencms-dev-bounces@opencms.org</font>
<p><font size="2">09.04.2009 15:55</font>
<table border="1">
<tr valign="top"><td width="168" bgcolor="#FFFFFF"><div align="center"><font size="2">Bitte antworten an<br>
The OpenCms mailing list <opencms-dev@opencms.org></font></div></td></tr>
</table>
</ul>
</ul>
</ul>
</ul>
</td><td width="60%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="63" height="1" src="cid:3__=4EBBFF00DFFA87518f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<div align="right"><font size="2">An</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=4EBBFF00DFFA87518f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2">The OpenCms mailing list <opencms-dev@opencms.org></font></td></tr>
<tr valign="top"><td width="1%"><img width="63" height="1" src="cid:3__=4EBBFF00DFFA87518f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<div align="right"><font size="2">Kopie</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=4EBBFF00DFFA87518f9e8a93@vater-gruppe.de" border="0" alt=""><br>
</td></tr>
<tr valign="top"><td width="1%"><img width="63" height="1" src="cid:3__=4EBBFF00DFFA87518f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<div align="right"><font size="2">Thema</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=4EBBFF00DFFA87518f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2">Re: [opencms-dev] Error in Comments-Module</font></td></tr>
</table>
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="58"><img width="1" height="1" src="cid:3__=4EBBFF00DFFA87518f9e8a93@vater-gruppe.de" border="0" alt=""></td><td width="336"><img width="1" height="1" src="cid:3__=4EBBFF00DFFA87518f9e8a93@vater-gruppe.de" border="0" alt=""></td></tr>
</table>
</td></tr>
</table>
<br>
<tt>Dear Frank,<br>
<br>
you have all the classes you need, otherwise you get a <br>
java.lang.ClassNotFoundException.<br>
<br>
The exception you get hints me to a missing request parameter. Which <br>
steps have you taken to integrate the comments-module in your page? Can <br>
you show me the source code of your test page?<br>
<br>
<br>
Regards,<br>
<br>
Tobias<br>
<br>
-- <br>
Tobias Herrmann<br>
<br>
-------------------<br>
<br>
Alkacon Software GmbH - The OpenCms Experts<br>
Tobias Herrmann<br>
<br>
</tt><tt><a href="http://www.alkacon.com">http://www.alkacon.com</a></tt><tt><br>
</tt><tt><a href="http://www.opencms.org">http://www.opencms.org</a></tt><tt><br>
<br>
Visit OpenCms Days 2009 Conference and Expo<br>
June 15 to June 16 2009 in Cologne, Germany<br>
</tt><tt><a href="http://www.opencms-days.org">http://www.opencms-days.org</a></tt><tt><br>
<br>
<br>
<br>
<br>
<br>
Frank Pertack schrieb:<br>
><br>
> Hello,<br>
><br>
> I know, there are already several entries about this in the list, but <br>
> none come up with a sound solution.<br>
> I like to use the Comments Module in our site. But in any case (in the <br>
> site-section as well as in the system-section) I get the following error:<br>
><br>
><br>
> java.lang.NullPointerException<br>
> at <br>
> com.alkacon.opencms.comments.CmsCommentsAccess.getCommentFilter(CmsCommentsAccess.java:911)<br>
> at <br>
> com.alkacon.opencms.comments.CmsCommentsAccess.getCountStateComments(CmsCommentsAccess.java:532)<br>
> at <br>
> com.alkacon.opencms.comments.CmsCommentsAccess.getPages(CmsCommentsAccess.java:573)<br>
> at <br>
> com.alkacon.opencms.comments.CmsCommentsAccess.init(CmsCommentsAccess.java:684)<br>
> at org.opencms.jsp.CmsJspLoginBean.<init>(CmsJspLoginBean.java:95)<br>
> at <br>
> com.alkacon.opencms.comments.CmsCommentsAccess.<init>(CmsCommentsAccess.java:184)<br>
> at <br>
> org.apache.jsp.WEB_002dINF.jsp.offline.sites.default_.start.test_jsp._jspService(test_jsp.java:105)<br>
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)<br>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
> at <br>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)<br>
> at <br>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)<br>
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)<br>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
> at <br>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>
> at <br>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
> at <br>
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)<br>
> at <br>
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)<br>
> at <br>
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)<br>
> at <br>
> org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:194)<br>
> at <br>
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169)<br>
> at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:1193)<br>
> at <br>
> org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:423)<br>
> at <br>
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:173)<br>
> at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:1227)<br>
> at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:1171)<br>
> at <br>
> org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:964)<br>
> at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1498)<br>
> at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:152)<br>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)<br>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
> at <br>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>
> at <br>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
> at <br>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<br>
> at <br>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br>
> at <br>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)<br>
> at <br>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br>
> at <br>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br>
> at <br>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)<br>
> at <br>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)<br>
> at <br>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)<br>
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)<br>
> at java.lang.Thread.run(Thread.java:619)<br>
><br>
> Does anybody have an idea, what has to be changed, so I can set up a <br>
> comment-page which is usable either in the site or the system.<br>
> By the way, there is no "CmsCommentsAccess"-class in the <br>
> "com.alkacon.opencms.comments."-directory, So I guess, the module <br>
> cannot work correctly. So is the module incomplete? Do I have to <br>
> download it again?<br>
> I really like to use the comments-module, but I don't know a way, how <br>
> to integrate it into our site.<br>
><br>
> Thank you in advance for your kind support, best regards<br>
><br>
> Frank<br>
><br>
> Frank Pertack<br>
><br>
><br>
> Vater Solution GmbH<br>
> Liebigstraße 26<br>
> 24145 Kiel<br>
><br>
> Telefon: +49 431 20084-210<br>
> Telefax: +49 431 20084-222<br>
> Mobil: +49 151 16353519<br>
> mailto: fpertack@vater-gruppe.de<br>
> </tt><tt><a href="http://www.vater-gruppe.de">http://www.vater-gruppe.de</a></tt><tt><br>
><br>
> Amtsgericht Kiel, HRB 6403<br>
> Geschäftsführer:<br>
> Klaus-Hinrich Vater<br>
> Michael Wiese<br>
> -----<br>
> Diese Email enthält ggfs. vertrauliche und/oder rechtlich geschützte <br>
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese <br>
> Email irrtümlich erhalten haben, informieren Sie bitte sofort den <br>
> Absender und vernichten Sie diese Email. Das unerlaubte Kopieren sowie <br>
> die unbefugte Weitergabe dieser Email sind nicht gestattet.<br>
><br>
> ------------------------------------------------------------------------<br>
><br>
><br>
> _______________________________________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the list, please visit<br>
> </tt><tt><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></tt><tt><br>
<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
</tt><tt><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></tt><tt><br>
<br>
</tt><br>
<br>
<br>
Frank Pertack<br>
<br>
<br>
Vater Solution GmbH<br>
Liebigstraße 26<br>
24145 Kiel<br>
<br>
Telefon: +49 431 20084-210<br>
Telefax: +49 431 20084-222<br>
Mobil: +49 151 16353519<br>
mailto: fpertack@vater-gruppe.de<br>
<a href="http://www.vater-gruppe.de">http://www.vater-gruppe.de</a><br>
<br>
Amtsgericht Kiel, HRB 6403 <br>
Geschäftsführer:<br>
Klaus-Hinrich Vater<br>
Michael Wiese<br>
-----<br>
Diese Email enthält ggfs. vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese Email irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Email. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Email sind nicht gestattet.</body></html>