no main in Embedded.java

2003-10-23 Thread Mark W. Webb
I was looking at the tomcat 5.0.12 source and noticed that the file Embedded.java does not contain a main. I think that there should be one, since catalina.sh references this class as the entry point to start tomcat. PS. I do alot of work with embedded java and would like to help out more.

Re: no main in Embedded.java

2003-10-23 Thread Jean-Francois Arcand
The Embedded.main has been removed a long time ago (at the time of introducing JMX). As for the sh/bat, I did remove the option2 days ago (just browse the list). The JMX approach is in my opinion a good alternative:

Re: no main in Embedded.java

2003-10-23 Thread Remy Maucherat
Jean-Francois Arcand wrote: The Embedded.main has been removed a long time ago (at the time of introducing JMX). As for the sh/bat, I did remove the option2 days ago (just browse the list). The JMX approach is in my opinion a good alternative:

Re: no main in Embedded.java

2003-10-23 Thread Mark W. Webb
Thanks for the information. I downloaded the tomcat-embedded tarball that you referenced. It looks very minimal, which is nice. Just a couple of points that I hope you can answer, my customer has some rigid requirements that I must follow: 1. The tomcat that I provide to the customer must be

Re: no main in Embedded.java

2003-10-23 Thread Jean-Francois Arcand
Remy Maucherat wrote: Jean-Francois Arcand wrote: The Embedded.main has been removed a long time ago (at the time of introducing JMX). As for the sh/bat, I did remove the option2 days ago (just browse the list). The JMX approach is in my opinion a good alternative:

Re: no main in Embedded.java

2003-10-23 Thread Mark W. Webb
My main motivation for this is that I am looking for a way to start embedded Tomcat from within a C program using the Invocation API. What would be the new entry point class that I should look? Whatever this class is, its the one that I want to call from my C program. Thank you.

Re: no main in Embedded.java

2003-10-23 Thread Remy Maucherat
Mark W. Webb wrote: My main motivation for this is that I am looking for a way to start embedded Tomcat from within a C program using the Invocation API. What would be the new entry point class that I should look? Whatever this class is, its the one that I want to call from my C program.

Re: no main in Embedded.java

2003-10-23 Thread Mark W. Webb
Forgive me if I am sounding like a complete idiot. But are you saying that I should use the JMX API in order to launch tomcat? After looking at some of the MX4J example code, this is the case. But I am not sure what class I should call from the JMX code in order to get Tomcat to start. I