Top 100+ Weblogic Interview Questions And Answers
Question 1. What Is Weblogic?
Answer :
WebLogic is a J2EE utility server and additionally an HTTP web server via Oracle , for Unix, Linux, Microsoft Windows, and other systems. WebLogic helps Oracle, DB2, Microsoft SQL Server, and other JDBC-compliant databases.
Question 2. What Is The Basic Components Of Weblogic Server?
Answer :
These are the fundamental weblogic additives
1)Domains
2)Admin Server
three) Managed Server
4) Node Manager
5) Weblogic Server Cluster
IBM Websphere Interview Questions
Question 3. What Is The Domain In Weblogic Server?
Answer :
1) Domain is a logically related institution of Oracle WebLogic Server sources that are managed as a unmarried unit
2) Domain Provides one point of management
three) Can logically separate:
A) Development, take a look at, and production programs
B) Organizational divisions
Question 4. What Is The Server?
Answer :
A server is an instance of weblogic.Server executing in a Java Virtual Machine (JVM).
A server:
1) Runs on a designated Oracle WebLogic Server gadget
2) Has a dedicated quantity of RAM
3) Is multithreaded
Two forms of servers:
1) Administration Server
2) Managed Server
IBM Websphere Tutorial
Question 5. What Is The Admin Server?
Answer :
Admin Server is the critical domain configuration interface that is used to create, delete and configure the resources of a site like managed server, gadget, cluster, records source, work managers and so on.
J2EE Interview Questions
Question 6. What Is The Managed Server?
Answer :
Managed server is a server in a website that isn't the Administration server. It contacts the administration server for configuration records. It runs commercial enterprise application in a production environment. It is unbiased of all different Managed servers in a website (unless they are now not in a cluster). You could have many managed servers in a website. Individual controlled servers are typically introduced for capacity and application isolation.
Question 7. How Administration Server And Managed Servers Will Interact?
Answer :
The Administration Server stores the master reproduction of the domain configuration, consisting of the configuration for all Managed Servers within the domain. Each Managed Server shops a local replica of the domain configuration file. When a Managed Server begins, it connects to the Administration Server to synchronize the configuration. When the configuration is modified, the Administration Server sends the changed configuration to the Managed Servers.
J2EE Tutorial SQL Database Interview Questions
Question eight. What Is The Msi Mode In Weblogic? How Can You Enable And Disable This Option?
Answer :
MSI is nothing however Managed Server Independence. By default, Managed Servers can function independently of the Administration Server. A Managed Server example can begin in MSI mode if the Administration Server is unavailable. Configure MSI mode from the Administration Console.To start a Managed Server in MSI mode, perform the following:
Ensure that the Managed Server’s root listing consists of the config subdirectory. If the config subdirectory does now not exist, copy it from the Administration Server’s root listing.Start the Managed Server on the command line or through using a script.
Environment > Servers > Server_Name > Tuning > Advanced > Managed Server Independence Enabled check container
Question 9. Difference Between Weblogic Development And Production Mode?
Answer :
Here are some distinction among Weblogic Development Mode and Production Mode:
Development Mode:
1) The default JDK for improvement area is Sun Hotspot
2) You can use the demo certificate for SSL
3) Auto deployment is enabled
4) Server instances rotate their log documents on startup
5) Admin Server makes use of an mechanically created boot.Residences all through startup
6) The default most potential for JDBC Datasource is 15
Production Mode:
1) The default JDK for production area is JRockit
2) If you use the demo certificates for SSL a warning is displayed
3) Auto deployment is disabled
4) Server times rotate their log documents when it reaches 5MB
5) Admin Server activates for username and password during startup
6) The default most potential for JDBC Datasource is 25
Oracle 11g Interview Questions
Question 10. How To Change From Development Mode To Production Mode In Weblogic 10.Three?
Answer :
To change Weblogic begin up mode from DEV to manufacturing. One manner to change it is, through truly editing setDomainEnv.Cmd which is living in $root_domain/bin folder.
1. Look for the road that units the PRODUCTION_MODE script variable: set PRODUCTION_MODE
Add false to the price of the PRODUCTION_MODE variable to make sure the server starts offevolved in development
Set proper for starting in prod mode.
Set PRODUCTION_MODE=false
2. Save your modifications and go out the textual content editor.
SQL Database Tutorial
Question 11. What Are The Supported Installation Modes For Weblogic Server?
Answer :
Graphical mode
console mode
silent mode
SQL DBA Interview Questions
Question 12. What Is The Default Port Of Weblogic Admin Server?
Answer :
By default weblogic admin server configured on port 7001 and SSL is on 7002.
IBM Websphere Interview Questions
Question 13. What Is Boot.Proerties File In Weblogic Server?
Answer :
boot.Residences is the document used by admin or controlled server during startup for username and password. It exist under your area/servers/server_name/safety folder.
Oracle 11g Tutorial
Question 14. What Is Config.Xml?
Answer :
config.Xml is the principal configuration repository for a site. Every aid you have configured from admin console or through command line or with the aid of every other tool registered underneath this report.WLS nine.X onwards, this record include references to other xml configuration files also the ones are below your area/config folder ( in addition sub folder below it for respective assets ).
Question 15. How Do I Provide User Credentials For Starting Weblogic Server?
Answer :
When you create a site, the Configuration Wizard activates you to provide the username and password for an initial administrative consumer. If you create the domain in development mode, the wizard saves the username and encrypted password in a boot identification document.
A WebLogic Server example can refer to a boot identity file at some point of its startup technique. If a server example does no longer find this kind of report,it activates you to enter credentials.
If you create a site in production mode, or if you want to exchange person credentials in an existing boot identity report, you can create a new boot identification document.
IBM WebSphere ESB Interview Questions
Question sixteen. Can We Start A Managed Server If The Administration Server Is Unavailable?
Answer :
By default, if a Managed Server is unable to connect with the desired Administration Server during startup, it is able to retrieve its configuration by way of studying a configuration file and other files immediately. You can not change the server’s configuration until the Administration Server is available. A Managed Server that begins in this manner is going for walks in Managed Server Independence mode.
Web Developer Guide Tutorial
Question 17. What Is A Weblogic Server Cluster?
Answer :
A WebLogic Server cluster consists of a couple of WebLogic Server server instances walking simultaneously and working together to offer accelerated scalability and reliability.
A cluster seems to customers to be a unmarried WebLogic Server example. The server times that represent a cluster can run on the equal machine, or be located on extraordinary machines.
You can growth a cluster’s capacity by using including additional server times to the cluster on an present gadget, or you can upload machines to the cluster to host the incremental server times.
Each server example in a cluster ought to run the identical model of WebLogic Server.
Red Hat Linux System Administration Interview Questions
Question 18. What Is The Advantage Of Clustering?
Answer :
WebLogic clustering offers 3 critical blessings:
1. Scalability : The ability of an utility deployed on a WebLogic Server cluster can be increased dynamically to meet demand. You can add server instances to a cluster without interruption of provider — the application continues to run without effect to clients and quit users.
2. Load balancing : The capacity to distribute requests throughout all members of the cluster, in accordance tothe workload on each server.
Three. High availability : A mix of functions that make sure programs and offerings are available even supposing aserver or machine fails.Clients can continue to work with very little disruption ina quite to be had environment. WebLogic achieves excessive availability the usage of acombination of features: replication, failover, and migratable services.
J2EE Interview Questions
Question 19. What Is Multicast And Unicast In Weblogic?
Answer :
Mulicast : Multicast is easier to provide an explanation for over Unicast. Multicast is a printed UDP alternative for sending a packet/assertion over to a group that is listening on a selected multicast deal with and port over which the announcement is sent.There is a described variety for valid Multicast address (224.0.Zero.1 to 239.255.255.255). Everyone listening on the given address hears the announcement much like following a Twitter post. Some obstacles with Multicast is the TTL (time to stay) across machines/subnets/routers needs to be adjusted and the routers configured to retransmit the multicast packet across subnets
Unicast : Unicast is extra of a point to point UDP choice to ship the packet to a particular member and now not each person. That manner, unicast is greater of a non-public verbal exchange between people even as multicast is extra of a shout to a set or room. Both are UDP primarily based, so there may be losses unlike TCP that handles retransmissions on message loss. But Unicast can span across routers and does not ought to fear approximately TTL with out the all of us hearing the declaration. So, Network Admins in widespread prefer to go with Unicast over Multicast for these motives
JBOSS Tutorial
Question 20. What Is Horizontal And Vertical Clustering?
Answer :
There are method of clustering Horizontal and Vertical.
Horizontal clustering : involves running a couple of Java software servers that are run on two or extra separate bodily machines.Horizontal scaling is more dependable than vertical scaling, given that there are more than one machines worried within the cluster surroundings, compared to only one device
Vertical clustering: but, includes a couple of Java software servers on a unmarried physical machine.With vertical scaling, the system's processing electricity, CPU usage, and JVM heap memory configurations are the primary factors in figuring out what number of server instances ought to be run on one gadget.
IBM WebSphere Administration Interview Questions
Question 21. How Does A Cluster Relate To A Domain?
Answer :
A cluster is a part of a specific WebLogic Server domain.A domain is an interrelated set of WebLogic Server resources which might be controlled as a unit. A area consists of one or more WebLogic Server instances, which can be clustered, non-clustered, or a aggregate of clustered and non-clustered instances. A area can encompass multiple clusters. A domain also consists of the utility additives deployed in the area, and the resources and services required by means of the ones software additives and the server times within the domain.
Question 22. What Is Node Manager?
Answer :
Node Manager is application that is used to manipulate WebLogic Server times. A unmarried Node Manager example is used to control all the server times walking on the identical bodily system or distinctive device. These instances can live in different clusters, domain names, and such. You ought to configure every system to your domain to speak with Node Manager.
WebRTC Tutorial
Question 23. How Many Way To Start And Stop Weblogic Servers?
Answer :
There are many ways to begin & forestall weblogic Admin and controlled servers:
You can start and forestall Admin Server the usage of :
1) Script
2) "Java weblogic.Server "command(The weblogic.Server class is the primary class for a WebLogic Server example)
3) From startup alternative on windows
4) WLST with or without node manager
You can begin managed servers using :
1) scripts
2) admin console
3) using WLST
4) the use of node manager
5) java weblogic.Server command( The weblogic.Server elegance is the primary class for a WebLogic Server instance )
IBM Websphere Application Server Interview Questions
Question 24. How Many Types You Configure Managed Server In Weblogic Server?
Answer :
Three types
1)Domain Configuration Wizard
2)Administration Console
3)Weblogic Scripting Tool
SQL Database Interview Questions
Question 25. How To Know Weblogic Version?
Answer :
In the WebLogic console, in the left navigation tree, click on "Environment", then "Servers". Then click on on one of the servers in the list. Then click at the "Monitoring" tab. Look on the "WebLogic Version" field.
Question 26. How Do You Set The Classpath?
Answer :
WebLogic Server installs the following script that you could use to set the classpath that a server calls for:
WL_HOMEserverbinsetWLSEnv.Cmd (on Windows)
WL_HOME/server/bin/setWLSEnv.Sh (on UNIX)
Web Developer Guide Interview Questions
Question 27. How Does A Server Know When Another Server Is Unavailable?
Answer :
WebLogic Server uses mechanisms to decide if a given server instance is unavailable. Each WebLogic Server example in a cluster uses multicast to broadcast ordinary “heartbeat” messages that put it on the market its availability. By monitoring heartbeat messages, server instances in a cluster decide whilst a server instance has failed. The other server times will drop a server instance from the cluster, if they do now not acquire three consecutive heartbeats from that server example WebLogic Server additionally monitors socket mistakes to determine the availability of a server example. For example, if server example A has an open socket to server instance B, and the socket unexpectedly closes, server A assumes that server B is offline
Oracle 11g Interview Questions
Question 28. How Do You Differentiate Between A Server Hang And Server Crash Issue?
Answer :
When a Server crashes, the JAVA technique not exists. When the Server is hung, it stops responding.We can use the WebLogic .ADMIN utility to ping the server. In case of a hang state of affairs we will take more than one thread dumps and examine the cause of hang
Question 29. How Are Notifications Made When A Server Is Added To A Cluster?
Answer :
The WebLogic Server cluster announces the provision of a new server instance on every occasion a new example joins the cluster. Cluster-conscious stubs additionally periodically update their list of to be had server times.
JBOSS Interview Questions
Question 30. How Do I Turn The Auto-deployment Feature Off?
Answer :
The automobile-deployment function tests the applications folder each three seconds to determine whether or not there are any new applications or any adjustments to present programs and then dynamically deploys those modifications.
The auto-deployment function is enabled for servers that run in improvement mode.
To disable car-deployment function, use one of the following methods to place servers in production mode:
=>In the Administration Console, click on the call of the area in the left pane, then select the Production Mode checkbox within the right pane.
=>At the command line, include the following argument while starting the domain’s Administration Server:
-Dweblogic.ProductionModeEnabled=proper
Production mode is about for all WebLogic Server times in a given area.
Question 31. How Managed Servers Communicate With Each Other?
Answer :
Managed servers talk every other the usage of t3 protocol internally.
Question 32. What Is Ssl In Weblogic?
Answer :
Secure Sockets Layer (SSL) affords comfy connections by means of permitting applications connecting over a network connection to authenticate the alternative's identity and via encrypting the information exchanged among the programs. Authentication lets in a server and optionally a customer to affirm the identity of the utility on the opposite cease of a community connection. Encryption makes facts transmitted over the network intelligible only to the meant recipient
WebRTC Interview Questions
Question 33. How You Deploy Your Applications On Weblogic Server?
Answer :
These are the kinds.
1) Auto Deployment
2) Console
3) Command line – weblogic.Deployer
4) ANT / WLST
SQL DBA Interview Questions
Question 34. What Are Stating Modes Are Available In Weblogic Server ?
Answer :
There are 3 starting modes are to be had:
1) Stage mode : Administration Server copies the deployment files from their authentic area at the Administration Server device to the staging directories of every goal server
2) External Stage : target servers install the use of nearby copies of the deployment documents, here the Administration Server does no longer automatically copy the deployment files to centered servers in external_stage mode ; rather, you must replica the documents to the staging directory of each target server earlier than deployment.
Three) No Stage : The Administration Server does now not copy deployment unit files; as a substitute, all servers set up the use of the identical bodily replica of the deployment documents, which have to be directly reachable by way of the Administration Server and goal servers
Question 35. What Is A Thread Dump? How Will You Take In Unix/linux And Windows?
Answer :
A Java thread unload is a manner of locating out what each thread in the JVM is doing at a selected point in time. This is specially useful in case your Java software every now and then appears to cling when going for walks beneath load, as an evaluation of the sell off will show where the threads are stuck.
1) Linux : kill -three <ps_id>
2) Windows (console mode) : crtl+wreck
3) Windows (carrier) : beasvc -unload -svcname:mydomain_myserver
Question 36. Explain Deployment Descriptors?
Answer :
Deployment descriptors are associated with almost all the modules in addition to programs. The deployment descriptors can be visible in the form of XML documents and they may be capable of describing the contents which might be a part of directory or the jar document. J2EE specifications normally outline the same old as well as the deployment descriptors which are portable for J2EE programs and modules.
IBM WebSphere ESB Interview Questions
Question 37. What Is The Name Of Default Jvm That Is Made Used For Weblogic?
Answer :
The solar hotspot JDK default is made used for development, JRockit is the only used for manufacturing of WebLogic 11g as well as 12c. Operating gadget is some other component that allows in selecting the certified JDK JVM.
Question 38. Explain The Methods For Providing User Credentials For Starting The Server?
Answer :
At the time of the introduction of domain, the wizard for setting configuration asks for the info like consumer name, password etc. From the person who's logging in for the primary time as an administrator. If the area is created in improvement mode, the configuration wizard saves the encrypted password in addition to the username internal an identification document. This file is available for reference all through the time of booting in order that inside the absence of this document, device can prompt the user for the purpose of getting into credentials. A new boot – identification record may be created if you need to change the use credentials or else in case you are having the requirement of making area inside the manufacturing mode.
Question 39. Is There Any Possibility For Starting Managed Server During The Absence Of Administrator Server?
Answer :
The regular manner is that in case of any issue for the supervisor server to get linked to any management server on the time of begin up, there is an choice for the managed server to retrieve the configuration associated with it from the configuration documents as well as different documents involved. The data thus retrieved cannot be altered and it is viable handiest when the administration server is really to be had. When the administration server is unavailable, then the controlled server enters into its independence mode for sporting out its operations.
Question forty. What Are The Capabilities Of Weblogic Server?
Answer :
There are numerous abilties related to WebLogic server and they're
Changes in dynamic configuration
Production utility redeployment
Rolling upgrades
Red Hat Linux System Administration Interview Questions
Question 41. What Is Core Server Tuning?
Answer :
This is the technique concerning the tuning of work manager, chuck size, overall performance packs, chunk pool size and connection backlog buffering.
Question 42. How Many Weblogic Servers Can Be Held Inside A Multi-processor Machine?
Answer :
There is not any hindrance for the quantity of servers.
IBM WebSphere Administration Interview Questions
Question forty three. What Is A Stage Deployment?
Answer :
Stage deployment is a form of process in which the admin gets a physical replica which is distributed to the other instances.
Question 44. What Is Non-degree Deployment?
Answer :
There is no copy within the administrator but every and each server wishes to contact the supply immediately for getting the item to be deployed.
Question forty five. How Can Port Number Be Checked?
Answer :
Port number can be checked through using netstat-nalinked.
Question 46. What Are The Various Types Of Weblogic Installations?
Answer :
The WebLogic set up commonly takes place in three different modes which are:
Graphical mode
Console mode
Silent mode.
Question forty seven. Explain The Term Clustering?
Answer :
Clustering is the method of grouping the servers together for undertaking high percent of scalability and availability.
Question 48. What Is The Purpose Of Clustering?
Answer :
The essential aim of acting the manner of clustering is to make high scalability as well as availability of the servers feasible. This process also enables in balancing the weight in a right way and additionally accomplishes failover.
Question forty nine. How Can Cluster Communication Occur?
Answer :
The communique thru cluster is made viable with the aid of the multicast IP as well as port by way of the process of sending periodic messages that are generally referred to as as heartbeat messages.
Question 50. How Do Stubs Function Inside Weblogic Server Cluster At The Time Of Failure?
Answer :
Stubs perform the system of getting rid of the failed instance from the list on every occasion there may be a failure. The stub commonly uses DNS for locating the walking server and also for obtaining the listing of the instances which can be presently to be had with the utility. List of the times to be had with the server inside cluster gets periodically refreshment and permits in obtaining blessings associated with new servers. The benefits are received because the server receives introduced to the cluster.
