WebSphere常用设置
WebSphere常用设置
D:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\AboutThisProfile.txt
要创建的应用程序服务器环境: 应用程序服务器
位置: D:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01
需要的磁盘空间: 200 MB
概要文件名: AppSrv01
将此概要文件设为缺省概要文件: True
节点名: arcgis0Node01
主机名: arcgis0
启用管理安全性(建议): True
管理控制台端口: 9060
管理控制台安全端口: 9043
HTTP 传输端口: 9080
HTTPS 传输端口: 9443
引导程序端口: 2809
SOAP 连接器端口: 8880
将应用程序服务器作为服务运行: True
创建 Web 服务器定义: False
2.查看AppSrv01 的日志
D:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1
3.Appsrv01 start/stop命令
D:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\bin
4.修改主机名端口信息文件
D:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\arcgis0Node01Cell\nodes\arcgis0Node01\serverindex.xml
5.修改JVM内存设置
1.修改配置文件D:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\arcgis0Node01Cell\nodes\arcgis0Node01\servers\server1\server.xml
<jvmEntries xmi:id="JavaVirtualMachine_1183122130078" verboseModeClass="false" verboseModeGarbageCollection="false" verboseModeJNI="false" initialHeapSize="128" maximumHeapSize="256" runHProf="false" hprofArguments="" debugMode="false" debugArgs="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777" genericJvmArguments="" executableJarFileName="" disableJIT="false">
2.(图形)服务器-->WebSpehre Application Server -->server1-->java和 进程管理-->进程定义--> JAVA 虚拟机-->初始堆大小、最大堆大小-->保存
中文字符乱码:
JVM参数:
-Ddefault.client.encoding=GBK -Dclient.encoding.override=GBK -Dfile.encoding=GBK -Duser.language=zh -Duser.region=CN
6.修改Websphere变量
Websphere修改变量错误导致控制台无法启动
因为是websphere变量错误控制台无法启动,所以我们只能去修改变量配置文件;
进入
C:\ProgramFiles\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\WIN-9389OC4NMRSNode01Cell\nodes\WIN-9389OC4NMRSNode01 (全局变量)
variables.xml
symbolicName="JAVA_HOME"value="${WAS_INSTALL_ROOT}/java
symbolicName="WAS_INSTALL_ROOT"value="C:\Program Files\IBM\WebSphere\AppServer
C:\ProgramFiles\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\WIN-9389OC4NMRSNode01Cell\nodes\WIN-9389OC4NMRSNode01\servers\server1 (server1局部变量)
server1变量的优先级高于WIN-9389OC4NMRSNode01(主机名+节点) 中的变量;
variables.xml
symbolicName="JAVA_HOME"value="${WAS_INSTALL_ROOT}/java
symbolicName="WAS_INSTALL_ROOT"value="C:\Program Files\IBM\WebSphere\AppServer
7.修改wasadmin密码
管理控制台密码遗忘有两种补救措施:
方法一:命令行——从$WAS_HOME/profiles/xxx 概要文件名/bin目录下,运行 wsadmin -conntype NONE 。
当wsadmin的命令行窗口出现之后,运行 securityoff 。上述操作在应用服务器启动或停止的状态都能发出。
再次启用WAS时,就是停用管理安全性的状态了。
方法二:修改配置文件——修改$WAS_HOME\config\cells\xxx 下的security.xml,把第一个enable改成false就取消安全性了
8.创建概要文件:
注意:大小写
创建概要文件:
windows: manageprofiles.bat -create -profileName AppSrv02
unix:./manageprofiles.sh -create -profileName AppSrv01
-profilePath /opt/IBM/WebSphere/AppServer/profiles/AppSrv01
-templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/default
列出概要文件:
D:\Program Files\IBM\WebSphere\AppServer\bin>manageprofiles.bat -listProfiles
[AppSrv01, AppSrv02]
cd /usr/IBM/WebSphere/AppServer/bin
查看删除概要
./manageprofiles.sh -listProfiles
[Dmgr01, AppSrv01]
./manageprofiles.sh -delete -profileName Dmgr01
./manageprofiles.sh -delete -profileName AppSrv01
创建管理概要
./manageprofiles.sh -create -profileName Dmgr03 -profilePath /usr/IBM/WebSphere/AppServer/profiles/Dmgr03
-templatePath /usr/IBM/WebSphere/AppServer/profileTemplates/dmgr/
如果概要文件需要在不同的机器上运行,设置 -hostName 为IP地址,默认为主机名
也可以自定义 -nodeName -cellName 值
创建应用概要
./manageprofiles.sh -create -profileName app3 -profilePath /usr/IBM/WebSphere/AppServer/profiles/AppSrv03 -templatePath /usr/IBM/WebSphere/AppServer/profileTemplates/default/
启动管理控制
/usr/IBM/WebSphere/AppServer/profiles/Dmgr03/bin/startManager.sh
查看SOAP端口
grep SOAP /usr/IBM/WebSphere/AppServer/profiles/Dmgr03/logs/AboutThisProfile.txt
管理 SOAP 连接器端口: 8888
增加应用概要
/usr/IBM/WebSphere/AppServer/profiles/AppSrv03/bin/addNode.sh 127.0.0.1 8888
启动
/usr/IBM/WebSphere/AppServer/profiles/AppSrv03/bin/startNode.sh
9.Websphere 修改端口配置(修改配置文件,图形)
C:\WebSphere6\AppServer\profiles\AppSrv01\config\cells\softoaNode01Cell\nodes\softoaNode01\serverindex.xml
把9080端口改为80
然后重启WAS服务
10.解决中文乱码问题
1、应用程序服务器 > server1 > 进程定义 > Java 虚拟机,为通用 JVM 自变量指定
-Ddefault.client.encoding=GBK -Dclient.encoding.override=GBK -Dfile.encoding=GBK -Duser.language=zh -Duser.region=CN
进入查看D:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\arcgis0Node01Cell\nodes\arcgis0Node01\servers\server1\server.xml
WebSphere常用设置的更多相关文章
- pycharm快捷键及一些常用设置
pycharm快捷键及一些常用设置,有需要的朋友可以参考下. Alt+Enter 自动添加包 Ctrl+t SVN更新 Ctrl+k SVN提交 Ctrl + / 注释(取消注释)选择的行 Ctrl+ ...
- PLSQLDeveloper 常用设置
PLSQL Developer常用设置及快捷键 1.登录后默认自动选中My Objects (已验证可用) 默认情况下,PLSQL Developer登录后,Brower里会选择All obj ...
- 百度编辑器UEditor常用设置函数大全
在线文档对UEditor说明不够全面,收集了一些常用的方法和基本设置,以供参考.1.创建编辑器UE.getEditor('editor', { initialFrameWidth:"100% ...
- IntelliJ IDEA 常用设置讲解
说明 IntelliJ IDEA 有很多人性化的设置我们必须单独拿出来讲解,也因为这些人性化的设置让我们这些 IntelliJ IDEA 死忠粉更加死心塌地使用它和分享它. 常用设置 IntelliJ ...
- pycharm快捷键、常用设置、包管理
pycharm快捷键.常用设置.包管理 在PyCharm安装目录 /opt/pycharm-3.4.1/help目录下可以找到ReferenceCard.pdf快捷键英文版说明 or 打开pychar ...
- 《Pro Express.js》学习笔记——Express框架常用设置项
Express 设置 系统设置 1. 无须再定义,大部分有默认值,可不设置 2. 常用设置 env view cache view engine views trust pro ...
- Source Insight 常用设置和快捷键大全
Source Insight 常用设置和快捷键大全 退出程序 : Alt+F4 重画屏幕 : Ctrl+Alt+Space 完成语法 : Ctrl+E 复制一行 : Ctrl+K 恰好复制该位置右边的 ...
- eclipse 常用设置,常用快捷键修改
eclipse 常用设置,常用快捷键,myeclipse和eclipse类似' 首先打开eclipse的首选项-->搜索 keys' 常用的一些快捷键: Ctrl+1 快速修复(最经典的快捷键, ...
- UIButton、UILabel、UITextField 初学者需要了解的基本定义和常用设置
以下是三个IOS开发中最常用的控件,作为IOS基础学习教程知识 ,初学者需要了解其基本定义和常用设置,以便在开发在熟练运用. UIButton按钮 第一.UIButton的定义 UIButton * ...
随机推荐
- MyEclipse导入jquery等文件报错的解决方案
1.选中报错的jquery文件例如“jquery-1.8.0.min.js”. 2.右键选择 MyEclipse-->Exclude From Validation . 3.再右键选择 MyEc ...
- 老叶观点:MySQL开发规范之我见
来源:http://ourmysql.com/archives/1396 大多数MySQL规范在网上也都能找得到相关的分享,在这里要分享的是老叶个人认为比较重要的,或者容易被忽视的,以及容易被混淆的一 ...
- org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actua ...
- 互联网产品设计常用文档类型-BRD、MRD、PRD、FSD (
BRD Business Requirements Document,商业需求文档.这是产品声明周期中最早的问的文档,再早就应该是脑中的构思了,其内容涉及市场分析,销售策略,盈利预测等,通常是和老大们 ...
- android编程常见问题- Resource ID #0x7f070001 type #0x12 is not valid
问题说明: AndroidRuntime(1705): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.e ...
- 【BZOJ】【1492】【NOI207】货币兑换Cash
DP/CDQ分治 orz Hzwer copy了下他的代码……结果在while(j<top......)这一句中把一个括号的位置打错了……找了我一个多小时才找到TAT 很神奇……顺便贴下CDQ的 ...
- Brush Mode --- Nyoj 737 分类: Brush Mode 2014-03-25 08:10 202人阅读 评论(0) 收藏
石子合并(一) 时间限制:1000 ms | 内存限制:65535 KB 难度:3 描述 有N堆石子排成一排,每堆石子有一定的数量.现要将N堆石子并成为一堆.合并的过程只能每次将相邻的两堆 ...
- Phyre LCUE with YEBIS cause issues about GS
when LCUE enabled in phyreEngine when Yebis integrated and render there are two mainloopdraws in one ...
- Nginx的accept_mutex配置分析
让我们看看accept_mutex的意义:当一个新连接到达时,如果激活了accept_mutex,那么多个Worker将以串行方式来处理,其中有一个Worker会被唤醒,其他的Worker继续保持休眠 ...
- HTML页面处理以及资源文件的加载
Javascript 异步加载详解 这篇文章很详细的介绍了HTML的页面处理以及资源文件的加载. 本文总结一下浏览器在 javascript 的加载方式. 关键词:异步加载(async loading ...