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 -version
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
分享到:
相关推荐
websphere6.1.0.0升级至6.1.0.17
websphere 6.1安装配置指南websphere 6.1安装配置指南websphere 6.1安装配置指南websphere 6.1安装配置指南websphere 6.1安装配置指南websphere 6.1安装配置指南
该文档描述监控启用全局安全后ND环境下的WebSphere6.1的部署。
IBM WebSphere 6.1 ND 集群安装配置
Websphere6.1集群安装和配置 Websphere6.1集群安装和配置 Websphere6.1集群安装和配置
WebSphere 6.1应用服务器安装部署手册
Websphere6.1 安装 配置 DataSource JDBC JNDI ORACLE
描述Websphere 6.1版本在linuxAS4下的安装过程。包括WAS的安装、HTTP的安装、打补丁和调整几个优化参数。
was相关资料: Websphere安装步骤 websphere安装后配置说明 Websphere实用手册 WebSphere+v6.1配置文档
WebSphere6.1 linux windowns 安装部署手册
MyEclipse 配置 Websphere6.1
Websphere6.1集群详细的安装和配置
1.MyEclipse6.0中Websphere6.1的配置; 2.Websphere6.1基本配置.
WebSphere 6.1 db2 数据源
WebSphere 6.1 SSL配置文档
WebSphere Application Server Network Deployment 6集群安装部署步骤.docxwebsphere6.1集群配置
介绍Websphere6.1程序部署,安装,配置,程序包发布等。
IBM Websphere 6.1 linux 3 安装图解.doc
Websphere6.1集群安装和配置最终
websphere的安装配置一直是一个复杂的问题,本手册介绍了 常用的web服务 websphere6.1版的安装配配置使用.让用户轻松搞定.