我的java天地

centos下安装was6.1

1.下载washttps://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=was60&S_PKG=lnx61&S_TACT=109J84IW&S_CMP=web_dw_rt_swd&lang=en_US&cp=UTF-8&&&dlmethod=http#
用户名:xiong_we_i@163.com    密码:123456

2.建议取消“启动第一步控制台”选项(最后一步)。到此,已经完成了WebSphere主程序的安装,程序会自动创建一个名字AppSrv01的“概要表”,(注:这里的“概要表”相当于weblogic中的一个“domain-server”)。点击【完成】完成安装

3.启动报错
[7/22/11 16:39:22:552 CST] 0000000a WsServerImpl  E   WSVR0009E: Error occurred during startup
META-INF/ws-server-components.xml
[7/22/11 16:39:22:580 CST] 0000000a WsServerImpl  E   WSVR0009E: Error occurred during startup
com.ibm.ws.exception.ConfigurationError: com.ibm.ws.exception.ConfigurationError: javax.naming.ConfigurationException: Cannot get canonical host name for server

解决办法

1.修改/etc/sysconfig/networ文件

# vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=yourname (在这修改hostname,把yourname换成你想用的名字)


2.修改/etc/hosts里面的名字
# vi /etc/hosts
127.0.0.1 localhost.localdomain localhost (在这修改hostname,把末尾的localhost换成你想用的名字)


3.最后在终端下执行:
#hostname ***** (*****为修改后的hostname,即你想用的名字)

特别提示:三处修改的名字要保持一致,否则会出现问题。切记。

4.启动
cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
[root@xiongwei2 bin]# ./startServer.sh server1
ADMU0116I: Tool information is being logged in file
           /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/startServer.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server server1 open for e-business; process id is 3508


5.如果要卸载
[root@xiongwei2 uninstall]# pwd
/opt/IBM/WebSphere/AppServer/uninstall  在这目录下命令卸载即可
切不可通过系统工具卸载和删文件方式

6.访问控制台
https://192.168.0.189:9043/ibm/console/logon.jsp

posted on 2011-07-22 17:13 tobyxiong 阅读(1784) 评论(0)  编辑  收藏 所属分类: java


只有注册用户登录后才能发表评论。


网站导航:
 
<2011年7月>
262728293012
3456789
10111213141516
17181920212223
24252627282930
31123456

导航

统计

常用链接

留言簿(3)

随笔分类(144)

随笔档案(157)

相册

最新随笔

搜索

积分与排名

最新评论

阅读排行榜

评论排行榜