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.
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:
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:
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
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:
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.
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.
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