Tomcat+Aixs Setup

Tomcat+Aixs

download:

1JDK1.5.0.12

2Tomcat5.5(好像5.0及以前的版本运行WebService有点问题)

3Axis1.4

4Eclipse

Installation:

1. install JDK, and set JAVA_HOME into the System environment.

2. Install Tomcat, and set TOMCAT_HOME.   set the admin as the manager

3. Copy tools.jar under JDK into TOMCAT_HOME/common/lib;

Unzip Axis, and copy webapps/axis to TOMCAT_HOME/webapps

4. Set AXIS_HOME = %TOMCAT_HOME%/webapps/axis

AXIS_LIB = %AXIS_HOME%/WEB-INF/lib

AXIS_CLASSPATH = %AXIS_LIB%/axis.jar;%AXIS_LIB%/commons-discovery-0.2.jar;%AXIS_LIB%/commons-logging-1.0.4.jar;%AXIS_LIB%/jaxrpc.jar;%AXIS_LIB%/saaj.jar;%AXIS_LIB%/log4j-1.2.8.jar;%AXIS_LIB%/xml-apis.jar;%AXIS_LIB%/xercesImpl.jar;%AXIS_LIB%/wsdl4j-1.5.1.jar;%AXIS_LIB%/activation.jar;%AXIS_LIB%/xmlrpc-2.0.jar;

 

CLASSPATH=.;%TOMCAT_HOME%/common/lib;%JAVA_HOME%/lib;%AXIS_CLASSPATH%

 

5. Test AXIS:

http://localhost:8080/axis

 

click on the Validation, it will tell you cannot find some jars. You can follow the links to download and added into AXIS_LIB/. But you need to restart tomcat service on the bottom-right systray.

 

6. Test http://localhost:8080/axis/EchoHeaders.jws?wsdl

You can see the xml file.

Success setup.

if you have set admin as the Tomcat manager, you can open

http://localhost:8080/manager/html/list,

then deploy your web app .

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值