Re: possible to define/deploy a context but not start it?

2010-06-02 Thread Jeff Ramin
I've been experimenting some more, and can't seem to find a solution to my situation. Deploying an app via JMX seems to be broken. Anybody have any ideas, or is this unworkable? Thanks. On 06/01/2010 01:20 PM, Caldarale, Charles R wrote: From: Jeff Ramin [mailto:jeff.ra...@singlewire.com]

Re: possible to define/deploy a context but not start it?

2010-06-02 Thread Pid
On 02/06/2010 16:28, Jeff Ramin wrote: I've been experimenting some more, and can't seem to find a solution to my situation. Deploying an app via JMX seems to be broken. Anybody have any ideas, or is this unworkable? What did you try and what log messages did you see? Were there any

Re: possible to define/deploy a context but not start it?

2010-06-02 Thread Jeff Ramin
When I run jconsole against my tomcat instance, the Catalina/Deployer/localhost/operations/manageApp button is broken. I assume this is the same behavior Charles mentioned below, when he said he was unable to get it to work. No stacktraces or log entries, as it doesn't seem possible from

Re: possible to define/deploy a context but not start it?

2010-06-02 Thread Konstantin Kolinko
2010/6/2 Jeff Ramin jeff.ra...@singlewire.com: I've been experimenting some more, and can't seem to find a solution to my situation. Deploying an app via JMX seems to be broken. The manager webapp uses JMX. So it should be working. (Maybe not the methods that you are trying to use -- I do

Re: possible to define/deploy a context but not start it?

2010-06-02 Thread Jeff Ramin
On 06/02/2010 11:54 AM, Konstantin Kolinko wrote: I do not know what are those the WebModule beans that you mentioned and how they do work, are deployed etc. The WebModule stuff is available through jconsole when an app has been deployed. They can be used to start/stop a web app. However,

Re: possible to define/deploy a context but not start it?

2010-06-02 Thread Jeff Ramin
If anybody has the time and is willing to give this a try, I'd like to know if it's possible to deploy a webapp via JMX/jconsole in either tomcat 5.5.x or 6.0.x. I can't seem to do it, although it's possible I have a configuration problem. Thanks. On 06/02/2010 11:54 AM, Konstantin

Re: possible to define/deploy a context but not start it?

2010-06-02 Thread Konstantin Kolinko
2010/6/2 Jeff Ramin jeff.ra...@singlewire.com: If anybody has the time and is willing to give this a try, I'd like to know if it's possible to deploy a webapp via JMX/jconsole in either tomcat 5.5.x or 6.0.x. I can't seem to do it, although it's possible I have a configuration problem.

Re: possible to define/deploy a context but not start it?

2010-06-02 Thread Jeff Ramin
Thanks Konstantin. However, that source code achieves deployment by copying/unpacking a war file to tomcat's webapps directory. What I want to be able to do is already have a context defined, and simply get it deployed/started. I would hope this is possible without resorting to file system

Re: possible to define/deploy a context but not start it?

2010-06-01 Thread Jeff Ramin
On 05/29/2010 08:30 AM, Konstantin Kolinko wrote: 2010/5/29 Pidp...@pidster.com: On 28/05/2010 19:07, Jeff Ramin wrote: Running tomcat 5.5.20. Is there a way to configure tomcat such that it is aware of a webapp (context), but doesn't start it (process requests) when tomcat starts?

Re: possible to define/deploy a context but not start it?

2010-06-01 Thread Pid
On 01/06/2010 17:36, Jeff Ramin wrote: On 05/29/2010 08:30 AM, Konstantin Kolinko wrote: 2010/5/29 Pidp...@pidster.com: On 28/05/2010 19:07, Jeff Ramin wrote: Running tomcat 5.5.20. Is there a way to configure tomcat such that it is aware of a webapp (context), but doesn't start

RE: possible to define/deploy a context but not start it?

2010-06-01 Thread Caldarale, Charles R
From: Jeff Ramin [mailto:jeff.ra...@singlewire.com] Subject: Re: possible to define/deploy a context but not start it? Deploying a webapplication, though, always starts it. If a webapplication is included as aContext element in server.xml (usually not recommended), it is always

Re: possible to define/deploy a context but not start it?

2010-06-01 Thread Jeff Ramin
On 06/01/2010 11:45 AM, Pid wrote: On 01/06/2010 17:36, Jeff Ramin wrote: On 05/29/2010 08:30 AM, Konstantin Kolinko wrote: 2010/5/29 Pidp...@pidster.com: On 28/05/2010 19:07, Jeff Ramin wrote: Running tomcat 5.5.20. Is there a way to configure tomcat such that

Re: possible to define/deploy a context but not start it?

2010-06-01 Thread Jeff Ramin
On 06/01/2010 11:46 AM, Caldarale, Charles R wrote: From: Jeff Ramin [mailto:jeff.ra...@singlewire.com] Subject: Re: possible to define/deploy a context but not start it? Deploying a webapplication, though, always starts it. If a webapplication is included as aContext element in

RE: possible to define/deploy a context but not start it?

2010-06-01 Thread Caldarale, Charles R
From: Jeff Ramin [mailto:jeff.ra...@singlewire.com] Subject: Re: possible to define/deploy a context but not start it? Yes, I've done this. However, I don't see a way to deploy/start my app. If I start jconsole when starting tomcat like this, the WebModule beans I would use to deploy/start

Re: possible to define/deploy a context but not start it?

2010-06-01 Thread Jeff Ramin
On 06/01/2010 01:20 PM, Caldarale, Charles R wrote: From: Jeff Ramin [mailto:jeff.ra...@singlewire.com] Subject: Re: possible to define/deploy a context but not start it? Yes, I've done this. However, I don't see a way to deploy/start my app. If I start jconsole when starting tomcat like this,

Re: possible to define/deploy a context but not start it?

2010-05-29 Thread Konstantin Kolinko
2010/5/29 Pid p...@pidster.com: On 28/05/2010 19:07, Jeff Ramin wrote: Running tomcat 5.5.20. Is there a way to configure tomcat such that it is aware of a webapp (context), but doesn't start it (process requests) when tomcat starts? Kinda.  Examine the docs, look at the Host and Context

Re: possible to define/deploy a context but not start it?

2010-05-29 Thread Jeff Hubbs
Thanks for explaining this, Konstantin - I was wondering about this also. - Jeff On 5/29/10 9:30 AM, Konstantin Kolinko wrote: 2010/5/29 Pidp...@pidster.com: On 28/05/2010 19:07, Jeff Ramin wrote: Running tomcat 5.5.20. Is there a way to configure tomcat such that it is aware of a

Re: possible to define/deploy a context but not start it?

2010-05-28 Thread Pid
On 28/05/2010 19:07, Jeff Ramin wrote: Running tomcat 5.5.20. Is there a way to configure tomcat such that it is aware of a webapp (context), but doesn't start it (process requests) when tomcat starts? Kinda. Examine the docs, look at the Host and Context attributes, for