-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdeploy_enhanced_module.sh
More file actions
executable file
·29 lines (23 loc) · 1.28 KB
/
deploy_enhanced_module.sh
File metadata and controls
executable file
·29 lines (23 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
# Deploy Enhanced Memory-Safe Module Script
# Date: Dec 19, 2025
echo "=== Enhanced Memory-Safe Module Deployment ==="
echo "Source: /home/robert/w2/axis-axis2-c-core/src/core/transport/http/server/apache2/.libs/libmod_axis2.so"
echo "Built: Dec 19 00:28 (Enhanced memory corruption fixes)"
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
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
echo "Step 3: Restart Apache to clear module cache"
sudo systemctl stop apache2-custom
sleep 2
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/apache2/modules/mod_axis2.so
echo "=== Deployment Complete ==="
echo "Expected: Module timestamps should show Dec 19 00:28"
echo "Test with: curl -sk --http2 -H 'Content-Type: application/json' -d '{\"test\":1}' https://localhost/services/BigDataH2Service/processBigDataSet --max-time 5"