You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "saminda wijeratne (JIRA)" <ji...@apache.org> on 2008/05/28 09:05:45 UTC
[jira] Created: (AXIS2-3823) Validation errors on axis2.xml and
web.xml of axis2-web app
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: Axis 2.0 (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
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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-3823) Validation errors on axis2.xml and
web.xml of axis2-web app
Posted by "Lahiru Sandakith (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600677#action_12600677 ]
Lahiru Sandakith commented on AXIS2-3823:
-----------------------------------------
Please provide the patch, I will review it for you.
> 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: Axis 2.0 (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
>
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org