Professional Documents
Culture Documents
What is the effect on end-user in case the dmgr goes down or node agent stops?
There is no effect on the end user if the DMGR goes down or the Nodeagent goes down because
nodeagent is mediator between dmgr and app server.
The app server will continue running if everything was running before and we have stopped the dmgr
and node agent. I beleive the app server wil continue running(need to test things in my dev
environment).
To confirm above I will test it tonight after business hours and will get back to you.
In case if we say that everything is stopped and we try to start only the application server keeping the
dmgr and nodeagent down then its not gonna work. Because the nodeagent should be running before
starting the application server.
I have tested things the application run without any problem if we keep running the application server
but stop the running nodeagent and dmgr.
This file consists of information about available webservers and configured applications which can be
accessed via that webserver Plugin config xml file is the communicating the web server and was throw
the web sphere plugin. pluin-cft.xml is the full information about the profile and server and cell and
node and applications. Web server if we need to access the application we need to generate the pulgin-
cft.xml file this we are using command of the genpulgin.sh (dmgr root).
Use: this xml file using to the we access to the application to the throw the web server.
What are the two basic steps that admin have to do after deploying the application & before
running the application?
Sorry to disagree there's no need to restart the webserver after updating the webserver's plugin file as
the webserver automatically loads the new plugin file after a given interval of time called the refresh
interval.After deploying an application you have to save and sync restart dmgr generate plugin file and
Propagate the required webserver.
1.Start>Allprograms>IBMwebsphere>Profiles>Dmgr>Start Manager
2.Start>ControlPanel>Admintools>Services>(Start the service for deployment manager)
- Load Balancing
- Affinity
IBM WebSphere Service Registry and RepositoryWhat is WSRR? IBM WebSphere Service
Registry and Repository
WSRR is a industry strength tool that enables the business to manage & govern their services. This
comes with 5 capabilities publish find manage enrich govern. This can also be defined as a simple
J2EE application that acts as a Service Registry (info about service ex: service end points) and
repository (storage of artifacts such as wsdl xsd).
i need the difference btw the two versions of 5.x and 6.x. And in which field they differ?
and why we go for 6.x rather than 5.x. and what are the similarities for both 5.x and 6.x
help me in this issue?
– Mixed v5 and v6 nodes must have v6 DMgr (can’t add new v5 node)
– v6 ND introduces profiles
– Each profile has its own user data including WebSphere configuration
– All profiles share same WebSphere binaries
Thru Data Source and of course a J2C userid should be configured to allow access to the database
defined in the DB2 client.
What is JACL
JACL is a scripting language to operate webshere application severs through command prompt. In real
time environment too many jobs has to perform on applications at a time.
so if we use GUI tool to perform all the operations it will consume more time. Using JACL we can
perform too many operations in a single command which reduces time .
When using the WebSphere, Which three updates would force you to restart the test
environment?
These are the situation when you need to restart the server in test mode.
1) When you make any changes to the Class file(Bean , DAO etc)
2) Change any properties that were declared in properties file related to the whole application.
This is because initially properties file that were declared for the application will be loaded only
when the server starts, and the server picks up thos key, values
3) No need to restart if you make any change for jsp file. But you need to comeout of that particular
page or refresh the page , so that it will recompile the modified jsp file and generate new contents
But you need to restart the server when you change the servlet file.
4) If the database connection between the DB server and APpserver fails. Because
the connection pool and all will be declared in the properties file.
What is a server?
A server is an important component of a dedicated server network. The server runs the network
operating system and offers network services to users at their individuals workstations. These severs
are include file storage security users management network commands and options for users etc.
depending on the type of server. The most common type of server is the File Server.
There are two types of servers:-
a) Dedicated Server
One or more computers are set aside as file servers and not used for any else.
b) Non-dedicated Server
A server can operate in non-dedicated mode. The computer is used as server can also operate as a
workstation or node.
Functionally these two products are fairly close except for some minor differences in supported
standards.
While WebSphere tends to focus more on integration connectivity and web services - WebLogic has in
the past focused more on emerging J2EE standards and ease-of-use.
Because of WebSphere's rich implementations of J2EE it is a little more involved but benefits with
better performance more extensive integration and transaction management
In terms of transaction WebLogic is having default transaction attribute as Supports but WebSphere
does not have any default transaction attribute.
you simply create DSN and use it locally same we use java class
if you use Type (2) and Type (4) so first go to admin consol then go to connection then add driver
there fill other information like connection size user name password max connection and connect it to
your applications.
In IBM WSAD, server crashes sometime while running in debug mode .Is there any way to
prevent it ???
You need to bump the heap size memory default is 0,0 Enable adminstative console in the wsad in the
server settings I believe its configuration tab or environment . And logon to the adminconsole on port
9090 when u start the server in normal modehttp://localhost:9090/admin. Then go to server/
server1/process definition/JVMIncrease the initial heap and maximum heap size in there.. Give atleast
(512MB,1.5Gb) And restart the server in debug modeIts should work. It worked for me.
what are the different appication servers and webservers supporting JAVA,.NET and VC++
Technologies
IBM Websphere and BEA Weblogic servers are a combination of Application Server Web Server &
container
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:
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
Ways of deplyment depends on version of WebSphere Application server you are using.
2. Hot Deployment droping jsp files, with enabled class reloading (not recommanded for production)
What is 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
according to war file
1.web.xml
2.ibm-web-bnd.xml
3.ibm-web-ext.xml
IBMWebSphere is a J2ee Certified Product. Might be this a edge over other app servers in the market.
I reaChoosing Application servers for any application is part of early Architectural process when
infrastructure is define.
It depends on several factors majorly on 1. External systems your application will be interacting. 2.
Type of application you have 3. Target availibilty of system. 4. Corporate standards 5. Budget.
Both BEA Weblogic and IBM's WebSphere provide J2EE based application servers which are
competitiors. WebSphere leverages more on connectivity issues with MQ and legacy systems with
strong dominanance in J2EE.
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.
11) Explain about the network deployment feature present in WAS?
Managing singletons will be a thing of the past and it also provides hot recovery of singletons which
makes you forget about your GC collected singletons. Transaction logs can stored on a shared file
system. For clustering run time operations deployment manager`s role was eliminated. J2EE failover
support and cell configuration support is also present.
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.
Websphere
Re: .while installing application server in silent mode, if it failed without creating any logs,
how do you trouble shoot ? Answer
#2
Firstly before installing the application server we have to
know that we have to permissions to install are not and
nextly we have to look into the system requirements if all
the system requirments is meeting to the installation
criteria then we have to look into the TEMP dir in case of
Windows PF and in case of Unix TMP ir.
so,that its easy to troubleshoot.
Re: what are the major difference between 6.1 and 7.0? Answer
#2
Vinoth we all know how to subtract thanks for the
hillarious answer.Anyways the few features that are added
to WAS 7.0 if i look at the admin console i can see Data
power option under servers which has LLM feature
When you are deploying an application, if you got Out Of Memory exception, what you will do
when we are deploying the application, if we got the out of
memory exception, we have to look into the heap memory.
WAS
Part-1
1. What about master repository?
Ans: deployment manager contains the MASTER configuration and application files. All updates to
the configuration files should go through the deployment manager.
Ans: identify the web server (port, virtual hosts) to configure the web server definition
Ans: system out, system err, trace, native out , native err, activity.
6. websphere packages?
Ans: profiles are a set of files that represent a websphere application server configuration.
Ans: Objects storage space for objects references created at run time in a jvm is heap memory.
Ans: IHS (IBM HTTP Server) is one of the web servers. It serves the static content only and it takes
up only http requests.
Ans: plug-in is one of the modules it is interface between application server and web server, the plug-
in process receives the request from the client first. If the request is for dynamic content, the plug-in
diverts the request to the websphere application server. If the request is for static content, the plug-in
forwards it to the Http server.
Ans: it provides the authentication and authorization for websphere application server domain
(administration client or console).
Ans: open console and then select security option in the right side menu, and then select localOs
registry in the user registry, then enter the username, passwords. And again select global security then
ltpa option then provide the password, then save the configuration. And restart the deployment server
and then relogin the console.
Ans: ssl is a protocol for providing encrypted data communications between two processes.
Ans: monitoring and tuning–>PMI–>select any process (server1, nodeagent, dmgr) and then enable
PMI–>then apply and then save. Select performance viewer–>current activity and then select enabled
process and click the start monitoring button after that process select.
20. How you get nodeagent……what you have to install to get nodeagent?
Ans: The application server provides a runtime environment in which to deploy, manage, and run j2ee
applications.
Ans: A node corresponds to a physical computer system with a distinct IP host address.The node name
is usually the same as the host name for the computer.
Ans: A node corresponds to a physical computer system with a distinct IP host address. The node
name is usually the same as the host name for the computer.
1.its used for administration 1.admin console is there 1.plain node purpose of remaining profiles
2.initially one app server there 2.empty node 2.it supports the distributed 3.work independently
environment. 4. Put applications 3.it is not included app server 4.admin console is there 5.work
independently 6.do not put applications
28. What is the difference between web server and application server?
Ans: Application Server: takes care of Security, Transaction, Multithreading, Resource pooling, load
balancing, clustering, performance, highly availability, scalability, etc. Exposes business logic to client
applications through various protocols, possibly including HTTP. Supports deployment of .war and
.ear files 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?
Ans: systemout, systemerr
36. two databases there (oracle and db2),so I want 3 datasources for oracle and 2 data sources for db2
so create 3 datasource names for oracle and 2datasourcename for db2 is possible or not?
Ans: possible
Ans: we can register resources in the application server’s java naming and directory interface (jndi)
namespace. Client applications can then obtain the references to these resource objects in their
programs.
Ans: The web container provides a runtime environment for servlets, jsp’s, javabeans, and static
content.
45. How to find out certain server configuration details like port no, server name, node name, pid?
Ans: possible
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
Ans: 2809
Ans: console,,,JMX
Ans: There is an algorithm that websphere uses to find the timestamp of .jsp and .class files. It checks
that timestamp of .class file is always later than its corresponding .jsp file.
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
Part-2
1. What is the difference b/n web and app servers
4. What is a Cell
5. What is NodeAgent
8. While installing WAS, if the installation fails and no logs are found. Which location should you
check for the details
10. After installing WAS, you found INSTALLCONFPATIALSUCCESS in the install log, what does
it mean?
11. While installing as non-root, can WAS detect other existing WAS installations
13. After installation you found that some ports are conflicting, how do you change/update the ports
15. if the DMGR is not running, can you start the other JVMs?
16. While installing using silent installation method, if you do not wish to install sample applications.
Which parameter should you change in the response file?
17. You have been asked to install WAS and create a CELL profile, how many response files do you
need?
19. After you install the WAS, how do you verify the installation
20. How do you delete a profile?
Part-3
1. what is the difference b/n managed and unmanaged node
managed node has a nodeagent
3. what is a virtual host ? what are the default virtual hosts in WAS
admin_host, proxy_host, default_host
4. where do you find the port numbers of a JVM (config file name)
6. you have edited some config files at JVM level, and the JVM was restarted after some time. What
will happen to the changes you done to JVM config files
changes will be discarded as the sync is one way (from DMGR)
9. You have added a new virtual host to the WAS, what should you do for the webserver to be aware
of this addition
generate and propagate the plugin
10. describe the steps to configure SSL b/n WAS and IHS
11. how do you take backup of all the config files of a profile
run backupconfig from profile bin
Part-4
what is cluster.
how do you create a cluster
go to servers -> clusters-> new ->give cluster_name->define first member->define other members-
>finish
how do you add a new cluster member
go to servers -> clusters->cluster_name ->cluster members ->new ->give name/node/others->apply-
>ok->save
one of the cluster member (jvm) is having issues. To troubleshoot the issue, you decided to take it out
of the cluster. How do you do that?
Make its runtime weight to 0
In a complex environment, there are 10 machines. Machine A is having 8GB RAM and machine B
having 2GB of RAM. The administrator decided to send twice as many request as machineB to
machineA. How can he achive it?
give machineA twice the weight as machineB
After making some changes on a cluster, it is required to recycle/restart all the cluster JVMs. The lead
admin told you to make sure that there should not be any downtime during this recycle. Which option
do you use to achieve it?
Ripplestart
A large application which has 5web modules has been deployed on to a cluster. After some months,
the developer asked you to update on of the 5web modules. How do you do it?
Rollout
Part-5
1.WHAT IS TRACING?
Tracing is when you go through an entire program and record the value of variables and the output.
You trace a program when you want to find out what actually went wrong
8.HOW TO OPEN ADMIN CONSOLE IN AIX/UNIX & WHAT IS THE DEFAULT FILE SYSTEM
OF AIX?
admin console can be viewed from remote machine which has a browser, if not behind firewall.
Part-6
1) What is the default user registry, if you enable Global Security at the time of installation
Its federated repositories…. actually it is a file
6) What is the most important step to do, if you change your user repository.
recycle all the JVMs. otherwise the key tokens will not be updated for the new repo
10) how do you replace the default plugin-key.kdb file with new kdb file?