You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by de...@geronimo.apache.org on 2004/06/28 12:27:55 UTC
[jira] Commented: (GERONIMO-258) org.xml.sax.SAXParseException: Attribute "xmlns" must be declared for element type "web-app"
The following comment has been added to this issue:
Author: Shrek the Ogre
Created: Mon, 28 Jun 2004 3:27 AM
Body:
Also, worth to note is that removing xmlns="http://java.sun.com/xml/ns/j2ee" from <web-app> element made Geronimo Deployer complained:
org.apache.xmlbeans.XmlException: error: The document is not a web-app@http://java.sun.com/xml/ns/j2ee: document element
namespace mismatch expected "http://java.sun.com/xml/ns/j2ee" got ""
When the element is added:
<web-app xmlns="http://java.sun.com/xml/ns/j2ee">
deployment succeedes, but starting Geronimo up finishes with exception about that attribute.
See attachments for more info.
Cheers,
Shrek
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/GERONIMO-258?page=comments#action_36383
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/GERONIMO-258
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GERONIMO-258
Summary: org.xml.sax.SAXParseException: Attribute "xmlns" must be declared for element type "web-app"
Type: Bug
Status: Unassigned
Priority: Major
Project: Apache Geronimo
Components:
deployment
web
Versions:
1.0-M2
Assignee:
Reporter: Shrek the Ogre
Created: Mon, 28 Jun 2004 3:19 AM
Updated: Mon, 28 Jun 2004 3:27 AM
Description:
Hi,
Geronimo is built from today's sources.
Finally, deployed blojsom.war with no WEB-INF/geronimo-jetty.xml. No changes was made to blojsom.war and it's deployed using the following command:
java -jar bin/deployer.jar --install --module D:/projekty/blojsom.war
Since there was no geronimo-jetty.xml, the application deployed with configId=blojsom (as indicated by index.properties in config-store).
Running the command:
java -jar bin/server.jar blojsom
ended up with exceptions about WEB-INF/web.xml not being properly shaped. @see attachement.
Cheers,
Shrek the Ogre
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira