Re: Running tomcat from my code

2009-02-12 Thread André Warnier
Mikolaj Rydzewski wrote: André Warnier wrote: Anyway, to get back to the OP's question thus, that was not really a simple answer to his problem, was it ? He didn't say he needs simple answer. Not in so many words, Pan Mikolaj, but the general tone of the question kind of implied that. Which

Re: Running tomcat from my code

2009-02-12 Thread Mikolaj Rydzewski
André Warnier wrote: Anyway, to get back to the OP's question thus, that was not really a simple answer to his problem, was it ? He didn't say he needs simple answer. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsu

RE: Running tomcat from my code

2009-02-12 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Running tomcat from my code > > > You can embed Tomcat in your code as well. > > Can you elaborate a bit on the above, in just 2 lines ? > Don't go too deep in Java, or I would be lost. You have to be lost

Re: Running tomcat from my code

2009-02-12 Thread André Warnier
Mikolaj Rydzewski wrote: André Warnier wrote: I'm not so good at Tomcat, and even less at Java. So this is pure curiosity on my part, but maybe it could also interest the OP. Can you elaborate a bit on the above, in just 2 lines ? Don't go too deep in Java, or I would be lost. Use google ;-)

Re: Running tomcat from my code

2009-02-12 Thread Mikolaj Rydzewski
André Warnier wrote: I'm not so good at Tomcat, and even less at Java. So this is pure curiosity on my part, but maybe it could also interest the OP. Can you elaborate a bit on the above, in just 2 lines ? Don't go too deep in Java, or I would be lost. Use google ;-) http://www.onjava.com/pu

Re: Running tomcat from my code

2009-02-12 Thread André Warnier
Mikolaj Rydzewski wrote: [...] You can embed Tomcat in your code as well. I'm not so good at Tomcat, and even less at Java. So this is pure curiosity on my part, but maybe it could also interest the OP. Can you elaborate a bit on the above, in just 2 lines ? Don't go too deep in Java, or I

Re: Running tomcat from my code

2009-02-12 Thread André Warnier
Mikolaj Rydzewski wrote: [...] You can embed Tomcat in your code as well. I'm not so good at Tomcat, and even less at Java. So this is pure curiosity on my part, but maybe it could also interest the OP. Can you elaborate a bit on the above, in just 2 lines ? Don't go too deep in Java, or I

Re: Running tomcat from my code

2009-02-12 Thread Mikolaj Rydzewski
André Warnier wrote: You can probably stop and start individual *applications* within Tomcat programmatically, since that is what the Manager application does. Since that application's source code is available, you can peek in it to see how it works. Use JMX for such purpose. But to start Tomca

Re: Running tomcat from my code

2009-02-12 Thread André Warnier
антон кузнецов wrote: Hello. How can i start and stop tomcat from my own code? Something like startTomcat() and stopTomcat() methods, which in its turn calls to some of tomcat methods. (There is a problem that doesn't allow me to simply calls *.bat(*.sh) files). tomcat version = 6.0.13. Thanks f

Re: Running tomcat from my code

2009-02-12 Thread Gregor Schneider
The main question is: - Of which type is the OP's application-code? Java? C? C++? Lisp? ;) But most important. What is the OP trying to achieve? It might well be that there's a smarter solution to the original request. Rgds Gregor -- just because your paranoid, doesn't mean they're not after

Re: Running tomcat from my code

2009-02-12 Thread André Warnier
антон кузнецов wrote: Hello. How can i start and stop tomcat from my own code? Something like startTomcat() and stopTomcat() methods, which in its turn calls to some of tomcat methods. (There is a problem that doesn't allow me to simply calls *.bat(*.sh) files). tomcat version = 6.0.13. Thanks f