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 268204 - Tomcat does not start after macos Sierra update
Summary: Tomcat does not start after macos Sierra update
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 8.2
Hardware: Macintosh Mac OS X
: P1 normal with 2 votes (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-26 11:59 UTC by snmohanty
Modified: 2017-07-23 15:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description snmohanty 2016-09-26 11:59:07 UTC
Hi there,
My mac dev system was EI Captain MAc OS/java 1.8.91/netbeans 8.1/spring / hibernate and all were working well. Now 've upgraded into mac os sierra 10.12 and 'm unable to run my old applications on the same macbookpro system.

Issues: 1)starting of tomcat failed ( but if you put localhost:8084 on browser it open tomcat page. but unable to deploy applications.
2) if you press clean/build and re run it shows port no 8084 is already in use and tomcat starting failed.(even system restart/app restart does not work)
3)Exceptions on IDE LOG :java.net.SocketTimeoutException, java.net.SocketTimeoutException, org.netbeans.core.ui.options.general.General Options Model]: Cannot connect via http protocol. java.net.SocketTimeoutException , 
4)Found somewhere that it is not able to connect internet/ there is problems in proxy settings. 
5) So tried to connect system proxy settings/ no proxy/ custom httpproxy and all test went failed.
6) please note that My firewall in macos is on.
7) Even I was trying to report this bug from IDE > help>report issue section and 'm unable to login into netbeans server from there , it shows error. So 'm posting this issue in netbeans.org website directly.


Please suggest some idea to overcome this as 'm suffering since last 5 days.

Thanks

S N Mohanty
Comment 1 snmohanty 2016-09-26 12:02:20 UTC
Please note that the same project works well in Windows 10 OS.
Comment 2 fe3000 2016-10-11 07:46:38 UTC
i have the same problem with my new macbook,tomcat can not start...

(1) configure a new tomcat not work
(2) install a new netbeans not work(8.1/8.2)
(3) reinstall mac os 10.12 not work
(4) reinstall jdk not work

i find the glassfish also can not start...

but everything works fine with my old macbook pro after Sierra update...
Comment 3 MarianStevlik 2016-10-13 14:36:46 UTC
This problem is in NetBeans 8.2 too
Comment 4 piotrm 2016-10-28 20:47:45 UTC
For me problem still exists. I cannot start (deploy any app to) embedded glassfish4. Environment: macOS Sierra 10.12.1; NetBeans 8.2, jdk1.8.0_74, GlassFish4.1.1.
Comment 5 snmohanty 2016-10-29 05:32:01 UTC
Hi Guys ,

Please follow my post to resolve this.
https://discussions.apple.com/thread/7680039
Comment 6 piotrm 2016-10-30 20:39:13 UTC
Yes it works, thanks!!
Comment 7 djjohnson 2017-03-09 20:22:03 UTC
(In reply to snmohanty from comment #5)
> Hi Guys ,
> 
> Please follow my post to resolve this.
> https://discussions.apple.com/thread/7680039

Hi, I have this same issue but it looks as if the link you supplied to apple is having problems. Are you able to enlighten me here on how to fix this tomcat/glass fish issue on Mac OS X sierra? 

Thanks
Comment 8 Geertjan Wielenga 2017-03-14 08:03:15 UTC
Go here for the solution:

https://discussions.apple.com/thread/7680039

Step 1:  On Mac, go to system preference >Network>Select your wifi connection>Advanced>select proxies tab.
There check 3 options 1) Auto proxy Discovery 2)Automatic Proxy configuration 3) web proxy(http)

Step 2: Go to NetBeans>preferences>General> select use system proxy> reload> test connection.

You may get connection successful.

There are also other solutions in the link above.
Comment 9 velodiver 2017-05-19 19:51:11 UTC
Installing Netbeans 8.2 on Mac/Sierra(10.12.4) takes almost 10 minutes. Message eventually says it was successful. 

Deploying an app that deploys to Tomcat starts 2 instances of Tomcat.  The app deployment fails when the second tomcat instance fails because port (8084) is already in use.  

I have tried the solution offered perviously, it does not resolve the issue.
Comment 10 zajjar 2017-07-23 15:47:03 UTC
I can confirm that problem exists with start Tomcat and Glassfish platofr in Netbeans 8.2.