axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harshana Eranga Martin (Assigned) (JIRA)" <>
Subject [jira] [Assigned] (AXIS2-3823) Validation errors on axis2.xml and web.xml of axis2-web app
Date Tue, 04 Oct 2011 12:19:34 GMT


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:
>             Project: Axis2
>          Issue Type: Bug
>          Components: admin console
>    Affects Versions: 1.4
>         Environment: Ubuntu Linux
> Jdk
> 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 (
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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message