You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Josh Gooding <jo...@gmail.com> on 2012/12/05 15:27:59 UTC
auto-undeploy Old Context patch
hey guys,
I know this has been talked about before rumored to have been worked on,
but I'm not sure if it was or has been implemented, or if it is still even
in progress. I'm at the point in my day time job where this could be
extremely valuable, and I'm sure that it would be valuable to other
organizations as well. Of course it helps that I'm of the mind set of
letting the server manage as much as it can (because usually it "knows"
best), but it's less to keep track of, and potentially less human induced
errors.
I'd like to get setup (if no one is working on this currently), and
implement something like this. Is there anyone who has issues with this?
- Josh
Re: auto-undeploy Old Context patch
Posted by Konstantin Kolinko <kn...@gmail.com>.
2012/12/5 Josh Gooding <jo...@gmail.com>:
> hey guys,
>
> I know this has been talked about before rumored to have been worked on,
> but I'm not sure if it was or has been implemented, or if it is still even
> in progress. I'm at the point in my day time job where this could be
> extremely valuable, and I'm sure that it would be valuable to other
> organizations as well. Of course it helps that I'm of the mind set of
> letting the server manage as much as it can (because usually it "knows"
> best), but it's less to keep track of, and potentially less human induced
> errors.
>
> I'd like to get setup (if no one is working on this currently), and
> implement something like this. Is there anyone who has issues with this?
1. Please define what you mean by "this".
2. Do you mean the feature that is already implemented in 7.0.32 ? See
release announcement at
http://tomcat.apache.org/oldnews.html
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: auto-undeploy Old Context patch
Posted by Josh Gooding <jo...@gmail.com>.
On Sat, Dec 8, 2012 at 9:59 PM, Konstantin Kolinko
<kn...@gmail.com>wrote:
> 2012/12/9 Josh Gooding <jo...@gmail.com>:
> > Sounds good. I grabbed the source and have it imported into Eclipse.
> If I
> > can ask here:
> >
>
> Do not top-post
> http://en.wikipedia.org/wiki/Posting_style
>
Oh sorry about that, I'll try to remember that in the future.
>
> > I'm developing on a Win-x64 Environment using JDK 1.6.0_34. I am
> following
> > along with the BUILDING.txt file and have taken the default
> > build.properties.default and used it to create a standard
> build.properties
> > file. I have the parameter: base.path=C:/Users/Josh/workspace/TC7 set
> > where the trunk is checked out to.
>
> It is a bas idea. It is better to point it to some empty directory. It
> is where the libraries will be downloaded.
>
> > I run the build.xml from my IDE and I get 15 compile errors from the
> > \tomcat7-deps\dbcp\src\java\org\apache\tomcat\dbcp\dbcp\ package. The
> > firsts compiler error I get (just as an example) is:
> >
> > BasicDataSource is not abstract and does not override abstract method
> > getParentLogger() in CommonDataSource
> >
> > Any clues to what would cause this? Since I haven't gotten the project
> off
> > the ground and building yet, I'm just curious if it could be my setup or
> if
> > there is some other underlying issue.
>
> DBCP cannot be compiled with Java 7, because of new methods in JDBC
> classes that it implements. I'd say that your Ant build is using JDK
> 7 instead of that 1.6.0_34.
>
Seemes to be the issue(s) I was having. Ok, I am looking at your bugzilla
log. Thanks Konstantin for getting me all
Warmest Regards,
Josh
Re: auto-undeploy Old Context patch
Posted by Konstantin Kolinko <kn...@gmail.com>.
2012/12/9 Josh Gooding <jo...@gmail.com>:
> Sounds good. I grabbed the source and have it imported into Eclipse. If I
> can ask here:
>
Do not top-post
http://en.wikipedia.org/wiki/Posting_style
> I'm developing on a Win-x64 Environment using JDK 1.6.0_34. I am following
> along with the BUILDING.txt file and have taken the default
> build.properties.default and used it to create a standard build.properties
> file. I have the parameter: base.path=C:/Users/Josh/workspace/TC7 set
> where the trunk is checked out to.
It is a bas idea. It is better to point it to some empty directory. It
is where the libraries will be downloaded.
> I run the build.xml from my IDE and I get 15 compile errors from the
> \tomcat7-deps\dbcp\src\java\org\apache\tomcat\dbcp\dbcp\ package. The
> firsts compiler error I get (just as an example) is:
>
> BasicDataSource is not abstract and does not override abstract method
> getParentLogger() in CommonDataSource
>
> Any clues to what would cause this? Since I haven't gotten the project off
> the ground and building yet, I'm just curious if it could be my setup or if
> there is some other underlying issue.
DBCP cannot be compiled with Java 7, because of new methods in JDBC
classes that it implements. I'd say that your Ant build is using JDK
7 instead of that 1.6.0_34.
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: auto-undeploy Old Context patch
Posted by Josh Gooding <jo...@gmail.com>.
Sounds good. I grabbed the source and have it imported into Eclipse. If I
can ask here:
I'm developing on a Win-x64 Environment using JDK 1.6.0_34. I am following
along with the BUILDING.txt file and have taken the default
build.properties.default and used it to create a standard build.properties
file. I have the parameter: base.path=C:/Users/Josh/workspace/TC7 set
where the trunk is checked out to.
I run the build.xml from my IDE and I get 15 compile errors from the
\tomcat7-deps\dbcp\src\java\org\apache\tomcat\dbcp\dbcp\ package. The
firsts compiler error I get (just as an example) is:
BasicDataSource is not abstract and does not override abstract method
getParentLogger() in CommonDataSource
Any clues to what would cause this? Since I haven't gotten the project off
the ground and building yet, I'm just curious if it could be my setup or if
there is some other underlying issue.
- Josh
On Wed, Dec 5, 2012 at 2:29 PM, Mark Thomas <ma...@apache.org> wrote:
> On 05/12/2012 15:37, Josh Gooding wrote:
> > Ah, looks like I'm pulling the newest version into production on the 9th
> > then.
> >
> > As for helping out in other places, I'm more than game. Just point me in
> > the right direction, I'll see what I can do to help TC out. I figure
> I've
> > used it and abused it, recommended it, and migrated companies over to it
> > enough, it's time. Even if it is something as simple as fixing this poor
> > page:
> >
> > http://tomcat.apache.org/tomcat-7.0-doc/config/cluster-listener.html ;)
>
> Great. The more the merrier.
>
> If you fancy fixing that page as a starting point - go for it. The
> source is here:
>
> http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/config/cluster-listener.xml
>
> We always work on trunk and then back-port (via svn merge) fixes back to
> 7.0.x and sometimes 6.0.x.
>
> Once you have a patch, create a bugzilla issue and attach your patch in
> diff -u format.
>
>
> After that I suggest taking your pick of the open issues in BugZilla or
> if web design is an area of interest the docs and the website are in
> need of a major makeover. Really, it is whatever takes your fancy. If
> you have ideas for new features it is best it discuss them here first in
> case one of the devs has an objection.
>
> Cheers,
>
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>
Re: auto-undeploy Old Context patch
Posted by Mark Thomas <ma...@apache.org>.
On 05/12/2012 15:37, Josh Gooding wrote:
> Ah, looks like I'm pulling the newest version into production on the 9th
> then.
>
> As for helping out in other places, I'm more than game. Just point me in
> the right direction, I'll see what I can do to help TC out. I figure I've
> used it and abused it, recommended it, and migrated companies over to it
> enough, it's time. Even if it is something as simple as fixing this poor
> page:
>
> http://tomcat.apache.org/tomcat-7.0-doc/config/cluster-listener.html ;)
Great. The more the merrier.
If you fancy fixing that page as a starting point - go for it. The
source is here:
http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/config/cluster-listener.xml
We always work on trunk and then back-port (via svn merge) fixes back to
7.0.x and sometimes 6.0.x.
Once you have a patch, create a bugzilla issue and attach your patch in
diff -u format.
After that I suggest taking your pick of the open issues in BugZilla or
if web design is an area of interest the docs and the website are in
need of a major makeover. Really, it is whatever takes your fancy. If
you have ideas for new features it is best it discuss them here first in
case one of the devs has an objection.
Cheers,
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: auto-undeploy Old Context patch
Posted by Josh Gooding <jo...@gmail.com>.
Ah, looks like I'm pulling the newest version into production on the 9th
then.
As for helping out in other places, I'm more than game. Just point me in
the right direction, I'll see what I can do to help TC out. I figure I've
used it and abused it, recommended it, and migrated companies over to it
enough, it's time. Even if it is something as simple as fixing this poor
page:
http://tomcat.apache.org/tomcat-7.0-doc/config/cluster-listener.html ;)
- Josh
On Wed, Dec 5, 2012 at 9:34 AM, Mark Thomas <ma...@apache.org> wrote:
> On 05/12/2012 14:27, Josh Gooding wrote:
> > hey guys,
> >
> > I know this has been talked about before rumored to have been worked on,
> > but I'm not sure if it was or has been implemented, or if it is still
> even
> > in progress. I'm at the point in my day time job where this could be
> > extremely valuable, and I'm sure that it would be valuable to other
> > organizations as well. Of course it helps that I'm of the mind set of
> > letting the server manage as much as it can (because usually it "knows"
> > best), but it's less to keep track of, and potentially less human induced
> > errors.
> >
> > I'd like to get setup (if no one is working on this currently), and
> > implement something like this. Is there anyone who has issues with this?
>
> Already implemented :)
>
> See http://issues.apache.org/bugzilla/show_bug.cgi?id=52777
> You need 7.0.32 or higher.
>
> http://tomcat.apache.org/tomcat-7.0-doc/config/host.html
> undeployOldVersions
>
>
> If you would like to get involved in Tomcat development, there are
> plenty of other places where help is required.
>
> Mark
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>
Re: auto-undeploy Old Context patch
Posted by Mark Thomas <ma...@apache.org>.
On 05/12/2012 14:27, Josh Gooding wrote:
> hey guys,
>
> I know this has been talked about before rumored to have been worked on,
> but I'm not sure if it was or has been implemented, or if it is still even
> in progress. I'm at the point in my day time job where this could be
> extremely valuable, and I'm sure that it would be valuable to other
> organizations as well. Of course it helps that I'm of the mind set of
> letting the server manage as much as it can (because usually it "knows"
> best), but it's less to keep track of, and potentially less human induced
> errors.
>
> I'd like to get setup (if no one is working on this currently), and
> implement something like this. Is there anyone who has issues with this?
Already implemented :)
See http://issues.apache.org/bugzilla/show_bug.cgi?id=52777
You need 7.0.32 or higher.
http://tomcat.apache.org/tomcat-7.0-doc/config/host.html
undeployOldVersions
If you would like to get involved in Tomcat development, there are
plenty of other places where help is required.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org