axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r580498 - /webservices/axis2/branches/c/29092007/src/core/deployment/conf_init.c
Date Fri, 28 Sep 2007 22:02:15 GMT
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


Mime
View raw message