axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "saminda wijeratne (JIRA)" <>
Subject [jira] Created: (AXIS2-3823) Validation errors on axis2.xml and web.xml of axis2-web app
Date Wed, 28 May 2008 07:05:45 GMT
Validation errors on axis2.xml and web.xml of axis2-web app

                 Key: AXIS2-3823
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: admin console
    Affects Versions: 1.4
         Environment: Ubuntu Linux
Eclipse WTP 3.0
            Reporter: saminda wijeratne

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.

Description     Resource        Path    Location        Type
CHKJ3010W: Welcome Files cannot begin or end with a /.  web.xml
(welcomeFile: /axis2-web/index.jsp)   Validation Message

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
removing the "/" in the begining removes the warning. 
i.e. having the tag instead as,

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.
You can reply to this email to add a comment to the issue online.

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

View raw message