Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Script to start/stop Weblogic 11, 12

Posted on 2015-01-20
6
Medium Priority
?
183 Views
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.

Thanks!
0
Comment
Question by:gantone1
[X]
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
6 Comments
 
LVL 62

Expert Comment

by:gheist
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.
0
 

Author Comment

by:gantone1
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?

Thanks!
0
 
LVL 62

Expert Comment

by:gheist
ID: 40561964
Running web applications in same process as Adminserver is not recommended and is very insecure.
0
Technology Partners: 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

by:gantone1
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?
0
 
LVL 62

Accepted Solution

by:
gheist earned 1500 total points
ID: 40562596
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
 

Author Closing Comment

by:gantone1
ID: 40592589
Thank you for your help
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Suggested Courses

715 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