[SPAM] - RE: [opencms-dev] clicksandlinks.com RSS Module throws exeption - Bayesian Filter detected spam

Fievet Marc Marc.Fievet at winterthur.be
Wed Mar 29 09:09:09 CEST 2006


Hello,
 
Where can I find this module? Build version
 
Thanks,
 
MARC

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Arash Kaffamanesh
Sent: mercredi 29 mars 2006 3:05
To: 'The OpenCms mailing list'; olli_aro at yahoo.co.uk
Subject: [SPAM] - RE: [opencms-dev] clicksandlinks.com RSS Module throws
exeption - Bayesian Filter detected spam



Dear Olli,

 

The problem was on my side, sorry. The RSS Module works great.

 

I have a structured content named cmsportlet with the same id="51" as your
"rsspage", which collides with the same id and caused the problem:
unmarshalling xml document failed.

 

By the way:

the trailing slash is missing here, which causes an unbalanced tag error

 

<cms:include  page=
"/system/modules/com.clicksandlinks.opencms.rss/elements/import_feed.jsp">

    <cms:param
name="feedURL">http://www.bbc.co.uk/doctorwho/news/syndication/rss091.xml</c
ms:param>

    <cms:param name="divId">element_rssfeed</cms:param>

    <cms:param name="feedNumber">10<cms:param>                     <-- the
trailing slash is missing here, which causes an unbalanced tag error,
perhaps you would like to correct the usage guide on
<http://www.clicksandlinks.com/opencms/opencms/CL_Solutions/open_source/open
cms/rss_module/usage.html> your site                   

    <cms:param name="titlesOnly">false</cms:param>

    <cms:param name="cacheTimeout">60</cms:param>

</cms:include>

 

 

Now it works as a charm :-)

 

Thank you again for the great work.

 

It would be nice if we could see your module in the next 6.2.0 final release
or at least in the modules sandbox.

 

 

Best Regards,

Arash

 

 

 

-----Original Message-----
From: Arash Kaffamanesh [mailto:arash.kaffamanesh at pomegranate.de] 
Sent: Mittwoch, 29. März 2006 01:49
To: 'olli_aro at yahoo.co.uk'
Subject: RE: [opencms-dev] clicksandlinks.com RSS Module throws exeption

 

Olli,

 

Yes, according to opencms-modules.xml I can see the followinf entries, which
seems to be ok.:

 

<module>

            <name>com.clicksandlinks.opencms.rss</name>

            <nicename/>

            <group>Clicks and Links OpenCms Extensions</group>

            <class/>

            <description><![CDATA[RSS integration for OpenCms. Supports
incoming RSS 1.0, 2.0 and Atom 1.0 and outgoing RSS 1.0.]]></description>

            <version>0.4</version>

            <authorname><![CDATA[Olli Aro, Clicks and Links
Ltd]]></authorname>

 
<authoremail><![CDATA[solutions at clicksandlinks.com]]></authoremail>

            <datecreated/>

            <userinstalled/>

            <dateinstalled/>

            <dependencies/>

            <exportpoints>

                <exportpoint
uri="/system/modules/com.clicksandlinks.opencms.rss/lib/"
destination="WEB-INF/lib/"/>

                <exportpoint
uri="/system/modules/com.clicksandlinks.opencms.rss/classes/"
destination="WEB-INF/classes/"/>

            </exportpoints>

            <resources>

                <resource
uri="/system/modules/com.clicksandlinks.opencms.rss/"/>

                <resource
uri="/system/workplace/resources/filetypes/rsspage.gif"/>

            </resources>

            <parameters/>

            <resourcetypes>

                <type
class="org.opencms.file.types.CmsResourceTypeXmlContent" name="rsspage"
id="51">

                    <param
name="schema">/system/modules/com.clicksandlinks.opencms.rss/schema/rsspage.
xsd</param>

                </type>

            </resourcetypes>

            <explorertypes>

                <explorertype name="rsspage" key="fileicon.rsspage"
icon="rsspage.gif" reference="xmlcontent">

                    <newresource page="structurecontent"
uri="newresource_xmlcontent.jsp?newresourcetype=rsspage" order="51"
autosetnavigation="false" autosettitle="false"/>

                    <accesscontrol>

                        <accessentry principal="GROUP.Administrators"
permissions="+r+v+w+c"/>

                        <accessentry principal="GROUP.Projectmanagers"
permissions="+r+v+w+c"/>

                        <accessentry principal="GROUP.Users"
permissions="+r+v+w+c"/>

                    </accesscontrol>

                </explorertype>

            </explorertypes>

 </module>

 

 

Thanks for now :-)

 

Regards,

Arash

 

-----Original Message-----
From: Olli Aro [mailto:olli_aro at yahoo.co.uk] 
Sent: Dienstag, 28. März 2006 20:40
To: 'Arash Kaffamanesh'
Subject: RE: [opencms-dev] clicksandlinks.com RSS Module throws exeption

 

Ok, it seems that you get null pointer exception when reading the schema
file at /system/modules/com.clicksandlinks.opencms.rss/schema/rsspage.xsd.
The first couple of things to check are:-

 

1) Is the schema puhlished ok at
/system/modules/com.clicksandlinks.opencms.rss/schema/rsspage.xsd
opencms-modules.xml

 


  _____  


From: Arash Kaffamanesh [mailto:arash.kaffamanesh at pomegranate.de] 
Sent: 28 March 2006 18:26
To: olli_aro at yahoo.co.uk; 'The OpenCms mailing list'
Subject: RE: [opencms-dev] clicksandlinks.com RSS Module throws exeption

 

