IMPORTANT FILES AND COMMANDS IN WEBSPHERE
1)Finding out the java version
java.exe -version
......................................................................................................................................
2)Find out version
For WAS:
AIX/bin/versionInfo.sh
Solaries/Linux/bin/versionInfo.sh
Windows/bin/versionInfo.bat
For IHS:
AIX/bin/httpd -v
Solaries/Linux/bin/httpd -v
Windows/bin/apache -v
other:
Java JDK:
UNIX ./java -version
Windows ./java -version
......................................................................................................................................
3)Default administrative port of WAS
9060
......................................................................................................................................
4)Know the port details of a profile
WAS_HOME\profiles\profilename\logs>AboutThisProfile.txt
......................................................................................................................................
5)Checking the server status.
WAS_HOME\profiles\profilename\bin>serverStatus.bat -all
......................................................................................................................................
6)Which file contains all the information regarding profiles on WAS
WAS_HOME\properties>ProfileRegistry.xml
......................................................................................................................................
7)Which file contains information regarding port values.
ServerIndex.xml
......................................................................................................................................
8)How to start a server.
WAS_HOME\profiles\profilename\bin>StartServer.bat -servername
......................................................................................................................................
9)How to start a DMGR profile
WAS_HOME\profiles\profilename\bin>StartManager.bat
......................................................................................................................................
10)Listing all the profiles
ManageProfile.bat -listprofiles
......................................................................................................................................
11)How to start and stop an HTTP server
IHS_HOME/bin>apache.exe -k start
IHS_HOME/bin>apache.exe -k stop
......................................................................................................................................
12)How to check the running processes
Unix:
basic ---------> ps -ef | grep -i java
Solaris ---------> /usr/ucb/ps -auxWw
AIX ----------> /usr/bin/ps -elf
Other process:
ps -ef | grep java | grep dmgr
This command will filter dmgr process in java.
Windows:
TaskManager--------->Applications------------->process
c:/>net start
c:/>net start "IBM HTTP Server"
c:/>net stop "IBM HTTP Server"
......................................................................................................................................
13)How to kill a process
kill -9 pid
ihs default secure is 443,
ihs admin default port 8008
We have different types of logs in WAS
JVM logs: SystemOut.log , SystemErr.log
process or Native logs : native_stdout.log, native_stderr.log
IBM service log : activity.log
Diagnostic log : trace.log
Find the subdirectory that contains the executable,
execute the command
windows : apache.exe -V
Linux : ./httpd -v
aix/solaris : ./apachectl -v
Native_stdout.og in Solaris
java.exe -version
......................................................................................................................................
2)Find out version
For WAS:
AIX
Solaries/Linux
Windows
For IHS:
AIX
Solaries/Linux
Windows
other:
Java JDK:
UNIX ./java -version
Windows ./java -version
......................................................................................................................................
3)Default administrative port of WAS
9060
......................................................................................................................................
4)Know the port details of a profile
WAS_HOME\profiles\profilename\logs>AboutThisProfile.txt
......................................................................................................................................
5)Checking the server status.
WAS_HOME\profiles\profilename\bin>serverStatus.bat -all
......................................................................................................................................
6)Which file contains all the information regarding profiles on WAS
WAS_HOME\properties>ProfileRegistry.xml
......................................................................................................................................
7)Which file contains information regarding port values.
ServerIndex.xml
......................................................................................................................................
8)How to start a server.
WAS_HOME\profiles\profilename\bin>StartServer.bat -servername
......................................................................................................................................
9)How to start a DMGR profile
WAS_HOME\profiles\profilename\bin>StartManager.bat
......................................................................................................................................
10)Listing all the profiles
ManageProfile.bat -listprofiles
......................................................................................................................................
11)How to start and stop an HTTP server
IHS_HOME/bin>apache.exe -k start
IHS_HOME/bin>apache.exe -k stop
......................................................................................................................................
12)How to check the running processes
Unix:
basic ---------> ps -ef | grep -i java
Solaris ---------> /usr/ucb/ps -auxWw
AIX ----------> /usr/bin/ps -elf
Other process:
ps -ef | grep java | grep dmgr
This command will filter dmgr process in java.
Windows:
TaskManager--------->Applications------------->process
c:/>net start
c:/>net start "IBM HTTP Server"
c:/>net stop "IBM HTTP Server"
......................................................................................................................................
13)How to kill a process
kill -9 pid
Default port number of IHS admin server ?
Ihs default port 80,ihs default secure is 443,
ihs admin default port 8008
What are the different types of log files ?
We have different types of logs in WAS
JVM logs: SystemOut.log , SystemErr.log
process or Native logs : native_stdout.log, native_stderr.log
IBM service log : activity.log
Diagnostic log : trace.log
How to find out which version of IHS server you are using ?
Go to the installation directory of the Web server.Find the subdirectory that contains the executable,
execute the command
windows : apache.exe -V
Linux : ./httpd -v
aix/solaris : ./apachectl -v
What is the default port number of DB2 database and Orcle
database ?
Oracle-1521
db2-50000
db2-50000
IN which log file garbage collector information will be available
Native_stdout.og in Solaris
Native_stderr.log and Native_stdout.log in Linux
Difference between Type 2 and Type 4 driver in websphere ?
Type 2 Driver : Thick driver which requires a database client software running in client node
Type 4 Driver : Connects directly to server
Type 4 Driver : Connects directly to server
Comments
Post a Comment