[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:

Script to start/stop Weblogic 11, 12

I have an application that runs on Weblogic 11 and need a way to stop and  start Weblogic, plus have it start automatically when the Windows 2008 server is rebooted.

In the JBoss environment we installed a Window Service using a 'bat' script provided by the vendor, but I was told in the Weblogic environment creating a Window Service needed a Registry change which requires lots of paper work on this server.

Please provide instructions for developing a procedure to stop/start Weblogic and automate startup on server boot that does not require Registry changes..

Also, please provide solution for Weblogic 12 as we will likely upgrade.

Thanks!
0
Gary Antonellis
Asked:
Gary Antonellis
  • 3
  • 3
1 Solution
 
gheistCommented:
You need to invoke startWeblogic.bat
Then startManagedWeblogic.bat for each managed server JVM
It is much easier to do as a service.
0
 
Gary AntonellisSenior Application ConsultantAuthor Commented:
My customer told us this server would not be set up as a Managed Server.  Is there a solution that does not require using Managed Server?

Thanks!
0
 
gheistCommented:
Running web applications in same process as Adminserver is not recommended and is very insecure.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
Gary AntonellisSenior Application ConsultantAuthor Commented:
Just to be clear so I can present this to management.  Is it 'Best Practice' to use Managed Servers? And to not is a security risk?
0
 
gheistCommented:
http://docs.oracle.com/cd/E13222_01/wls/docs61/webapp/deployment.html
Production mode will not permit to deploy web applications in admin server. also doc links to some guides on how to manage start scripts/services.
0
 
Gary AntonellisSenior Application ConsultantAuthor Commented:
Thank you for your help
0

Featured Post

Managing Security Policy in a Changing Environment

The enterprise network environment is evolving rapidly as companies extend their physical data centers to embrace cloud computing and software-defined networking. This new reality means that the challenge of managing the security policy is much more dynamic and complex.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now