参考 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

最新文章

  1. 利用JS实现点击按钮后图片自动切换
  2. [NOIP2012] 提高组 洛谷P1081 开车旅行
  3. 使用expdp时遇到ORA-39002、ORA-39070错误
  4. CSS-Transform-transition-Animation
  5. MIME类型大全
  6. MetadataType的使用,MVC的Model层数据验证
  7. 学习记录:浏览器JAVASCRIPT里的WINDOWS,DOCUMNET
  8. 负载均衡集群中的session解决方案
  9. 《Javascript高级程序设计》读书笔记之bind函数详解
  10. 大虾翻译(一):jQuery.extend()
  11. BMP文件格式及读写
  12. Android网络请求框架之Retrofit实践
  13. 继续mysql8navicat12连接登录的异常
  14. Day8:html和css
  15. 网络流Ek算法
  16. 用Python开发Zeroc Ice应用
  17. 数据同步canal客户端
  18. Admin管理后台
  19. 7行代码看EntityFramework是如何运行
  20. 详解JavaScript的splice()方法

热门文章

  1. C++@子类类型转换为父类类型
  2. 10个你能参与并学习的Java开源项目
  3. java的nio之:java的nio系列教程之概述
  4. 向左对齐的Gallery
  5. 转--基于MVC4+EasyUI的Web开发框架形成之旅--界面控件的使用
  6. 024. asp.net中第一次使用GridView (设置鼠标经过时更换背景色)
  7. Java-JDBC连接Oracle 数据库
  8. xfs文件系统
  9. snort使用
  10. BNUOJ 1006 Primary Arithmetic