Saturday, October 20, 2012

Weblogic application status

There are lots of new weblogic application status introduced Weblogic 9.x onwards.

Weblogic application states are purely dependent on the different circumstances like - 

State of server, If your server is running or not on which you are deploying application ?
What is the size of your application you are going to deploy ? 
May be there some technical configuration issues with your application you are going to deploy
Purpose of your deployment like you want to up it only for administration for some testing
  

Very first thing is, if your domain is in Development mode or Production mode. If it's on development mode then you not need to worry about lots of status since during deployment in development mode your application directly come in Active mode ( if there is no configuration issues with the file you are going to deploy ) however in production not.

Weblogic change center enabled only in production mode.



You have some options to control the application with respective to Start or Stop.

Stop weblogic application options

You can - 

Request an application to stop when work completes
Force stop application
Request to stop client connections however to take requests of administrator

OR  you define
  • When work completes: Specifies that WebLogic Server wait for the application to finish its work and for all currently connected users to disconnect.
  • Force stop now: Specifies that WebLogic Server stop the application immediately, regardless of the work that is being performed and the users that are connected.
  • Stop, but continue servicing administrative requests: Specifies that WebLogic Server stop the application once all its work has finished, but to then put the application in Administration Mode so it can be accessed for administrative purposes.



Start weblogic application options


You can ask an application - 

To start servicing all requests
To start servicing only administrator request 

OR you can say 

  • Servicing all requests: Specifies that WebLogic Server make the application immediately available to all clients.
  • Servicing only administrative requests: Specifies that WebLogic Server make the application available in Administration Mode only.


In production mode - 

If the server on which you are going to deploy the application or checking status of deployed application is not running then -

1. You will see the status as "New" for the application already deployed there.
2. If you will deploy a new application then - 

      It will come to "distribute Initializing" status
      Once you will click on Activate Changes, it will changed to "New" status
      Once server started, it will come to "Prepared" state
      After that you can choose the option to make it "active" ( select application > Start > Servicing all requests)


If the server on which you are going to deploy the application or checking status of deployed application is running then -


Once you will deploy an application, it will come to "deploy initializing" state
Once you will activate the changes, it will come to "Prepared" state
Once you will start it with option "start servicing request", it will come to "Active" state

Weblogic server application status "stop running" & "start Running"

Apart from above sometimes you will see start Running and stop Running status during starting or stopping an application, it's generally appear in case you have a big application which took time to initialize the requested operation. 

start Running generally you will see once you will start a big application ( aroung 1 gb or more in size ), later it will come in active state ( if there is no issues with the application )

stop Running generally you will see once you will try to stop/shutdown the application ( either gracefully or forcefully ) depend on the size of your application, current connections etc it takes time to stop and later will come to prepared state.  






2 comments:

  1. What does Application running in Adminstrator mode means

    ReplyDelete
  2. Weblogic Adminstration Online Training, ONLINE TRAINING – IT SUPPORT – CORPORATE TRAINING http://www.21cssindia.com/courses/weblogic-adminstration-online-training-205.html The 21st Century Software Solutions of India offers one of the Largest conglomerations of Software Training, IT Support, Corporate Training institute in India - +919000444287 - +917386622889 - Visakhapatnam,Hyderabad Weblogic Adminstration Online Training, Weblogic Adminstration Training, Weblogic Adminstration, Weblogic Adminstration Online Training| Weblogic Adminstration Training| Weblogic Adminstration| "Courses at 21st Century Software Solutions
    Talend Online Training -Hyperion Online Training - IBM Unica Online Training - Siteminder Online Training - SharePoint Online Training - Informatica Online Training - SalesForce Online Training - Many more… | Call Us +917386622889 - +919000444287 - contact@21cssindia.com
    Visit: http://www.21cssindia.com/courses.html"

    ReplyDelete