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 da...@apache.org on 2007/09/29 00:02:15 UTC

svn commit: r580498 - /webservices/axis2/branches/c/29092007/src/core/deployment/conf_init.c

Author: damitha
Date: Fri Sep 28 15:02:15 2007
New Revision: 580498

URL: http://svn.apache.org/viewvc?rev=580498&view=rev
Log:
Fixing jira AXIS2C-708 in this branch.

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=580498&r1=580497&r2=580498&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 Fri Sep 28 15:02:15 2007
@@ -218,6 +218,14 @@
                         impl_class =
                             axutil_class_loader_create_dll(env,
                                                            impl_info_param);
+                        if(!impl_class)
+                        {
+                            AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI,
+                                "Service %s could not be loaded",
+                                axis2_svc_get_name(svc_desc, env));
+                            axutil_allocator_switch_to_local_pool(env->allocator);
+                            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,



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org