Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Tomcat serves two copies of webapp if context-root != project name
Tomcat serves two copies of webapp if context-root != project name [message #161724] Thu, 23 February 2006 08:42 Go to next message
Eclipse UserFriend
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 #161800 is a reply to message #161724] Thu, 23 February 2006 19:34 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
Hi Tobias,

I assume there is a reason you can't rename the project to match the
context-root setting. It's the easiest way to duck this issue. I'm not
sure for how many, this limitation is a problem.

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
webapp. 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.

Cheers,
Larry


Tobias Mattsson wrote:
> 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 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: Tomcat serves two copies of webapp if context-root != project name [message #162019 is a reply to message #161724] Sat, 25 February 2006 13:29 Go to previous message
David Williams is currently offline David WilliamsFriend
Messages: 722
Registered: July 2009
Senior Member
On Thu, 23 Feb 2006 03:42:37 -0500, Tobias Mattsson <nospam@nospam.com> wrote:


>
> Would it be possible for you to provide a patch for this after 1.0.1 or a
> 1.0.2 release shortly thereafter?
>

As a matter or practice, may I suggest you document your "plea" (i.e. the impact the bug
has on you and your organizaion) in the bug itself, also. It's like a "vote with weight".
Of course, that may not effect if/when someone volunteers to fix it :) ... but, its nice
to have a record of impacts.

Thanks,
Previous Topic:'No server type definition' for geronimo
Next Topic:Stop automatic Publishing
Goto Forum:
  


Current Time: Thu Mar 28 16:28:28 GMT 2024

Powered by FUDForum. Page generated in 0.04051 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top