--- axis2c-1.6.0.orig/debian/copyright +++ axis2c-1.6.0/debian/copyright @@ -0,0 +1,54 @@ +This package was debianized by Soren Hansen on +Mon, 26 Jan 2009 11:29:36 +0100. + +It was downloaded from http://archive.apache.org/dist/ws/axis2/c/1_6_0/ + +Upstream Authors: + +Samisa Abeysinghe +Dushshantha Chandradasa +Chris Darroch +Senaka Fernando +Paul Fremantle +Dimuthu Gamage +Sahan Gamage +Lahiru Gunathilake +Nandika Jayawardana +Supun Kamburugamuva +Kaushalye Kapuruge +Damitha Kumarage +Bill Mitchell +Dumindu Pallewela +Milinda Pathirage +Manjula Peiris +Dinesh Premalal +Sanjaya Rathnaweera +Davanum Srinivas +Selvaratnam Uthaiyashankar +Sanjiva Weerawarana +Nabeel Yoosuf + +Copyright: + Copyright 2003-2004 The Apache Software Foundation. + +License: + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +On a Debian system, the license can be found at +/usr/share/common-licenses/Apache-2.0 . + +The Debian packaging is copyright 2009, Soren Hansen and +is also licensed under the Apache license. --- axis2c-1.6.0.orig/debian/libaxis2c0.preinst +++ axis2c-1.6.0/debian/libaxis2c0.preinst @@ -0,0 +1,11 @@ +#!/bin/sh + +if [ "$1" = "upgrade" ] +then + if dpkg --compare-versions "$2" lt 1.6.0-0ubuntu6 + then + rm -f /usr/lib/axis2/lib + fi +fi + +#DEBHELPER# --- axis2c-1.6.0.orig/debian/libaxis2c-dev.dirs +++ axis2c-1.6.0/debian/libaxis2c-dev.dirs @@ -0,0 +1 @@ +usr/lib/axis2/include --- axis2c-1.6.0.orig/debian/libapache2-mod-axis2c.install +++ axis2c-1.6.0/debian/libapache2-mod-axis2c.install @@ -0,0 +1,3 @@ +debian/tmp/usr/lib/axis2/modules usr/lib/apache2/ +debian/tmp/usr/lib/axis2/lib/libmod_axis2.so* usr/lib/apache2/modules +debian/axis2c.* etc/apache2/mods-available --- axis2c-1.6.0.orig/debian/rules +++ axis2c-1.6.0/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_CONFIGURE_PREFIX:=/usr/lib/axis2 +DEB_CONFIGURE_EXTRA_FLAGS := --with-apache2=/usr/include/apache2 --with-apr=/usr/include/apr-1.0 --enable-openssl --enable-multi-thread=no + +DEB_CONFIGURE_EXTRA_FLAGS += --enable-tests +DEB_MAKE_CHECK_TARGET := check + +binary-install/libaxis2c0:: + cd debian/$(cdbs_curpkg)/usr/lib; for x in axis2/lib/*.so*; do ln -s $$x; done + +binary-install/libaxis2c-dev:: + mkdir -p debian/$(cdbs_curpkg)/usr/lib/axis2/include/axis2-1.6.0 + find debian/$(cdbs_curpkg) + cd debian/$(cdbs_curpkg)/usr/lib/axis2/include/axis2-1.6.0 ; for x in ../../../../include/axis2-1.6.0/*; do ln -s $$x; done + +clean:: + find . -name Makefile -print0 | xargs -0 rm || /bin/true + --- axis2c-1.6.0.orig/debian/libaxis2c-doc.docs +++ axis2c-1.6.0/debian/libaxis2c-doc.docs @@ -0,0 +1 @@ +debian/tmp/usr/lib/axis2/docs/ --- axis2c-1.6.0.orig/debian/axis2c.conf +++ axis2c-1.6.0/debian/axis2c.conf @@ -0,0 +1,4 @@ + + Axis2RepoPath /usr/lib/axis2 + Axis2LogFile /var/log/axis2.log + --- axis2c-1.6.0.orig/debian/axis2c.load +++ axis2c-1.6.0/debian/axis2c.load @@ -0,0 +1 @@ +LoadModule axis2_module /usr/lib/apache2/modules/mod_axis2.so \ No newline at end of file --- axis2c-1.6.0.orig/debian/libaxis2c0.links +++ axis2c-1.6.0/debian/libaxis2c0.links @@ -0,0 +1 @@ +etc/axis2.xml usr/lib/axis2/axis2.xml --- axis2c-1.6.0.orig/debian/libaxis2c0.install +++ axis2c-1.6.0/debian/libaxis2c0.install @@ -0,0 +1,6 @@ +usr/lib/axis2/lib/libaxis*.so* +usr/lib/axis2/lib/libguththila*.so.* +usr/lib/axis2/lib/libaxutil*.so.* +usr/lib/axis2/lib/libneethi*.so.* +usr/lib/axis2/modules +usr/lib/axis2/axis2.xml etc/ --- axis2c-1.6.0.orig/debian/libaxis2c0.dirs +++ axis2c-1.6.0/debian/libaxis2c0.dirs @@ -0,0 +1 @@ +usr/lib/axis2 --- axis2c-1.6.0.orig/debian/control +++ axis2c-1.6.0/debian/control @@ -0,0 +1,130 @@ +Source: axis2c +Section: libs +Priority: optional +Maintainer: Soren Hansen +Build-Depends: cdbs, debhelper (>= 7), autotools-dev, libxml2-dev, libapr1-dev, apache2-threaded-dev, zlib1g-dev, libssl-dev, quilt +Standards-Version: 3.8.0 +Homepage: http://ws.apache.org/axis2/c/ + +Package: libaxis2c0 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Apache web services engine - Runtime + Apache Axis2/C is a Web services engine implemented in the C + programming language. It is based on the extensible and flexible + Axis2 architecture. Apache Axis2/C can be used to provide and + consume WebServices. It has been implemented with portability + and ability to embed in mind, hence could be used as a Web services + enabler in other software. + . + Apache Axis2/C supports SOAP 1.1 and SOAP 1.2, as well as REST style + of Webservices. A single service could be exposed both as a SOAP style as well + as a REST style service simultaneously. It also has built in MTOM support, + that can be used to exchange binary data. + . + Apache Axis2/C is efficient, modular and is designed with extensibility. The + extensible design allows it to support the full WS-* stack with the + concept of modules. Apache Axis2/C is the Web services engine that supports + the most number of WS-* specification implementations in C, with + guaranteed interoperability. This enables using C in Service Oriented + Architecture (SOA) implementations, and would be very useful when integrating + legacy systems into SOA. + +Package: libaxis2c-dev +Architecture: any +Depends: libaxis2c0 (= ${binary:Version}), libxml2-dev, libapr1-dev, ${shlibs:Depends}, ${misc:Depends} +Section: libdevel +Description: Apache web services engine - Development + Apache Axis2/C is a Web services engine implemented in the C + programming language. It is based on the extensible and flexible + Axis2 architecture. Apache Axis2/C can be used to provide and + consume WebServices. It has been implemented with portability + and ability to embed in mind, hence could be used as a Web services + enabler in other software. + . + Apache Axis2/C supports SOAP 1.1 and SOAP 1.2, as well as REST style + of Webservices. A single service could be exposed both as a SOAP style as well + as a REST style service simultaneously. It also has built in MTOM support, + that can be used to exchange binary data. + . + Apache Axis2/C is efficient, modular and is designed with extensibility. The + extensible design allows it to support the full WS-* stack with the + concept of modules. Apache Axis2/C is the Web services engine that supports + the most number of WS-* specification implementations in C, with + guaranteed interoperability. This enables using C in Service Oriented + Architecture (SOA) implementations, and would be very useful when integrating + legacy systems into SOA. + +Package: libaxis2c-bin +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Apache web services engine - Misc. binaries + Apache Axis2/C is a Web services engine implemented in the C + programming language. It is based on the extensible and flexible + Axis2 architecture. Apache Axis2/C can be used to provide and + consume WebServices. It has been implemented with portability + and ability to embed in mind, hence could be used as a Web services + enabler in other software. + . + Apache Axis2/C supports SOAP 1.1 and SOAP 1.2, as well as REST style + of Webservices. A single service could be exposed both as a SOAP style as well + as a REST style service simultaneously. It also has built in MTOM support, + that can be used to exchange binary data. + . + Apache Axis2/C is efficient, modular and is designed with extensibility. The + extensible design allows it to support the full WS-* stack with the + concept of modules. Apache Axis2/C is the Web services engine that supports + the most number of WS-* specification implementations in C, with + guaranteed interoperability. This enables using C in Service Oriented + Architecture (SOA) implementations, and would be very useful when integrating + legacy systems into SOA. + +Package: libaxis2c-doc +Architecture: all +Section: doc +Depends: ${misc:Depends} +Description: Apache web services engine - Documentation + Apache Axis2/C is a Web services engine implemented in the C + programming language. It is based on the extensible and flexible + Axis2 architecture. Apache Axis2/C can be used to provide and + consume WebServices. It has been implemented with portability + and ability to embed in mind, hence could be used as a Web services + enabler in other software. + . + Apache Axis2/C supports SOAP 1.1 and SOAP 1.2, as well as REST style + of Webservices. A single service could be exposed both as a SOAP style as well + as a REST style service simultaneously. It also has built in MTOM support, + that can be used to exchange binary data. + . + Apache Axis2/C is efficient, modular and is designed with extensibility. The + extensible design allows it to support the full WS-* stack with the + concept of modules. Apache Axis2/C is the Web services engine that supports + the most number of WS-* specification implementations in C, with + guaranteed interoperability. This enables using C in Service Oriented + Architecture (SOA) implementations, and would be very useful when integrating + legacy systems into SOA. + +Package: libapache2-mod-axis2c +Architecture: any +Section: web +Depends: apache2.2-common, ${shlibs:Depends}, ${misc:Depends} +Description: Apache web services engine - apache module + Apache Axis2/C is a Web services engine implemented in the C + programming language. It is based on the extensible and flexible + Axis2 architecture. Apache Axis2/C can be used to provide and + consume WebServices. It has been implemented with portability + and ability to embed in mind, hence could be used as a Web services + enabler in other software. + . + Apache Axis2/C supports SOAP 1.1 and SOAP 1.2, as well as REST style + of Webservices. A single service could be exposed both as a SOAP style as well + as a REST style service simultaneously. It also has built in MTOM support, + that can be used to exchange binary data. + . + Apache Axis2/C is efficient, modular and is designed with extensibility. The + extensible design allows it to support the full WS-* stack with the + concept of modules. Apache Axis2/C is the Web services engine that supports + the most number of WS-* specification implementations in C, with + guaranteed interoperability. This enables using C in Service Oriented + Architecture (SOA) implementations, and would be very useful when integrating + legacy systems into SOA. --- axis2c-1.6.0.orig/debian/libapache2-mod-axis2c.dirs +++ axis2c-1.6.0/debian/libapache2-mod-axis2c.dirs @@ -0,0 +1 @@ +usr/lib/apache2/modules \ No newline at end of file --- axis2c-1.6.0.orig/debian/libaxis2c-dev.links +++ axis2c-1.6.0/debian/libaxis2c-dev.links @@ -0,0 +1 @@ +usr/lib/pkgconfig/axis2c.pc usr/lib/axis2/lib/pkgconfig/axis2c.pc --- axis2c-1.6.0.orig/debian/changelog +++ axis2c-1.6.0/debian/changelog @@ -0,0 +1,112 @@ +axis2c (1.6.0-0ubuntu8) lucid; urgency=low + + * rebuild rest of main for armel armv7/thumb2 optimization; + UbuntuSpec:mobile-lucid-arm-gcc-v7-thumb2 + + -- Alexander Sack Fri, 05 Mar 2010 03:10:28 +0100 + +axis2c (1.6.0-0ubuntu7) karmic; urgency=low + + * debian/libaxis2c.preinst: Handle /usr/lib/axis2/lib directory symlink + on upgrade from 1.5 (LP: #426752) + + -- Thierry Carrez Mon, 12 Oct 2009 10:29:54 +0200 + +axis2c (1.6.0-0ubuntu6) karmic; urgency=low + + * Disable threading, as it causes instability. (LP: #428060) + * Switch to quilt for patch management. + + -- Soren Hansen Mon, 14 Sep 2009 22:51:37 +0200 + +axis2c (1.6.0-0ubuntu5) karmic; urgency=low + + * debian/rules, debian/patches/04_fix_testsuite.patch: Enable testsuite + * Fold direct modification of test_util.c into 04_fix_testsuite.patch + + -- Thierry Carrez Mon, 14 Sep 2009 17:29:50 +0200 + +axis2c (1.6.0-0ubuntu4) karmic; urgency=low + + * Replace directory symlink for axis2c/include with a stack of file + symlinks. This should make upgrades much smoother if we decide to + rearrange directories again. + + -- Soren Hansen Wed, 09 Sep 2009 16:46:03 +0200 + +axis2c (1.6.0-0ubuntu3) karmic; urgency=low + + * Put axis2c.pc in /usr/lib/pkgconfig and add (yet another) symlink to + account for other projects that may look relative to $AXIS2C_HOME. + + -- Soren Hansen Fri, 28 Aug 2009 15:48:41 +0000 + +axis2c (1.6.0-0ubuntu2) karmic; urgency=low + + * Include WSDL2C.sh in libaxis2c-dev. + + -- Soren Hansen Thu, 27 Aug 2009 08:05:26 +0000 + +axis2c (1.6.0-0ubuntu1) karmic; urgency=low + + * New upstream release + + -- Soren Hansen Wed, 26 Aug 2009 22:52:22 +0000 + +axis2c (1.5.0-0ubuntu7) karmic; urgency=low + + * Do remove --enable-tests from configure flags as these do not build yet. + + -- Loïc Minier Tue, 25 Aug 2009 12:20:53 +0200 + +axis2c (1.5.0-0ubuntu6) karmic; urgency=low + + * Move changes to samples/server/axis2.xml from the .diff.gz to a new patch, + 03_enable-security. + * Add ${misc:Depends} to all packages and ${shlibs:Depends} to the -dev + package. + * Set Priority to optional. + * Build-dep on zlib1g-dev explicitly for libz.so and on libssl-dev for + libssl.so. + * Fix bogus description lines starting with a dot; cleanup whitespace. + * Remove dh-make boilerplate from copyright file. + * Pass -r to xargs to avoid warning when no Makefile to remove is found. + * Prepare enabling of testsuite which currently doesn't build; see rules. + + -- Loïc Minier Tue, 25 Aug 2009 11:49:45 +0200 + +axis2c (1.5.0-0ubuntu5) jaunty; urgency=low + + * Only put the aforementioned symlinks in the libaxis2c0 (instead of + both libaxis2c0 and libaxis2c-dev). + * Ship axis2c.{conf,load} needed for "a2enmod axis2c" to work. + (LP: #333239) + + -- Soren Hansen Thu, 26 Feb 2009 00:16:01 +0100 + +axis2c (1.5.0-0ubuntu4) jaunty; urgency=low + + * *Correctly* provide extra symlinks so that axis2 can find its base + modules. + + -- Soren Hansen Wed, 25 Feb 2009 14:58:40 +0100 + +axis2c (1.5.0-0ubuntu3) jaunty; urgency=low + + * Ship axis2.xml symlink in libaxis2c0 instead of libaxis2c-bin. + + -- Soren Hansen Tue, 24 Feb 2009 17:32:37 +0100 + +axis2c (1.5.0-0ubuntu2) jaunty; urgency=low + + * Provide extra symlinks so that axis2 can find its base modules. + * Enable security by default. + * Ship axis2.xml in libaxis2c0 instead of libaxis2c-bin. + + -- Soren Hansen Tue, 24 Feb 2009 09:05:30 +0100 + +axis2c (1.5.0-0ubuntu1) jaunty; urgency=low + + * Initial release. Big thanks for Michael Vogt for helping out! + + -- Soren Hansen Wed, 11 Feb 2009 02:36:01 +0200 --- axis2c-1.6.0.orig/debian/libaxis2c-dev.install +++ axis2c-1.6.0/debian/libaxis2c-dev.install @@ -0,0 +1,6 @@ +usr/lib/axis2/lib/libguththila*.so +usr/lib/axis2/lib/libaxutil*.so +usr/lib/axis2/lib/libneethi*.so +usr/lib/axis2/include/* /usr/include +usr/lib/axis2/bin/tools/wsdl2c/WSDL2C.sh +usr/lib/axis2/lib/pkgconfig /usr/lib --- axis2c-1.6.0.orig/debian/watch +++ axis2c-1.6.0/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://archive.apache.org/dist/ws/axis2/c/([\d_]+)/axis2c-src-([\d\.]+)\.tar\.gz \ No newline at end of file --- axis2c-1.6.0.orig/debian/libaxis2c-bin.install +++ axis2c-1.6.0/debian/libaxis2c-bin.install @@ -0,0 +1 @@ +usr/lib/axis2/bin/axis2_http_server --- axis2c-1.6.0.orig/debian/compat +++ axis2c-1.6.0/debian/compat @@ -0,0 +1 @@ +7 --- axis2c-1.6.0.orig/debian/patches/02_fix_doc_dir.patch +++ axis2c-1.6.0/debian/patches/02_fix_doc_dir.patch @@ -0,0 +1,29 @@ +--- axis2c-1.5.0.orig/Makefile.am ++++ axis2c-1.5.0/Makefile.am +@@ -43,6 +43,7 @@ + rm -rf axis2c-bin-${PACKAGE_VERSION}-linux + + install-data-hook: +- cp -r docs $(docsdir) +- rm -rf `find $(docsdir)/ -type d -name .svn` +- rm $(docsdir)/README ++ mkdir -p $(DESTDIR)$(docsdir) ++ cp -r docs $(DESTDIR)$(docsdir) ++ rm -rf `find $(DESTDIR)$(docsdir)/ -type d -name .svn` ++ rm $(DESTDIR)$(docsdir)/README +--- axis2c-1.5.0.orig/Makefile.in ++++ axis2c-1.5.0/Makefile.in +@@ -832,9 +832,10 @@ + rm -rf axis2c-bin-${PACKAGE_VERSION}-linux + + install-data-hook: +- cp -r docs $(docsdir) +- rm -rf `find $(docsdir)/ -type d -name .svn` +- rm $(docsdir)/README ++ mkdir -p $(DESTDIR)$(docsdir) ++ cp -r docs $(DESTDIR)$(docsdir) ++ rm -rf `find $(DESTDIR)$(docsdir)/ -type d -name .svn` ++ rm $(DESTDIR)$(docsdir)/README + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: --- axis2c-1.6.0.orig/debian/patches/03_enable-security.patch +++ axis2c-1.6.0/debian/patches/03_enable-security.patch @@ -0,0 +1,11 @@ +--- axis2c-1.5.0.orig/samples/server/axis2.xml ++++ axis2c-1.5.0/samples/server/axis2.xml +@@ -108,7 +108,7 @@ + + + +- ++ + + + --- axis2c-1.6.0.orig/debian/patches/series +++ axis2c-1.6.0/debian/patches/series @@ -0,0 +1,5 @@ +02_fix_doc_dir.patch +03_enable-security.patch +04_fix_testsuite.patch +#build-without-threading.patch +05-build-without-threading.patch --- axis2c-1.6.0.orig/debian/patches/04_fix_testsuite.patch +++ axis2c-1.6.0/debian/patches/04_fix_testsuite.patch @@ -0,0 +1,44 @@ +Index: axis2c-1.6.0/util/test/util/test_util.c +=================================================================== +--- axis2c-1.6.0.orig/util/test/util/test_util.c 2009-09-14 22:27:46.794355427 +0200 ++++ axis2c-1.6.0/util/test/util/test_util.c 2009-09-14 22:27:48.091357644 +0200 +@@ -243,7 +243,6 @@ + test_log_write( + ) + { +- char msg[10]; + printf("start of test_log_write\n\n"); + axutil_allocator_t *allocator = axutil_allocator_init(NULL); + if (!allocator) +@@ -272,7 +271,6 @@ + printf("cannot create env with error and log\n"); + return; + } +- strcpy(msg, "abcd test123"); + + AXIS2_LOG_CRITICAL(env->log, AXIS2_LOG_SI, "log1 %s", "test1"); + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "log2 %d", 2); +Index: axis2c-1.6.0/test/core/transport/http/Makefile.in +=================================================================== +--- axis2c-1.6.0.orig/test/core/transport/http/Makefile.in 2009-09-14 22:27:46.746335640 +0200 ++++ axis2c-1.6.0/test/core/transport/http/Makefile.in 2009-09-14 22:27:48.095333917 +0200 +@@ -222,6 +222,7 @@ + $(top_builddir)/neethi/src/libneethi.la \ + ../../../../axiom/src/parser/$(WRAPPER_DIR)/libaxis2_parser.la \ + $(top_builddir)/src/core/engine/libaxis2_engine.la \ ++ $(top_builddir)/src/core/transport/http/common/libaxis2_http_common.la \ + $(top_builddir)/src/core/transport/http/sender/libaxis2_http_sender.la + + INCLUDES = -I${CUTEST_HOME}/include \ +Index: axis2c-1.6.0/test/core/transport/http/Makefile.am +=================================================================== +--- axis2c-1.6.0.orig/test/core/transport/http/Makefile.am 2009-09-14 22:27:46.778336353 +0200 ++++ axis2c-1.6.0/test/core/transport/http/Makefile.am 2009-09-14 22:27:48.095333917 +0200 +@@ -12,6 +12,7 @@ + $(top_builddir)/neethi/src/libneethi.la \ + ../../../../axiom/src/parser/$(WRAPPER_DIR)/libaxis2_parser.la \ + $(top_builddir)/src/core/engine/libaxis2_engine.la \ ++ $(top_builddir)/src/core/transport/http/common/libaxis2_http_common.la \ + $(top_builddir)/src/core/transport/http/sender/libaxis2_http_sender.la + + INCLUDES = -I${CUTEST_HOME}/include \ --- axis2c-1.6.0.orig/debian/patches/05-build-without-threading.patch +++ axis2c-1.6.0/debian/patches/05-build-without-threading.patch @@ -0,0 +1,60 @@ +Index: axis2c-1.6.0/src/core/clientapi/listener_manager.c +=================================================================== +--- axis2c-1.6.0.orig/src/core/clientapi/listener_manager.c 2009-09-14 22:31:02.314335127 +0200 ++++ axis2c-1.6.0/src/core/clientapi/listener_manager.c 2009-09-14 22:31:25.358336594 +0200 +@@ -127,7 +127,6 @@ + listener = axis2_transport_in_desc_get_recv(transport_in, env); + if (listener) + { +- axutil_thread_t *worker_thread = NULL; + axis2_listener_manager_worker_func_args_t *arg_list = NULL; + arg_list = AXIS2_MALLOC(env->allocator, + sizeof +@@ -144,6 +143,7 @@ + #ifdef AXIS2_SVR_MULTI_THREADED + if (env->thread_pool) + { ++ axutil_thread_t *worker_thread = NULL; + worker_thread = + axutil_thread_pool_get_thread(env->thread_pool, + axis2_listener_manager_worker_func, +Index: axis2c-1.6.0/src/core/clientapi/op_client.c +=================================================================== +--- axis2c-1.6.0.orig/src/core/clientapi/op_client.c 2009-09-14 22:31:48.183352004 +0200 ++++ axis2c-1.6.0/src/core/clientapi/op_client.c 2009-09-14 22:32:10.814362496 +0200 +@@ -531,7 +531,6 @@ + } + else + { +- axutil_thread_t *worker_thread = NULL; + axis2_op_client_worker_func_args_t *arg_list = NULL; + arg_list = AXIS2_MALLOC(env->allocator, + sizeof(axis2_op_client_worker_func_args_t)); +@@ -549,6 +548,7 @@ + #ifdef AXIS2_SVR_MULTI_THREADED + if (env->thread_pool) + { ++ axutil_thread_t *worker_thread = NULL; + worker_thread = axutil_thread_pool_get_thread(env->thread_pool, + axis2_op_client_worker_func, + (void *) +Index: axis2c-1.6.0/src/core/transport/http/receiver/http_svr_thread.c +=================================================================== +--- axis2c-1.6.0.orig/src/core/transport/http/receiver/http_svr_thread.c 2009-09-14 22:48:58.803334566 +0200 ++++ axis2c-1.6.0/src/core/transport/http/receiver/http_svr_thread.c 2009-09-14 22:49:15.826362903 +0200 +@@ -123,7 +123,6 @@ + { + int socket = -1; + axis2_http_svr_thd_args_t *arg_list = NULL; +- axutil_thread_t *worker_thread = NULL; + + socket = (int)axutil_network_handler_svr_socket_accept(env, + svr_thread-> +@@ -148,6 +147,7 @@ + arg_list->socket = socket; + arg_list->worker = svr_thread->worker; + #ifdef AXIS2_SVR_MULTI_THREADED ++ axutil_thread_t *worker_thread = NULL; + worker_thread = axutil_thread_pool_get_thread(env->thread_pool, + axis2_svr_thread_worker_func, + (void *) arg_list);