WebSphere Common Settings

Source: Internet
Author: User

WebSphere Common Settings
1. View Environment configuration information
D:\Program Files\ibm\websphere\appserver\profiles\appsrv01\logs\aboutthisprofile.txt


Application server environment to create: Application Server
Location: D:\Program files\ibm\websphere\appserver\profiles\appsrv01
Required disk space: (MB)
Profile Name: APPSRV01
Set this profile as the default profile: True
Node Name: arcgis0node01
Host Name: ARCGIS0
Enable administrative security (recommended): True
Management Console Port: 9060
Admin Console Security Port: 9043
HTTP Transport Port: 9080
HTTPS Transport Port: 9443
Bootstrapper Port: 2809
SOAP Connector port: 8880
Run the application server as a service: True
Create Web server definition: False


2. View the APPSRV01 log
D:\Program Files\ibm\websphere\appserver\profiles\appsrv01\logs\server1


3.APPSRV01 start/stop Command
D:\Program Files\ibm\websphere\appserver\profiles\appsrv01\bin


4. Modify host name Port information file
D:\Program files\ibm\websphere\appserver\profiles\appsrv01\config\cells\arcgis0node01cell\nodes\arcgis0node01\ Serverindex.xml


5. Modify JVM Memory settings
1. Modify the configuration file 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=" "maximumheapsize=" "runhprof=" false "hprofarguments=" " Debugmode= "false" debugargs= "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777" genericjvmarguments= "" Executablejarfilename= "" disablejit= "false" >


2. (graphics) Server-->webspehre application Server-->server1-->java and process-defined---JAVA virtual machine----Initial heap size, Max Heap Size-Save

Chinese characters are garbled:

JVM Parameters:

-ddefault.client.encoding=gbk-dclient.encoding.override=gbk-dfile.encoding=gbk-duser.language=zh-duser.region= CN

6. Modifying a WebSphere variable

WebSphere Modify variable error causes console to fail to start

Because it is a WebSphere variable error console cannot start, so we can only modify the variable configuration file;

Enter

C:\ProgramFiles\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\WIN-9389OC4NMRSNode01Cell\nodes\ WIN-9389OC4NMRSNODE01 (global variable)

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 local variable)

The SERVER1 variable takes precedence over the variables in the WIN-9389OC4NMRSNODE01 (hostname + node);

Variables.xml

Symbolicname= "java_home" value= "${was_install_root}/java

Symbolicname="Was_install_root" value= "C:\Program files\ibm\websphere\appserver

7. Modify the Wasadmin password

Admin Console password Forgetting there are two remedial measures:

Method One: Command line-from $was_home/profiles/xxx profile filename/bin directory, run Wsadmin-conntype NONE.
When the command-line window for wsadmin appears, run Securityoff. The above actions can be issued on the application server starting or stopping state.
When you enable was again, the state of administrative security is deactivated.

Method Two: Modify the configuration file--Modify the Security.xml under $was_home\config\cells\xxx, change the first enable to False to cancel the security

8. Create a profile:

Note: case

Create a profile:

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

List profiles:


D:\Program Files\ibm\websphere\appserver\bin>manageprofiles.bat-listprofiles
[AppSrv01, AppSrv02]

Cd/usr/ibm/websphere/appserver/bin

View Delete Summary

./manageprofiles.sh-listprofiles

[Dmgr01, APPSRV01]

./manageprofiles.sh-delete-profilename Dmgr01

./manageprofiles.sh-delete-profilename APPSRV01

Create a Management profile

./manageprofiles.sh-create-profilename DMGR03-PROFILEPATH/USR/IBM/WEBSPHERE/APPSERVER/PROFILES/DMGR03

-templatepath/usr/ibm/websphere/appserver/profiletemplates/dmgr/

If the profile needs to be run on a different machine, set the-hostname to the IP address, and the host name by default

You can also customize the-nodename-cellname value

Create an App profile

./manageprofiles.sh-create-profilename app3-profilepath/usr/ibm/websphere/appserver/profiles/appsrv03- templatepath/usr/ibm/websphere/appserver/profiletemplates/default/

Start Management control

/usr/ibm/websphere/appserver/profiles/dmgr03/bin/startmanager.sh

viewing SOAP ports

grep soap/usr/ibm/websphere/appserver/profiles/dmgr03/logs/aboutthisprofile.txt

Managing SOAP Connector Ports: 8888

Add Application Summary

/usr/ibm/websphere/appserver/profiles/appsrv03/bin/addnode.sh 127.0.0.1 8888

Start

/usr/ibm/websphere/appserver/profiles/appsrv03/bin/startnode.sh





9.Websphere Modify Port configuration (Modify configuration file, graphics)
C:\WebSphere6\AppServer\profiles\AppSrv01\config\cells\softoaNode01Cell\nodes\softoaNode01\serverindex.xml
Change 9080 Port to 80
Then restart the was service


10. Solve Chinese garbled problem

1. Application Server > Server1 > Process definition > Java virtual machine, specifying for generic JVM arguments

-ddefault.client.encoding=gbk-dclient.encoding.override=gbk-dfile.encoding=gbk-duser.language=zh-duser.region= CN


Go to view D:\Program files\ibm\websphere\appserver\profiles\appsrv01\config\cells\arcgis0node01cell\nodes\ Arcgis0node01\servers\server1\server.xml This article turns from: http://m.blog.csdn.net/blog/zhaojian1988/8874931

WebSphere Common Settings

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.