Professional Documents
Culture Documents
A) Yes
As per on call support, we have dedicate mobile and laptop every week, they will change.
And Prioritize, change at every week on 24x7 basis.
A)
Each cell has 3 nodes under dmgr, all nodes are established in horizontal cluster (different
RHEL boxes), All clusters will have 3 jvms run across the RHEL boxes.
Role hierarchy: Business head -> IT MGR -> Middleware mgr -> off-shore team lead ->
We are did a migration from 5.1 to 6.0/6.1, in my environment, 5.1 will be completely
migrated this year end. We are using paid support from IBM 5.1(3 cells) as free support
stopped by IBM.
A) Discussed
5. which kind of applications?
A) Client Business:
Yes.
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
A) 3 nodes
9. Both nodes are running on dmgr. Dmgr is on both nodes?
A) All my production Dmgr in a single box. Nodes will be across different boxes.
Note: if in case failure of DMGR node, then how do we handle the issue?
In that case we need to wait till that problem gets resolved, for any configuration changes in
the console. Generally start and stop server activities will do in application server node.
10. Is it necessary to have dmgr on both nodes?
A) many
14. I want to depoly the application in any one of the node but not cluster?
A) Node is a server
15. What kind of database you are using?
A) Oracle 10g
16. What kind of security mode you are using or JDBC connection?
Page 3 of 24
A) J2C Authentication
17. What type of driver you are using? Type 4 driver
A)
Java--->JDBCStat-->JDBC-ODBC bridge-->ODBC-->Databases.
This driver is called as Native Driver where it requires the some native code to connect to the
databases.
Type 4 Driver: This driver directly converts the java statements to SQl Statements which
require to databases. It wont convert to JDBC statement.
A)
21. for ear file is context root is necessary?
A) Connection pool, Thread pool of web container, EJB container, web server parameter, jdbc
connection pool
Tuning JVM, Tuning Applications, Tuning Database, Tuning JMS, Tuning security, Tuning
operating systems, Tuning Web servers
24. to sepcify the weight of a cluster member in which file i have to modify?
In the Administrative Console, expand Servers and then click on Application Servers.
. On the Configuration tab, under Server¬ Infrastructure, expand Java and Process
. Click¬ Apply.
Page 5 of 24
. At the top of the Administrative Client, click Save to apply changes¬ to the master
configuration.
verbosegc – Tells you what is being done, whether heap size is at min or max.
A) Configuration that lets a single host machine resemble multiple host machines. Each
virtual
host has a logical name and a list of one or more domain name system (DNS) aliases by
which
it is known.
30. Is webserver & application server should be installed in a single machine or different
machines?
Webserver OS tuned in different way, app. server different way, normally these web servers
in DMZ - Demilitarized Zone.
A) Managed have node agent, unmanaged not. Unmanaged node we not control from
console.
32. How to check application servers are running/not?
A) Ps -grep
33. How to check WAS is running or not through PS?
Page 6 of 24
A) Ps -grep
Caching Proxy
Proxy Server
Load Balancer
Network Dispatcher Component
Content Based Routing (CBR)
Site Selector Component
http://www.coders2020.com/interview/websphere_interview_questions
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.
Page 8 of 24
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.
*******************************************************************
Page 9 of 24
http://www.webspheretools.com/sites/webspheretools.nsf/docs/WebSphere
%20Interview%20Questions
IBM WebSphere Application Server Interview Questions
Webserver:
A Web server handles the HTTP protocol. When the Web server receives an HTTP
request, it responds with an HTTP response, such as sending back an HTML page. To
process a request, a Web server may respond with a static HTML page or image, send
a redirect, or delegate the dynamic response generation to some other program such as
CGI scripts, JSPs (JavaServer Pages), servlets, ASPs (Active Server Pages), server-
side JavaScripts, or some other server-side technology. Whatever their purpose, such
server-side programs generate a response, most often in HTML, for viewing in a Web
browser.
Application Server:
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 ?
4. What are the different application servers and Web Servers supporting J2EE
technology's ?
Page 10 of 24
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?
7. In WebSphere how would you provide the ability for an Web application (JSP)
to be able to provide authentication for both a local user and LDAP.
Restart server.
Ensure Web application has a web.xml file to be able assign LDAP groups to
roles.
Page 11 of 24
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?
Page 12 of 24
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
Corporate standards
Budget
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.
3. How many ways can you deploy applications in websphere?
Directly copy files to deployedapplication folder in websphere- hot deployment.
Use websphere specific ant tasks and building automated scripts for deploying
application.
Click properties
Select javaBuildPath
Add any jar file like jaxp select add external jars.
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 p
Q.11. With Java2Security enabled on WebSphere Application Server, and you are performing an Enterprise A
security file is 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 pa
application encountered performance problems due to Java2Security. The application team receives a waive
J2Security need to be disabled at the global level or can it be disabled at the server level, leaving Java2Securi
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 configu
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
# 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
select the Enable the Performance Monitoring Infrastructure.
Q.18. What log file would the verbose garbage collection output appear in?
A. native_stdout.log
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 dom
Global default settings apply to all replication use for a given replication domain across a cell. Most default s
behavior of replicator entries in managed servers across the cell. Such default settings control the use of encry
transferring of objects. Some default settings tune and control how specific WebSphere Application Server fu
manager and dynamic caching) leverage replication, such as session use of partitions.
For situations that require settings values other than the default, change the values for a given replication dom
Domains page. Settings include various resource allocation, replication strategies (such as grouping or partitio
some security related items.
If you are using replication for HttpSession failover, you might also need to filter where the session replicates
two places out of many. The global default settings define the partition size or number of groups and the sessi
groups to which a particular instance belongs.
Filtering is less important if you are using replication to distribute information on invalid data and actual cach
container's dynamic caching. Replication does not occur for failover as much as for data synchronization acro
want to avoid expensive costs for generating data potentially needed across those various servers.
Note that you can filter or segment by using multiple replication domains.
Page 18 of 24
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
WAS 5.1.1 – SDK 1.4.2
WAS 5.1 – SDK 1.4.1
WAS 5.0.x – SDK 1.3.1
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)
Page 19 of 24
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.
Ans: classloader
61. What is a managed node?
Ans: Node with NodeAgent
62. What is a managed webserver?
Ans: Remote webserver access through local (dmgr/cell)