Issue 72 in gnizr: Multiple Schema violations in gnizr-2.4.0-M4's web.xml

2 views
Skip to first unread message

codesite...@google.com

unread,
Jun 7, 2008, 1:19:09 PM6/7/08
to gnizr-dev...@googlegroups.com
Issue 72: Multiple Schema violations in gnizr-2.4.0-M4's web.xml
http://code.google.com/p/gnizr/issues/detail?id=72

New issue report by ttf.inbox:
In gnizr-2.4.0-M4 web.xml can't be validated against the used schemas,
causing Geronimo (and maybe other Application Servers) to deny deployment.

Solution:
1. As of Servlet 2.4, which includes JSP2.0,
<taglib></taglib> has to be declared within

<jsp-config>
</jsp-config>

"The jsp-configType is used to provide global configuration
information for the JSP files in a web application. It has
two subelements, taglib and jsp-property-group."
from http://java.sun.com/xml/ns/j2ee/jsp_2_0.xsd (which is included by
web-app2.4).

2. Remove
<display-name>DWR Servlet</display-name>

This tag is no allowed within a Servlet as you can see in
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd (servletType)

3. Maybe this is part of another Bug:
Neither Geronimo, nor i could find the dwr library and corresponding servlet.

After using the build-in dwr from Geronimo and changing the servlet-class
to org.directwebremoting.servlet.DwrServlet (from
http://getahead.org/dwr/server/servlet) i was finally able to deploy gnizr
on Geronimo.

Issue attributes:
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply all
Reply to author
Forward
0 new messages