Sie sind auf Seite 1von 11

Can we change the port no. of WAS after installation?

Yes,
Deployment Directory structure of WAS?
Administration structure of WAS?
Architecture of WAS?
I started server it stopped immediately. Why?
It may be due to three reasons,
1)if previous jvm instance is running.
2)If the process id still exits.
3)Improper stopping of server after enabling security.
Possible errors & solutions while deploying EAR, WAR and JAR files?
1) If the EAR/WAR/JAR files are corrupted, it shows a message, corrupted
EAR/WAR/JAR file.
To solve this, we need to have new EAR/WAR/JAR.
2) If the EAR/WAR/JAR files are developed using specification less than 2,that
particular file will not deploy.
To solve this, we need to develop applications using specification more than
version 2.
What is work load management? What are the methods used?

Admin role comes in which side, source or development side? Support it.
It comes on both sides, starts with development environment and with support.
What is the usage of http server and https server?
Insecure servers and Secure.
What is connection pooling, tuning parameter with bottleneck enhancement?
Getting a connection from database is a highly performance issue so we use
connection pooling, which has a pool of connections already established.
Explain process choreography?
What is BPEL architecture?
What is stream queuing?
What is diff. b/n version 4.0 and 5.0 of WAS?
Configuration is all taken care by database, for v5 for configuration there is no
need of database, needs xml files.
What is the difference between the JMS and MQ?
Both are used for messaging service,JMS is comes by default whereas MQ is third
party tool.

What are the versions (products like MB, MQ, WAS, ICS) your using?
Which environment u are working, client place, and state?
Client Place.
Which Adapters were used in ICS? What is the version of it?
What is the difference between MB and ICS?
What is channel, clustering in MQ?
How do we know connectors are uploading or not, in ICS.
Can u explain your project and what is your role in that?
Tell me any ten troubleshooting concepts u faced while working on project?
How to handle situation when client connects to database?
Node federation is done in server side or client side?
Both sides.
How to run Trigger monitor?
Can we change the Loggings after creating Queue Manager?
How to connect MQseries Server and MQseries Client?
Can we open GUI base MQ on AIX.
What is Item Field?
How to search a word or anything in LINUX?
Tell some commands in LINUX?
How u will run EJB's in WAS? Briefly step by step
Can we run WAS in non root user? If it runs how?
Yes we can,the user should have root permissions.
What is the command to install fix pack of WAS on AIX?
Updatesilent
What are Node Agent and its task?
It acts as an agent between cell and node.
How u will install WAS on AIX? Briefly step by step.

Where we are using Thread pooling in WAS on AIX?


How to open Administrative console on AIX?
What is virtual host? Where you will handle that in WAS? (AIX)(He wanted at
production level)?
A single host machine resembling multiple host machines is called virtual hosting.
What is Tuning? What are the various things which you handled regarding this?
(He wanted at production level)
Tuning is used to improve the performance of an Application server.We have third
party tools like TPV ,log analyzer etc to achieve that.
How will you increase JVM heap size from the console and command for
increasing the heap size on AIX?

Application servers > server1 > Process Definition > Java Virtual Machine
What is SSL? How did u handle at production level? Also explain through console?
Secure Socket Layer,
What is Web Server? Purpose and usage at production level?
Routs the requests from browser to application server.
Name few Web Servers and which Web Server you are working with?
IBM Http Server,Lotus Domino,Apache WebServer,iplanet.
I have three client machines and how come your web server goanna handle the
situation?
According to the weightage given to each client machine.
Network Deployment on Linux?
Explain about synchronization with Network Deployment?
Explain about handling requests at production level?
Done by the Plug-in
What is the command used to start the Web Server?
Apache start --------------windows
./apachectl.sh start---------Linux
What is the role of node agent at production level?
What are the components present in HTTP SERVER AND APPLICATION SERVER?
HTTP SERVER
Plug-in
APPLICATION SERVER

Why we need to go for plug-in?


Plug-in is the one which decides, which request is handled by which server.
Name few webserver you know? And what server you worked on?

TRACE:
How will you enable trace?

Troubleshooting>LoggingandTracing>server1>DiagnosticTraceService
How will you enable it at server start-up?
./startServer.sh server1 options enabletrace
How will you enable it on a running server?
We need to open the administrative console, after that goto

