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 to...@apache.org on 2004/10/27 23:41:02 UTC
cvs commit: ws-axis/java/src/org/apache/axis/i18n resource.properties
tomj 2004/10/27 14:41:02
Modified: java/src/org/apache/axis/management Registrar.java
java/src/org/apache/axis/i18n resource.properties
Log:
Have to have strings in the message file,
otherwise functional tests don't pass.
Revision Changes Path
1.5 +2 -1 ws-axis/java/src/org/apache/axis/management/Registrar.java
Index: Registrar.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/management/Registrar.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Registrar.java 27 Oct 2004 19:50:54 -0000 1.4
+++ Registrar.java 27 Oct 2004 21:41:01 -0000 1.5
@@ -17,6 +17,7 @@
package org.apache.axis.management;
import org.apache.axis.components.logger.LogFactory;
+import org.apache.axis.i18n.Messages;
import org.apache.commons.logging.Log;
import java.lang.reflect.InvocationTargetException;
@@ -194,7 +195,7 @@
// handle any of these exceptions
if (ex != null) {
//log the error
- log.warn("Unable to initialize commons-modeler Registry.", ex);
+ log.warn(Messages.getMessage("Registrar.cantregister"), ex);
//mark the registration as a failure
registry = null;
//and fail
1.95 +2 -1 ws-axis/java/src/org/apache/axis/i18n/resource.properties
Index: resource.properties
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/i18n/resource.properties,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -r1.94 -r1.95
--- resource.properties 25 Oct 2004 14:32:21 -0000 1.94
+++ resource.properties 27 Oct 2004 21:41:01 -0000 1.95
@@ -1247,4 +1247,5 @@
saxToDomFailed00=Exception caught while converting attributes from SAX to DOM
-cannotFindPartForOperation00=Cannot find part [{0}] for operation [{1}] using MIMEContent type [{2}]
\ No newline at end of file
+cannotFindPartForOperation00=Cannot find part [{0}] for operation [{1}] using MIMEContent type [{2}]
+Registrar.cantregister=Unable to initialize commons-modeler Registry.