Apache2 Axis2/C 搭建 hello world
参考 http://www.cnblogs.com/fjchenqian/archive/2012/08/05/2623601.html
http://www.cnblogs.com/ezhong/archive/2013/03/27/2984730.html
概念: Jester: JavaScript Client for REST
jester的官网是 http://jesterjs.org/
1. 编译Axis2/c
下载 axis2c-src-1.6.0.tar.gz
CFLAGS=-Wno-unused-but-set-variable ./configure --with-apache2=/usr/local/apache2/include
--with-apache2=/usr/local/apache2/include 是能生成libmod_axis2.so
遇到 uuid_gen_unix.c:62:20: error: variable 'tv' set but not used [-Werror=unused-but-set-variable]
解决: CFLAGS=-Wno-unused-but-set-variable ./configure
遇到:/usr/bin/ld: test.o: undefined reference to symbol 'axiom_xml_reader_free', 去掉neethi下makefile test目录,没有用
make; make install
2. cp $AXIS2C_HOME/lib/libmod_axis2.so.0.6.0 /apache/httpd/modules/mod_axis2.so
3. 修改httpd.conf
LoadModule axis2_module modules/mod_axis2.so
<IfModule axis2_module>
Axis2RepoPath /apache/axiscpp
Axis2LogFile /usr/tmp/AxisLog
Axis2MaxLogFileSize 200
Axis2LogLevel LOG_LEVEL
<Location /axis2>
SetHandler axis2_module
</Location>
</IfModule>
4. 编译 samples
需要先指定环境变量 AXIS2C_HOME = /usr/local/axis2c
cd /apache/axis2c-src-1.6.0/samples/
./configure --prefix=${AXIS2C_HOME} --with-axis2=${AXIS2C_HOME}/include/axis2-1.6.0
make
最新文章
- 利用JS实现点击按钮后图片自动切换
- [NOIP2012] 提高组 洛谷P1081 开车旅行
- 使用expdp时遇到ORA-39002、ORA-39070错误
- CSS-Transform-transition-Animation
- MIME类型大全
- MetadataType的使用,MVC的Model层数据验证
- 学习记录:浏览器JAVASCRIPT里的WINDOWS,DOCUMNET
- 负载均衡集群中的session解决方案
- 《Javascript高级程序设计》读书笔记之bind函数详解
- 大虾翻译(一):jQuery.extend()
- BMP文件格式及读写
- Android网络请求框架之Retrofit实践
- 继续mysql8navicat12连接登录的异常
- Day8:html和css
- 网络流Ek算法
- 用Python开发Zeroc Ice应用
- 数据同步canal客户端
- Admin管理后台
- 7行代码看EntityFramework是如何运行
- 详解JavaScript的splice()方法