当前位置: 首页 > 图文教程 > 服务器 > WebSphere > 关于主机名修改后websphere无法停止的问题完全解决方案

WebSphere
关于主机名修改后websphere无法停止的问题完全解决方案
也谈WebSphere性能优化
从数据库调用 WebSphere 业务流程
WebSphere应用服务器精选问答
WebSphere MQ 集群中的迁移、故障转移和扩展
WebSphere Portal web2.0下dwr使用
WebSphere MQ 集群中的迁移、故障转移和扩展
集群方式启动 websphere
websphere mq常用命令
websphere portal中实现portlet协作通信
websphere安装与启动
WebSpherePortal的迁移
安装 WebSphere应用服务器
基于Spring框架的WebSphere应用开发
Websphere编程之路--MQ编程初探
整合MQ和WEBSPHERE
WebSphere 中的 SSL/TLS:用法、配置和性能
所有OS平台上的常规 WebSphere 调整
WebSphere系统管理
基于WebSphere MQ的收发消息程序

WebSphere 中的 关于主机名修改后websphere无法停止的问题完全解决方案


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-08-14   浏览: 449 ::
收藏到网摘: n/a

主机名修改要求
1、hostname 修改主机名
2、/etc/hosts /etc/sysconfig/network 两个文件修改主机名
3、最后确认hosts文件中存在127.0.0.1 和localhost
1、
./wsadmin.sh -username username -password password -lang jython
2、
AdminConfig.list('ServerIndex')
显示
'(cells/localhostNode01Cell/nodes/xjdxszxy|serverindex.xml#ServerIndex_1)'
3、修改主机名
AdminConfig.modify('(cells/localhostNode01Cell/nodes/xjdxszxy|serverindex.xml#ServerIndex_1)',  "[[hostName iisp.campus]]")
4、检查主机名
AdminConfig.show('(cells/localhostNode01Cell/nodes/xjdxszxy|serverindex.xml#ServerIndex_1)', 'hostName')
显示结果
wsadmin>AdminConfig.show('(cells/localhostNode01Cell/nodes/xjdxszxy|serverindex.xml#ServerIndex_1)', 'hostName')
'[hostName iisp.campus]'
5、保存
AdminConfig.save()
6、更改应用服务器端口
对于应用程序服务器,请选择服务器 > 应用程序服务器 > 应用程序服务器 > 端口。