This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Currently using NB 7.0 and GF 3.1 under WinXP-SP3. After upgrading from NB 6.9.1 to 7.0, used 7.0 to clean/rebuild and redeploy several existing web projects. Afterwards, experienced "resource not found" errors when attempting to access these web apps in IE. Errors were observed on both the local development instance of GF 3.1 (in-place deployment) as well as a remote development instance of GF 3.1 (war auto-deployment) to which these apps were redeployed. After investigating, discovered that NB had added an underscore character to the beginning of the context root name of each of the web projects that had simply been rebuilt and redeployed. Further, noticed that NB 7.0 also adds an underscore at the beginning of the default context root name when creating a new web project. Did not observe either of these behaviors in previous versions of NB.
Do you have a sample project that demonstrates this behavior? Can you provide step-by-step instructions on how to reproduce this issue?
also... Java web -> Web Application or Maven -> Mave web Application???
I haven't been able to replicate this so far. Here is what I did... 1. started NB 6.9 2. used the update center to upgrade that IDE to 6.9.1 3. created a 'Java Web -> Web Application' that targeted the 3.0 server that is bundled with 6.9. 4. ran the project created in step 3. it ran successfully 5. Stopped the IDE 6. Started NB 7.0 7. opened the project created in step 3. 8. ran the project The app built and was then deployed onto GF 3.1 (which is bundled with 7.0) The app ran successfully. I did not see any underscores in the context-root of the app.
Notes from a direct email from the filer... A couple of additional details... Prior to installing NB 7.0, I was using NB 6.9.1 with GF 3.1, not 3.0. (Yes, I had seen the warnings about using GF 3.1 with NB 6.9.1 but did anyway.) Since I updated GF to 3.1 relatively recently using the GF Update Center (I download/install GF separately rather than using the version bundled with NB), I can't recall whether I'd actually used 6.9.1 to deploy any apps to GF 3.1 before installing NB 7.0. In any event, I then installed NB 7.0 and, to test my setup, did clean/rebuilds and redeployed each web app to GF 3.1. It was then that I received all of the "resource not found" errors and subsequently discovered that NB had added the underscore to the context name of each app. Once I discovered this, I simply had to edit the properties of each web project to remove the underscore from the context name, rebuild and redeploy and everything worked fine again. Perhaps it had something to do with my using NB 6.9.1 with GF 3.1 (identifying GF as a GF 3.0 server since NB 6.9.1 didn't yet support GF 3.1.) In any event, I have tried creating a couple new web projects and haven't yet been able to reproduce the problem. If I do, I'll get back in touch and provide the details.
it looks like the filer has not been able to reproduce this and the evolution of the environment is a bit ambiguous. Lowering to p4. Will raise if others report this or I get more details from the filer that clarify the evolution.
Looks like vince was unable to get more details. I'm closing this issue now. Feel free to reopen it if you still see this issue in NetBeans 7.3 (current beta) or later.