Author: damitha Date: Sun Oct 14 05:51:20 2007 New Revision: 584537 URL: http://svn.apache.org/viewvc?rev=584537&view=rev Log: Adding log message
Modified: webservices/axis2/branches/c/29092007/src/core/deployment/conf_init.c Modified: webservices/axis2/branches/c/29092007/src/core/deployment/conf_init.c URL: http://svn.apache.org/viewvc/webservices/axis2/branches/c/29092007/src/core/deployment/conf_init.c?rev=584537&r1=584536&r2=584537&view=diff ============================================================================== --- webservices/axis2/branches/c/29092007/src/core/deployment/conf_init.c (original) +++ webservices/axis2/branches/c/29092007/src/core/deployment/conf_init.c Sun Oct 14 05:51:20 2007 @@ -227,10 +227,17 @@ return AXIS2_FAILURE; } axis2_svc_set_impl_class(svc_desc, env, impl_class); - AXIS2_SVC_SKELETON_INIT_WITH_CONF((axis2_svc_skeleton_t - *) impl_class, env, - conf); + status = AXIS2_SVC_SKELETON_INIT_WITH_CONF( + (axis2_svc_skeleton_t*) impl_class, env, conf); axutil_allocator_switch_to_local_pool(env->allocator); + if(!status) + { + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Service "\ + "%s initialization Failed. So exiting "\ + "conf_init()", axis2_svc_get_name(svc_desc, + env)); + return AXIS2_FAILURE; + } } } } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]