> -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Costin Manolache > > If you execute the "emebed" target in tomcat5, you'll get an > embed/ dir, and inside you'll have a lib/ with an ( almost ) > minimal set of jars - you can rejar them in a single jar if > you really want. >
What I ment was a catalina.bat or catalina.sh embedded calling o.a.c.s.Embedded > The tomcat-ant.xml file is a sample on how to embed tomcat - > all you have to do is to make the same JMX calls in your > favorite application ( where you embed tomcat ). > > In other words - you'll need to create > o.a.commons.modeler.BaseModelMBean > components, with a String constructor ( the name of the > tomcat class ). Then set all the attributes you want, and > call init()/start(). > > Get it first working with ant, it's easier. > I'll try. > It works for me :-) > Cool ;-) MT. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]