AW: AW: [opencms-dev] Using the News Module..

Peter Glantschnig peter.glantschnig at gmx.at
Thu Dec 18 15:24:01 CET 2003


well I think the problem is, that when you import a module, some files get
exported to the local file system. However if you remove the module in the
OpenCms Workplace these files in the local file system get not deleted. Now I
can't really tell you, where OpenCms looks for class files and in which order,
but take a look at this directory in the local file system: Tomcat
4.1\webapps\opencms\WEB-INF\classes. Maybe you find there the directory structure
com\opencms\modules\homepage\news. If you find it there, then there could be a
problem. 

I would say remove all news modules and delete everthing in
opencms/WEB-INF/lib that could have something to do with a news module and delete everthing
in opencms\WEB-INF\classes\com\opencms\modules\homepage\news

And then try it again....but don´t blame me, if something goes wrong :)

greetings,
Peter




> Well, I have to admit I did install a previous release
> of a news module into my opencms. I removed it before
> I did install your copy. I also deleted the Database
> entries associated with that version. I have looked in
> my opencms/WEB-INF/lib directory when I publish the
> offline group it moves in to that directory a
> rss4j.jar and newsmodule.jar that seem to be the same
> as the one in the homepage.news tree. Does anyone have
> any idea how to figure out if these jar files are
> being used by Tomcat for resolution of the classes?
> 
>      Donald L. Gover
> 
> > Have you installed one of the other available news
> modules in your OpenCms
> > system before you tried this one? The Problem is
> that this method
> > getNewsList(new Integer (2),"4",cms.getCmsObject())
> with there parameter
> > doesn't exists.
> > Well, I added this method to NewsContentDefinition.
> However this was the
> > only
> > change I made and maybe you have another version of
> NewsContentDefinition
> > already lying around in your system. So you have to
> make sure that the
> > right
> > version is used.
> >
> > grettings,
> > Peter
> >
> >> -----Ursprüngliche Nachricht-----
> >> Von: opencms-dev-admin at opencms.org
> >> [mailto:opencms-dev-admin at opencms.org]
> >> Im Auftrag von Donald Gover
> >> Gesendet: Mittwoch, 17. Dezember 2003 15:41
> >> An: opencms-dev at opencms.org
> >> Betreff: [opencms-dev] Using the News Module..
> >>
> >> I'm having a problem when I try to use the News
> module
> >> I just downloaded from the openCMS site. After
> >> installing the, opencms-templates, opencms-demo and
> >> then the news module when I try to look at the news
> >> with the demo site I get the error at the end of
> this
> >> note. Any help would be greatly appreciated.
> >>
> >> Root cause:
> >> org.apache.jasper.JasperException: Unable to
> compile
> >> class for JSP
> >>
> >> An error occurred at line: 7 in the jsp file:
> >>
> /WEB-INF/jsp/online/opencms-demo/en/intern/jobs.jsp.jsp
> >>
> >> Generated servlet error:
> >>     [javac] Compiling 1 source file
> >>
> >>
> /usr/local/jakarta-tomcat-4.1.29/work/Standalone/localhost/opencms/WEB-
> >>
> INF/jsp/online/opencms-demo/en/intern/jobs_jsp_jsp.java:70:
> >> getNewsList(java.lang.Integer,java.lang.String) in
> >>
> com.opencms.modules.homepage.news.NewsContentDefinition
> >> cannot be applied to
> >>
> (java.lang.Integer,java.lang.String,com.opencms.file.CmsObject)
> >>     Vector news
> >> NewsContentDefinition.getNewsList(new
> >> Integer(2),"4",cms.getCmsObject());
> >>                                        ^
> >> 1 error
> >>
> >>
> >> Donald L. Gover
> >>
> >>
> >>
> >> ====
> >> Donald L. Gover
> >
> > --
> > +++ GMX - die erste Adresse für Mail, Message, More
> +++
> > Neu: Preissenkung für MMS und FreeMMS!
> http://www.gmx.net
> >
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev
> mailing list
> > To change your list options, or to unsubscribe from
> the list, please visit
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
> 
> 
> ====
> Donald L. Gover

-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net





More information about the opencms-dev mailing list