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.
I'm using Netbeans 6.5 under Sun's JDK 1.6.0_02 on Windows XP. For one of my apps, I have three Netbeans project directories (all subdirectories of a single location). There's $root/static_files, containing various static resources (javascript, css, images, etc.) ultimately destined for serving on our web server. There's $root/web_module, a containing the dynamic web app code (servlets, jsp, and other files used by them). These two are both Web type projects. Then there's $root/application, containing a J2EE Application type project that includes the other two projects as Jave EE Modules. I set all three to use Websphere 6.0 as their target server. I set the context paths in the web projects to /common (for the static files) and /site (for the main web app), and used the same in the application's deployment descriptor. However, I keep finding when I go into the project properties dialog for the two web projects that their context paths have changed themselves to the names of the folders that contain them i.e. /static_files and /web_module (which are, of course, the default values that I was offered when I first created the projects). I think it's restarting Netbeans that triggers this; if it's doing it during a coding session I've not noticed it, though I wouldn't swear to that. Running the app doesn't seem to be affected so long as I Run the whole lot via the application project, but it's a bit annoying if I want to run just the /site web app on its own (ultimately I'll be deploying the .war file from that one on its own anyway, the rest is just to let me run things nicely on my local machine while developing, without the page styling etc. being all messed up). When I changed the two web projects' target server setting (to Tomcat 6) it stopped doing this, so I figure it must be the Websphere server plugin that's making it do this?
Hi, I'm sorry but I'm a little confused from your description. I tried to reproduce it, but without success. Please, can you take me exact (dotted) steps how to reproduce? Thank you very much ats37.
Can you provide the requeste steps please?
No response from reporter. closing as WORKSFORME.