Ibm web sphere application server interview questions
5. What is the Web Sphere Application Server Console and what is its role? What is thedefault URL and port for accessing it?The administrative console is a browser-based interface that allows you to configure applicationserver settings, deploy and manage applications, and perform additional tasks that are notincluded in the HTTP Server Administration interface. It used to be a Java application, howeverto be firewall safe it was made into a web-based application.It runs on the default install port 9060 e.g. http:hostname:9060ibmconsole; however this canbe changed by editing virtual_hosts names. also when during installation i.e. GUI or response-file install you can set the ports that will be used.6. What Development Environment(s) are available to develop applications forWebSphere?IBM provides several industrial strength development environments based on Eclipsedevelopment framework the current IDE is Rational Developer for Websphere. Applications canalso be developed with the Websphere Application Server Toolkit and third party tools likeJbuilder, and Eclipse/ANT etc.7. In WebSphere how would you provide the ability for a Web application (JSP) to be ableto provide authentication for both a local user and LDAP?Using the Administration Console: Turn on Administrative security. Federate a local repository and an LDAP repository together. Restart server. Ensure Web application has a web.xml file to be able assign LDAP groups to roles.8. What version of Websphere software is required to install WebSphere clustering? Howwould you configure Websphere for clustering: list basic steps?WebSphere Application Server Network Deployment is the software required to install aWebSphere 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 Managers 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 ApplicationServer 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 languageis the preferred scripting language? What Websphere tool can be used to run scripts andwhere is it located?JACL is the default scripting language for WAS, Both JACL and Jython can be used.Jython is the preferred scripting language as JACL is now deprecated.WSAdmin tool located in the <installroot>bin directory11. What type of files are required to deploy an application into Websphere. How can theybe installed?WAR or EAR files.Can be installed using Administration Console or scripts.12. How would use ensure WebSphere server logs are created on a different drive thanthe installation root?Change the WebSphere servers server variables using the Administrative Console or usescripts.13. How to choose websphere over other application servers?A. Selecting application server is part of architectural process when infrastructure is defined. Itdepends on several facots:1.External systems your application will be interacting2.Type of application you have3.Target availability of system.4. Corporate standards5.Budget.14. What are deployment descriptors? How many types of Deployment descriptors areavailable? What are they?A. Deployment descriptor is an XML file that describes how to deploy a module or application byspecifying configuration and container options. For example, an EJB deployment descriptorpasses 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 deploymentdescriptor and portlet deployment descriptor.Portlets are packaged as WAR files with a webapplication 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 initializationparameters.15. How many ways can you deploy applications in websphere?A.1.Directly copy files to deployedapplication folder in websphere- hot deployment.2. Use websphere specific ant tasks and building automated scripts for deploying application.3. through administration console.16. What language is the default scripting language for Websphere and which languageis the preferred scripting language? What Websphere tool can be used to run scripts andwhere is it located?A.1.JACL is the default scripting language for WAS, Both JACL and Jython can be used.2. Jython is the preferred scripting language as JACL is now deprecated.3. WSAdmin tool located in the bin directory17. What type of files is required to deploy an application into Websphere? How can theybe installed?A. WAR or EAR files can be installed using Administration Console or scripts.17. How would use ensure WebSphere server logs are created on a different drive thanthe installation root?A.Change the WebSphere servers server variables using the Administrative Console or usescripts.18. How to import jaxp package in IBM WSAD?A.1.open WSAD2.go to project3.click properties4.select javaBuildPath5.add any jar file like jaxp select add external jars.
19. How to implement JDBC-ODBC bridge driver (Type 1) in Websphere?A.If you use JDBC type (I) driver you don’t need to add any driver in websphere. you simplycreated DSN and use it locally, same we use java class, if you use Type(2) and Type(4) so firstgo to admin console then go to connection, then add driver there fill other info like conn. Size,uname pass, max conn. And connect it to you applications.20. Is there any difference between weblogic and websphere?A.Webpshere tends to focus more on integration, connectivity and web services. It has richimplementation of J2EE, better performance, more extensive integration and transactionmanagement. In terms of transaction weblogic is having default transaction attribute as’supports’, but websphere does not have any default transaction attribute.21. State some of the features present in web sphere.A.The following are the features of WebSphere:1.Suports the Servlet/JSP container functionality which runs on top of HTTP.2. Supports HTTP servers such as IBM HTTP server, MS IIS and Netscape iPlanet server.3. Supports HTML pages, Setvlets, Java Server Pages and XML.4. Supports EJB component model, Workload Management. WLM supports multiple serverswithin a single administrative domain.22. What is IBM Web Sphere edge server?A.WebSphere Edge Server allows deploying parts of an application that contains servlets or JSPcomponents to a proxy cache and executes at the cache. The cache, called edge server, in thiscontext works with the original WebSphere Application Server. This feature is called offloading23.What is extended deployment in Web Sphere?A.WebSphere Extended Deployment is a new product for IBM WebSphere software. WEDextends the WebSphere software platform. The new features / notions include dynamicoperations, high performance computing and extended management.
24. What is asymmetric clustering in Web Sphere?A.In asymmetric clustering, the partitions can be declared dynamically and usually run on a singlecluster at a time. The task which is specific to an appropriate cluster can be routed to thatcluster. The Asymmetric Clustering applications are used in electronic trading systems whichare utilized by banks.25. What is Web sphere MQ JMS Provider?A.The usage of WebSphere MQ is employed to use as Java Message Service provider for JEEapplications which are deployed in WebSphere Application Server.The WebSphere MQ JMS is message service provider for WebSphere MQ systems. It is a setof Java classes. These classes allow the usage of JMS applications to access WebSphere MQsystems. The models point-to-point and publish/subscribe of JMS are supported by MQ JMSprovider.26. Explain the attribute CHANNEL in web sphere MQ.A.A channel is a connection that is to establish a link between sending channel and receivingchannel. A channel has a sender channel at the local queue manager and receiver channel atthe remote queue manager. These two channels consist of same name, and together make onechannel. The CHANNEL attribute is used with WebSphere MQ applications to specify thechannels for receiving and sending messages in a file that defines sender and receiverchannels.27. Explain about web sphere MQ Real time transport.A.It is a lightweight protocol. This protocol is optimized for use with messages that are non-persistent. WebSphere MQ Real Time Transport is utilized only by JMS clients. WebSphere MQReal Time Transport is right suitable for the applications to send large number of messages. Allthe applications that use this protocol must rely on TCP/IP for quality considerations and whichdo not require persistent delivery. For example, this protocol can be used in situations where thedata is updated very frequently, such as stock market share values, updating scoreboard of asporting event.
How to delete a profile from a WebSphere 6.1 application server?Step 1.Location of tool:<root>AppServerbinmanageprofiles.batsyntax:manageprofiles.bat -delete -profileName <profile_name> (case sensitive commands)Note: This used to be wasprofile.bat in version 6.0.x and is depricated in 6.1.The Windows service for the profile will have been set to disabled now.Step 2.Delete the folder e.g. <root>ApplicationServerprofiles<profile_name>Step 3.manageprofiles.bat -validateAndUpdateRegistrythis process validates the profile registry and lists the non-valid profiles that it purges.Step 4.Remove the Windows service that is set to run the profile.WASService.exe -remove service_namee.g. If the service name is "IBM Websphere Application Server V6.1 -<computername>Node<xx>"Then the command will be:WASService.exe -remove "<computername>Node<xx>"You can also look at this document on WebSphere NT Serviceshttp://www.webspheretools.com/sites/webspheretools.nsf/docs/Using%20WASService.exe%20to%20help%20with%20configuring%20windows%20services%20for%20IBM%20W
What is a WebSphere Profile?You can create, which are sets of files that define the runtime environment. At least one profilemust exist to run the WebSphere product.A profile defines the runtime environment. The profile includes all of the files that theserver processes in the runtime environment and that you can change.There are command line and GUI tools supplied with each version of WebSphere which allowyou to create and delete profiles. Each release of Websphere does have different locations andnames of these scripts.WebSphere 61.http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tpro_profiles.htmlYou can create a runtime environment either through the manageprofiles command or theProfile Management tool graphical user interface. You can use the wizard to enter most of theparameters that are described in this topic. Some parameters, however, require you to use themanageprofiles command. You must use the manageprofiles command to delete a profile, forinstance because the Profile Management tool does not provide a deletion function. Use theProfile Management tool to complete tasks that the manageprofiles command does not support.For instance, the wizard creates the cell in a single step whereas the command version requirestwo separate invocations of the manageprofiles command.WebSphere 7http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jspYou can create a runtime environment either through the manageprofiles command or theProfile Management Tool graphical user interface. You can use the Profile Management Tool toenter most of the parameters that are described in this topic. Some parameters, however,require you to use the manageprofiles command. You must use the manageprofiles commandto delete a profile, for instance, because the Profile Management Tool does not provide adeletion function. You can use either the Profile Management Tool or the manageprofilescommand to create a cell profile. The Profile Management Tool creates the cell in a single step,whereas the manageprofiles command requires two separate invocations.
JDBC Minimum ConnectionsIn the Administrative Console click Resources > JDBC Providers > JDBC_provider > DataSources > data_source > Connection Pool. The path for JMS queue connection factories is:Resources > JMS Providers > Default Messaging > JMS Queue Connection Factory >JMS_queue_connection_factory > Connection Pool Properties.Specifies the minimum number of physical connections to maintain.If the size of the connection pool is at or below the minimum connection pool size, the UnusedTimeout thread does not discard physical connections. However, the pool does not createconnections solely to ensure that the minimum connection pool size is maintained. Also, if youset a value for Aged Timeout, connections with an expired age are discarded, regardless of theminimum pool size setting.For example, if the Minimum Connections value is set to 3, and one physical connection iscreated, the Unused Timeout thread does not discard that connection. By the same token, thethread does not automatically create two additional physical connections to reach the MinimumConnections setting.Data type Integer, Default 1, Range 0 to max intThis JDBC connection pool setting will be influence by other connection pool settings. You needto spend time testing in a test environment to understand the effect of all combination ofsettings.Application ServerAn application server is a software framework that provides an environment in whichapplications can run, no matter what the applications are or what they do. It is dedicated to theefficient execution of procedures (programs, routines, scripts) for supporting the construction ofapplications.ProfilesDeployment Manager ProfileA Deployment Manager administrates Application Servers that are federated (made a part of) itsCell.Application Server ProfileAn Application server runs your Enterprise Applications
The Application Server can be managed from its own administrative console and functionindependent of other application servers and deployment managers. Alternatively it can befederated into a cell and managed by the deployment managerCustom ProfileA Custom Profile contains an empty node, which does not contain an administrative console orany servers.The typical use for a custom profile is to federate its node to a deployment manager. Afterfederating the node, use the deployment manager to create a server or a cluster of serverswithin the node.