Top 100+ Weblogic Administration Interview Questions And Answers
Question 1. What Are Deployment Descriptors?
Answer :
Modules and programs have deployment descriptors—XML documents—that describe the contents of the listing or JAR record. Deployment descriptors are text documents formatted with XML tags. The J2EE specifications define widespread, transportable deployment descriptors for J2EE modules and programs.
Question 2. What Is The Difference In The Web.Xml And Weblogic.Xml?
Answer :
An utility-particular XML-based totally deployment descriptor file named internet.Xml, which lists your software's J2EE components and their configurations as J2EE modules. Each J2EE module is a collection of 1 or greater J2EE components of the same box kind (Web or EJB) which might be represented by way of one element deployment descriptor for that type inside the internet.Xml document.
A WebLogic-specific deployment descriptor file named weblogic.Xml, which defines how named resources inside the web.Xml record are mapped to WebLogic Server sources. Examples of weblogic.Xml attributes include HTTP session parameters, HTTP cookie parameters, JSP parameters, resource references, safety position assignments, and box attributes.
IBM Websphere Interview Questions
Question three. What Is The Default Jvm Used For Weblogic?
Answer :
Sun Hotspot JDK default for Development set up, JRockit is for Production mode for WebLogic 11g and 12c. Operating environment also factor to select the Certified JDK JVM. If you need to exchange you need to specify it.
Question 4. How To Change From Default Jvm To Other?
Answer :
When you improve a website to WebLogic Server 8.1, recollect upgrading your JVM to JRockit. WebLogic JRockit is a JVM designed for walking server-side packages in Windows and Linux walking on Intel architectures. For server-aspect packages, JRockit has those advantages over other virtual machines:
It employs adaptive optimization, which detects and removes bottlenecks in the deployed software.
It is designed in particular for the special necessities of server-facet packages, which tend to be parallel and thread-intensive, to run for longer periods of time, and no longer to apply graphical interfaces.
You can screen JRockit the use of the WebLogic Server Administration Console.
Steps to alternate:
In the server begin scripts, set JAVA_HOME (or equivalent) shell variables to factor to the JRockit root listing. For instance, exchange:
@rem Set consumer-described variables.
Set JAVA_HOME=WL_HOMEjdk131
wherein WL_HOME is the WebLogic Server 7.Zero set up directory, to
@rem Set user-defined variables.
Set JAVA_HOME=WL_HOMEjrockit81_141_02
where WL_HOME is the WebLogic Server eight.1 installation listing.
Change the domain’s config.Xml to use the JRockit javac.Exe. For example, alternate
JavaCompiler="WL_HOMEjdk131binjavac"
wherein WL_HOME is the WebLogic Server 7.0 installation directory, to
JavaCompiler=WL_HOMEjrockit81_141_02binjavac”
wherein WL_HOME is the WebLogic Server 8.1 set up listing.
Remove from server begin scripts any switches specific to the Sun JVM. For instance, from the begin command:
echo on "%JAVA_HOMEpercentbinjava" -hotspot .... Weblogic.Server delete “-hotspot”.
IBM Websphere Tutorial
Question 5. How To Make A Managed Server?
Answer :
Backup the configuration by using rename config.Xml with config.Xml_date
Configure the modifications within the startManagedWebLogic.Sh /cmd with weblogic domestic and java home and deliver the admin severs URL updated
Go to weblogic admins console and upload a controlled server and supply the IP and port of the controlled server. All of the adjustments confirmed then start the server the use of startManagedWebLogic.Sh script gift in the domain bin.
J2EE Interview Questions
Question 6. How To Configure A Db Connection Pool?
Answer :
Choose the DB kind (Oracle, Sybase, Mysql, and so forth...).
Then pick out the driver type for the DB.
Give the connection pool call.
Give the DB Service ID, schema call and password.
Then it will ask for checking out the connection pool/DataSource.
After a hit connection, it'll ask you to create and deploy the connection pool goal to server or cluster. After developing new connection pool usually point the jdbcstore to the connection pool created. This is required because A JMS JDBC shop can be used for persistent messaging.
After each JDBC connection, we should restart the server if there's startup training addiction exists otherwise no restart required in WebLogic nine.X and higher versions.
Question 7. What Are The Modes Of Operation For Weblogic Server Domains?
Answer :
There are modes: Development and production mode:
Development mode:
You use development mode at the same time as you're developing your programs. Development mode uses a at ease safety configuration and enables you to vehicle-deploy applications.
You can use the demonstration virtual certificate supplied by using the WebLogic Server security offerings. With those certificates, you may layout your application to paintings within environments secured through SSL.
WebLogic Server times can robotically deploy and replace programs that live in the domain_name/packages listing.
When you begin a server, the server routinely renames (rotates) its neighborhood server log record as server-call.Log.N. For the remainder of the server session, the server rotates its local log report every time the dimensions of the document reaches 500 kilobytes.
The default wide variety of threads available to Execute Queues is 15.
The default capability is 15 JDBC connections.
Production mode:
You use manufacturing mode when your software is jogging in its final form. A manufacturing area makes use of full security and may use clusters or different advanced functions.
A caution message is displayed if you use the demonstration virtual certificates.
The auto-deployment characteristic is disabled, so that you have to use the WebLogic Server Administration Console or the weblogic.Deployer tool.
A server rotates its neighborhood log file after the scale of the file reaches 500 kilobytes.
The default quantity of threads to be had to Execute Queues is 25.
The default capability is 25 JDBC connections.
J2EE Tutorial SQL Database Interview Questions
Question 8. What Is Jndi?
Answer :
Java Naming and Directory Interface:
Applications use naming services to find items statistics sources, EJBs, JMS, MailSessions, and so on inside the WebLogic area. A naming provider buddies names with items and reveals gadgets t3 protocol can be used. (The RMI registry is a superb instance of a naming carrier.)
JNDI offers a commonplace-denominator interface to many present naming services, inclusive of LDAP (Lightweight Directory Access Protocol) and DNS (Domain Name System). These naming services keep a fixed of bindings, which relate names to gadgets and provide the potential to look up items by means of name. JNDI lets in the components in distributed applications to discover every different.
The WebLogic Server implementation of JNDI supplies strategies that:
Give clients get admission to to the WebLogic Server naming services
Make gadgets to be had in the WebLogic namespace
Retrieve objects from the WebLogic namespace
Question nine. How To Configure Jms?
Answer :
JMS (Java Message Service) is a trendy API for gaining access to corporation messaging structures. Specifically, WebLogic JMS:
Enables Java programs sharing a messaging system to alternate messages.
Simplifies software improvement by means of supplying a trendy interface for developing, sending, and receiving messages.
Using the Administration Console, you outline configuration attributes to:
Create JMS servers and target a WebLogic Server example or a Migratable Target wherein the JMS server could be deployed.
Create and/or customise values for JMS servers, connection factories, destinations (queues and subjects), JMS templates, vacation spot kind order (the use of vacation spot keys), continual stores (report or JDBC), paging shops, consultation swimming pools, and connection clients.
Define message and/or bytes thresholds and quotas, as well as a most allowable message size on your JMS servers, destinations, and templates.
Enable any desired WebLogic JMS functions, including:
Server clustering the usage of multiple connection factories.
High availability and load balancing for destinations across a cluster by way of using disbursed destinations.
Persistent messages and sturdy subscribers.
Paging out message bodies in the course of peak load intervals to unfastened up reminiscence.
Controlling message waft for the duration of top load periods, along with blocking off message producers.
Establishing a message expiration policy to ensure that expired messages are wiped clean up right now.
Preventing message quota errors by way of quickly blockading message manufacturers from sending messages to a destination whilst it exceeds its special maximum message quota.
Concurrent message processing thru session pools.
Oracle 11g Interview Questions
Question 10. What Is A Domain Template?
Answer :
A area template is a jar file default one is wls.Jar report, which is '/bea/weblogic81/commonplace/templates/domains/, it has all of the features that is required for the standard weblogic domain, we can even create domain template of our personal configuration. Through this template we dont need to configure whenever we create a new area.
By the use of template we are able to:
Create servers.
Clusters.
Machines.
Configure services which include JMS, JDBC, Applications
SQL Database Tutorial
Question 11. What Are The Admin Default Ports?
Answer :
The non-SSL pay attention port for the Administration Server's default network configuration is 7001 with the aid of default.
The SSL pay attention port for the Administration Server's default network configuration is 7002 through default.
WebLogic Admin servers and Managed servers may want to communicate with Admin port that's separate network channel. So that different communications may be run on extraordinary networks.
SQL DBA Interview Questions
Question 12. What Are Weblogic Clusters?
Answer :
A WebLogic Server cluster consists of a couple of WebLogic Server server times jogging simultaneously and operating collectively to offer accelerated scalability and reliability. A cluster seems to clients to be a single WebLogic Server example. The server times that constitute a cluster can run at the same device, or be placed on one-of-a-kind machines. You can growth a cluster's capacity through adding additional server times to the cluster on an current device, or you may add machines to the cluster to host the incremental server instances. Each server instance in a cluster should run the identical model of WebLogic Server.
Benefits of clustering:
Scalability:
The ability of an software deployed on a WebLogic Server cluster may be accelerated dynamically to satisfy call for. You can upload server instances to a cluster with out interruption of provider, the utility keeps to run without impact to customers and end users.
High-Availability:
In a WebLogic Server cluster, application processing can retain while a server example fails. You "cluster" application additives by deploying them on more than one server times within the cluster, so, if a server instance on which a component is going for walks fails, any other server example on which that aspect is deployed can retain software processing.

