Sie sind auf Seite 1von 6

8/22/2014 WAS INTERVIEW PART-2 QUESTIONS AND ANSWERS | IBM WAS INTERVIEW ANSWERS

http://karim05501.blogspot.in/2012/10/was-interview-2-questions-and-answers.html 1/6
Tu e s d a y , 3 0 Oc t o b e r 2 0 1 2
WAS INTERVIEW PART-2 QUESTIONS AND ANSWERS

WAS INTERVIEW PART-2 QUESTIONS AND ANSWERS
1) what are the different components in Wily Introscope ?
A) 1) Collector
2) MOM (Manager of Managers)
3) Webview (thin client)
4) Console (Thick Client)
2) In which log file garbage collector information will be recorded ? how to
enable garbage collector ?
A) ----> Nativestdout.log Nativestderr.log are GC logs
---> get into the admin console ->applicationserver->select JVM->Java & Process
Management->process definition-> Java Virtual Machine.
There u will have an option to enable GC logging.
3) How can we check the performance of the application server without
external monitoring tools?
A) Through Websphere in build monitoring tool called Tivoli Performance Monitoring under
Monitoring and tuning in Admin Console.
(or)
Tivoli Performance Viewer (TPV): It enables the administrators and programmers to
monitor the overall health of the WebSphere Application Server without leaving the
Admin console.
From TPV, you can view current activity or log Performace Monitoring Infrastructure(PMI)
for the following:
- System resources such as CPU utilization.
S e a r c h T h i s B l o g
Search
Di g i t a l c l o c k
01:17:26 pm
WAS Ar c h i v e
2012 (43)
Dec (1)
Nov (20)
Oct (22)
WAS INTERVIEW PART-3
QUESTIONS AND ANSWERS
WAS INTERVIEW PART-2
QUESTIONS AND ANSWERS
VIRTUAL HOSTS IN WAS
CLUSTERING IN WAS
MEMORY LEAKAGE IN WAS
SYNCHRONIZATION
HTTP ERRORS IN WAS
WSADMIN OBJECTS
LIFE CYCLE OF WSADMIN
ROLE AND RESPONSBILITIES OF
WSADMIN
IBM WAS INTERVIEW ANSWERS
Web S p h er e Ap p l i c a t i o n S er v er I n t er v i ew Qu es t i o n s a n d Do c u men t s
Av a i l a b l e H er e
8/22/2014 WAS INTERVIEW PART-2 QUESTIONS AND ANSWERS | IBM WAS INTERVIEW ANSWERS
http://karim05501.blogspot.in/2012/10/was-interview-2-questions-and-answers.html 2/6
- WebSphere pools and queues such as DB connection pool.
- Customer Application data such as servlet response time.
4) How many plugins are required by http server ?
A) ONLY ONE
5) what is a collector tool ?
A) ----> Collector is a tool which provides all log files. These log files contains failure info.
----> If the bugs cant be cleared by administrator, then by using this tool we will send
all log files to IBM people.
6) How many JVMs will there for each server ?
A) ----> It depends on the enironment. There can be any number no limit.
----> Generally in Producation a JVM is put in two servers clustered horizontally to
avoid single point of failure (SPOF)
7) what is Embedded HTTP Server ?
A) ----> The embedded HTTP Server receives requests for WebSphere assets from the
WebSphere plug-in and passes them to an application server for processing.
----> Any response from the application server is passed back to the WebSphere plug-
in for display.
-----> The embedded HTTP server supports both HTTP and secure HTTP (HTTPS)
protocols for connecting Web servers to application servers.
----> By default, the embedded HTTP server listens for requests on TCP/IP port 9080 but
this is configurable.
For example: http://server-name:9080/servlet
You can also use the embedded HTTP server to test your WebSphere applications, but it
should never be used as a production Web server.
8) How to know whether the plug-in ic propagated or not ?
A) Check the plugin-cfg.xml file in webserver
9) what are the different types of log files we have ? what is the use of each log
file ?
A) 1) SystemOut.log : standard JVM output log
---> Indicates if the code running on the Application Server started and stopped
successfully.
--->Destination and name are configurable.
----> Can be used for user messages.
2) SystemErr.log : standard JVM error log
----> Identifies exceptions thrown by the code running on the Application Server.
----> Destination and name are configurable.
3) startServer.log and stopServer.log :
----> Describes the startup and shutdown of the Application Servers.
4) Activity.log: events that show a history of activities
AUTOMATION IN WAS
DEPLOYMENT DESCRIPTOR
BACKGROUND PROCESS
UPDATE COMMAND IN WAS
STALE CONNECTION
ROLLOUT UPDATE AND
ROLLOVER IN WAS
DEPLOYMENT STEPS OF J2EE IN
WAS
JDBC CONNECTION POOLING
JDBC (JAVA DATABASE
CONNECTIVITY)
JMS (JAVA MESSAGING SERVICE)
WAS Interview Question Part - I
Tell me about yourself ? A) Good
morning/Aftern...
Home
Powered by Blogger.
P o p u l a r P o s t s
TICKETING TOOL IN WAS
TICKETING TOOL IN WAS Def of
Ticketing Tool : It is a software which
provides solutions for the tickets ----> ...
(no title)
Tell me about yourself ? A) Good
morning/Afternoon to everybody. Its my
pleasure to introduce Myself Starting with
my name. My ...
WAS INTERVIEW PART-2 QUESTIONS
AND ANSWERS
WAS INTERVIEW PART-2
QUESTIONS AND ANSWERS 1) what
are the different components in Wily
Introscope ? A) 1) Collecto...
TROUBLE SHOOTING IN WAS
TROUBLE SHOOTING IN WAS -----
> When we got any issue in WAS we
have to trouble shoot that issue ----->
Suppose Page ...
WAS INTERVIEW PART-4 QUESTIONS
AND ANSWERS
WAS INTERVIEW PART-4
QUESTIONS AND ANSWERS 1) What
are logs in IHS (IBM HTTP SERVER) ?
A) Access.log , Error.log 2...
8/22/2014 WAS INTERVIEW PART-2 QUESTIONS AND ANSWERS | IBM WAS INTERVIEW ANSWERS
http://karim05501.blogspot.in/2012/10/was-interview-2-questions-and-answers.html 3/6
----> Use Log Analyzer to read output from this file.

