Websphere6.1的安装与配置

websphere6.1.X安装与配置

1、Red Hat Enterprise Linux AS release 4 上安装firefox2.0
下载firefox-2.0.tar.gz,gz包解压:tar zxvf xx.tar.gz
启动firefox若报错:找不到libstdc++.so.5,请安装compat-libstdc++-33-3.2.3-47.3.i386.rpm,安装rpm指令:rpm -ivh ***.rpm
(若在本地机器上访问虚拟机需关闭虚拟机防火墙,指令#service iptables stop)
2、安装websphere
websphere版本: /opt/IBM/WebSphere/AppServer/bin/./versionInfo.sh
websphere中JDK版本:/opt/IBM/WebSphere/AppServer/java/bin/java -fullversion
3、启动websphere
启动管理平台
#cd /opt/IBM/WebSphere/AppServer/bin
#./startManager.sh
http://ip:9060/admin
启动结点和服务(可页面操作)
#cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
#./startNode.sh
#./startServer.sh server1
4、部署应用
页面操作部署即可。
war包上传位置:
cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/wstemp/92668751/upload
安装位置(页面显示应用):
cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/XXX-NFCCell01
5、查看日志
所有的应用日志的输出:
#cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1
#tail -200f SystemOut.log
单个应用的日志(log4j)
cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/log
注:SystemOut.log中单个应用的日志比log中单个应用的日志全,log中的日志有时可能会丢失。
其他问题
1)、设置was v6.1.x的jsp编译器使用jdk1.5的规范
was v6.1.x 默认情况下JSP编译器用1.3的规范来编译JSP文件,设置j1.5的规范如下(应用部署完后进行设置):
cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/UMPAY-NFCCell01/applications/cmccPay_war.ear/deployments/cmccPay_war/cmccPay.war/WEB-INF
在ibm-web-ext.xmi中增加
<jspAttributes xmi:id="JSPAttribute_113" name="jdkSourceLevel" value="15"/>
保存后重启应用。也请同时删除 jsp 已经编译过的 class 文件(cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/temp/UMPAY-NFCNode01/server1/cmccPay_war/cmccPay.war )
2)、jsp编译后存放的位置
#cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/temp/UMPAY-NFCNode01/server1/cmccPay_war/webProject.war
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值