IBM WebSphere Application Server Interview Questions
IBM WebSphere Application Server Interview Questions
7. How do you verify that you are using Horizontal clusters not a vertical cluster?
A) if u have all the servers in same machine(Host) ,than its vertical ,if cluster servers are installed in
different machine than its horizontal.
-OR-
Go to WAS console => select Nodes in left side => in the right side of the console you can see how
many nodes make's your CELL, and also the hostname of the boxes in which the node exists.
if you see all the nodes from different hostnames then its Horizontal clustering if you see same
hostname here then its Vertical clustering
14. I want to depoly the application in any one of the node but not cluster?
A) Node is a server
16. What kind of security mode you are using or JDBC connection?
A) J2C Authentication
A)
22. I updated the new application but the user is getting the old applicaion only?
A) need to Restart, synch
24. to sepcify the weight of a cluster member in which file i have to modify?
A) have to modify in Plugin file
it is known.
30. Is webserver & application server should be installed in a single machine or different machines?
A) We can do it, but in production different machines.
Webserver OS tuned in different way, app. server different way, normally these web servers in DMZ -
Demilitarized Zone.
Caching Proxy
Proxy Server
Load Balancer
Network Dispatcher Component
Content Based Routing (CBR)
Site Selector Component
http://www.coders2020.com/interview/websphere_interview_questions
• Microsoft IIS
• Sun web server
10) Explain about caching proxy of IBM Web sphere Edge sphere?
A caching proxy can be configured in forward direction or as a proxy. Content requested by the user
is cached by edge before sending or adhering to the query. Page fragments arising from JSP or
servlets are cached by Edge and the caching process is slow. Performance and scalability of J2EE
applications can be increased by edge.
17) Is the naming of connection factory independent of the name specified by JMS client?
Yes, the naming of connection factory is independent of the name specified by JMS client. This is
made possible by WAS (Web sphere application server) with its resource references. It isolates the
application from object names. This feature is important because it gives us the flexibility to change
the administered object without changing the JMS client code.
*******************************************************************
http://www.webspheretools.com/sites/webspheretools.nsf/docs/WebSphe
re%20Interview%20Questions
Application Server:
As for the application server, according to our definition, an application server exposes business logic
to client applications through various protocols, possibly including HTTP. While a Web server mainly
deals with sending HTML for display in a Web browser, an application server provides access to
business logic for use by client application programs. The application program can use this logic just
as it would call a method on an object
2. What is JDBC ?
JDBC technology is an API (included in both J2SE and J2EE releases) that provides cross-DBMS
connectivity to a wide range of SQL databases and access to other tabular data sources, such as
spreadsheets or flat files. With a JDBC technology-enabled driver, you can connect all corporate data
even in a heterogeneous environment
3. What is EJB ?
Enterprise JavaBeans (EJB) technology is the server-side component architecture for the Java 2
Platform, Enterprise Edition (J2EE) platform. EJB technology enables rapid and simplified
development of distributed, transactional, secure and portable applications based on Java
technology.
4. What are the different application servers and Web Servers supporting J2EE technology's ?
IBM Websphere and BEA WebLogic servers are a combination of Application Server, Web Server &
container
5. What is the WebSphere Application Server Console and what is it's role? What is the default URL
and port for accessing it?
The administrative console is a browser-based interface that allows you to configure application
server settings, deploy and manage applications, and perform additional tasks that are not included
in the HTTP Server Administration interface. It used to be a Java application, however to be firewall
safe it was made into a web-based application.
It runs on the default install port 9060 e.g http:\\hostname:9060\ibm\console, however this can be
changed by editing virtual_hosts names. also when during installation ie GUI or response-file install
you can set the ports that will be used.
IBM provides several industrial strength development environments based on Eclipse development
framework the current IDE is Rational Developer for Websphere. Applications can also be developed
with the Websphere Application Server Toolkit and third party tools like Jbuilder, and Eclipse/ANT
etc.
7. In WebSphere how would you provide the ability for an Web application (JSP) to be able to provide
Page 8 of 19
8. What version of Websphere software is required to install WebSphere clustering? How would you
configure Websphere for clustering: list basic steps?
WebSphere Application Server Network Deployment is the software required to install a WebSphere
cluster.
Install base with Deployment Manager
Create profiles for Deployment Manager and each node in the cell using with the Profile
Management Tool ensuring the nodes are federated.
Use the Deployment Manager's Administration Console to create the cluster and set cluster settings
as appropriate.
Create Windows Services or Start up scripts for Deployment Manager, Node manager and Severs to
ensure restart when OS is rebooted.
9. How would you ensure that a Websphere Application server or Websphere Application Server
Node is started when the OS being windows 2000/2003 is re-booted?
Use the command WASService to register the Websphere Application Server or Websphere
Application node as a Windows service.
10. What language is the default scripting language for Websphere and which language is the
preferred scripting language? What Websphere tool can be used to run scripts and where is it
located?
JACL is the default scripting language for WAS, Both JACL and Jython can be used.
11. What type of files are required to deploy an application into Websphere. How can they be
installed?
12. How would use ensure WebSphere server logs are created on a different drive than the
installation root?
Change the WebSphere server's server variables using the Administrative Console or use scripts.
********************************************************************************
http://www.indijava.in/community/Paper/Websphere-Application-Server-
Interview-Questions
Page 9 of 19
2. What are deployment descriptors? How many types of Deployment descriptors are available?
What are they?
Deployment descriptor is an XML file that describes how to deploy a module or application by
specifying configuration and container options. For example, an EJB deployment descriptor passes
information to an EJB container about how to manage and control an enterprise bean. There are two
types of deployment descriptor in websphere:
Web application deployment descriptor
portlet deployemnt descriptor
Portlets are packaged as WAR files with a web application deployment descriptor (web.xml). This
defines each portlet as a servlet within the web application, including unique identifiers for each
portlet, the portlet class, and initialization parameters.
management. In terms of trnsaction weblogic is having default transaction attribute as ’supports’, but
websphere does not have any default transaction attribute.
different server farms. He can also predict about the incoming load on servers. Email alerts, restart
options, memory leak detection, etc.
17. Explain about caching proxy of IBM Web sphere Edge sphere?
A caching proxy can be configured in forward direction or as a proxy. Content requested by the user
is cached by edge before sending or adhering to the query. Page fragments arising from JSP or
servlets are cached by Edge and the caching process is slow. Performance and scalability of J2EE
applications can be increased by edge.
Q.6. What is the difference between an Application Server and a Web Server?
A. Application Servers hosts the java applications and Web Server is basically used for serving static HTML pages.
Page 12 of 19
Q.11. With Java2Security enabled on WebSphere Application Server, and you are performing an Enterprise Application
open during deployment?
A. was.policy
Q.12. Java2Security is enabled at the global level, and an application is deployed to a clustered vm, with a pair of cluste
encountered performance problems due to Java2Security. The application team receives a waiver to disable Java2Sec
disabled at the global level or can it be disabled at the server level, leaving Java2Security enabled for other application
A. It can be disabled at the server level leaving it enabled for any other applications.
Q.13. What directory / directories might you find the following IBM script in a Network Deployment configuration?
PropFilePasswordEncoder.sh
A.under the bin directory for both the nodeagent / deployment manager
Q.14. Identify how you would use the PropFilePasswordEncoder.sh to encode the password for the following userid in
# RMI/IIOP user identity
com.ibm.CORBA.loginUserid=websphere
com.ibm.CORBA.loginPassword=test123
A.
./bin/ PropFilePasswordEncoder.sh ../properties/sas.client.props com.ibm.CORBA.loginPassword
Q.15. Identify the steps to enable the PMI (Performance Monitoring Interface).
A. From the Admin Console -> Monitoring and Tuning -> Performance Monitoring Infrastructure – Select the sever that
Enable the Performance Monitoring Infrastructure.
Q.18. What log file would the verbose garbage collection output appear in?
A. native_stdout.log
Page 13 of 19
Q 19. What is the IBM utility script that you can run to take a backup of the WebSphere configuration?
A. backupConfig.sh
Q. Using the Admin Console, where would you find an applications context root?
A. Enterprise Application -> Application - > Additional Properties –> View deployment descriptor.
Q. Using the Admin Console, how to find out the JVM HTTP port?
A. WAS 5.x
– Admin Console -> Servers -> Application Servers -> JVM -> Web Container -> HTTP Transports.
WAS 6.x
- Admin Console -> Servers -> Application Servers -> JVM -> Expand Ports under communications.
All replicators within a replication domain connect with each other, forming a network of replicators.
The default is to define a replication domain for a cluster when creating the cluster. However, replication domains can
Global default settings apply to all replication use for a given replication domain across a cell. Most default settings tun
replicator entries in managed servers across the cell. Such default settings control the use of encryption or the serializa
Some default settings tune and control how specific WebSphere Application Server functions (for example, session ma
replication, such as session use of partitions.
For situations that require settings values other than the default, change the values for a given replication domain on t
Settings include various resource allocation, replication strategies (such as grouping or partitioning) and methods, as w
If you are using replication for HttpSession failover, you might also need to filter where the session replicates. For exam
of many. The global default settings define the partition size or number of groups and the session manager settings de
instance belongs.
Filtering is less important if you are using replication to distribute information on invalid data and actual cached data m
dynamic caching. Replication does not occur for failover as much as for data synchronization across a cluster or cell wh
costs for generating data potentially needed across those various servers.
Note that you can filter or segment by using multiple replication domains.
Q. What are the SDK versions supported on WAS 4, 4.X, 5, 5.X, 6, 6.X and 7?
A. WAS 7 – SDK 1.6
WAS 6.1.x – SDK 1.5
WAS 6.0.x – SDK 1.4.2
Page 14 of 19
Q. What are different ways to capture heap dumps for a Websphere JVM?
Q. What are the different JMS providers available in different WAS versions?
A. WAS 6
WebSphere Embedded Messaging
WebSphere MQ
Generic
V5 Default Messaging
WAS 5
Generic JMS Provider
WebSphere JMS Provider
WebSphere MQ JMS Provider
Q. What are the authentication mechanisms available for Global Security in WAS?
A. 1. LTPA (Light weight Third Party Application)
2. SWAM (Simple WebSphere Authentication Mechanism)
Q. What are the User Registries supported by WebSphere for Global Security?
A. Local OS, LDAP and Custom User Registry
Q. How to change the JVM/Process/Diagnostic Trace log file locations for any JVM?
A. 1. Login to the Admin Console.
Diagnostic Trace
JVM Logs
Process Logs
IBM Service Logs
Ans: IHS (IBM HTTP Server) is one of the web servers. It serves the
static content only and it
takes up only http requests.
20. How you get nodeagent……what you have to install to get nodeagent?
Ans: Custom Profile
28. What is the difference between web server and application server?
Ans: Application Server: takes care of Security, Transaction, Multithreading, Resource pooling, load balancing, clusterin
scalability, etc. Exposes business logic to client applications through various protocols, #possibly including HTTP. Suppo
Application server = web server + EJB container.
30. Some problem is there in web server, so this information which log file contain?
Ans: http.log, plugin.log
34. Some application not accessing, so what is the problem? This information which log file contains?
Page 18 of 19
36. two databases there (oracle and db2),so I want 3 datasources for oracle and 2 data sources for db2 so create 3 dat
2datasourcename for db2 is possible or not?
Ans: possible
45. How to find out certain server configuration details like port no, server name, node name, pid?
Ans: through admin console.
59. Application installed but not working. What are troubleshooting steps?
Ans: see jvm & application are up, check plugin-cfg.xml file for the root context
used by the web application if it does not exist generate plugin and restart web server.
50. Applications installed fine, also generated plugin, but application still not working, in this case which log to see?
Ans: plugin.log
60. how do you specify a jar file to be used by the application, consider that you have many jar files in your system?
Ans: classloader