dev@glassfish.java.net

docroot/index.html and upgrades

From: Bobby Bissett <Robert.Bissett_at_Sun.COM>
Date: Wed, 30 Sep 2009 11:01:47 -0400

Hi all,

When a domain is upgraded from 'version X' to v3, docroot/index.html
comes along for the ride unchanged. So if a user starts up v3 and hits
localhost:8080, there will be a message saying that the server is
version X instead. You'll have to trust me (for now), but there's an
issue filed:

https://glassfish.dev.java.net/issues/show_bug.cgi?id=9814

I don't think this is a bug since the proper thing happened and the
html page is shown unchanged, but do we want to handle this case to
avoid confusion? The fix is simple in theory (copy over the one in lib/
templates), but then we're losing an html file that could have been
changed by the user at some point, which is a potentially Bad Idea.

So I'd rather just document this behavior. Any objections?

Cheers,
Bobby