websphere admin FAQ

Creation: october, the 13th 2006
Mise à jour: 13 septembre 2006
Version: 1.1
Author: Jean-Louis Bicquelet-Salaün
Location: http://jlbicquelet.free.fr
Copyright: (c) 2006 Jean-Louis BICQUELET-SALAÜN

For more information about thet faq, please contact Jean-Louis BICQUELET


FAQ Revised: Friday 13 October 2006 16:23:21


Table of Contents

1. status
2. stop start
3. administration
4. config
5. culture

1. status

1.1. How can I know the status of websphere ?
#/apps/products/was5/AppServer/bin/serverStatus.sh -all
ADMU0116I: Tool information is being logged in file
           /apps/products/was5/AppServer/logs/serverStatus.log
ADMU0500I: Retrieving server status for all servers
ADMU0505I: Servers found in configuration:
ADMU0506I: Server name: server1
ADMU0508I: The Application Server "server1" is STARTED

We also can use the name of the server. Here, it is server1:

serverStatus.sh server1.



2. stop start

2.1. How can I restart websphere ?
startServer.sh server1


2.2. How can I stop websphere ?
stopServer.sh.sh server1



3. administration

3.1. How can I go into administration mode with websphere ?
wsadmin.sh
WASX7209I: Connected to process "server1" on node heracles using SOAP connector;  The type of process is: UnManagedProcess
WASX7029I: For help, enter: "$Help help"

$Help AdminApp

Beware, H is in uppercase.

Help available are:

  • Help
  • AdminApp
  • AdminConfig
  • AdminControl


3.2. How can I send a websphere command from the shell prompt ?
Write in a script file the following things and execute it.
#!/bin/sh
/apps/products/was5/AppServer/bin/wsadmin.sh" <


4. config

4.1. How can I know the version of the server ?
#./versionInfo.sh
WVER0010I: Copyright (c) IBM Corporation 2002; All rights reserved.
WVER0011I: WebSphere Application Server Release 5.1
WVER0012I: VersionInfo reporter version 1.15.2.1, dated 4/28/04

--------------------------------------------------------------------------------
IBM WebSphere Application Server Product Installation Status Report
--------------------------------------------------------------------------------

Report at date and time 2006-10-13T15:38:04+02:00

Installation
--------------------------------------------------------------------------------
Product Directory   /was5/AppServer
Version Directory   ${product.dir}/properties/version
DTD Directory       ${version.dir}/dtd
Log Directory       /apps/products/was5/AppServer/logs/update
Backup Directory    ${version.dir}/backup
TMP Directory       /tmp

Installation Platform
--------------------------------------------------------------------------------
Name           IBM WebSphere Application Server
Version        5.1

Technology List
--------------------------------------------------------------------------------
BASE           installed
PME            installed
JDK            installed

Installed Product
--------------------------------------------------------------------------------
Name           IBM WebSphere Business Integration Server Foundation
Version        5.1.1.3
ID             PME
Build Level    cf30540.03
Build Date     10/07/2005

Installed Product
--------------------------------------------------------------------------------
Name           IBM WebSphere SDK
Version        1.4.2.3.1
ID             JDK
Build Level    ca142ifx-20051115
Build Date     11/15/2005

Installed Product
--------------------------------------------------------------------------------
Name           IBM WebSphere Application Server
Version        5.1.1.7
ID             BASE
Build Level    cf70540.03
Build Date     10/03/2005

--------------------------------------------------------------------------------
End Installation Status Report
-----------------------------------


4.2. How can I know if a fixpack is installed ?
instfix -ik PQ95794


4.3. How can I know installed fixpacks ?
instfix -a |grep PQ
IY37120 Abstract: fscntl(FSCNTL_SNAPQUERY) of snapshot not setting if current
IY45937 Abstract: NOT ABLE TO CHANGE THE VALUE OF IPQMAXLEN USING NO COMMAND
 |20020117  |39891   |PQ56430|Problem with java.net.URLEncoder/|
 |20020117  |39891   |PQ56430|Problem with java.net.URLEncoder/|



4.4. How can I display applications of the server ?
wsadmin>$AdminApp list
ANNUAIRE
DefaultApplication
PARC


4.5. How can I list web and EJB modules for an application ?
$AdminApp listModules PARC
PARC#PARC.war+WEB-INF/web.xml


4.6. How can I know the domaim name ?

wsadmin>$AdminControl getDomainName
WebSphere


4.7. How can I know the hostname of the application server ?
wsadmin>$AdminControl getHost
localhost


4.8. How can I know nodes used by Websphere ?
wsadmin>$AdminControl getNode
heracles


4.9. How can I know ports used by Websphere ?
wsadmin>$AdminControl getPort
8880


4.10. How can I know types configuration ?
wsadmin>$AdminConfig types
AllAuthenticatedUsersExt
Application
ApplicationConfig
ApplicationContainer
ApplicationDeployment
ApplicationManagementService
ApplicationServer
AuthMechanism
AuthenticationMechanism
AuthenticationTarget
AuthorizationConfig
AuthorizationProvider
AuthorizationTableExt
AuthorizationTableImpl
BackupCluster
CMPConnectorFactory
CORBAObjectNameSpaceBinding
Cell
CellManager
...
WASQueue
WASQueueConnectionFactory
WASTopic
WASTopicConnectionFactory
WebContainer
WebModuleConfig
WebModuleDeployment
WorkloadManagementServer



4.11. How can I display one object configuration ?

$AdminConfig list Cell
god(cells/god:cell.xml#Cell_1)



5. culture

5.1. What is Jacl ?
Jacl is an alternate implementation of TCL, and is written entirely in Java code.


Copyright (c) 2006 Jean-Louis BICQUELET

This list of questions and answers was generated by makefaq.