Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2006

Tip: Looking for answers? Try searching our database.

Using servlets/jsps to manage linux processes

Thread view: 
johndesp@gmail.com - 21 Aug 2006 17:06 GMT
I have a need to write a servlet/based j2ee implementation to run on
tomcat that can manage starting and stopping other processes on the
linux server.  Does anyone have any guidance in this area?

thanks
Arne Vajhøj - 22 Aug 2006 00:16 GMT
> I have a need to write a servlet/based j2ee implementation to run on
> tomcat that can manage starting and stopping other processes on the
> linux server.  Does anyone have any guidance in this area?

I do not like the idea. This is neither what Java or servlets
were created for.

But if you insist then look at:

Runtime.getRuntime().exec(cmdandargs);

Arne
Roland de Ruiter - 22 Aug 2006 15:39 GMT
> I have a need to write a servlet/based j2ee implementation to run on
> tomcat that can manage starting and stopping other processes on the
> linux server.  Does anyone have any guidance in this area?
>
> thanks

Seems a lot of work, while there are quite a number of these tools
already available:
<http://www.google.com/search?hl=en&q=linux+web+based+management+tool>

The first link <http://www.webmin.com/> seems to be quite promising:
freeware and it allows to "List, kill and renice running processes" with
one of its standard modules <http://www.webmin.com/standard.html>.
Signature

Regards,

Roland



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.