-
1. Re: JBoss AS6 - Send server to sleep
peterj May 31, 2011 8:40 AM (in response to ronsen)Sorry, there is no "sleep" option.
-
2. Re: JBoss AS6 - Send server to sleep
ronsen May 31, 2011 9:49 AM (in response to peterj)But probably any Idea how to implement such a feature? Like Halt/Sleep or anything comparable so that the server can be "revived"?
-
3. Re: JBoss AS6 - Send server to sleep
peterj May 31, 2011 10:08 AM (in response to ronsen)Do you have Jopr (http://www.jboss.org/jopr)? That might have the ability to stop and start individual instances; it's been a while since I played with Jopr so I couldn't say for sure that it has that capability. I think that the commercial version of Jopr, JBoss Operations Network, has the start/stop capability.
-
4. Re: JBoss AS6 - Send server to sleep
ronsen Jun 1, 2011 3:31 AM (in response to peterj)Mhm, ok thanks. But i'm actually writing an application for my own needs and would like to try to implement this feature into this tool.
The stop possibility works the same way the shutdown works, but for some reason the servers goes down by executing it. Thats why i actually try to find a way to set the server into a kind of a "stand-by" mode.
-
5. Re: JBoss AS6 - Send server to sleep
peterj Jun 1, 2011 9:51 AM (in response to ronsen)As I stated before, there is no "stand-by" mode. What you need is a way to remtely start the app server. Is the app server running on Linux? If so, you could senf a command via ssh to start the app server. This woul probably work better if JBoos AS was registered as a service (in /etc/init.d). And actually, if you are on Windows you could set up JBoss AS as a service there also and there are numerous ways to remotely stop/start services on Windows.
-
6. Re: JBoss AS6 - Send server to sleep
ronsen Jun 9, 2011 3:52 AM (in response to peterj)I had the same idea with the services, but i thought theres probably another way that has been implemented / proofed.
Anyway, thanks.