How to start the Admin and Managed Servers via command line mode ?


In this post I will tell you how to start Admin and managed Servers via command line mode in Linux.
Basically when you start an Admin server or a managed server via command line mode either invoking files such as "startWebLogic.sh" and "startManagedWeblogic.sh". You might have noticed that if you try to close the files "startWebLogic.sh" and "startManagedWeblogic.sh" after starting either admin server or any managed Server, the admin or managed servers tend to shutdown automatically. plus the "startWebLogic.sh" and "startManagedWeblogic.sh" are not running on the background  so you will have additional terminals in your Linux screen.

In order to prevent this from happening, you need to use a simple command called "nohup" and redirect the file to a simple .out or .log file in some other location and everything will run in the background.
anyway if you do know how to start the admin and managed servers via command line, i suggest you to skip this post and read this post which tell you how to start Admin and managed servers via shell script:

  1. How to start the Admin and Managed Servers using shell script ?


STEPS:

1. To start the Admin Server, go to the bin folder inside the $DOMAIN_DIR/bin and run the file "startWebLogic.sh"

  • command : ./startWebLogic.sh

2. You will be prompted to enter the username and password, once done wait for the Admin Server to be up and change it's state to RUNNING mode.

3. To start the Managed Server, go to the bin folder inside the $DOMAIN_DIR/bin and run the file "startManagedWebLogic.sh"

  • command : ./startManagedWebLogic.sh <managed_server_name> <admin_server_URL>
4. You will be prompted to enter the username and password, once done wait for the Managed Server to be up and change it's state to RUNNING mode.
Share this post
  • Share to Facebook
  • Share to Twitter
  • Share to Google+
  • Share to Stumble Upon
  • Share to Evernote
  • Share to Blogger
  • Share to Email
  • Share to Yahoo Messenger
  • More...

0 comments

:) :-) :)) =)) :( :-( :(( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ :-$ (b) (f) x-) (k) (h) (c) cheer

 
© Ganesh Sairam's Oracle Blog
Designed by BlogThietKe Cooperated with Duy Pham
Released under Creative Commons 3.0 CC BY-NC 3.0
Posts RSSComments RSS
Back to top