Tomcat serves two copies of webapp if context-root != project name [message #161724] |
Thu, 23 February 2006 08:42 |
Eclipse User |
|
|
|
Originally posted by: nospam.nospam.com
I've tried to bring attention to this bug before in this newsgroup. I
found yesterday that a bug report has now been filed:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=125364
This was a show stopper for me and my company, we're is still running
0.7.1 because of this perticular bug. I see in the bug report that it's
scheuduled to be fixed in 1.5 and i guess there's no point in trying to
beg for it to be fixed in 1.0.1 since its being released tomorrow =)
Still, there have to be lots of Tomcat developers that have encountered
this problem. My current project employ a listener that performs some
costly operations during startup and that while running accesses external
resources to retrieve information. If the app is run twice that
information will be corrupted and incomplete in both instances.
Would it be possible for you to provide a patch for this after 1.0.1 or a
1.0.2 release shortly thereafter?
|
|
|
|
Re: Tomcat serves two copies of webapp if context-root != project name [message #162010 is a reply to message #161800] |
Fri, 24 February 2006 22:29 |
Eclipse User |
|
|
|
Originally posted by: user.domain.invalid
Larry Isaacs wrote:
> I started a patch for this bug, but haven't found the time to deal with
> the use case of the context-root being blank to deploy as the default
> web-app. The main issue with making the change in 1.0.x is tracking down
> non-obvious places that the code would need to change to avoid any
> regression. The availability of a workaround and the limited time I've
> had available made it preferable to save for WTP 1.5.
Oh, what timing, I was just about to start a new post on this related issue!
The docBase="" is more of an issue for us; one of my clients has, alas,
a lot of absolute references (JSP links that begin with "/"), so we
can't use the WTP "run on server" until this use case is supported. We
can still use some of WTP's other functionality, of course.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03307 seconds