|
From: Subramani, G. \(GE H. non-ge\) <Gna...@me...> - 2005-02-25 15:36:19
|
Hi,
I am running Jboss on unix. Erik, what you have said, is exactly what I =
need. I am new to the Java Service Wrapper. I went through the list of =
wrapper properties, but nothing seemed to be of use for my purpose. =
Would appreciate if you list the steps you have taken to accomplish =
this.=20
Thanks & Regards,
-GnanaShekar-=20
-----Original Message-----
From: wra...@li...
[mailto:wra...@li...]On Behalf Of Love, Erik
Sent: Friday, February 25, 2005 8:46 AM
To: wra...@li...
Subject: RE: [Wrapper-user] On Demand Restarts
Are you wanting to restart it on a scheduled basis or "on change"? One =
of my wrapper-based apps gets a list of jars from a directory, including =
date/time and filesize information, and when any of those changes (or a =
new one is added), it automatically tells all of the spawned threads =
that it needs to restart, waits for them to restart and then calls the =
wrapper method to restart the jvm. It works very well.
The whole key to mine is that the main wrapper application is just a =
management thread. It sits idle for a pre-determined time (example 2 =
minutes) and then checks to see if it needs to do anything such as =
launch a subprocess through an exec() command or spawn a thread.
-----Original Message-----
From: wra...@li...
[mailto:wra...@li...]On Behalf Of Mattias
Ternert
Sent: Friday, February 25, 2005 4:13 AM
To: wra...@li...
Subject: SV: [Wrapper-user] On Demand Restarts
If you are using windows you can schedule your services to be restarted. =
Check that the services Task Scheduler is started, you can then schedule =
your services to be restarted by opening a dos-window and use the =
commands "at" end "net start "<service name>" "net stop "<service =
name>".
//Mattias
-----Ursprungligt meddelande-----
Fr=E5n: wra...@li...
[mailto:wra...@li...]F=F6r Subramani,
GnanaShekar (GE Healthcare, non-ge)
Skickat: den 24 februari 2005 17:31
Till: wra...@li...
=C4mne: [Wrapper-user] On Demand Restarts
Hi,
I have used integration method1 for JSW(Java Service Wrapper) to be able =
to start JBoss. =20
I want JBoss to be restarted automatically as and when there are changes =
made for its configuration files at ${JBoss_Home}/server/default/conf . =
This is the main purpose, I am using JSW for JBoss. I don't know what =
to do next. Please guide.
Thanks & Regards,
-GnanaShekar-
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dick
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dick
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dclick
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|