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 ma...@apache.org on 2008/01/03 13:42:26 UTC

svn commit: r608467 - /webservices/axis2/trunk/c/src/core/transport/http/server/apache2/mod_axis2.c

Author: manjula
Date: Thu Jan  3 04:42:25 2008
New Revision: 608467

URL: http://svn.apache.org/viewvc?rev=608467&view=rev
Log:
Fixing Axis2/C-858.

Modified:
    webservices/axis2/trunk/c/src/core/transport/http/server/apache2/mod_axis2.c

Modified: webservices/axis2/trunk/c/src/core/transport/http/server/apache2/mod_axis2.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/server/apache2/mod_axis2.c?rev=608467&r1=608466&r2=608467&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/server/apache2/mod_axis2.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/server/apache2/mod_axis2.c Thu Jan  3 04:42:25 2008
@@ -313,6 +313,7 @@
     int rv = 0;
     axutil_env_t *thread_env = NULL;
     axutil_allocator_t *allocator = NULL;
+    axutil_error_t *error = NULL;
 
     if (strcmp(req->handler, "axis2_module"))
     {
@@ -325,7 +326,8 @@
     }
     ap_should_client_block(req);
 
-    thread_env = axutil_init_thread_env(axutil_env);
+
+    /*thread_env = axutil_init_thread_env(axutil_env);*/
 
     /*axutil_env->allocator->current_pool = (void *) req->pool;
     rv = AXIS2_APACHE2_WORKER_PROCESS_REQUEST(axis2_worker, axutil_env, req);*/
@@ -344,6 +346,11 @@
     allocator->current_pool = (void *) req->pool;
     allocator->global_pool = axutil_env->allocator->global_pool;
 
+    error = axutil_error_create(allocator);
+    thread_env = axutil_env_create_with_error_log_thread_pool(allocator,
+                                                        error, axutil_env->log,
+                                                        axutil_env->
+                                                        thread_pool);
     thread_env->allocator = allocator;
 
     rv = AXIS2_APACHE2_WORKER_PROCESS_REQUEST(axis2_worker, thread_env, req);



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