You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by as...@apache.org on 2006/10/03 13:07:33 UTC
svn commit: r452417 - in
/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2:
deployment/util/PhasesInfo.java i18n/resource.properties
Author: asankha
Date: Tue Oct 3 04:07:32 2006
New Revision: 452417
URL: http://svn.apache.org/viewvc?view=rev&rev=452417
Log:
fix AXIS2-1290 Invalid error message displayed when the Dispatch phase could not be found in the global InFlow phase
Modified:
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/PhasesInfo.java
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/i18n/resource.properties
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/PhasesInfo.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/PhasesInfo.java?view=diff&rev=452417&r1=452416&r2=452417
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/PhasesInfo.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/PhasesInfo.java Tue Oct 3 04:07:32 2006
@@ -96,20 +96,20 @@
public ArrayList getGlobalInflow() throws DeploymentException {
ArrayList globalphase = new ArrayList();
- boolean foundDispathcPase = false;
+ boolean foundDispatchPhase = false;
for (int i = 0; i < INPhases.size(); i++) {
Phase phase = (Phase) INPhases.get(i);
String phaseName = phase.getPhaseName();
- if (!foundDispathcPase) {
+ if (!foundDispatchPhase) {
if (PhaseMetadata.PHASE_DISPATCH.equals(phaseName)) {
- foundDispathcPase = true;
+ foundDispatchPhase = true;
}
globalphase.add(phase);
}
}
- if (!foundDispathcPase) {
+ if (!foundDispatchPhase) {
throw new DeploymentException(
- Messages.getMessage(DeploymentErrorMsgs.INVALID_PHASE));
+ Messages.getMessage("dispatchPhaseNotFoundOnInflow"));
}
return globalphase;
}
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/i18n/resource.properties
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/i18n/resource.properties?view=diff&rev=452417&r1=452416&r2=452417
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/i18n/resource.properties (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/i18n/resource.properties Tue Oct 3 04:07:32 2006
@@ -97,6 +97,7 @@
pathtoconfigcanotnull=path to axis2.xml can not be NULL
modulevalfailed=Module validation failed {0}
invalidphase=Invalid phases please recheck axis2.xml {0} for the handler {1}
+dispatchPhaseNotFoundOnInflow='Dispatch' phase not found on the global 'InFlow' phase of the axis2.xml. Please recheck
invalidmoduleref=Service {0} refer to invalid module {1}
invalidmodulerefbyop=Operation {0} refers to an invalid module {1}
addingnewmodule=adding new module
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org