<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR></HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 8pt Tahoma; MARGIN-LEFT: 2px">
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>The past few days, i've been exploring openCms features
and i got stuck when i have tried to make NewsRss module work
with our Oracle database.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>By the way, thanks to Martin Denham for his
help! </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I read the article from Jorg Oppermann posted in
2003 on the newsgroup, but probably that i'm missing some
thing with the modifications of the sources :</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV>* I added encoding handling of jdbc setString functions in
NewsContentDefinition.java.</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>When trying to access to the news module from the
administration View, i'm getting this error :</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV>com.opencms.core.CmsException: 0 Unknown exception. Detailed error:
CmsException ID: 0. <BR>root cause was java.lang.ArrayIndexOutOfBoundsException:
0 >= 0<BR> at
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:194)<BR> at
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)<BR> at
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache.java:149)<BR> at
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)<BR> at
com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)<BR> at
com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)<BR> at
com.opencms.core.OpenCms.showResource(OpenCms.java:961)<BR> at
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)<BR> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)<BR> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<BR> at
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)<BR> at
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)<BR> at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)<BR> at
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)<BR> at
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)<BR> at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)<BR> at
java.lang.Thread.run(Thread.java:534)</DIV>
<DIV> </DIV>
<DIV><FONT size=2>Well, this error log isnt very helpful for a newbie like
me! </FONT></DIV>
<DIV><FONT size=2> </FONT></DIV>
<DIV><FONT size=2>Any help would be appreciated!</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Regards,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Simon</FONT></DIV></BODY></HTML>