TOP WebLogic Interview Questions and Answers
Explain deployment descriptors?
Deployment descriptors are associated with almost all the modules as well as applications. The deployment descriptors can be seen in the form of XML documents and they are capable of describing the contents that are part of directory or the jar file. J2EE specifications usually define the standard as well as the deployment descriptors which are portable for J2EE applications and modules.
What is web.xml ?
Web.xml is an XML document that is mainly for application purpose and it helps in listing out the J2EE components and configuration that of your application in J2EE modules format.
What is the name of default JVM that is made used for WebLogic?
The sun hotspot JDK default is made used for development, JRockit is the one used for production of WebLogic 11g as well as 12c. Operating system is another factor that helps in choosing the certified JDK JVM.
Explain the methods for providing user credentials for starting the server?
At the time of the creation of domain, the wizard for setting configuration asks for the details like user name, password etc. from the user who is logging in for the first time as an administrator. If the domain is created in development mode, the configuration wizard saves the encrypted password as well as the username inside an identity file. This file is available for reference during the time of booting so that in the absence of this file, system can prompt the user for the purpose of entering credentials. A new boot – identity file can be created if you want to change the use credentials or else if you are having the requirement of creating domain in the production mode.
Is there any possibility for starting managed server during the absence of administrator server?
The usual process is that in case of any difficulty for the manager server to get connected to any administration server at the time of start up, there is an option for the managed server to retrieve the configuration related to it from the configuration files as well as other files involved. The information thus retrieved cannot be altered and it is possible only when the administration server is really available. When the administration server is unavailable, then the managed server enters into its independence mode for carrying out its operations.
Explain WebLogic server.
This is a kind of server that supports various services as well as infrastructure that are related with JEE applications. WebLogic server is capable of deploying components as well as applications through WSDL, UDDI and SOAP. This server gets configured as a web server by making use of HTTP listener for supporting the HTTP. Web servers like that of Apache, Netscape and Microsoft are utilized. The configuration of a web server allows WebLogic is capable of providing services to dynamic and static requests that are usually generated by servlets, HTML and JSP.
What are the capabilities of WebLogic server?
There are various capabilities associated with WebLogic server and they are
- Changes in dynamic configuration.
- Production application redeployment
- Rolling upgrades.
Explain about the function associated with T3 in WebLogic server ?
T3 provides enhancements support for the messages of WebLogic server. The enhancements comprise of the object replacement, the working of the seblogic server – clusters and also HTTP. T3 also performs serialization of java object and also predation of RMI. T3 can be considered as a superset associated with java object. T3 is mandated between WebLogic servers, programmatic clients and cluster associated with WebLogic server. The protocols HTTP and IIOP are made used for enabling communication between WebLogic server and processes.
Explain the use of HTTP ?
HTTP is the protocol that is made used for the purpose of enabling communication between the WebLogic server and processes.
Explain the functionality of IIOP ?
IIOP is a kind of protocol helpful in enabling the communication between WebLogic server and object request broker.
How do stubs function inside WebLogic server cluster at the time of failure?
Stubs perform the process of removing the failed instance from the list whenever there is a failure. The stub usually makes use of DNS for finding the running server and also for obtaining the list of the instances that are currently available with the application. List of the instances available with the server inside cluster gets periodically refreshment and allows in acquiring advantages associated with new servers. The advantages are gained as the server gets added to the cluster.
How can default JVM be changed to other?
For changing the JVM can be done by following the steps below.
- You should first set the JAVA_HOME in the start script of the server.
- Change the config.xml of domain for using the JRockit javac.exe
- Remove any kind of switches specific to Sun JVM from start scripts of server.
How clients handle the DNS – requests to the failed servers?
Bandwidth gets wasted in the case of continues DNS requests to that of unavailable machine at the time of server failure. This problem usually occurs during the time of startup associated with the application that of client side. The servers that are unavailable are removed by searching DNS entries provided by WebLogic server. This removal prevents the clients from accessing failed servers. A third party load – balancers are made used for avoiding the unnecessary DNS requests. Some of the third party load – balancers are BigIP, resonate, local director and Alteon. The main function of these third party loads – balancers is to mask multiple addresses of DNS in to a single one.
Explain the functionality of T3 associated with WebLogic server?
T3 is capable of providing framework or overall structure for the messages that are capable of supporting the enhancements. The enhancements comprises of product tunneling, working in the context associated with clusters of WebLogic server and also in object replacement.
How can classpath be set?
Classpath can be set by making use of the following script WL_HOME\server\bin\setWLSEnv.cmd (in case of windows).
Explain the functioning of Stub?
Stub is usually expected by the people who connect to the WebLogic server cluster. The stub has the list that consists of the available instances of server that perform host implementations associated with object. The stub also has the functionality of balancing the load by distributing load amongst the host servers.
What are the steps for the creation of Pooling within Tomcat server?
- The first step involved in this process of creating pooling is to download 3 jar files which are the commons-dbcp-1.2 jar, commons-pool-1.3.jar and commons-collections-3.1 jar.
- The next step is to make an entry inside server.xml of tomcat factory.
How can you differentiate server crash and server hang?
With a server crash, there is no existence for the Java process and if it is a server hang, then the Java process stops responding.