Script to start/stop Weblogic 11, 12

Posted on 2015-01-20
Last Modified: 2015-02-05
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.

Question by:gantone1
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 62

Expert Comment

ID: 40561655
You need to invoke startWeblogic.bat
Then startManagedWeblogic.bat for each managed server JVM
It is much easier to do as a service.

Author Comment

ID: 40561813
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?

LVL 62

Expert Comment

ID: 40561964
Running web applications in same process as Adminserver is not recommended and is very insecure.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 40562509
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?
LVL 62

Accepted Solution

gheist earned 500 total points
ID: 40562596
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.

Author Closing Comment

ID: 40592589
Thank you for your help

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Suggested Courses

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question