Troubleshooting>LoggingandTracing>server1>DiagnosticTraceService
What is snoop? Where exactly it will be used?
Snoop is the default application, it is used to test whether ur application server is
installed perfectly or not and also it is used to check whether ur web server is
configured to application server.
What is filter? What for it is used?

VIRTUAL HOST:
What is a virtual host?
A single host machine resembling multiple host machines is called virtual hosting.
How you create a new virtual host using template?
Environment>VirtualHosts>New
In the conf file you give 80 and 443 under virtual host, what are they? Why we
have to give only these two?
80 is unsecure port and 443 is secure port
How can we say that your port is redirected?
If it converts from HTTP to HTTPS.
SESSION:
what is session affinity? What for is it useful?
How you enable session affinity?

Applicationservers>server1>Sessionmanagement
What is difference between user, session and cookie?

APPSERVER AND ND:


How can you say that live app server is running fine (don't say that I will check
logs)?
He explained me a scenario and asked me how you do that? (Install ND - create
cluster - federate two nodes - create two servers for each node) Step by Step?

While I was telling him about add node for node federation, he asked me
to explain the entire syntax i.e. (I told him the syntax as ./addNode.sh
<IP address or machine name of ND> <soap connector port> <starting
port> -include apps (optional)

Then he asked What for you give ./

Is it good to give IP address or machine name of ND?

What is soap connector port?


What is starting port? I never heard about that?
What for is -include apps?
Which application does it includes?
What is difference between installed apps and installable apps?
(This scenario went on like FOR and AGAINST)
JVM:
What are the options which come while setting up of JVM heap size?
What is verbosegc?

Whatisjprofile?

HOW DOES U MAKE UR ADMIN CONSOLE READ ONLY?


Ans: Go to System administration on admin console-console users-(give Id)(here u finds operator, monitor, administrator...) go for MONITOR-save. Go to
System administration on admin console-console Group-give the Pwd-give the
option MONITOR-save. Go to security-enable global setting. Give the pwd and
confirm the pwd. Restart the server. If u opens the admin console it should ask
for uid and pwd. Give the Values. If you try to start the server1, it should give
the error. Giving the option as Monitor means read only access. Also know abt the
Remaining options (administrator, operator....) Regarding project questions you
asked, it varies from project to project But the answers which iam providing is of
one of the project over here.
How many WAS base will b installed in a project?
Ans: Four
How many WAS ND will b installed in a project?
Ans: Two

How many DB servers will be installed in a project? Is that a DB CLIENT?


Software or server software?
Ans: One, sever software.
How many application servers will b thr in each base?
Ans: Two
How many application servers will b thr in the entire project?
Ans: Four
How many applications run in each application server?
Ans: Four
What shud b the answer if the interviewer asks how applications may Are thr in
Ur project?
Ans: Eight
Do we start n stop the servers every day?
Ans: Yes, by running cronjobs.
Will the same application b deployed on more than one application Server?
Ans:Yes
10)What are Development servers? And how many development servers will b
thr in a project?
Ans:Servers which are used by development people(DEV team),two.
11)How do u we decide the JVM heap size to b set for each application server?
Ans:According to the performance of the server and applications. please be noted
that the values which I provided are of one of the project.So now you can judge
that it varies from project to project.It all depends on the requirement.You can
say any number but you should be confident enough to tell that(varies from
project to project).But never specify high figures >10. Plz try to make the
console read only.If you still have any queries plz do ask me.
How many WAS Base configurations can be federated to a WAS ND?
Only one base can be federated to a cell at a time.
How many Applications can be depoyed in a ApplicationServer?
I don,t have the exact figure but you can deploy more than eight.
For a project, How many WAS Base configurations should be installed? Can u tell
a small WAS environment?
Ask chandrasekhar,i have given him some information.
when coming to the Sessions concept i know the concept and sessions can be
done at three levels: Application Server level, Application level and WebModule
level. But i want to know that in which part they r useful in the real time
environment?
Application server level.

WhencomingtothevirtualhostconceptThedefaultportnumberare9080,9443,80
uponthaticancreatemyownportnumbers?(Hereihavecreatedmyownport
numberbutthosearenotworking.)Umighthaveforgottentosavetheconfiguration.

