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 252583 - Sometimes changing from glassfish to tomcat hangs NetBeans
Summary: Sometimes changing from glassfish to tomcat hangs NetBeans
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-26 09:31 UTC by MackSix
Modified: 2015-08-11 15:42 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (283.70 KB, image/png)
2015-05-26 09:31 UTC, MackSix
Details
log file (124.51 KB, text/plain)
2015-05-26 09:31 UTC, MackSix
Details
thread dump (67.25 KB, text/plain)
2015-05-26 09:32 UTC, MackSix
Details
log file 2 (110.77 KB, text/plain)
2015-05-26 09:55 UTC, MackSix
Details
thread dump 2 (59.75 KB, text/plain)
2015-05-26 09:56 UTC, MackSix
Details
log file part 2 - messages.log (17.09 KB, application/octet-stream)
2015-08-11 15:40 UTC, zmirc
Details
log file part 1 - messages.log.1 (1.00 MB, application/octet-stream)
2015-08-11 15:41 UTC, zmirc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2015-05-26 09:31:25 UTC
Created attachment 153859 [details]
Screenshot

Occationally when changing servers on a JSP project from Glassfish 4.1 to Tomcat 8.0.22, NetBeans will hang. 

A Saving Project Data dialog box stays up and says Saving Project data... 

Also, Background Scanning of Project is indicated on the status bar. (See attached screenshot)

I have to kill NetBeans and restart it. 

See attached logfile and thread dump.

Product Version: NetBeans IDE Dev (Build 201505170001)
Updates: Updates available
Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b15
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 MackSix 2015-05-26 09:31:53 UTC
Created attachment 153860 [details]
log file
Comment 2 MackSix 2015-05-26 09:32:23 UTC
Created attachment 153861 [details]
thread dump
Comment 3 MackSix 2015-05-26 09:55:59 UTC
Created attachment 153864 [details]
log file 2

Here is another log file from when it happened again.
Comment 4 MackSix 2015-05-26 09:56:54 UTC
Created attachment 153865 [details]
thread dump 2

Here is the corresponding thread dump from when it happened again.
Comment 5 Petr Hejl 2015-06-01 10:13:48 UTC
Deadlock between BookmarkManager and project Mutex.
Comment 6 zmirc 2015-08-11 15:38:18 UTC
I think I got the same issue, while changing from one TomEE server to another TomEE server (I have several TomEE servers registered in NetBeans, one for each client).

When I pressed save, I ended up with the "Saving Project data" popup that didn't want to disappear, regardless of what I did. The only option was to kill NetBeans.

It looks exactly the same as: https://netbeans.org/bugzilla/attachment.cgi?id=153859

I will attach logs.

My details:
- JDK 8 u51 x64
- netbeans-trunk-nightly-201508100002-windows
- Windows 8 x64
Comment 7 zmirc 2015-08-11 15:40:46 UTC
Created attachment 155269 [details]
log file part 2 - messages.log
Comment 8 zmirc 2015-08-11 15:41:09 UTC
Created attachment 155270 [details]
log file part 1 - messages.log.1
Comment 9 zmirc 2015-08-11 15:42:23 UTC
I forgot to mention one detail:

I changed the server of the project from TomEE 1.7.2 PLUME to TomEE 1.7.2 WEBPROFILE.