Oracle Weblogic Interview Questions and Answers

@ : Home > Interview> Oracle Weblogic Interview Questions and Answers

21. Difference between Weblogic Development and Production Mode?

Here are some difference between Weblogic Development Mode and Production Mode: 

Development Mode: 

1) The default JDK for development domain is Sun Hotspot 
2) You can use the demo certificates for SSL 
3) Auto-deployment is enabled 
4) Server instances rotate their log files on startup 
5) Admin Server uses an automatically created boot.properties during startup 
6) The default maximum capacity for JDBC Datasource is 15 
7) The debugFlag which is used to start the WebLogic Workshop Debugger is enabled

Production Mode: 

1) The default JDK for production domain is JRockit 
2) If you use the demo certificates for SSL a warning is displayed 
3) Auto-deployment is disabled 
4) Server instances rotate their log files when it reaches 5MB 
5) Admin Server prompts for username and password during startup 
6) The default maximum capacity for JDBC Datasource is 25 
7) The debugFlag which is used to start the WebLogic Workshop Debugger is disabled.

22. How to change from development mode to production mode in Weblogic 10.3?

To change Weblogic startup mode from DEV to production. One way to change it is, by simply editing setDomainEnv.cmd which resides in $root_domain/bin folder. 

  1. Look for the line that sets the PRODUCTION_MODE script variable: set PRODUCTION_MODE Add false to the value of the PRODUCTION_MODE variable to ensure the server starts in development mode: Set true for starting in prod mode. set PRODUCTI>
  2. Save your changes and exit the text editor. 

23. How to access admin console?

SSL enabled admin console accessed as https://hostname or IP address (where admin server running):(port on which admin server is 

SSL enabled admin console accessed as Example - https://localhost:7001/console 

Non-SSL admin console accessed as http://hostname or IP address (where admin server
running):(port on which admin server is SSL enabled admin console accessed as : Example -http://localhost:7001/console

24. What are Admin Default Ports?

The non-SSL listen port for the Administration Server’s default configuration is 7001 by default.

The SSL listen port for the Administration Server’s default network configuration is 7002 by default

Weblogic Admin servers and Managed Server’s could communicate with Admin port which is separate network channel. So that other communications can be run on different networks.

25. What is boot.proerties file in weblogic server?

boot.properties is the file used by admin or managed server during startup for username and password. it exist under your domain/servers/server_name/security folder.