Here in my Base Configuration i have configured DB2 (DB2 Legacy CLI-based


Type 2 JDBC Driver (XA)) to one my server but it is showing the error (Test
Connection failed for datasource TradeDS on server TradeServer at node
ITLSYS63 with the following exception: java.lang.Exception:
java.sql.SQLException: [IBM][JDBC Driver] CLI0626E getXAConnection() through
the net driver is not supported in this version of DB2 JDBC 2.0 driver.. View JVM
logs for further details. null)when i m doing the test connection for DataSource?
Clearly its mentioned that driver is not supported,so provide a correct driver.
Is it Compulsary to copy the Plugin file from WebSphere to WebServer.
Q1) i had seen the plugin-conf.xml file in tht path. But my doubt is once
we update the webserver plugin, tht file gets updated in the
plugin-conf.xml file of app server; is thr any necessity of copying tht
file into IHS directory or 2 anyother directory as we do in WAS6(coz in
WAS6, after we updtae the webserver plugin we copy it to
/opt/IBM/plugins/config/webserver1 ).

A1) The process which you applied for was6,the same process is
applicable to
was5 also,so u need to copy that plugin file of appserver into the conf
directory of ihs.If u doesn't do this just think, how come ihs will
identify the appserver.

What is Web Sphere?


Originally, Web Sphere was a product (Web Sphere Application Server).
However, today Web Sphere is an IBM Brand as well as a set of strategic
SWG products. Because the Web Sphere Brand has "name recognition",
many of the SWG products included in the e-business application
framework now have the word Web Sphere as part of its' name. For
example, Web Sphere Application Server, Web Sphere Commerce Suite,
Web Sphere Payment Manager, Web Sphere Development Studio for
miseries, Web Sphere Transcoding Publisher, Web Sphere Home Page
Builder, Web Sphere Translation Server, Web Sphere Site Analyzer, Web
Sphere Everyplace Access, Web Sphere Studio, Web Sphere Voice Server,
Web Sphere Portal Server, Web Sphere Personalization Server, Web Sphere
Edge Server, Web Sphere Business Integrator and Web Sphere Host
Integration. The core of the platform is still Web Sphere Application
Server, which provides J2EE application deployment platform and many
enterprise services.
What versions of Web Sphere are currently in use?
5.0

The latest edition of Web Sphere Application Server which supports J2EE
1.3 specification including JSP 1.2, Servlet 2.3, and EJB 2.0. Available in
Base (one JVM), Network Deployment (Multiple JVMs, Workload

Management), and Enterprise (CORBA services, extended management)


editions.

4.0. X

"X" stands for fix pack name - currently there are 5 fix packs (4.0.1 4.0.5). Previous edition of Web Sphere - supports J2EE 1.2, including JSP
1.1, Servlet 2.2, and EJB 1.1. Available in Single Server (one JVM),
Advanced (Multiple JVMs, Workload Management), and Enterprise (CORBA
services, extended management).

3.5. X

"X" stands for fix pack name - currently there are 6 fix packs (3.5.1 3.5.6). Old edition of Web Sphere - not fully J2EE compliant, supported
running JSP 1.1, 1.0, 0.91 versions and Servlet 2.1 / 2.2 versions, EJB 1.0
version. Was available in Standard (one JVM), Advanced (Multiple JVMs,
Workload Management), and Enterprise (CORBA services, extended
management) editions.

What is the Web Sphere Application Server Console?


In V3 of Web Sphere a new concept was introduced, the remote
management console. Previously in V2 you had connected to Web Sphere
through a Java-based application within a browser. The change has
allowed more functionality to be introduced, although it does not come
without pitfalls.

The console is a Java based application which needs to see the server that
it is going to connect to in an active state before it will display any
information. This can be very frustrating. Due to it being written in Java,
the error messages produced can be deceptive
The console is capable of running on various platforms and when you
order Web Sphere V3 you will have the ability to install under NT and
various UNIX flavors. For most people, NT and Windows will probably be
the standard option.

In version 5.0 of Web Sphere, Java based console has been replaced again
by browser-based console in order to resolve the issues of firewalls (Javabased console was not capable to connect through them), and simplify /
standardize the management of the product.

Please note that Web Sphere does not run under 9X versions of Windows
(95, 98, me)

What Development Environment(s) are available to develop applications for Web


Sphere?
IBM provides several industrial strength development environments based
on Eclipse development framework - from most advanced to the least
advanced - Web Sphere Studio Enterprise Developer (WSED), Web Sphere
Studio Application Developer - Integration Edition (WSAD-IE), Web Sphere
Studio Application Developer (WSAD), and Web Sphere Studio Site
Developer (WSSD). Most of the people use WSAD, as it satisfies most of

