Graceful shutdown of NT service (beasvc)??
f you run weblogic as a service, you can specify a stopclass using the -stopclass:
parameter to beasvc. This stopclass is supposed to get called when Windows shuts
down the service.
If you stop the service from the Windows Control Panel, it works fine and the
stopclass is invoked thus gracefully shutting down weblogic.
If you stop the service by doing a System restart or shutdown (like from the windows
taskbar choosing Start->Shutdown or Start->Restart), then the weblogic service
does not get gracefully shutdown, and the stopclass does not get invoked.
It appears that windows simply kills the weblogic service by killing its process,
and does not allow it to shutdown cleanly. Perhaps beasvc is not listening and
handling the appropriate Windows events.
Does anyone have an idea how to get beasvc to shut down gracefully when the computer
is restarted or shutdown? Is this a bug with beasvc?
Its not exactly graceful but I've always done a reload with the console plugged in, then when the BIOS messages come up for accessing the flash (before the disk scan), I power it off. The theory is the disks have been cleanly shutdown and the linux subsystem will flushed the filesystems and the content engine isn't actually running. If there is a command I'd like to know it as well.
regards
Mark
Similar Messages
-
Exception on Graceful Shutdown
hi
While graceful shutdown, Its not getting shutting down properly and getting the Exception.
Exception in myserver.log file:
####<Aug 30, 2004 12:51:38 PM GMT+05:30> <Info> <JMS> <BDC1-3ad83> <myserver> <Graceful shutdown task> <<WLS Kernel>> <> <BEA-040301> <JMS service is suspended and in standby mode.>
####<Aug 30, 2004 12:51:38 PM GMT+05:30> <Info> <JMS> <BDC1-3ad83> <myserver> <Graceful shutdown task> <<WLS Kernel>> <> <BEA-040312> <An error occurred in suspending the JMS service. The first Throwable is "weblogic.jms.common.JMSException: Connection not found".
weblogic.jms.common.JMSException: Connection not found
at weblogic.jms.dispatcher.InvocableManager.invocableRemove(InvocableManager.java:152)
at weblogic.jms.frontend.FEConnection.close(FEConnection.java:440)
at weblogic.jms.frontend.FEConnection.close(FEConnection.java:415)
at weblogic.jms.frontend.FrontEnd.suspend(FrontEnd.java:317)
at weblogic.jms.JMSService.suspend(JMSService.java:751)
at weblogic.jms.JMSServiceServerLifeCycleImpl.prepareToSuspend(JMSServiceServerLifeCycleImpl.java:68)
at weblogic.t3.srvr.SubsystemManager.prepareToSuspend(SubsystemManager.java:168)
at weblogic.t3.srvr.T3Srvr.prepareToSuspend(T3Srvr.java:1050)
at weblogic.t3.srvr.ServerLifeCycleWorkerThread.prepareToSuspend(ServerLifeCycleWorkerThread.java:51)
at weblogic.t3.srvr.ServerLifeCycleWorkerThread$1.run(ServerLifeCycleWorkerThread.java:35)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
at weblogic.t3.srvr.ServerLifeCycleWorkerThread.run(ServerLifeCycleWorkerThread.java:32)
>
####<Aug 30, 2004 12:51:38 PM GMT+05:30> <Info> <JDBC> <BDC1-3ad83> <myserver> <ExecuteThread: '0' for queue: 'weblogic.admin.HTTP'> <<WLS Kernel>> <> <BEA-001144> <Force Suspending the JDBC service.>
####<Aug 30, 2004 12:51:38 PM GMT+05:30> <Critical> <WebLogicServer> <BDC1-3ad83> <myserver> <Graceful shutdown task> <<WLS Kernel>> <> <BEA-000376> <
Server failed to gracefully shutdown.
Use Force shutdown command to bring the server down
Can you help me to solve the problem ASAP.
Thanks in Advance
SureshSuresh Kumar wrote:
hi
While graceful shutdown, Its not getting shutting down properly and getting the Exception.
Exception in myserver.log file:
####<Aug 30, 2004 12:51:38 PM GMT+05:30> <Info> <JMS> <BDC1-3ad83> <myserver> <Graceful shutdown task> <<WLS Kernel>> <> <BEA-040301> <JMS
service is suspended and in standby mode.>
####<Aug 30, 2004 12:51:38 PM GMT+05:30> <Info> <JMS> <BDC1-3ad83> <myserver> <Graceful shutdown task> <<WLS Kernel>> <> <BEA-040312> <An error
occurred in suspending the JMS service. The first Throwable is
"weblogic.jms.common.JMSException: Connection not found".
weblogic.jms.common.JMSException: Connection not found
at weblogic.jms.dispatcher.InvocableManager.invocableRemove(InvocableManager.java:152)
at weblogic.jms.frontend.FEConnection.close(FEConnection.java:440)
at weblogic.jms.frontend.FEConnection.close(FEConnection.java:415)
at weblogic.jms.frontend.FrontEnd.suspend(FrontEnd.java:317)
at weblogic.jms.JMSService.suspend(JMSService.java:751)
at weblogic.jms.JMSServiceServerLifeCycleImpl.prepareToSuspend(JMSServiceServerLifeCycleImpl.java:68)
at weblogic.t3.srvr.SubsystemManager.prepareToSuspend(SubsystemManager.java:168)
at weblogic.t3.srvr.T3Srvr.prepareToSuspend(T3Srvr.java:1050)
at weblogic.t3.srvr.ServerLifeCycleWorkerThread.prepareToSuspend(ServerLifeCycleWorkerThread.java:51)
at weblogic.t3.srvr.ServerLifeCycleWorkerThread$1.run(ServerLifeCycleWorkerThread.java:35)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
at weblogic.t3.srvr.ServerLifeCycleWorkerThread.run(ServerLifeCycleWorkerThread.java:32)
>>
####<Aug 30, 2004 12:51:38 PM GMT+05:30> <Info> <JDBC> <BDC1-3ad83> <myserver> <ExecuteThread: '0' for queue: 'weblogic.admin.HTTP'> <<WLS
Kernel>> <> <BEA-001144> <Force Suspending the JDBC service.>
####<Aug 30, 2004 12:51:38 PM GMT+05:30> <Critical> <WebLogicServer> <BDC1-3ad83> <myserver> <Graceful shutdown task> <<WLS Kernel>> <>
<BEA-000376> <
Server failed to gracefully shutdown.
Use Force shutdown command to bring the server down
Can you help me to solve the problem ASAP.
Thanks in Advance
Suresh -
Graceful Shutdown of a Content Engine (CE510, CE565)
May I come back to y.lo's message from January this year. He asked for a shutdown or halt command for CEs.
There is a possibility to shutdown the NM-CE-BP (network module) with the service-module command form the IOS. There must be something similar in ACNS! In the manuals there is quite often a referenc to "orderly shutdown" or "gracefully shutdown", but I couldn't find the appropriate command anywhere near these references.
Thanks.Its not exactly graceful but I've always done a reload with the console plugged in, then when the BIOS messages come up for accessing the flash (before the disk scan), I power it off. The theory is the disks have been cleanly shutdown and the linux subsystem will flushed the filesystems and the content engine isn't actually running. If there is a command I'd like to know it as well.
regards
Mark -
"Ignore Sessions During Shutdown" and "Graceful Shutdown Sequence"
Hi
I have J2EE application consisting of WEB and EJB layers deployed on WL 8.1
I start the Graceful Shutdown Sequence with Ignore Sessions During Shutdown option set. sessionDestroyed() method of registered HttpSessionListener is fired but at this moment JNDI tree is already empty, EJB module undeployed and the listener is not able to get to application's EJBs.
In the documentation (http://e-docs.bea.com/wls/docs81/adminguide/overview_lifecycle.html#1045901) Ignore Sessions During Shutdown option is explained as follows:
"If you enable this option WebLogic Server will drop all HTTP sessions immediately, rather than waiting for them to complete or timeout."
What does "drop" mean here? Is this some exception to Graceful Shutdown Sequence and the following excerpt from the documentation? : "During a graceful shutdown, subsystems complete in-flight work and suspend themselves in a specific sequence and in a synchronized fashion, so that back-end subsystems like JDBC connection pools are available when front-end subsystems are suspending themselves."
RegardsHi,
You can use tcodes
SMQR --> To register a queue
SMQS --> To register a destination in Queue Schedular
SMQ1 --> OutBound Queue Details
SMQ2 --> Inbound Queue Details
SXMB_ADMIN --> Manage Queue to register,deregister and activate the queue.
Check the link for more details : http://help.sap.com/saphelp_nw04/helpdata/en/59/d9fa40ee14f26fe10000000a1550b0/frameset.htm
For step details for server start/stop you can search on google for more details. And for an idea check the section Managing the SAP Start-Up Service via the SAP MMC Snap-In in the link https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3e3fad90-0201-0010-2f91-c8907db40bfe
Thanks!
Edited by: sudhir tiwari on Nov 12, 2008 12:00 PM -
I've tried 3 UPS's (2 APC and one TripLite) that state they are OSX compatible, however, they do not fully respond to the native osx setting in (system Preferences/ Energy Saver/ UPS/Start up automatically after a power failure). This is what happens:
During a power outage, the OS does a graceful shutdown, but does not reboot when power is restored.
Apparently, the UPS is not notified to turn off during the shut down process. The power (on-Off-On) cycle is required by the mac to restart.
Trip lite tech support says they have software that works with Windows and linux to do this, but not mac.
I've tried two older APC UPS's, One Smart UPS1500 and a Back-UPS 1500 with the same result on two different servers and one iMac.
At this point I'm looking for a make and model of a UPS that does work. If anyone can verify a make and model that actually does this, I'd greatly appreciate it.
Its a simple test, just pull the plug on your UPS, wait for the system to shut down, and then plug the UPS back in. The system should reboot.Many of the CyberPower UPS units are compatible. Checkout the home solutions on this page: http://www.cyberpowersystems.com/products/ups-systems.html
-
None exist error code after a graceful shutdown
I'd like to return a none zero exit code after a normal graceful shutdown.
My end task is to be able to send a restart event to a number of machines running my application that will gracefully shutdown and inform the shell script that started it that it wants to be restarted.
One option would be System.exit with a shutdown hook that monitors the current threads, and does not end until the other threads have also exited, but I would have to inform this hook of threads that should be allowed to finish naturally. But that seams a little [t]icky.
I guess I could write to a file, and then close down naturally. But this leaves files drifting about. I'm not overly keen on that either.
Any other suggestions? Thanks, MikeThe "worker" thread should
not be interupted, and told to exit, just left to
exit under there own steam. (when they have finished
the current job). What is the "worker" thread ? Is it what I meant with "watcher" thread ? Is that what you said or what I said ?
And, I assumed we are talking about a server-like application, that is one running indefinitely, as opposed to one that would perform a specific task and then terminate. Am I correct ?
The initalization of this new type of
shutdown/restart is currently undefined, but will
likely that the application start listening on a
socket connection. I'm sorry, I don't understand that at all.
I want this to ease deployment,
currently when I deploy a new version I type "ant
deploy", then VNC on to each of the computer
(currently just 3, but likely to be more soon) and
manually restart. What I want is to just type "ant
deploy" it sends a signal to the running copies, and
they restart themselfs. (I'm a lazy brsatard).You know this quote by Larry Wall (?) about the three most important characteristics of a programmer, don't you ?
>
and thus the exit code is already defined.Not so with what I would consider a "graceful
shutdown". Then the application would shut down as
all the threads have completed.It depends on whether having "all threads completed" is a normal part of the application's flow. If I assumed correctly we were talking about a server-like app, then it's not. Ergo the command to terminate has to be issued at some point. The question is how that gets done. For instance, if you send a CTRL-C from the shell, your application shuts down with an error code != 0.
A graceful shutdown needs to be initiated somewhere. How do you plan to do it ? -
Graceful shutdown Weblogic 6.1
Folks,
Could you please tell me know what's the command to graceful shutdown WebLogic 6.1 on UNIX? Is there any information on the website?
Thanks a lot in advance.
DamonSee this link:
http://edocs.bea.com/wls/docs61/adminguide/startstop.html#1027540
It describes how to shutdown gracefully from both the Console and from the command line.
regards,
-Ade -
IOP startup and shutdown as windows services
Hi,
Is there a way can we have IOP startup and shutdown as windows services instead of running the bat files?
Thanks,
Hari DevarapalliYes. You can install IOP as NT service and start/stop it.
Please refer to "Installing Integrated Operational Planning as an NT Service" in the IOP install guide. -
ISL Ports (E ports) on MDS 9509 are showing Gracefully Shutdown
We have an ISL connection between E mode ports of two MDS 9509 Switches . (FabricA)
Upon Health Check I found that these ISL ports on both the switches are down and when I checked syslogs on both switches they show "Interface X/X Gracefully shutdown"
I checked the Cisco document for this error which says -
"The Cisco NX-OS software implicitly performs a graceful shutdown in response to either of the following actions for interfaces operating in the E port mode:
If you shut down an interface.
If a Cisco NX-OS software application executes a port shutdown as part of its function."
So no one has shut down these ports manually and I am not sure what the second point (If a Cisco NX-OS software application executes a port shutdown as part of its function) means
I tried shut / no shut on these ports bt no go.
I need to know what could be the problem and its resolution.Hi Vishwa,
Sounds like there is a problem between switches. Look at a "show interface" and see if it is "error disabled". I don't know the topology, maybe optical equipment or patch panel between switches? You can look at the signal levels on the interfaces with "show interface fcx/x after the no shut. The signal levels are not valid if the interface is not "in sync" but you can still get an idea of no receive signal. Do a "not shut" on both sides and look at the levels. Look for other messages in the logs at the same time and post those here.
Best regards,
Jim -
WLAN Controller and Location appliance graceful shutdown?
Does anyone know if there is a supported graceful shutdown method/command for the
4400 series WLAN Controller and 2700 Location Appliances?
This weekend our server room will be undergoing maintenance and will experience a total power outage for a 4 hour period. It is our intent to manually bring all equipment down (hopefully in a graceful manner) and then back up once the maintenance is completed. As a result does anyone know if special precaution is needed to shutdown these 2 appliances, or can we simply bring down these devices hard which is the case with most other Cisco equipment?
Thanks in advanceHi Mark,
Channel 1, 6, and 11 are just about as non-overlapping as 1, 7, and 13. There's an insignificant amount of overlap, so it's just as plausible of a solution, even in Europe. I honestly don't know why you wouldn't use the extra channels to eliminate the minor overlap - every bit helps.
The "channel blanket" or "virtual cell" WLAN design philosophy is rapidly spreading. Cisco maintains that it's a standards violation and I've heard no talk of them purchasing the not-to-be-named company or of them adopting the same design philosophy. I sincerely hope that they do one of the two soon, however, because it's very good design that's difficult for Cisco to compete against. -
ILOM feature "Graceful Shutdown and Power Off"
Hi,
We are using Sunblade 6250/6270s, with a stripped down SLES linux installed. We would want to be able use the ILOM feature "Graceful Shutdown and Power Off", but have failed doing this so far. What is required from the configuration and/or operating system to support this power off alternative? I have searched but not found any information on this topic.
Thanks,
HarriThe ILOM "Graceful Shutdown and Power Off" equal you press power button.
The SLES GUI (init 5) it will popup a window to let you confirm your action when you press the power button.
In the command line interface (init 3) when you press the power button your system Graceful Shutdown and Power Offed. -
Manual startup/shutdown of windows services using command prompt or .bat
Hi,
I know that we could shutdown and start of SAP in windows using the following commands in a .bat file.
SAP:
stopsap name=<SID> nr=<SYSNR> SAPDIAHOST=<host>
startsap name=<SID> nr=<SYSNR> SAPDIAHOST=<host>
OS Collector:
saposcol -k
Oracle Listener:
lsnrctl stop / start
How about the following services:
SAPDEV_00
OracleOraHome92Agent
OracleServiceDEV
How can I stop and start of these services in a batch file?
thanks,
kbasTry,
net stop <service name>
net start <service name>
Message was edited by:
Bidwan Baruah -
Gracefully Shutting all the services pertaining to Oracle RAC 10g R2
Hi !!
Can anyone guide me in Gracefully Shutting Down All the services, processes pertaining to Oracle RAC 10g R2 - Clusterware, Oracle Software, Oracle RAC Database, Netservices, EMConsoles......
Any Scripts / Metalink ID's / Comments would be very much helpful....
Cheers n ThanksIf its for both Linux and Windows .... Then it would be better ...
-
How to shutdown Oracle9iAS Reports Services?
In DOS prompt,
rwserver server=paper_test
A pop-up window appears showing:
Oracle9iAS Reports Services
Version: 9.0.2.0.3
Name: paper_test
Status: Report Server is ready
Jobs in Queue: 0
Active Engines: 2
Another report server engine called "mywin2000" is automatically started when OC4J Instance is started.
How can I shutdown the other server engine "mywin2000"?hello,
you have to set the IN_PROCESS parameter in the rwservlet.properties to NO to prevent the in-process server from beeing started.
regards,
philipp -
Is "shutdown" = "stop Oracle services"?
When I perform a "shutdown" command from sydba:
Is this the same as if I do no shutdown but stop all the Oracle services e.g. (for XE):
XETNSListener
and
XEService
If it is more: What more?
PeterNo it is not the same. The listener and other Oracle processes like the agent are controlled differently than the database service. Please see your documentation.
Sorry forgot the link
http://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25107/toc.htm
Regards
Tim
Edited by: Tim Boles on Apr 22, 2009 8:00 AM
Maybe you are looking for
-
Flash Video Encoder Version Update
I have version 1.0 of the Flash Video Encoder. This came bundled with Adobe Web Bundle (Macromedia Studio 8 - including Flash Professional 8 and Adobe Creative Suite 2). I need version 1.2 or above in order to include metadata so my .flv files will p
-
Listen to port 25 and save incoming email as txt files
Hi I am new to JavaMail. I would apreciate some advice. I would like to use JavaMail to listen on a port such as 25 like a standard SMTP mail server, JavaMail would recieve the mails and convert them to txt file and save them on the Operating System.
-
Hi Bhavesh , my XI is PI 7.0 and SP 11. In the integration process there is a parameter : Queue Assignment , the possible values are One Queue, and so on. What thing means this ? All same bpms are put into unique queue ? Regards, Alberto
-
After installing add-on,when Firefox ask me to restart to complete installation,in extensions folder it creates staged folder,but when i restart,this folder will removed and add-on not installed. The Problem first happened when some extensions would
-
Cómo elimino hostorial de ibook?
Quiero eliminar el historial de los libros comprados. Es decir que no aparezcan más.