axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r369707 - in /webservices/axis2/trunk/c: modules/core/transport/http/receiver/http_server.c test/core/deployment/test_deployment.c
Date Tue, 17 Jan 2006 07:38:45 GMT
Author: damitha
Date: Mon Jan 16 23:38:34 2006
New Revision: 369707

URL: http://svn.apache.org/viewcvs?rev=369707&view=rev
Log:
Transport receiver load test is done

Modified:
    webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_server.c
    webservices/axis2/trunk/c/test/core/deployment/test_deployment.c

Modified: webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_server.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_server.c?rev=369707&r1=369706&r2=369707&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_server.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_server.c Mon Jan 16
23:38:34 2006
@@ -109,6 +109,8 @@
     server_impl->http_server.ops->stop = axis2_http_server_stop;
 	server_impl->http_server.ops->get_reply_to_epr = 
 						axis2_http_server_get_reply_to_epr;
+    server_impl->http_server.ops->get_conf_ctx = axis2_http_server_get_conf_ctx;
+    server_impl->http_server.ops->is_running = axis2_http_server_is_running;
 	server_impl->http_server.ops->free = axis2_http_server_free;
                         
 	return &(server_impl->http_server);
@@ -247,7 +249,6 @@
 {
 	axis2_http_server_impl_t *server_impl = NULL;
     AXIS2_FUNC_PARAM_CHECK(server, env, AXIS2_FAILURE);
-    
 	server_impl = AXIS2_INTF_TO_IMPL(server);
 	if(NULL == server_impl->svr_thread)
 	{
@@ -269,9 +270,10 @@
     *inst = axis2_http_server_create(env, NULL, -1);
     if(!(*inst))
     {
+        printf("transport receiver load not success\n");
         return AXIS2_FAILURE;
     }
-
+    
     return AXIS2_SUCCESS;
 }
 

Modified: webservices/axis2/trunk/c/test/core/deployment/test_deployment.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/core/deployment/test_deployment.c?rev=369707&r1=369706&r2=369707&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/core/deployment/test_deployment.c (original)
+++ webservices/axis2/trunk/c/test/core/deployment/test_deployment.c Mon Jan 16 23:38:34 2006
@@ -98,7 +98,7 @@
     axis2_char_t *dll_name = NULL;
     axis2_transport_receiver_t *transport_recv = NULL;
     axis2_param_t *impl_info_param = NULL;
-    axis2_bool_t *is_running = NULL;
+    axis2_bool_t *is_running = AXIS2_FALSE;
     axis2_char_t *expected = NULL;
     axis2_char_t *axis2c_home = NULL;
 
@@ -120,17 +120,18 @@
     transport_recv = (axis2_transport_receiver_t *) axis2_class_loader_create_dll(&env,

         impl_info_param);
     is_running = AXIS2_TRANSPORT_RECEIVER_IS_RUNNING(transport_recv, &env);
-    printf("is_running:%s\n", is_running);
+    printf("is_running:%d\n", is_running);
     AXIS2_FREE(env->allocator, dll_name);
+    printf("transport receiver load test successful\n");
     return 0;
 }
 
 int main()
 {
-    /*axis2_test_dep_engine_do_deploy();*/
-    /*axis2_test_engine_conf_builder_populate_conf();*/
+    axis2_test_dep_engine_do_deploy();
+    axis2_test_engine_conf_builder_populate_conf();
     axis2_test_dep_engine_load();
-    /*axis2_test_transport_receiver_load();*/
+    axis2_test_transport_receiver_load();
     
 	return 0;
 }



Mime
View raw message