aspose file tools
The moose likes BEA/Weblogic and the fly likes How to Stop weblogic 7.1 server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "How to Stop weblogic 7.1 server" Watch "How to Stop weblogic 7.1 server" New topic
Author

How to Stop weblogic 7.1 server

Malli Raman
Ranch Hand

Joined: Nov 07, 2001
Posts: 312
Hi,
I am new to weblogic 7.1 application server. In this i am starting the weblogic server using user_projects -> my_domain-> start server option.
But there won't be any stop server option. Even in the weblogic directory there won't be any stop weblogic.cmd. I want to test jspDestroy() method.
For that i want to know the method to stop the server.
Also one more question,I have uncompiled a jsp class , It shows that that class extends from jspBase class which is a weblogic based java class. I want to know whether jspBase class extends from javax.servlet.jsp.JspPage or javax.servlet.jsp.HttpJspPage.
By default jsp page extends to which JspPage.
Thanks & Regards,
M.S.Raman.
Malli Raman
Ranch Hand

Joined: Nov 07, 2001
Posts: 312
Hi,
Using the console option i have stopped the server. Is there any other can we stop the server like the websphere application server.
Thanks & Regards,
M.S.Raman.
Amit More
Greenhorn

Joined: Oct 16, 2003
Posts: 24
Hi
Actually i also don't know the exact method of shuttingdown the server.
But you can do one thing,you can write your code in a shutdown class and can execute
it.
Startup and shutdown classes are Java programs that you create and configure. WebLogic Server invokes them during its startup or shutdown process.


Thanks,<br />Amit
Ashish Pagare
Ranch Hand

Joined: Oct 14, 2003
Posts: 101
Weblogic does not provide any built in script to stop the server though there are multiple ways you can stop the server. One way of doing it is by using weblogic JMX interface other is by executing the weblogic.Adminwith SHUTDOWN option. Here what you will need

More you can do it is write a shell script which first checks whether server is running or not by using the same weblogic.Admin but with GETSTATE option and then either stop the server or display an approriate message.
Regarding the startup/shutodwn class, you can configure it in weblogic admin console or change the config.xml directly (hard way) and weblogic will execute the main method of the specified clas.
Regarding the JspPage question: this is what I got from JSP Programming Guide

Hope this helps.
Thanks,
Ashish
[ October 22, 2003: Message edited by: Ashish Pagare ]
Malli Raman
Ranch Hand

Joined: Nov 07, 2001
Posts: 312
Thanks Ashsish & Amit.
-M.S.Raman
Malli Raman
Ranch Hand

Joined: Nov 07, 2001
Posts: 312
Originally posted by Malli Subramanian Raman:
Thanks Ashsish & Amit.
-M.S.Raman

Hi,
It is working. Once thanks to both of you.
Regards,
M.S.Raman
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Stop weblogic 7.1 server
 
Similar Threads
How does a JSP inherit getServletContext() & getServletConfig methods?
please answer this 128 questions for WLS. Urgently!
Startup Classloading in Websphere
How do I limit access a JSP pages in WLS 5.1 (sp10) ?
page directive