| From: Yiannis Mavroukakis [mailto:[EMAIL PROTECTED]
| Sent: Tuesday, January 23, 2007 04:29
|
| The application I am writing this for is a server daemon which has a cli
| that enables the user to issue commands to it once it's up and running.
Can you just fire up a shell (System.getRuntime().ex
On further reading...
Server server = new Server(8080);
Context root = new Context(server,"/",Context.SESSIONS);
root.addServlet(new ServletHolder(new HelloServlet("Ciao")), "/*");
server.start();
You can pass the interface to your application into the HelloServlet's
constructor.
My app actuall
Hi,
I have done something similar, but used Jetty [1] as I couldn't figure
out how to get tomcat to do it..
My application registers a servlet and starts jetty. the servlet gets
the interface to the application via a static method. But it all works
OK. Maybe you could set the application interfa
Oh no, I mean the exact opposite :)
-
| Application |
| |
|---|
|Embedded TC|
-
The application I am writing this for is a server daemon which has a cli
that enables the user to issue commands to it once it's up and running.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yiannis,
Yiannis Mavroukakis wrote:
> The scenario is a server daemon that has a cli for runtime
> configuration and status.
Oh, so you want to be able to reconfigure Tomcat remotely. I assume that
you are talking about more interesting things than
Hi Chris,
The scenario is a server daemon that has a cli for runtime configuration and
status.
I intend to use embedded tomcat to replace/augment that cli and I have actually
done
so succesfully, using RMI but I was wondering whether there was some other
solution that allows
Tomcat to communic
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yiannis,
Yiannis Mavroukakis wrote:
> Hello,
>
> I have the following scenario. I wish to integrate tomcat into an
> existing server application , so that a webapp can send configuration
> commands and query that application's status . Browsing throu