the J2EE (EJB, JSP) and Web Services development needs. The old
development environment VisualAge for Java 3.5.3 and 4.0 is still
supported, but it is being phased out by WSAD. Third-party development
environments are also available for Web Sphere development (such as
Borland JBuilder and WebGain Studio).
Why would I use Web Sphere - can't I do the same thing with Tomcat?
Web Sphere is an enterprise product. It provides such services as
Workload Management, Session Management, Connection Pooling,
Security, sophisticated tools for management and deployment. It is also
tuned to work with various databases and be able to sustain high
production loads. One of the important characteristics of the enterprise
product is also support from the company that produced it - that's from
IBM. If you are just designing a small site to be used somewhere on the
web without having to worry about multi-server environment, you might
be all right with Tomcat. Web Sphere requires significant investment - it's
not cheap - but it would return the costs for you once you establish a
significant customer base to use it.
What is Workload Management?
Workload Management is an ability to route requests from the clients
(browsers) to different servers in the server farm (several servers behind
the same entry point) - in such a way, that it would be transparent for the
client browser (he would not know and would not care about it), where
(which server) his/her requests went to. Web Sphere provides ability to
cluster and clone its services so that they can be easily expanded from
single-server to multi-server environment.

What is Session Management?


J2EE Servlet API supports cookie-based HTTP sessions - information about
currently logged in user, for example. It does not provide, however, any
support for distributing those sessions across multiple servers. In Web
Sphere, there is a notion of persistent sessions, where session information
is stored in the relational database (such as Oracle and DB2). If one of the
servers suddenly fails, the user will be automatically redirected to another
server, and his session information will be preserved - he/she would not
have to relogin. This might not seem important for some small application,
but for enterprise trading system where crucial financial information is
stored in sessions, it might be quite critical - having user loosing his/her
session would mean lost business - lost $$$ for the company.
What is Connection Pooling?
JDBC 2.0 which is part of J2EE 1.2-1.3 specification, supports the notion
of connection pooling - reusing the database connection for processing
several database operations by several independent threads - such as
servlet invocations, Enterprise Java Beans, or simple Java applications.
Obtaining the connection from the database and then closing it is a
performance expensive process, which may exhaust the database ability
to handle requests. Connection pooling creates a pool of connections
within memory, that maintains them while their in use and does not

actually close them - just returns them to the pool when these
connections are no longer needed. Java Naming and Directory Interface
(JNDI) API is utilized for this purposes to lookup the connections through
use of Data Sources (literally, sources of data from the databases).
Several best practices exist regarding use of connection pooling, including
always using try-catch-finally blocks to process database transactions
safely.
What Security Services does Web Sphere provide?
Web Sphere supports a variety of security specifications including J2EE
role-based security, where each resource is protected by defining roles
that have access to that particular resource. For instance, Servlet may be
protected by specifying roles that have access to GET or POST methods on
its URL. EJB can be protected on the method level by specifying which
roles are allowed to invoke which method. Roles are abstract entities but
can be associated with operating system (Windows NT or UNIX) users, or
special registries based on Lightweight Directory Access Protocol (LDAP) such as Microsoft Active Directory or IBM Secure Way - which allow
managing this information.
Are there some best practices for using Web Sphere?
IBM
has
best
practice
zone
http://www7b.software.ibm.com/wsdd/zones/bp/ - where you can find
some suggestions for optimal use of Web Sphere and its services. Another
good
starting
point
is
Web
Sphere
Developer
Domain
http://www7b.boulder.ibm.com/wsdd/ - where many articles and useful
up-to-date information is published regarding Web Sphere.

WEBSERVER:
How will you configure a webserver to an Appserver?
Though you configured webserver well, but still you have a problem with your
webserver, what you will do (don't say that I will check logs)?
How will you analyze that your webserver is running fine or not (don't say that I
will check logs)?
ERROR IN JAVA BIN DIRECTOTY FOR UNKNOWN HOST EXCEPTION:
This error can occur if a zero-byte file is in the <was_home>/java/bin directory.
Solution:
For this particular scenario, IBM Support found that there was a zerobyte file in the <was_home>/java/bin directory. The file name for the zerobyte file was "java." After the administrator deleted this file, the application
server started successfully. This situation has been reported by multiple
customers. The root cause for the zero-byte file is possibly due to an incorrect
shutdown of the application server.

Das könnte Ihnen auch gefallen