[ https://issues.apache.org/jira/browse/AXIS2-3823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harshana Eranga Martin reassigned AXIS2-3823: --------------------------------------------- Assignee: Harshana Eranga Martin > Validation errors on axis2.xml and web.xml of axis2-web app > ----------------------------------------------------------- > > Key: AXIS2-3823 > URL: https://issues.apache.org/jira/browse/AXIS2-3823 > Project: Axis2 > Issue Type: Bug > Components: admin console > Affects Versions: 1.4 > Environment: Ubuntu Linux > Jdk 1.5.0.6 > Eclipse WTP 3.0 > Reporter: Saminda Wijeratne > Assignee: Harshana Eranga Martin > > We were using axis2-web app in eclipse wtp 3.0 regarding a jsp validation > issue (https://bugs.eclipse.org/bugs/show_bug.cgi?id=186429) when we came > across 2 validation failure warnings for the axis2.xml and the web.xml of the > axis2-web app. > 1. > Description Resource Path Location Type > CHKJ3010W: Welcome Files cannot begin or end with a /. web.xml > aa/WebContent/WEB-INF > org.eclipse.jst.j2ee.webapplication.internal.impl.WelcomeFileImpl@1797eca > (welcomeFile: /axis2-web/index.jsp) Validation Message > 2. > Description Resource Path Location Type > No grammar constraints (DTD or XML schema) detected for the document. > axis2.xml aa/WebContent/WEB-INF/conf line 1 XML Problem > with a little bit of checking we found that the first warning was due to the > following tag in the web.xml > <welcome-file>/axis2-web/index.jsp</welcome-file> > removing the "/" in the begining removes the warning. > i.e. having the tag instead as, > <welcome-file>axis2-web/index.jsp</welcome-file> > the 2nd warning could be removed by adding a dtd definition to the axis2.xml > such as > <!DOCTYPE axisconfig []> > but does not know the real neccesity of such a tag to the web project. > with the above modification the system works without any breaks. and works as > usual. > I can create and send a patch using the above mentioned solutions for the > validation failures. I would like your ideas and suggestions on this regard. > Thank you -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org