Hi Shapira, Thanks, you are great, I have actually looked at that class and I thought there was more. Anyway, I think I can handle from here on.
Thanks, Ike -----Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 2:04 PM To: Tomcat Users List Subject: RE: Does tomcat has an embeddable version like Jetty webserver? Hi, >Where did you say that I could find a sample on how to embedd tomcat into >my application, specifically, load a war file and set all the contexts >in order to have my application accept http requests? <sigh /> Posts like that make me want to give up on this list ;( I directed you to the JavaDoc for the Embedded class. That page says "IMPLEMENTATION NOTE: The main() method of this class is a simple example that exercizes the features of dynamically starting and stopping various components. You can execute this by executing the following steps (on a Unix platform): cd $CATALINA_HOME ./bin/catalina.sh embedded" So you can follow whatever mechanism you like to get the source of the embedded class (download a tomcat source distro, use the public Apache CVS server, whatever), and look at the main method. Yoav Shapira > >Thanks, > >Ike > > >-----Original Message----- >From: Shapira, Yoav [mailto:[EMAIL PROTECTED] >Sent: Monday, March 22, 2004 9:44 AM >To: Tomcat Users List >Subject: RE: Does tomcat has an embeddable version like Jetty webserver? > > > >Hi, >Sure, see the Embedded class JavaDoc at >http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/index . >html. It also points you to an example usage supplied with tomcat. > >I won't get into an argument over who had an embedded version first, >tomcat or jetty ;) > >Yoav Shapira >Millennium Research Informatics > > >>-----Original Message----- >>From: Ikonne, Ike [mailto:[EMAIL PROTECTED] >>Sent: Monday, March 22, 2004 10:40 AM >>To: '[EMAIL PROTECTED]' >>Subject: Does tomcat has an embeddable version like Jetty webserver? >> >> >>Hi all, >> >>I would like to know if tomcat has an embeddable version like Jetty >>webserver provide? >> >>Thanks, >> >>Ike >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] > > > > >This e-mail, including any attachments, is a confidential business >communication, and may contain information that is confidential, >proprietary >and/or privileged. This e-mail is intended only for the individual(s) to >whom it is addressed, and may not be saved, copied, printed, disclosed or >used by anyone else. If you are not the(an) intended recipient, please >immediately delete this e-mail from your computer system and notify the >sender. Thank you. > > >--------------------------------------------------------------------- >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] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- 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]
