dims 2005/01/10 19:56:54
Modified: java/src/org/apache/axis/deployment/wsdd WSDDJAXRPCHandlerInfoChain.java java/src/org/apache/axis/i18n resource.properties Log: log error if class specified in HandlerInfoChain is not found Revision Changes Path 1.8 +6 -1 ws-axis/java/src/org/apache/axis/deployment/wsdd/WSDDJAXRPCHandlerInfoChain.java Index: WSDDJAXRPCHandlerInfoChain.java =================================================================== RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/deployment/wsdd/WSDDJAXRPCHandlerInfoChain.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- WSDDJAXRPCHandlerInfoChain.java 25 Feb 2004 14:02:34 -0000 1.7 +++ WSDDJAXRPCHandlerInfoChain.java 11 Jan 2005 03:56:54 -0000 1.8 @@ -15,9 +15,12 @@ */ package org.apache.axis.deployment.wsdd; +import org.apache.axis.components.logger.LogFactory; import org.apache.axis.encoding.SerializationContext; import org.apache.axis.handlers.HandlerInfoChainFactory; import org.apache.axis.utils.ClassUtils; +import org.apache.axis.utils.Messages; +import org.apache.commons.logging.Log; import org.w3c.dom.Element; import org.xml.sax.helpers.AttributesImpl; @@ -33,6 +36,8 @@ * */ public class WSDDJAXRPCHandlerInfoChain extends WSDDHandler { + protected static Log log = + LogFactory.getLog(WSDDJAXRPCHandlerInfoChain.class.getName()); private ArrayList _hiList; private HandlerInfoChainFactory _hiChainFactory; @@ -66,7 +71,7 @@ try { handlerClass = ClassUtils.forName(handlerClassName); } catch (ClassNotFoundException cnf) { - // GLT - do something here + log.error(Messages.getMessage("handlerInfoChainNoClass00", handlerClassName), cnf); } Map handlerMap = handlerInfo.getHandlerMap(); 1.105 +1 -0 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.104 retrieving revision 1.105 diff -u -r1.104 -r1.105 --- resource.properties 2 Dec 2004 12:53:51 -0000 1.104 +++ resource.properties 11 Jan 2005 03:56:54 -0000 1.105 @@ -1261,3 +1261,4 @@ Registrar.cantregister=Unable to initialize commons-modeler Registry. optionJaxrpc=Maps XML Schema types to Java types instead of the custom Axis types in org.apache.axis.types, according to JAX-RPC 1.1. +handlerInfoChainNoClass00=''HandlerInfoChain'' class not found: ''{0}'' \ No newline at end of file