[opencms-dev] Touchy web.xml file
Claus Priisholm
cpr at codedroids.com
Sat Oct 18 18:19:02 CEST 2003
I've added the Formmail module to a site, and it seems to work nicely.
As a part of the installation I've added the following lines to web.xml
in the opencms app-directory (or rather kviksolgt application directory
as I have relabeled it):
<servlet>
<servlet-name>FormMailServlet</servlet-name>
<description>
This servlet takes a form and sends the fields as email.
</description>
<servlet-class>com.opencms.modules.formmail.JFormMail</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>FormMailServlet</servlet-name>
<url-pattern>/formmail</url-pattern>
</servlet-mapping>
With that in the web.xml file I now and then get an error when
publishing/exporting (or rather an error page gets exported instead of
the intended page). The error reports as:
---
Root cause:
org.apache.jasper.JasperException: This absolute uri
(http://www.opencms.org/taglib/cms) cannot be resolved in either
web.xml or
the jar files deployed with this application at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHand
ler.java:105)
---
Others have reported the same error on the list (after adding tags to
the web.xml file, but not necessarily with the formmail tags as I did):
FormMail module: Please help:
http://mail.opencms.org/pipermail/opencms-dev/2003q3/006519.html
Strange Error with Opencms Taglib:
http://mail.opencms.org/pipermail/opencms-dev/2003q4/007440.html
Problem with taglib cms:
http://mail.opencms.org/pipermail/opencms-dev/2003q3/007006.html
And like me they seem to be able to fix the problem by removing
'foreign' tags from the web.xml. I did not see follow-up on their
mails, so anyone have any idea of what it causing this?
I'm on SuSE 8.2, Sun SDK 1.4.1-23, Tomcat 4.1.18, MySQL 4.0.15 and
OpenCms 5.0.0 - Formmail module is 1.0
--
Claus Priisholm
+45 48 22 46 46
cpr at interlet.dk - cpr at codedroids.com
http://www.interlet.dk - http://www.codedroids.com
More information about the opencms-dev
mailing list