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.

Bug 255644 - Issues after removing a Tomcat instance
Summary: Issues after removing a Tomcat instance
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-01 15:23 UTC by ytn01
Modified: 2015-10-06 12:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (233.97 KB, text/plain)
2015-10-01 15:23 UTC, ytn01
Details
Screenshot 1 (330.83 KB, image/png)
2015-10-01 15:30 UTC, ytn01
Details
Screenshot 2 (647.10 KB, image/png)
2015-10-01 15:31 UTC, ytn01
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ytn01 2015-10-01 15:23:38 UTC
Product Version = NetBeans IDE Dev (Build 201510010328)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_66-ea
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.66-b02

Reproducibility: Haven't tried to reproduce it

After removing a tomcat 8.0.26 instance that my project was running on, I noticed several buggy behaviors.
When I attempted to close the IDE, I got a dialog that asked I wanna save changes made to file "server.xml".
This contradicts with the fact that I don't have such file opened in the editor, nor as part of my web project.

This is some of the steps I took before I got the issue.
STEPS:
  * removed the tomcat instance from services window
  * Opened project configuration (server for project is now blank)
  * Closed configuration without making changes and invoked "debug" run.
 

ACTUAL:
  1. got prompt that says "cannot save server". (screenshot attachment 1 [details])
  2. when closing IDE,  I got a dialog that asked I wanna save changes made to file "server.xml". (screenshot attachment 2 [details])
This contradicts with the fact that I don't have such file opened in the editor, nor as part of my web project.

EXPECTED:
  For (1), I should be prompted to pick server to run application on
  For (2), I shouldn't be seeing such dialog at all
Comment 1 ytn01 2015-10-01 15:23:42 UTC
Created attachment 156476 [details]
IDE log
Comment 2 Jiri Kovalsky 2015-10-01 15:29:21 UTC
Reassigned for further evaluation.
Comment 3 ytn01 2015-10-01 15:30:53 UTC
Created attachment 156477 [details]
Screenshot 1
Comment 4 ytn01 2015-10-01 15:31:19 UTC
Created attachment 156478 [details]
Screenshot 2
Comment 5 Petr Hejl 2015-10-01 18:03:00 UTC
Not a P2.
Comment 6 Petr Hejl 2015-10-06 12:37:43 UTC
The messages are coming from the low level infrastructure. Would be great if you could get a thread dump (http://wiki.netbeans.org/GenerateThreadDump) next time this happens.
Comment 7 Petr Hejl 2015-10-06 12:39:33 UTC
BTW Do you run NB with administrative privileges so it has access to server.xml stored under Program Files?