[opencms-dev] Antwort: Re: Error in Comments-Module
Frank Pertack
fpertack at vater-gruppe.de
Thu Apr 9 21:20:31 CEST 2009
Dear Tobias,
I did the integration as it is published in the Chapter 5.1 "Creating an
Alkacon Comments Configuration".
The source code of my test page:
<?xml version="1.0" encoding="UTF-8"?>
<AlkaconCommentForms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="opencms://system/modules/com.alkacon.opencms.comments/schemas/comment.xsd">
<AlkaconCommentForm language="en">
<Options>
<Moderated>true</Moderated>
<List><![CDATA[5]]></List>
<Security><![CDATA[none]]></Security>
<Minimized>false</Minimized>
<OfferLogin>true</OfferLogin>
<StyleSheet>
<link type="WEAK">
<target><![CDATA[/sites/default/Ressourcen/_config_/style]]></target>
<uuid>e85f5e8f-2020-11de-aad3-000c29724022</uuid>
</link>
</StyleSheet>
</Options>
<InputField>
<FieldType><![CDATA[text]]></FieldType>
<FieldLabel><![CDATA[Testwert]]></FieldLabel>
<FieldMandatory>false</FieldMandatory>
</InputField>
</AlkaconCommentForm>
</AlkaconCommentForms>
I have no idea, what to change. I followed the manual step by step.
Maybe, somewhere there is a checklist-type, a how-to that shows how the
example will look like if you follow the steps.
Thank you in advance.
Frank
Tobias Herrmann
<t.herrmann at alkac
on.com> An
Gesendet von: The OpenCms mailing list
opencms-dev-bounc <opencms-dev at opencms.org>
es at opencms.org Kopie
Thema
09.04.2009 15:55 Re: [opencms-dev] Error in
Comments-Module
Bitte antworten
an
The OpenCms
mailing list
<opencms-dev at open
cms.org>
Dear Frank,
you have all the classes you need, otherwise you get a
java.lang.ClassNotFoundException.
The exception you get hints me to a missing request parameter. Which
steps have you taken to integrate the comments-module in your page? Can
you show me the source code of your test page?
Regards,
Tobias
--
Tobias Herrmann
-------------------
Alkacon Software GmbH - The OpenCms Experts
Tobias Herrmann
http://www.alkacon.com
http://www.opencms.org
Visit OpenCms Days 2009 Conference and Expo
June 15 to June 16 2009 in Cologne, Germany
http://www.opencms-days.org
Frank Pertack schrieb:
>
> Hello,
>
> I know, there are already several entries about this in the list, but
> none come up with a sound solution.
> I like to use the Comments Module in our site. But in any case (in the
> site-section as well as in the system-section) I get the following error:
>
>
> java.lang.NullPointerException
> at
>
com.alkacon.opencms.comments.CmsCommentsAccess.getCommentFilter(CmsCommentsAccess.java:911)
> at
>
com.alkacon.opencms.comments.CmsCommentsAccess.getCountStateComments(CmsCommentsAccess.java:532)
> at
>
com.alkacon.opencms.comments.CmsCommentsAccess.getPages(CmsCommentsAccess.java:573)
> at
>
com.alkacon.opencms.comments.CmsCommentsAccess.init(CmsCommentsAccess.java:684)
> at org.opencms.jsp.CmsJspLoginBean.<init>(CmsJspLoginBean.java:95)
> at
>
com.alkacon.opencms.comments.CmsCommentsAccess.<init>(CmsCommentsAccess.java:184)
> at
>
org.apache.jsp.WEB_002dINF.jsp.offline.sites.default_.start.test_jsp._jspService(test_jsp.java:105)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
>
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
> at
>
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
> at
>
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
> at
>
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:194)
> at
>
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169)
> at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:1193)
> at
>
org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:423)
> at
>
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:173)
> at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:1227)
> at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:1171)
> at
>
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:964)
> at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1498)
> at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:152)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> at
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
> at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> at java.lang.Thread.run(Thread.java:619)
>
> Does anybody have an idea, what has to be changed, so I can set up a
> comment-page which is usable either in the site or the system.
> By the way, there is no "CmsCommentsAccess"-class in the
> "com.alkacon.opencms.comments."-directory, So I guess, the module
> cannot work correctly. So is the module incomplete? Do I have to
> download it again?
> I really like to use the comments-module, but I don't know a way, how
> to integrate it into our site.
>
> Thank you in advance for your kind support, best regards
>
> Frank
>
> Frank Pertack
>
>
> Vater Solution GmbH
> Liebigstraße 26
> 24145 Kiel
>
> Telefon: +49 431 20084-210
> Telefax: +49 431 20084-222
> Mobil: +49 151 16353519
> mailto: fpertack at vater-gruppe.de
> http://www.vater-gruppe.de
>
> Amtsgericht Kiel, HRB 6403
> Geschäftsführer:
> Klaus-Hinrich Vater
> Michael Wiese
> -----
> 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.
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
Frank Pertack
Vater Solution GmbH
Liebigstraße 26
24145 Kiel
Telefon: +49 431 20084-210
Telefax: +49 431 20084-222
Mobil: +49 151 16353519
mailto: fpertack at vater-gruppe.de
http://www.vater-gruppe.de
Amtsgericht Kiel, HRB 6403
Geschäftsführer:
Klaus-Hinrich Vater
Michael Wiese
-----
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090409/5462d90f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090409/5462d90f/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic48659.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090409/5462d90f/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090409/5462d90f/attachment-0002.gif>
More information about the opencms-dev
mailing list