Hi Rajaneesh.

You could also take a look at http://cargo.codehaus.org/: "Cargo provides a Java API to start/stop and configure Java containers"

Carlos

----- Original Message ----- From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Thursday, February 03, 2005 8:05 AM
Subject: RE: Starting a tomcat from a java program



From: Rajaneesh [mailto:[EMAIL PROTECTED]
Subject: Starting a tomcat from a java program

How do I start tomcat from a java program?

If you want to just kick off an independent execution of Tomcat, use Runtime.exec() to launch the startup script appropriate for your platform. If you want to run Tomcat inside your existing JVM/process (aka embedded), you're in for a fair amount of work. Try Googling for "Tomcat" and "embedded". A starting point might be:
http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html
but it's nearly three years old, so some things have undoubtedly changed.


- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to