Hi Olli,

 

First of all thank you very much for the great work.

 

What I've done is to install the module and replace the
"commons-httpclient-2.0.2.jar" with the latest
commons-httpclient-3.0-rc2.jar which is provided on your nice webpage. After
that I restart my tomcat 5.5.16 and do:

 

New --> Structured Content --> RSS Page.

 

And give a title for the page testrss.html

 

Now I'm getting this error:

 

28 Mrz 2006 19:13:03,424 ERROR [rg.opencms.workplace.CmsDialog:1180] The
workplace dialog caused an error.

org.opencms.xml.CmsXmlException: Unmarshalling xml document failed.

            at
org.opencms.xml.CmsXmlUtils.unmarshalHelper(CmsXmlUtils.java:530)

            at
org.opencms.xml.CmsXmlContentDefinition.unmarshal(CmsXmlContentDefinition.ja
va:437)

            at
org.opencms.xml.CmsXmlContentDefinition.unmarshal(CmsXmlContentDefinition.ja
va:270)

            at
org.opencms.file.types.CmsResourceTypeXmlContent.createResource(CmsResourceT
ypeXmlContent.java:92)

            at org.opencms.file.CmsObject.createResource(CmsObject.java:621)

            at
org.opencms.workplace.explorer.CmsNewResourceXmlContent.actionCreateResource
(CmsNewResourceXmlContent.java:103)

            at
org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.commons.newresource_
005fxmlcontent_jsp._jspService(newresource_005fxmlcontent_jsp.java:66)

            at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

            at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
32)

            at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

            at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

            at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)

            at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

            at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:672)

            at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:574)

            at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
.java:499)

            at
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDisp
atcher.java:193)

            at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.j
ava:171)

            at
org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:416)

            at
org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRe
questDispatcher.java:420)

            at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.j
ava:175)

            at
org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:450)

            at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:395)

            at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:7
15)

            at
org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1346)

            at
org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:139)

            at
org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:151)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

            at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)

            at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

            at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)

            at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)

            at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)

            at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)

            at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)

            at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

            at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

            at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
onnection(Http11BaseProtocol.java:664)

            at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)

            at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)

            at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)

            at java.lang.Thread.run(Thread.java:595)

Caused by: org.dom4j.DocumentException: null Nested exception: null

            at org.dom4j.io.SAXReader.read(SAXReader.java:484)

            at
org.opencms.xml.CmsXmlUtils.unmarshalHelper(CmsXmlUtils.java:528)

            ... 44 more

 

 

my opencms version is: beta 2

My MySQL version is: 5.0.19

Jdk : 1.5_06

Tomcat:  5.5.16

 

Would appreciate your help.

 

Please see attached screenshot too.

 

Kind Regards,

Arash

 

 

 

 

 

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Olli Aro
Sent: Dienstag, 28. März 2006 18:19
To: 'The OpenCms mailing list'
Subject: RE: [opencms-dev] clicksandlinks.com RSS Module throws exeption

 

Hmm... I suppose that I should know, since I am the author of the module ;D
I assume that you get this error after installing the module, restarting the
server and when trying to add a new rss page? If you provide a bit more
details regarding when you get this error I can try to debug.

 

Regards,

 

Olli 

 


  _____  


From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Arash Kaffamanesh
Sent: 28 March 2006 17:03
To: 'The OpenCms mailing list'
Subject: [opencms-dev] clicksandlinks.com RSS Module throws exeption

 

Hi OC-World!

 

I've installed the com.clicksandlinks.opencms.rss_0.3.zip module on OpenCms
6.2 Beta, but it throws the following error:

 

Error Unmarshalling xml document failed.
Reason: null Nested exception: null

 

org.opencms.xml.CmsXmlException: Unmarshalling xml document failed.
        at org.opencms.xml.CmsXmlUtils.unmarshalHelper(CmsXmlUtils.java:530)
        at
org.opencms.xml.CmsXmlContentDefinition.unmarshal(CmsXmlContentDefinition.ja
va:437)
        at
org.opencms.xml.CmsXmlContentDefinition.unmarshal(CmsXmlContentDefinition.ja
va:270)
        at
org.opencms.file.types.CmsResourceTypeXmlContent.createResource(CmsResourceT
ypeXmlContent.java:92)
        at org.opencms.file.CmsObject.createResource(CmsObject.java:621)
        at
org.opencms.workplace.explorer.CmsNewResourceXmlContent.actionCreateResource
(CmsNewResourceXmlContent.java:103)
        at
org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.commons.newresource_
005fxmlcontent_jsp._jspService(newresource_005fxmlcontent_jsp.java:66)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
32)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:672)
        at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:574)
        at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
.java:499)
 
 
Has someone any experience with this kind of message? :-)
 
Thanks,
Arash

 


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 27/03/2006





--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 27/03/2006



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 27/03/2006





--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 27/03/2006



______________________________________________


Winterthur-Europe Insurance - VAT BE 0403.290.168 RPM/RPR BRUSSELS.
This message may contain confidential, proprietary or legally privileged information and is intended only for the use of the addressee named above. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient of this message you are hereby notified that you must not use, disseminate, copy it in any form or take any action in reliance on it. If you have received this message in error please delete it and any copies of it and notify Winterthur immediately.This e-mail message and any attached files have been scanned for the presence of computer viruses. However, you are advised that you open any attachments at your own risk. 
The integrity and security of this message cannot be guaranteed on the Internet.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060329/c3cf3f9a/attachment.htm>


More information about the opencms-dev mailing list