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
posted
0
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
posted
0
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
posted
0
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
posted
0
Thanks Ashsish & Amit. -M.S.Raman
Malli Raman
Ranch Hand
Joined: Nov 07, 2001
Posts: 312
posted
0
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