Solved

Script to start/stop Weblogic 11, 12

Posted on 2015-01-20
6
169 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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 500 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

Do you have a plan for Continuity?

It's inevitable. People leave organizations creating a gap in your service. That's where Percona comes in.

See how Pepper.com relies on Percona to:
-Manage their database
-Guarantee data safety and protection
-Provide database expertise that is available for any situation

Question has a verified solution.

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

Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
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 theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

627 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