5) http_plugin.log : plug-in trace log
----> Errors and data from the Web server plug-in.
6) trace.log : output from diagnostic trace.
----> Destination and name are configurable.
----> All WebSphere Application Server log files are under the logs directory. where is
the WebSphere Application Server installation directory (for Windows 2000 the default is:
C:Program FilesWebSphereAppServer).
----> SystemOut.log and SystemErr.log are the default names for the JVM logs. They
contain server and user program information (sent by: System.out.xxx code in the
program). The default location is logs.
----> startServer.log and stopServer.log can also be found under the logs directory.
These files contain information logged by the server as it starts up and shuts down.
-----> The activity.log file contains information about normal events that are occurring to
the system. For example, when a module is first accessed and loaded into the server
container, or when a JSP is compiled, or when requests are directed from the HTTP server
to the Application Server. Activities such as these are time stamped and recorded in the
activity.log file. The activity.log file size can be set.
-----> The default value is 1024K, or 1 megabyte. The minimum size is 8K and maximum is
1048576K (1 gigabyte). To do this, set the com.ibm.ws.ras.ActivityLogSize value in the
logging.properties file in the properties directory.
10) what are the parameters available in IHS servers response file ?
A) ----> # In real life, you must concatenate these
-----> # parameters onto one continuous line. They
----- ># may NOT be split as we do here
-----> -W maintenance.package=
-----> "/fixPaks/7.0.0-WS-IHS-LinuxX32-FP0000011.pak;"
----> -W product.location="/IBM/WebSphere/HTTPServer"
----> -OPT checkFilePermissions="true"
----> -OPT disableNonBlockingPrereqChecking="true"
----> -W update.type="install"
11) How to deploy web/jar files in Weblogic or tomcat in unix/Linux
environment ?
A) In weblogic 9.0--> 1)copy the web / Jar Application paste in Auto deployment
folder.it's called Hot deployment.
2) Otherwise go to Administrative console--> http://localhost:7001/console -->
Deployment->Loc/Edit Click--> Install--> select source path
3) WLST --> Weblogic Scripting tool--> type command Deploy
COGNIZANT INTERVIEW QUESTIONS
COGNIZANT INTERVIEW
QUESTIONS 1) Tell me about Yourself
? 2) What is JDBC ? How you can
configure JDBC ? 3) What is SSL...
WAS INTERVIEW PART-3 QUESTIONS
AND ANSWERS
WAS INTERVIEW PART-3
QUESTIONS AND ANSWERS 1) What is
the default admin console port number in
websphere? A) WebSphere Appl...
REAL TIME ISSUES IN WAS
REAL TIME ISSUES IN WAS
forgot web-sphere admin
console password ----> When you
enable the security on WebSpher...
SYNCHRONIZATION
SYNCHRONIZATION Q) What are
the different types of synchronizations
available ? Explain which type if better
and any disadva...
SSL (SECURED SOCKET LAYER)
SSL (SECURED SOCKET LAYER) ---
-> It is a Protocol to provide Secured
communication. ----> Protocol means
follow rules an...
Ab o u t me
KA RI M ULLA
VI EW MY COMPLETE
PROFI LE
We b S e r v V s
Ap p S e r v
The main responsibility of Webserver is
to serve static requestwhile Appserver is
used for dynamic request.Moreover,
Webserver handle http requests and
also acts like a load balancer while
Appserver has large area of works like
security, performances, clustering,
support for various
files(.ear,.war)deployments etc
We b S p h e r e
F o l l o we r s
8/22/2014 WAS INTERVIEW PART-2 QUESTIONS AND ANSWERS | IBM WAS INTERVIEW ANSWERS
http://karim05501.blogspot.in/2012/10/was-interview-2-questions-and-answers.html 4/6
java.Weblogic.Deployer http://localhost:7001 -user weblogic -password weblogic -deploy
application name Managedserver1,Managed server2.
12) In which log file garbage collector information will be recorded ? how to
enable garbage collector ?
A) ----> Nativestdout.log Nativestderr.log are GC logs
---> get into the admin console ->applicationserver->select JVM->Java & Process
Management->process definition-> Java Virtual Machine.
There u will have an option to enable GC logging.
13) How can we check the performance of the application server without
external monitoring tools?
A) Through Websphere in build monitoring tool called Tivoli Performance Monitoring under
Monitoring and tuning in Admin Console.
(or)
Tivoli Performance Viewer (TPV): It enables the administrators and programmers to
monitor the overall health of the WebSphere Application Server without leaving the
Admin console.
From TPV, you can view current activity or log Performace Monitoring Infrastructure(PMI)
for the following:
- System resources such as CPU utilization.
- WebSphere pools and queues such as DB connection pool.
- Customer Application data such as servlet response time.
14) Can someone explain what it means by Federate A NODE ?
A) ---> Federation is nothing but addition.
----> Federating the node means we have to add the node of the standalone
application server to the DMGR profile.
(OR)
----> Federating node means adding stand alone application or stand alone profile to
deployment manager(DMGR), we can achieve this by using admin console or addnode
command of stand alone profile.
CMD: ./addNode.sh
----> Once this process is successfully done, one nodeagent server is created for app
server, this nodeagent is responsible for communication between dmgr and application
server.
15) Solving OutOfMemoryError in WAS. How to Increase WebSphere JVM Memory
with / without using IBM Console?
A) ---> When I upload a big file through java application running on Websphere
Application Server , I got OutOfMemoryError , as given below
Join this site
with Google Friend Connect
Members (44) More
Already a member? Sign in
Wh a t i s
We b S p h e r e
It is provides run-time url for the end-
user. It is easier for client to build,
deploy,manage dynamic website WAS
provides Authentication and
authorization to secure applications
Ab o u t
We b s p h e r e
WebSphere is a middle ware
technologies, It's more Secure and
Reliable. Developed by pure J2EE
applications
Cr i c k e t L i v e
S c o r e
Home
8/22/2014 WAS INTERVIEW PART-2 QUESTIONS AND ANSWERS | IBM WAS INTERVIEW ANSWERS
http://karim05501.blogspot.in/2012/10/was-interview-2-questions-and-answers.html 5/6
----> JVMDUMP013I Processed Dump Event "uncaught", detail
"java/lang/OutOfMemoryError".
----> Also memory leak is a common memory problem that also leads to
OutOfMemory error. In Java , memory leaks can not happen as it has automatic
Garbage Collection (GC). GC removes unused objects that are not referenced
anymore. But if an object is not used, but is still referenced, GC does not remove it,
which leads to memory leaks in JVM .
-----> Due to the above memory leak or large objects error , the performance of the
application server may decline
----> WAS may be crashed with OutOfMemory error. please check the error message
java.lang.OutOfMemoryError in the WAS log file ( i.e. native_stderr.log)
----> One of Solution to the above error :
----> When I increase the JVM Heap Size , the problem got solved . Now let us see ,
how to increase JVM Heap Size in Websphere Application Server
-----> You can solve the problem in two ways
i) Using the IBM console
ii) By changing the server.index file directly
----> i). To tune the JVM Max Heap size using the IBM console
-----> 1. Open the WebSphere Application Server administrative console,
http://hostname:port/ibm/console, and log in.
2. Expand Servers -> Application servers -> server1 -> Java and Process
Management -> Process Definition -> Java Virtual Machine.
3. Change the Max Heap Size to a larger value.
4. Click Apply and click Save .
Restart WebSphere Application Server.
-----> ii) By changing the server.xml file directly
Open the server.xml file located in the following directory
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/YourSrverNode01Cel
l/nodes/YourServerNode01/servers/server1
----> Then you have to reduce the max heap size value using the IInd method ..
(i.e. change server.xml file directly)
----> Tuning the max heap size
Setting the JVM heap size directly relates to the number of server instances need
to be started on a specific node and the total RAM available on that machine. The
total value of all server JVM heap sizes on a specific node must be less than half of
the total RAM of that computer. To determine the max heap size , you can use the
following equation
max_heap_size = Total_RAM / 2 / no_of_servers_instance
For example, to support two servers instance on a machine with 4 GB of RAM:
max_heap_size = 4 GB / 2 / 2
=2 GB / 2 = 1 GB

The maximum heap size is 1 GB for each server instance.
----> Default maximum heap size is 250 MB
------> Increasing the minimum heap size & maximum heap size can improve
the start-up of application server. The number of garbage collection (GC)
occurrences are reduced and a 10%gain in performance is realized.
16) How to determine Max Heap Size is too large or too small for your application.?

8/22/2014 WAS INTERVIEW PART-2 QUESTIONS AND ANSWERS | IBM WAS INTERVIEW ANSWERS
http://karim05501.blogspot.in/2012/10/was-interview-2-questions-and-answers.html 6/6
Newer Post Older Post
A) ----> If GC takes a so long time to clean up objects with large heap, you can
reduce the maximum heap size.
-----> If GC frequency is too high, the heap may be too small for the application
and GC needs to run frequently, so you may increase the maximum heap size.
Pos t ed by Kar i m Ulla at 21:28
0 comments:
Post a Comment
Enter your comment...
Comment as:
Google Account
Publish

Preview
Home
Subscribe to: Post Comments (Atom)

Designed by Simplwp. Converted To Blogger Template by Anshul .

Das könnte Ihnen auch gefallen