Top 50 Weblogic Interview Questions
Q1. Is There Any Possibility For Starting Managed Server During The Absence Of Administrator Server?
The regular process is that during case of any trouble for the manager server to get related to any administration server on the time of begin up, there is an choice for the managed server to retrieve the configuration related to it from the configuration files in addition to different documents worried. The statistics as a consequence retrieved cannot be altered and it's far viable simplest whilst the management server is without a doubt available. When the administration server is unavailable, then the controlled server enters into its independence mode for sporting out its operations.
Q2. What Is A Stage Deployment?
Stage deployment is a type of method in which the admin gets a physical reproduction which is sent to the other times.
Q3. How Can Port Number Be Checked?
Port quantity can be checked by using the use ofgrep linked.
Q4. What Is The Server?
A server is an instance of weblogic.Server executing in a Java Virtual Machine (JVM).
A server:
1) Runs on a delegated Oracle WebLogic Server gadget
2) Has a committed amount of RAM
3) Is multithreaded
Two varieties of servers:
1) Administration Server
2) Managed Server
Q5. How Do I Turn The Auto-deployment Feature Off?
The automobile-deployment function assessments the applications folder each three seconds to determine whether or not there are any new packages or any adjustments to present applications after which dynamically deploys those changes.
The auto-deployment function is enabled for servers that run in development mode.
To disable automobile-deployment feature, use one of the following strategies to region servers in manufacturing mode:
=>In the Administration Console, click on the call of the domain in the left pane, then choose the Production Mode checkbox in the proper pane.
=>At the command line, consist of the subsequent argument whilst beginning the area’s Administration Server:
-Dweblogic.ProductionModeEnabled=true
Production mode is about for all WebLogic Server times in a given domain.
Q6. What Is Config.Xml?
Config.Xml is the critical configuration repository for a website. Each resource you've got configured from admin console or by way of command line or via another device registered below this report.WLS 9.X onwards, this report include references to other xml configuration documents also the ones are under your area/config folder ( further sub folder under it for respective resources ).
Q7. What Is The Basic Components Of Weblogic Server?
These are the fundamental weblogic additives
1)Domains
2)Admin Server
three) Managed Server
four) Node Manager
five) Weblogic Server Cluster
Q8. How Managed Servers Communicate With Each Other?
Managed servers talk every other the use of t3 protocol internally.
Q9. What Is Multicast And Unicast In Weblogic?
Mulicast : Multicast is easier to give an explanation for over Unicast. Multicast is a broadcast UDP choice for sending a packet/assertion over to a set that is listening on a selected multicast address and port over which the declaration is despatched.There is a described variety for legitimate Multicast address (224.0.Zero.1 to 239.255.255.255). Everyone listening at the given deal with hears the assertion much like following a Twitter put up. Some obstacles with Multicast is the TTL (time to stay) throughout machines/subnets/routers wishes to be adjusted and the routers configured to retransmit the multicast packet throughout subnets
Unicast : Unicast is greater of a point to factor UDP option to send the packet to a selected member and not each person. That way, unicast is more of a private communique between two individuals even as multicast is extra of a shout to a set or room. Both are UDP based totally, so there may be losses unlike TCP that handles retransmissions on message loss. But Unicast can span throughout routers and does now not should fear approximately TTL without the anybody hearing the declaration. So, Network Admins in widespread prefer to go with Unicast over Multicast for those motives
Q10. What Are The Supported Installation Modes For Weblogic Server?
Graphical mode
console mode
silent mode
Q11. How Does A Server Know When Another Server Is Unavailable?
WebLogic Server uses mechanisms to determine if a given server instance is unavailable. Each WebLogic Server example in a cluster uses multicast to broadcast everyday “heartbeat” messages that advertise its availability. By monitoring heartbeat messages, server times in a cluster decide while a server example has failed. The other server times will drop a server instance from the cluster, if they do now not get hold of three consecutive heartbeats from that server example WebLogic Server also monitors socket mistakes to determine the provision of a server example. For example, if server instance A has an open socket to server example B, and the socket all at once closes, server A assumes that server B is offline
Q12. What Is Boot.Proerties File In Weblogic Server?
Boot.Residences is the document used by admin or managed server all through startup for username and password. It exist beneath your domain/servers/server_name/protection folder.
Q13. How Do You Set The Classpath?
WebLogic Server installs the following script that you may use to set the classpath that a server calls for:
WL_HOMEserverbinsetWLSEnv.Cmd (on Windows)
WL_HOME/server/bin/setWLSEnv.Sh (on UNIX)
Q14. Explain The Methods For Providing User Credentials For Starting The Server?
At the time of the introduction of domain, the wizard for putting configuration asks for the info like consumer name, password and so forth. From the user who's logging in for the first time as an administrator. If the area is created in improvement mode, the configuration wizard saves the encrypted password as well as the username inner an identification file. This document is available for reference during the time of booting in order that in the absence of this report, gadget can spark off the consumer for the purpose of entering credentials. A new boot – identification report may be created if you want to change the use credentials in any other case in case you are having the requirement of making area inside the production mode.
Q15. What Is The Default Port Of Weblogic Admin Server?
By default weblogic admin server configured on port 7001 and SSL is on 7002.
Q16. How To Know Weblogic Version?
In the WebLogic console, in the left navigation tree, click on "Environment", then "Servers". Then click on one of the servers inside the listing. Then click on the "Monitoring" tab. Look on the "WebLogic Version" area.
Q17. What Is The Domain In Weblogic Server?
1) Domain is a logically associated organization of Oracle WebLogic Server assets which are controlled as a unmarried unit
2) Domain Provides one point of management
3) Can logically separate:
A) Development, test, and production applications
B) Organizational divisions
Q18. How Do I Provide User Credentials For Starting Weblogic Server?
When you create a site, the Configuration Wizard activates you to provide the username and password for an initial administrative user. If you create the domain in development mode, the wizard saves the username and encrypted password in a boot identification record.
A WebLogic Server example can discuss with a boot identification report all through its startup procedure. If a server instance does no longer find such a document,it activates you to enter credentials.
If you create a site in production mode, or in case you need to trade consumer credentials in an current boot identity document, you may create a brand new boot identity record.
Q19. Can We Start A Managed Server If The Administration Server Is Unavailable?
By default, if a Managed Server is not able to connect with the required Administration Server for the duration of startup, it could retrieve its configuration by means of reading a configuration report and other files at once. You cannot alternate the server’s configuration until the Administration Server is to be had. A Managed Server that starts offevolved in this way is going for walks in Managed Server Independence mode.
Q20. What Are Stating Modes Are Available In Weblogic Server ?
There are 3 starting modes are available:
1) Stage mode : Administration Server copies the deployment files from their authentic region on the Administration Server device to the staging directories of each target server
2) External Stage : goal servers set up the use of local copies of the deployment files, here the Administration Server does now not routinely replica the deployment files to targeted servers in external_stage mode ; as a substitute, you have to reproduction the files to the staging directory of each goal server before deployment.
3) No Stage : The Administration Server does no longer copy deployment unit files; as a substitute, all servers install the use of the same bodily replica of the deployment files, which should be at once handy by using the Administration Server and target servers
Q21. What Is Core Server Tuning?
This is the manner involving the tuning of labor supervisor, chuck size, overall performance packs, bite pool length and connection backlog buffering.
Q22. How Administration Server And Managed Servers Will Interact?
The Administration Server stores the master reproduction of the area configuration, including the configuration for all Managed Servers within the domain. Each Managed Server stores a nearby copy of the area configuration document. When a Managed Server starts offevolved, it connects to the Administration Server to synchronize the configuration. When the configuration is changed, the Administration Server sends the changed configuration to the Managed Servers.
Q23. How You Deploy Your Applications On Weblogic Server?
These are the sorts.
1) Auto Deployment
2) Console
3) Command line – weblogic.Deployer
4) ANT / WLST
Q24. What Is The Name Of Default Jvm That Is Made Used For Weblogic?
The solar hotspot JDK default is made used for development, JRockit is the one used for manufacturing of WebLogic 11g in addition to 12c. Operating machine is every other thing that helps in selecting the licensed JDK JVM.
Q25. What Are The Various Types Of Weblogic Installations?
The WebLogic installation typically occurs in 3 exclusive modes which are:
Graphical mode
Console mode
Silent mode.
Q26. Explain The Term Clustering?
Clustering is the system of grouping the servers collectively for undertaking high percentage of scalability and availability.
Q27. How Many Weblogic Servers Can Be Held Inside A Multi-processor Machine?
There isn't any difficulty for the quantity of servers.
Q28. How Do You Differentiate Between A Server Hang And Server Crash Issue?
When a Server crashes, the JAVA method not exists. When the Server is hung, it stops responding.We can use the WebLogic .ADMIN software to ping the server. In case of a grasp scenario we will take a couple of thread dumps and analyze the purpose of hold
Q29. What Is The Advantage Of Clustering?
WebLogic clustering gives 3 important blessings:
@Scalability : The capability of an utility deployed on a WebLogic Server cluster may be expanded dynamically to meet demand. You can add server instances to a cluster without interruption of provider — the utility continues to run without impact to customers and quit customers.
@Load balancing : The capability to distribute requests across all members of the cluster, in accordance tothe workload on every server.
3. High availability : A blend of features that ensure packages and services are available even if aserver or device fails.Clients can hold to work with very little disruption ina highly to be had surroundings. WebLogic achieves high availability the usage of acombination of capabilities: replication, failover, and migratable services.
Q30. Explain Deployment Descriptors?
Deployment descriptors are associated with nearly all the modules in addition to packages. The deployment descriptors may be seen inside the shape of XML documents and they're able to describing the contents which are a part of listing or the jar record. J2EE specs typically outline the same old in addition to the deployment descriptors which are transportable for J2EE packages and modules.
Q31. How Are Notifications Made When A Server Is Added To A Cluster?
The WebLogic Server cluster proclaims the supply of a new server instance every time a new example joins the cluster. Cluster-aware stubs additionally periodically update their listing of to be had server instances.
Q32. What Are The Capabilities Of Weblogic Server?
There are numerous capabilities associated with WebLogic server and they are
Changes in dynamic configuration
Production application redeployment
Rolling improvements
Q33. What Is A Thread Dump? How Will You Take In Unix/linux And Windows?
A Java thread sell off is a way of locating out what each thread in the JVM is doing at a specific point in time. This is specially useful in case your Java application every so often appears to hang whilst strolling underneath load, as an analysis of the unload will display where the threads are caught.
1) Linux : kill -3 <ps_id>
2) Windows (console mode) : crtl+smash
3) Windows (service) : beasvc -dump -svcname:mydomain_myserver
Q34. What Is The Purpose Of Clustering?
The main goal of appearing the process of clustering is to make high scalability as well as availability of the servers possible. This process additionally helps in balancing the load in a proper way and additionally accomplishes failover.
Q35. What Is A Weblogic Server Cluster?
A WebLogic Server cluster consists of more than one WebLogic Server server times going for walks simultaneously and running together to offer extended scalability and reliability.
A cluster seems to customers to be a unmarried WebLogic Server instance. The server instances that constitute a cluster can run at the same machine, or be placed on extraordinary machines.
You can boom a cluster’s ability via including additional server times to the cluster on an current machine, or you can add machines to the cluster to host the incremental server times.
Each server instance in a cluster should run the same model of WebLogic Server.
Q36. What Is Non-level Deployment?
There isn't any copy within the administrator however every and each server wishes to touch the supply at once for purchasing the object to be deployed.
Q37. How Do Stubs Function Inside Weblogic Server Cluster At The Time Of Failure?
Stubs perform the method of putting off the failed example from the listing each time there's a failure. The stub typically uses DNS for locating the jogging server and also for obtaining the list of the times which are presently available with the utility. List of the instances to be had with the server internal cluster gets periodically refreshment and permits in obtaining benefits associated with new servers. The advantages are received because the server gets delivered to the cluster.
Q38. What Is Ssl In Weblogic?
Secure Sockets Layer (SSL) offers relaxed connections with the aid of allowing packages connecting over a community connection to authenticate the other's identity and by encrypting the information exchanged between the programs. Authentication allows a server and optionally a purchaser to verify the identification of the application on the other quit of a community connection. Encryption makes records transmitted over the network intelligible simplest to the meant recipient
Q39. What Is The Managed Server?
Managed server is a server in a domain that isn't always the Administration server. It contacts the management server for configuration facts. It runs business software in a manufacturing surroundings. It is independent of all other Managed servers in a domain (until they're now not in a cluster). You may have many managed servers in a site. Individual managed servers are normally brought for ability and alertness isolation.
Q40. How Many Way To Start And Stop Weblogic Servers?
There are many methods to begin & prevent weblogic Admin and managed servers:
You can begin and stop Admin Server using :
1) Script
2) "Java weblogic.Server "command(The weblogic.Server magnificence is the main class for a WebLogic Server example)
three) From startup option on windows
four) WLST with or without node manager
You can begin managed servers using :
1) scripts
2) admin console
three) the usage of WLST
four) the usage of node manager
5) java weblogic.Server command( The weblogic.Server elegance is the primary magnificence for a WebLogic Server example )
Q41. How Many Types You Configure Managed Server In Weblogic Server?
Three sorts
1)Domain Configuration Wizard
2)Administration Console
three)Weblogic Scripting Tool
Q42. What Is Weblogic?
WebLogic is a J2EE utility server and additionally an HTTP internet server via Oracle , for Unix, Linux, Microsoft Windows, and different structures. WebLogic supports Oracle, DB2, Microsoft SQL Server, and other JDBC-compliant databases.
Q43. How To Change From Development Mode To Production Mode In Weblogic 10.3?
To exchange Weblogic start up mode from DEV to manufacturing. One manner to alternate it's far, by way of certainly enhancing setDomainEnv.Cmd which resides in $root_domain/bin folder.
@Look for the road that sets the PRODUCTION_MODE script variable: set PRODUCTION_MODE
Add fake to the price of the PRODUCTION_MODE variable to ensure the server begins in development
Set actual for starting in prod mode.
Set PRODUCTION_MODE=fake
@Save your modifications and exit the text editor.
Q44. What Is The Admin Server?
Admin Server is the relevant domain configuration interface which is used to create, delete and configure the sources of a website like managed server, gadget, cluster, facts supply, paintings managers etc.
Q45. What Is Horizontal And Vertical Clustering?
There are method of clustering Horizontal and Vertical.
Horizontal clustering : involves walking more than one Java software servers which can be run on two or greater separate physical machines.Horizontal scaling is extra dependable than vertical scaling, in view that there are multiple machines worried inside the cluster environment, compared to best one system
Vertical clustering: but, includes a couple of Java utility servers on a single bodily device.With vertical scaling, the gadget's processing power, CPU usage, and JVM heap memory configurations are the primary elements in determining what number of server times need to be run on one system.
Q46. What Is Node Manager?
Node Manager is program this is used to manipulate WebLogic Server times. A single Node Manager instance is used to govern all of the server times going for walks at the identical bodily device or one of a kind machine. These instances can reside in special clusters, domains, and such. You should configure each system to your area to talk with Node Manager.
Q47. Difference Between Weblogic Development And Production Mode?
Here are a few difference between Weblogic Development Mode and Production Mode:
Development Mode:
1) The default JDK for development area is Sun Hotspot
2) You can use the demo certificate for SSL
three) Auto deployment is enabled
4) Server times rotate their log files on startup
5) Admin Server makes use of an routinely created boot.Residences for the duration of startup
6) The default maximum capability for JDBC Datasource is 15
Production Mode:
1) The default JDK for production area is JRockit
2) If you use the demo certificate for SSL a warning is displayed
three) Auto deployment is disabled
four) Server times rotate their log files whilst it reaches 5MB
five) Admin Server prompts for username and password during startup
6) The default maximum potential for JDBC Datasource is 25
Q48. What Is The Msi Mode In Weblogic? How Can You Enable And Disable This Option?
MSI is nothing but 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 begin a Managed Server in MSI mode, perform the subsequent:
Ensure that the Managed Server’s root listing contains the config subdirectory. If the config subdirectory does now not exist, copy it from the Administration Server’s root listing.Start the Managed Server at the command line or via the usage of a script.
Environment > Servers > Server_Name > Tuning > Advanced > Managed Server Independence Enabled check box
Q49. How Does A Cluster Relate To A Domain?
A cluster is a part of a particular WebLogic Server domain.A domain is an interrelated set of WebLogic Server assets which are managed as a unit. A domain consists of one or greater WebLogic Server instances, which may be clustered, non-clustered, or a mixture of clustered and non-clustered times. A area can consist of more than one clusters. A area additionally carries the application additives deployed inside the domain, and the resources and offerings required with the aid of the ones software components and the server times in the area.
Q50. How Can Cluster Communication Occur?
The verbal exchange thru cluster is made feasible via the multicast IP in addition to port by way of the procedure of sending periodic messages which are commonly called as heartbeat messages.

