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 * ...
随机推荐
- 小组开发项目NABC分析
我们团队的开发项目为:重量解锁 是根据重力感应实现手机的解锁方式,在传统滑屏的基础上我们想增添新的形式,实现用户用一组动作就能实现手机解锁功能,更加方便,炫酷. NABC模型 1.N:我们的创意在使用 ...
- Map、Set、List、Queue、Stack的特点与用法
Collection 接口的接口 对象的集合 ├ List 子接口 按进入先后有序保存 可重复 │├ LinkedList ...
- background-clip
background-clip 用来将背景图片做适当的裁剪以适应实际需要. 语法: background-clip : border-box | padding-box | content-box | ...
- Careercup - Microsoft面试题 - 5680049562845184
2014-05-10 06:51 题目链接 原题: "How would you find the number of gas stations in the United States?& ...
- makefile常用函数
标签(空格分隔): makefile 1.字符串替换和分析函数 $(subst from,to,text) #在文本"text"中使用"to"替换每一处&quo ...
- cygwin chmod 失效
问题背景 为了在 Cygwin 下使用之前最喜爱的 screen 命令, 安装 Cygwin 时就选上了 screen 来运行一把 ganiks.liu@MAMIS-Gaiks-Liu /tmp $ ...
- EF异常:WebForm、Console、Winform层不引入EF报错
WebForm.Console.Winform层可以不引入EntityFramework,但必须引入EntityFramework.SqlServer,否则运行时会报错
- bzoj 3170 manhattan距离
首先将坐标系顺时针旋转45度,得到一个新的坐标系,这个坐标系 对应的坐标的manhattan距离就是原图中的距离,然后快排,利用前缀和 数组O(N)求所有的答案,然后找最小值就行了,总时间O(Nlog ...
- hdu 4004 The Frog's Games
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4004 The annual Games in frogs' kingdom started again ...
- 【BZOJ】【2301】problem b
莫比乌斯反演/容斥原理 Orz PoPoQQQ PoPoQQQ莫比乌斯函数讲义第一题. for(i=1;i<=n;i=last+1){ last=min(n/(n/i),m/(m/i)); …… ...