You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by ro...@apache.org on 2026/08/18 18:49:50 UTC

(axis-axis2-c-core) 02/03: Deploy the Apache module to the name it is actually installed under

This is an automated email from the ASF dual-hosted git repository.

robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-c-core.git

commit afb15d4ff2d99c511547b2b4f2d9e651b287a371
Author: Robert Lazarski <ro...@gmail.com>
AuthorDate: Tue Aug 18 08:42:38 2026 -1000

    Deploy the Apache module to the name it is actually installed under
    
    Three places copied the built module to libmod_axis2.so.0.7.0, but
    libmod_axis2 is built with -module -avoid-version, so no versioned file is
    ever produced and none is what Apache loads. The copy landed on a name
    nothing reads, and the verification step listed that same file. Use
    libmod_axis2.so, which is what make install writes and what LoadModule
    points at.
    
    Co-Authored-By: Claude Opus 5 (1M context) <no...@anthropic.com>
---
 Makefile.am                    | 4 ++--
 deploy_enhanced_module.sh      | 4 ++--
 deploy_pthread_debug_module.sh | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 216c0c33c..0300b095d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -130,8 +130,8 @@ install-data-hook:
 	@echo "# Install updated Apache module"
 	@echo "sudo cp src/core/transport/http/server/apache2/.libs/libmod_axis2.so /usr/local/apache2/modules/mod_axis2.so"
 	@echo ""
-	@echo "# Update versioned module copy"
-	@echo "sudo cp src/core/transport/http/server/apache2/.libs/libmod_axis2.so /usr/local/axis2c/lib/libmod_axis2.so.0.7.0"
+	@echo "# Update the module in the Axis2/C lib directory"
+	@echo "sudo cp src/core/transport/http/server/apache2/.libs/libmod_axis2.so /usr/local/axis2c/lib/libmod_axis2.so"
 	@echo ""
 	@echo "# CRITICAL: Restart Apache to load new libraries (running processes cache old versions)"
 	@echo "sudo systemctl restart apache2-custom"
diff --git a/deploy_enhanced_module.sh b/deploy_enhanced_module.sh
index 74df346b0..6213ef10a 100755
--- a/deploy_enhanced_module.sh
+++ b/deploy_enhanced_module.sh
@@ -9,7 +9,7 @@ echo "Size: 327,712 bytes"
 echo ""
 
 echo "Step 1: Deploy enhanced module to Apache module path"
-sudo cp /home/robert/w2/axis-axis2-c-core/src/core/transport/http/server/apache2/.libs/libmod_axis2.so /usr/local/axis2c/lib/libmod_axis2.so.0.7.0
+sudo cp /home/robert/w2/axis-axis2-c-core/src/core/transport/http/server/apache2/.libs/libmod_axis2.so /usr/local/axis2c/lib/libmod_axis2.so
 
 echo "Step 2: Also copy to Apache modules directory"
 sudo cp /home/robert/w2/axis-axis2-c-core/src/core/transport/http/server/apache2/.libs/libmod_axis2.so /usr/local/apache2/modules/mod_axis2.so
@@ -21,7 +21,7 @@ sudo pkill -f apache2 2>/dev/null || true
 sudo systemctl start apache2-custom
 
 echo "Step 4: Verify deployment"
-ls -la /usr/local/axis2c/lib/libmod_axis2.so.0.7.0
+ls -la /usr/local/axis2c/lib/libmod_axis2.so
 ls -la /usr/local/apache2/modules/mod_axis2.so
 
 echo "=== Deployment Complete ==="
diff --git a/deploy_pthread_debug_module.sh b/deploy_pthread_debug_module.sh
index 08a4a38b7..08bf5036e 100755
--- a/deploy_pthread_debug_module.sh
+++ b/deploy_pthread_debug_module.sh
@@ -14,12 +14,12 @@ echo "Copying enhanced module to Apache modules directory..."
 sudo cp /home/robert/w2/axis-axis2-c-core/src/core/transport/http/server/apache2/.libs/libmod_axis2.so /usr/local/apache2/modules/mod_axis2.so
 
 echo "Copying enhanced module to axis2c lib directory..."
-sudo cp /home/robert/w2/axis-axis2-c-core/src/core/transport/http/server/apache2/.libs/libmod_axis2.so /usr/local/axis2c/lib/libmod_axis2.so.0.7.0
+sudo cp /home/robert/w2/axis-axis2-c-core/src/core/transport/http/server/apache2/.libs/libmod_axis2.so /usr/local/axis2c/lib/libmod_axis2.so
 
 # Verify deployment
 echo "Verifying deployment timestamps..."
 ls -la /usr/local/apache2/modules/mod_axis2.so
-ls -la /usr/local/axis2c/lib/libmod_axis2.so.0.7.0
+ls -la /usr/local/axis2c/lib/libmod_axis2.so
 
 # Start Apache
 echo "Starting Apache with enhanced pthread debugging module..."