[jira] [Commented] (NETBEANS-3903) Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31
[ https://issues.apache.org/jira/browse/NETBEANS-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17200496#comment-17200496 ] Daniel Yacob commented on NETBEANS-3903: Hi, I'm using Mac OS 10.15.2 with Netbeans 8.2 and Tomcat 8.15. For me the solution of [~bitsink] was the best (I downloaded the jar and paste in .app). Thank you bro [~bitsink] you are a master (*) Thnks. > Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31 > - > > Key: NETBEANS-3903 > URL: https://issues.apache.org/jira/browse/NETBEANS-3903 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, serverplugins - Tomcat >Affects Versions: 11.0, 11.1, 11.2, 11.3 > Environment: MacOS Catalina 10.15.3 > Netbeans 11.2 (using installer) > Netbeans 11.0 (using binary download) > Tomcat 9.0.31 (via brew and binary download) > Tomcat 8.5.51 (via brew and binary download) >Reporter: Rob >Assignee: Nam Nguyen >Priority: Blocker > Labels: ide, pull-request-available, server, tomcat, tomcat9 > Fix For: 12.0 > > Attachments: Netbeans11.0-terminal-output.log, Screenshot 2020-02-20 > at 21.17.36.png, apache-tomcat-9.0.31.zip, netbeans11-2-log.zip, > org-netbeans-modules-tomcat5.jar > > Time Spent: 1h 20m > Remaining Estimate: 0h > > * Example code - Not applicable > * Example project - Not applicable > * Attachments... > * Screenshot 1) Console shows success whilst minutes later Netbeans error > appears > * Screenshot 2) Netbeans 11.0 terminal output included and I suspect it the > same error in Netbeans 11.2 > * apache-tomcat-9.0.31.zip that includes the tomcat configuration and logs > for one attempt of running Tomcat (all looks good here) > * netbeans11-2-log for the latest Netbeans 11.2 logs > * Exact steps 1. Add tomcat server 2. Run tomcat server, 3. Confirm it > starts (browser success and console logs success), 4. Minutes later error > appears to say "Starting of Tomcat Failed" > * Actual results - Tomcat should start than then Netbeans would usually > deploy the app, but Netbeans fails to detect Tomcat started successfully. No > projects required to recreate this - starting Tomcat up from within the > Netbeans IDE shows success in the console <500ms but then reports as failed > minutes later > * Expected results - Netbeans should continue to deploy an application once > detecting tomcat has started > * NetBeans version - Multiple (11.0, 11.2) > * JDK version JDK 13 Open JDK and Sun JDK > * OS (Environment) Mac Catalina 10.15.3 > Deeper information follows... > I installed the pre-requisite Open JDK 13 first. > I had Netbeans 8.2 running on my iMac and decided to install the latest > version of Netbeans on my MacBook Pro running Mac OS Catalina 10.15.3, so I > opted for the latest NetBeans 11.2 installer. > I was surprised to see no 'customise' option during installation to choose > Tomcat (which is what used to happen in Netbeans 8.2). Once Netbeans 11.2 > was running I went to the server tab and added Tomcat 9.0.31 by pointing to > the Tomcat brew installation folder and added a private configuration folder, > I entered a new user 'ide' and password and ticked the 'Create user if does > not exist'. > I can confirm it created the user in the tomcat-users.xml file correctly. > ``` > > http://tomcat.apache.org/xml; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0" > xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"> > > > > username="ide"/> > > ``` > When I right-click on the server and choose "Start", or "Start in debug mode" > tomcat starts and it is confirmed as starting within 317 milliseconds. > I can load a browser manually and navigate to > [http://localhost:8084/manager/status] and confirm Tomcat is indeed running. > ``` > NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED > --add-opens=java.base/java.io=ALL-UNNAMED > --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED > 20-Feb-2020 21:09:28.879 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version name: > Apache Tomcat/9.0.31 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 > 2020 19:32:12 UTC > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version number: > 9.0.31.0 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Name: Mac OS X > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.15.3 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Architecture:
[jira] [Commented] (NETBEANS-3903) Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31
[ https://issues.apache.org/jira/browse/NETBEANS-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17090765#comment-17090765 ] Geertjan Wielenga commented on NETBEANS-3903: - This should be fixed in 12.0, can you try with 12.0 Beta 3: https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-TLP/job/netbeans/job/release120/12/artifact/dist/netbeans/ > Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31 > - > > Key: NETBEANS-3903 > URL: https://issues.apache.org/jira/browse/NETBEANS-3903 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, serverplugins - Tomcat >Affects Versions: 11.0, 11.1, 11.2, 11.3 > Environment: MacOS Catalina 10.15.3 > Netbeans 11.2 (using installer) > Netbeans 11.0 (using binary download) > Tomcat 9.0.31 (via brew and binary download) > Tomcat 8.5.51 (via brew and binary download) >Reporter: Rob >Assignee: Nam Nguyen >Priority: Blocker > Labels: ide, pull-request-available, server, tomcat, tomcat9 > Fix For: 12.0 > > Attachments: Netbeans11.0-terminal-output.log, Screenshot 2020-02-20 > at 21.17.36.png, apache-tomcat-9.0.31.zip, netbeans11-2-log.zip, > org-netbeans-modules-tomcat5.jar > > Time Spent: 1h 20m > Remaining Estimate: 0h > > * Example code - Not applicable > * Example project - Not applicable > * Attachments... > * Screenshot 1) Console shows success whilst minutes later Netbeans error > appears > * Screenshot 2) Netbeans 11.0 terminal output included and I suspect it the > same error in Netbeans 11.2 > * apache-tomcat-9.0.31.zip that includes the tomcat configuration and logs > for one attempt of running Tomcat (all looks good here) > * netbeans11-2-log for the latest Netbeans 11.2 logs > * Exact steps 1. Add tomcat server 2. Run tomcat server, 3. Confirm it > starts (browser success and console logs success), 4. Minutes later error > appears to say "Starting of Tomcat Failed" > * Actual results - Tomcat should start than then Netbeans would usually > deploy the app, but Netbeans fails to detect Tomcat started successfully. No > projects required to recreate this - starting Tomcat up from within the > Netbeans IDE shows success in the console <500ms but then reports as failed > minutes later > * Expected results - Netbeans should continue to deploy an application once > detecting tomcat has started > * NetBeans version - Multiple (11.0, 11.2) > * JDK version JDK 13 Open JDK and Sun JDK > * OS (Environment) Mac Catalina 10.15.3 > Deeper information follows... > I installed the pre-requisite Open JDK 13 first. > I had Netbeans 8.2 running on my iMac and decided to install the latest > version of Netbeans on my MacBook Pro running Mac OS Catalina 10.15.3, so I > opted for the latest NetBeans 11.2 installer. > I was surprised to see no 'customise' option during installation to choose > Tomcat (which is what used to happen in Netbeans 8.2). Once Netbeans 11.2 > was running I went to the server tab and added Tomcat 9.0.31 by pointing to > the Tomcat brew installation folder and added a private configuration folder, > I entered a new user 'ide' and password and ticked the 'Create user if does > not exist'. > I can confirm it created the user in the tomcat-users.xml file correctly. > ``` > > http://tomcat.apache.org/xml; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0" > xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"> > > > > username="ide"/> > > ``` > When I right-click on the server and choose "Start", or "Start in debug mode" > tomcat starts and it is confirmed as starting within 317 milliseconds. > I can load a browser manually and navigate to > [http://localhost:8084/manager/status] and confirm Tomcat is indeed running. > ``` > NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED > --add-opens=java.base/java.io=ALL-UNNAMED > --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED > 20-Feb-2020 21:09:28.879 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version name: > Apache Tomcat/9.0.31 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 > 2020 19:32:12 UTC > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version number: > 9.0.31.0 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Name: Mac OS X > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.15.3 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Architecture: x86_64 >
[jira] [Commented] (NETBEANS-3903) Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31
[ https://issues.apache.org/jira/browse/NETBEANS-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17090759#comment-17090759 ] Frederick Bowman commented on NETBEANS-3903: Hi All. It is the first time I am commenting here. I have the same issue with Netbeans 11.3 and Apache 9.0.34 on Linux (Fedora). I have tried replacing the file [^org-netbeans-modules-tomcat5.jar] but had no success. Is there anything else I can do, please? Am I missing something? Thanks > Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31 > - > > Key: NETBEANS-3903 > URL: https://issues.apache.org/jira/browse/NETBEANS-3903 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, serverplugins - Tomcat >Affects Versions: 11.0, 11.1, 11.2, 11.3 > Environment: MacOS Catalina 10.15.3 > Netbeans 11.2 (using installer) > Netbeans 11.0 (using binary download) > Tomcat 9.0.31 (via brew and binary download) > Tomcat 8.5.51 (via brew and binary download) >Reporter: Rob >Assignee: Nam Nguyen >Priority: Blocker > Labels: ide, pull-request-available, server, tomcat, tomcat9 > Fix For: 12.0 > > Attachments: Netbeans11.0-terminal-output.log, Screenshot 2020-02-20 > at 21.17.36.png, apache-tomcat-9.0.31.zip, netbeans11-2-log.zip, > org-netbeans-modules-tomcat5.jar > > Time Spent: 1h 20m > Remaining Estimate: 0h > > * Example code - Not applicable > * Example project - Not applicable > * Attachments... > * Screenshot 1) Console shows success whilst minutes later Netbeans error > appears > * Screenshot 2) Netbeans 11.0 terminal output included and I suspect it the > same error in Netbeans 11.2 > * apache-tomcat-9.0.31.zip that includes the tomcat configuration and logs > for one attempt of running Tomcat (all looks good here) > * netbeans11-2-log for the latest Netbeans 11.2 logs > * Exact steps 1. Add tomcat server 2. Run tomcat server, 3. Confirm it > starts (browser success and console logs success), 4. Minutes later error > appears to say "Starting of Tomcat Failed" > * Actual results - Tomcat should start than then Netbeans would usually > deploy the app, but Netbeans fails to detect Tomcat started successfully. No > projects required to recreate this - starting Tomcat up from within the > Netbeans IDE shows success in the console <500ms but then reports as failed > minutes later > * Expected results - Netbeans should continue to deploy an application once > detecting tomcat has started > * NetBeans version - Multiple (11.0, 11.2) > * JDK version JDK 13 Open JDK and Sun JDK > * OS (Environment) Mac Catalina 10.15.3 > Deeper information follows... > I installed the pre-requisite Open JDK 13 first. > I had Netbeans 8.2 running on my iMac and decided to install the latest > version of Netbeans on my MacBook Pro running Mac OS Catalina 10.15.3, so I > opted for the latest NetBeans 11.2 installer. > I was surprised to see no 'customise' option during installation to choose > Tomcat (which is what used to happen in Netbeans 8.2). Once Netbeans 11.2 > was running I went to the server tab and added Tomcat 9.0.31 by pointing to > the Tomcat brew installation folder and added a private configuration folder, > I entered a new user 'ide' and password and ticked the 'Create user if does > not exist'. > I can confirm it created the user in the tomcat-users.xml file correctly. > ``` > > http://tomcat.apache.org/xml; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0" > xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"> > > > > username="ide"/> > > ``` > When I right-click on the server and choose "Start", or "Start in debug mode" > tomcat starts and it is confirmed as starting within 317 milliseconds. > I can load a browser manually and navigate to > [http://localhost:8084/manager/status] and confirm Tomcat is indeed running. > ``` > NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED > --add-opens=java.base/java.io=ALL-UNNAMED > --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED > 20-Feb-2020 21:09:28.879 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version name: > Apache Tomcat/9.0.31 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 > 2020 19:32:12 UTC > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version number: > 9.0.31.0 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Name: Mac OS X > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.15.3 > 20-Feb-2020
[jira] [Commented] (NETBEANS-3903) Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31
[ https://issues.apache.org/jira/browse/NETBEANS-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17090156#comment-17090156 ] Francisco Grillo commented on NETBEANS-3903: Hi Matthias, I understand your point. I've been doing this for more than 20 years. I dedicate a significant time of my day coding in other projects like Netbeans. That's one of my passions. Here in Netbeans Community I'm just a user. I'll try to get some time to get involved here as well. > Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31 > - > > Key: NETBEANS-3903 > URL: https://issues.apache.org/jira/browse/NETBEANS-3903 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, serverplugins - Tomcat >Affects Versions: 11.0, 11.1, 11.2, 11.3 > Environment: MacOS Catalina 10.15.3 > Netbeans 11.2 (using installer) > Netbeans 11.0 (using binary download) > Tomcat 9.0.31 (via brew and binary download) > Tomcat 8.5.51 (via brew and binary download) >Reporter: Rob >Assignee: Nam Nguyen >Priority: Blocker > Labels: ide, pull-request-available, server, tomcat, tomcat9 > Fix For: 12.0 > > Attachments: Netbeans11.0-terminal-output.log, Screenshot 2020-02-20 > at 21.17.36.png, apache-tomcat-9.0.31.zip, netbeans11-2-log.zip, > org-netbeans-modules-tomcat5.jar > > Time Spent: 1h 20m > Remaining Estimate: 0h > > * Example code - Not applicable > * Example project - Not applicable > * Attachments... > * Screenshot 1) Console shows success whilst minutes later Netbeans error > appears > * Screenshot 2) Netbeans 11.0 terminal output included and I suspect it the > same error in Netbeans 11.2 > * apache-tomcat-9.0.31.zip that includes the tomcat configuration and logs > for one attempt of running Tomcat (all looks good here) > * netbeans11-2-log for the latest Netbeans 11.2 logs > * Exact steps 1. Add tomcat server 2. Run tomcat server, 3. Confirm it > starts (browser success and console logs success), 4. Minutes later error > appears to say "Starting of Tomcat Failed" > * Actual results - Tomcat should start than then Netbeans would usually > deploy the app, but Netbeans fails to detect Tomcat started successfully. No > projects required to recreate this - starting Tomcat up from within the > Netbeans IDE shows success in the console <500ms but then reports as failed > minutes later > * Expected results - Netbeans should continue to deploy an application once > detecting tomcat has started > * NetBeans version - Multiple (11.0, 11.2) > * JDK version JDK 13 Open JDK and Sun JDK > * OS (Environment) Mac Catalina 10.15.3 > Deeper information follows... > I installed the pre-requisite Open JDK 13 first. > I had Netbeans 8.2 running on my iMac and decided to install the latest > version of Netbeans on my MacBook Pro running Mac OS Catalina 10.15.3, so I > opted for the latest NetBeans 11.2 installer. > I was surprised to see no 'customise' option during installation to choose > Tomcat (which is what used to happen in Netbeans 8.2). Once Netbeans 11.2 > was running I went to the server tab and added Tomcat 9.0.31 by pointing to > the Tomcat brew installation folder and added a private configuration folder, > I entered a new user 'ide' and password and ticked the 'Create user if does > not exist'. > I can confirm it created the user in the tomcat-users.xml file correctly. > ``` > > http://tomcat.apache.org/xml; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0" > xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"> > > > > username="ide"/> > > ``` > When I right-click on the server and choose "Start", or "Start in debug mode" > tomcat starts and it is confirmed as starting within 317 milliseconds. > I can load a browser manually and navigate to > [http://localhost:8084/manager/status] and confirm Tomcat is indeed running. > ``` > NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED > --add-opens=java.base/java.io=ALL-UNNAMED > --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED > 20-Feb-2020 21:09:28.879 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version name: > Apache Tomcat/9.0.31 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 > 2020 19:32:12 UTC > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version number: > 9.0.31.0 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Name: Mac OS X > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.15.3 > 20-Feb-2020
[jira] [Commented] (NETBEANS-3903) Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31
[ https://issues.apache.org/jira/browse/NETBEANS-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17088019#comment-17088019 ] Matthias Bläsing commented on NETBEANS-3903: [~fgrillo0] you did not get an update because you did not step up to do the work and did not contribute. This might sound rude, but there are many people helping with netbeans and fixing things they don't use, so please keep that in mind before demanding things. > Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31 > - > > Key: NETBEANS-3903 > URL: https://issues.apache.org/jira/browse/NETBEANS-3903 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, serverplugins - Tomcat >Affects Versions: 11.0, 11.1, 11.2, 11.3 > Environment: MacOS Catalina 10.15.3 > Netbeans 11.2 (using installer) > Netbeans 11.0 (using binary download) > Tomcat 9.0.31 (via brew and binary download) > Tomcat 8.5.51 (via brew and binary download) >Reporter: Rob >Assignee: Nam Nguyen >Priority: Blocker > Labels: ide, pull-request-available, server, tomcat, tomcat9 > Fix For: 12.0 > > Attachments: Netbeans11.0-terminal-output.log, Screenshot 2020-02-20 > at 21.17.36.png, apache-tomcat-9.0.31.zip, netbeans11-2-log.zip, > org-netbeans-modules-tomcat5.jar > > Time Spent: 1h 20m > Remaining Estimate: 0h > > * Example code - Not applicable > * Example project - Not applicable > * Attachments... > * Screenshot 1) Console shows success whilst minutes later Netbeans error > appears > * Screenshot 2) Netbeans 11.0 terminal output included and I suspect it the > same error in Netbeans 11.2 > * apache-tomcat-9.0.31.zip that includes the tomcat configuration and logs > for one attempt of running Tomcat (all looks good here) > * netbeans11-2-log for the latest Netbeans 11.2 logs > * Exact steps 1. Add tomcat server 2. Run tomcat server, 3. Confirm it > starts (browser success and console logs success), 4. Minutes later error > appears to say "Starting of Tomcat Failed" > * Actual results - Tomcat should start than then Netbeans would usually > deploy the app, but Netbeans fails to detect Tomcat started successfully. No > projects required to recreate this - starting Tomcat up from within the > Netbeans IDE shows success in the console <500ms but then reports as failed > minutes later > * Expected results - Netbeans should continue to deploy an application once > detecting tomcat has started > * NetBeans version - Multiple (11.0, 11.2) > * JDK version JDK 13 Open JDK and Sun JDK > * OS (Environment) Mac Catalina 10.15.3 > Deeper information follows... > I installed the pre-requisite Open JDK 13 first. > I had Netbeans 8.2 running on my iMac and decided to install the latest > version of Netbeans on my MacBook Pro running Mac OS Catalina 10.15.3, so I > opted for the latest NetBeans 11.2 installer. > I was surprised to see no 'customise' option during installation to choose > Tomcat (which is what used to happen in Netbeans 8.2). Once Netbeans 11.2 > was running I went to the server tab and added Tomcat 9.0.31 by pointing to > the Tomcat brew installation folder and added a private configuration folder, > I entered a new user 'ide' and password and ticked the 'Create user if does > not exist'. > I can confirm it created the user in the tomcat-users.xml file correctly. > ``` > > http://tomcat.apache.org/xml; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0" > xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"> > > > > username="ide"/> > > ``` > When I right-click on the server and choose "Start", or "Start in debug mode" > tomcat starts and it is confirmed as starting within 317 milliseconds. > I can load a browser manually and navigate to > [http://localhost:8084/manager/status] and confirm Tomcat is indeed running. > ``` > NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED > --add-opens=java.base/java.io=ALL-UNNAMED > --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED > 20-Feb-2020 21:09:28.879 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version name: > Apache Tomcat/9.0.31 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 > 2020 19:32:12 UTC > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version number: > 9.0.31.0 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Name: Mac OS X > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.15.3 > 20-Feb-2020 21:09:28.883 INFO [main] >
[jira] [Commented] (NETBEANS-3903) Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31
[ https://issues.apache.org/jira/browse/NETBEANS-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17088017#comment-17088017 ] Francisco Grillo commented on NETBEANS-3903: This fix should've been provided via update. Netbeans has an update module for this kind of issue. Why do we need to wait a stable release to get this patch ? > Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31 > - > > Key: NETBEANS-3903 > URL: https://issues.apache.org/jira/browse/NETBEANS-3903 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, serverplugins - Tomcat >Affects Versions: 11.0, 11.1, 11.2, 11.3 > Environment: MacOS Catalina 10.15.3 > Netbeans 11.2 (using installer) > Netbeans 11.0 (using binary download) > Tomcat 9.0.31 (via brew and binary download) > Tomcat 8.5.51 (via brew and binary download) >Reporter: Rob >Assignee: Nam Nguyen >Priority: Blocker > Labels: ide, pull-request-available, server, tomcat, tomcat9 > Fix For: 12.0 > > Attachments: Netbeans11.0-terminal-output.log, Screenshot 2020-02-20 > at 21.17.36.png, apache-tomcat-9.0.31.zip, netbeans11-2-log.zip, > org-netbeans-modules-tomcat5.jar > > Time Spent: 1h 20m > Remaining Estimate: 0h > > * Example code - Not applicable > * Example project - Not applicable > * Attachments... > * Screenshot 1) Console shows success whilst minutes later Netbeans error > appears > * Screenshot 2) Netbeans 11.0 terminal output included and I suspect it the > same error in Netbeans 11.2 > * apache-tomcat-9.0.31.zip that includes the tomcat configuration and logs > for one attempt of running Tomcat (all looks good here) > * netbeans11-2-log for the latest Netbeans 11.2 logs > * Exact steps 1. Add tomcat server 2. Run tomcat server, 3. Confirm it > starts (browser success and console logs success), 4. Minutes later error > appears to say "Starting of Tomcat Failed" > * Actual results - Tomcat should start than then Netbeans would usually > deploy the app, but Netbeans fails to detect Tomcat started successfully. No > projects required to recreate this - starting Tomcat up from within the > Netbeans IDE shows success in the console <500ms but then reports as failed > minutes later > * Expected results - Netbeans should continue to deploy an application once > detecting tomcat has started > * NetBeans version - Multiple (11.0, 11.2) > * JDK version JDK 13 Open JDK and Sun JDK > * OS (Environment) Mac Catalina 10.15.3 > Deeper information follows... > I installed the pre-requisite Open JDK 13 first. > I had Netbeans 8.2 running on my iMac and decided to install the latest > version of Netbeans on my MacBook Pro running Mac OS Catalina 10.15.3, so I > opted for the latest NetBeans 11.2 installer. > I was surprised to see no 'customise' option during installation to choose > Tomcat (which is what used to happen in Netbeans 8.2). Once Netbeans 11.2 > was running I went to the server tab and added Tomcat 9.0.31 by pointing to > the Tomcat brew installation folder and added a private configuration folder, > I entered a new user 'ide' and password and ticked the 'Create user if does > not exist'. > I can confirm it created the user in the tomcat-users.xml file correctly. > ``` > > http://tomcat.apache.org/xml; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0" > xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"> > > > > username="ide"/> > > ``` > When I right-click on the server and choose "Start", or "Start in debug mode" > tomcat starts and it is confirmed as starting within 317 milliseconds. > I can load a browser manually and navigate to > [http://localhost:8084/manager/status] and confirm Tomcat is indeed running. > ``` > NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED > --add-opens=java.base/java.io=ALL-UNNAMED > --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED > 20-Feb-2020 21:09:28.879 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version name: > Apache Tomcat/9.0.31 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 > 2020 19:32:12 UTC > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version number: > 9.0.31.0 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Name: Mac OS X > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.15.3 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Architecture: x86_64 > 20-Feb-2020 21:09:28.883 INFO
[jira] [Commented] (NETBEANS-3903) Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31
[ https://issues.apache.org/jira/browse/NETBEANS-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17087998#comment-17087998 ] Matthias Bläsing commented on NETBEANS-3903: [~damesad] please stay with english on this > Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31 > - > > Key: NETBEANS-3903 > URL: https://issues.apache.org/jira/browse/NETBEANS-3903 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, serverplugins - Tomcat >Affects Versions: 11.0, 11.1, 11.2, 11.3 > Environment: MacOS Catalina 10.15.3 > Netbeans 11.2 (using installer) > Netbeans 11.0 (using binary download) > Tomcat 9.0.31 (via brew and binary download) > Tomcat 8.5.51 (via brew and binary download) >Reporter: Rob >Assignee: Nam Nguyen >Priority: Blocker > Labels: ide, pull-request-available, server, tomcat, tomcat9 > Fix For: 12.0 > > Attachments: Netbeans11.0-terminal-output.log, Screenshot 2020-02-20 > at 21.17.36.png, apache-tomcat-9.0.31.zip, netbeans11-2-log.zip, > org-netbeans-modules-tomcat5.jar > > Time Spent: 1h 20m > Remaining Estimate: 0h > > * Example code - Not applicable > * Example project - Not applicable > * Attachments... > * Screenshot 1) Console shows success whilst minutes later Netbeans error > appears > * Screenshot 2) Netbeans 11.0 terminal output included and I suspect it the > same error in Netbeans 11.2 > * apache-tomcat-9.0.31.zip that includes the tomcat configuration and logs > for one attempt of running Tomcat (all looks good here) > * netbeans11-2-log for the latest Netbeans 11.2 logs > * Exact steps 1. Add tomcat server 2. Run tomcat server, 3. Confirm it > starts (browser success and console logs success), 4. Minutes later error > appears to say "Starting of Tomcat Failed" > * Actual results - Tomcat should start than then Netbeans would usually > deploy the app, but Netbeans fails to detect Tomcat started successfully. No > projects required to recreate this - starting Tomcat up from within the > Netbeans IDE shows success in the console <500ms but then reports as failed > minutes later > * Expected results - Netbeans should continue to deploy an application once > detecting tomcat has started > * NetBeans version - Multiple (11.0, 11.2) > * JDK version JDK 13 Open JDK and Sun JDK > * OS (Environment) Mac Catalina 10.15.3 > Deeper information follows... > I installed the pre-requisite Open JDK 13 first. > I had Netbeans 8.2 running on my iMac and decided to install the latest > version of Netbeans on my MacBook Pro running Mac OS Catalina 10.15.3, so I > opted for the latest NetBeans 11.2 installer. > I was surprised to see no 'customise' option during installation to choose > Tomcat (which is what used to happen in Netbeans 8.2). Once Netbeans 11.2 > was running I went to the server tab and added Tomcat 9.0.31 by pointing to > the Tomcat brew installation folder and added a private configuration folder, > I entered a new user 'ide' and password and ticked the 'Create user if does > not exist'. > I can confirm it created the user in the tomcat-users.xml file correctly. > ``` > > http://tomcat.apache.org/xml; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0" > xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"> > > > > username="ide"/> > > ``` > When I right-click on the server and choose "Start", or "Start in debug mode" > tomcat starts and it is confirmed as starting within 317 milliseconds. > I can load a browser manually and navigate to > [http://localhost:8084/manager/status] and confirm Tomcat is indeed running. > ``` > NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED > --add-opens=java.base/java.io=ALL-UNNAMED > --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED > 20-Feb-2020 21:09:28.879 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version name: > Apache Tomcat/9.0.31 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 > 2020 19:32:12 UTC > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version number: > 9.0.31.0 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Name: Mac OS X > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.15.3 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Architecture: x86_64 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Java Home: >
[jira] [Commented] (NETBEANS-3903) Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31
[ https://issues.apache.org/jira/browse/NETBEANS-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17086230#comment-17086230 ] Diego Mesa commented on NETBEANS-3903: -- Gracias, funciono para mi en: _Netbeans 11_ _Xubuntu 19.10_ _Tomcat 8.5.54_ _Java Oracle Version 1.8.0_251_ seguí la instrucciones de [~bitsink] en su comentario [#comment-17043156] y funciono correctamente descargando el archivo [^org-netbeans-modules-tomcat5.jar] y emplazándolo en la carpeta de instalación de Netbeans 11 en Xubuntu 19.10, tambien borrando el directorio {{}} {code:java} rm -r ~/.netbeans/{code} y {code:java} rm -r ~/local/cache/netbeans{code} > Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31 > - > > Key: NETBEANS-3903 > URL: https://issues.apache.org/jira/browse/NETBEANS-3903 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, serverplugins - Tomcat >Affects Versions: 11.0, 11.1, 11.2, 11.3 > Environment: MacOS Catalina 10.15.3 > Netbeans 11.2 (using installer) > Netbeans 11.0 (using binary download) > Tomcat 9.0.31 (via brew and binary download) > Tomcat 8.5.51 (via brew and binary download) >Reporter: Rob >Assignee: Nam Nguyen >Priority: Blocker > Labels: ide, pull-request-available, server, tomcat, tomcat9 > Fix For: 12.0 > > Attachments: Netbeans11.0-terminal-output.log, Screenshot 2020-02-20 > at 21.17.36.png, apache-tomcat-9.0.31.zip, netbeans11-2-log.zip, > org-netbeans-modules-tomcat5.jar > > Time Spent: 1h 20m > Remaining Estimate: 0h > > * Example code - Not applicable > * Example project - Not applicable > * Attachments... > * Screenshot 1) Console shows success whilst minutes later Netbeans error > appears > * Screenshot 2) Netbeans 11.0 terminal output included and I suspect it the > same error in Netbeans 11.2 > * apache-tomcat-9.0.31.zip that includes the tomcat configuration and logs > for one attempt of running Tomcat (all looks good here) > * netbeans11-2-log for the latest Netbeans 11.2 logs > * Exact steps 1. Add tomcat server 2. Run tomcat server, 3. Confirm it > starts (browser success and console logs success), 4. Minutes later error > appears to say "Starting of Tomcat Failed" > * Actual results - Tomcat should start than then Netbeans would usually > deploy the app, but Netbeans fails to detect Tomcat started successfully. No > projects required to recreate this - starting Tomcat up from within the > Netbeans IDE shows success in the console <500ms but then reports as failed > minutes later > * Expected results - Netbeans should continue to deploy an application once > detecting tomcat has started > * NetBeans version - Multiple (11.0, 11.2) > * JDK version JDK 13 Open JDK and Sun JDK > * OS (Environment) Mac Catalina 10.15.3 > Deeper information follows... > I installed the pre-requisite Open JDK 13 first. > I had Netbeans 8.2 running on my iMac and decided to install the latest > version of Netbeans on my MacBook Pro running Mac OS Catalina 10.15.3, so I > opted for the latest NetBeans 11.2 installer. > I was surprised to see no 'customise' option during installation to choose > Tomcat (which is what used to happen in Netbeans 8.2). Once Netbeans 11.2 > was running I went to the server tab and added Tomcat 9.0.31 by pointing to > the Tomcat brew installation folder and added a private configuration folder, > I entered a new user 'ide' and password and ticked the 'Create user if does > not exist'. > I can confirm it created the user in the tomcat-users.xml file correctly. > ``` > > http://tomcat.apache.org/xml; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0" > xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"> > > > > username="ide"/> > > ``` > When I right-click on the server and choose "Start", or "Start in debug mode" > tomcat starts and it is confirmed as starting within 317 milliseconds. > I can load a browser manually and navigate to > [http://localhost:8084/manager/status] and confirm Tomcat is indeed running. > ``` > NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED > --add-opens=java.base/java.io=ALL-UNNAMED > --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED > 20-Feb-2020 21:09:28.879 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version name: > Apache Tomcat/9.0.31 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 > 2020 19:32:12 UTC > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version number: > 9.0.31.0 > 20-Feb-2020 21:09:28.883 INFO [main] >
[jira] [Commented] (NETBEANS-3903) Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31
[ https://issues.apache.org/jira/browse/NETBEANS-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17052297#comment-17052297 ] Eric Barboni commented on NETBEANS-3903: I'm sorry [~devologyrob],nn fact it's not part of 11.3, fix is 12.0. This was detected late. > Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31 > - > > Key: NETBEANS-3903 > URL: https://issues.apache.org/jira/browse/NETBEANS-3903 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, serverplugins - Tomcat >Affects Versions: 11.0, 11.1, 11.2, 11.3 > Environment: MacOS Catalina 10.15.3 > Netbeans 11.2 (using installer) > Netbeans 11.0 (using binary download) > Tomcat 9.0.31 (via brew and binary download) > Tomcat 8.5.51 (via brew and binary download) >Reporter: Rob >Assignee: Nam Nguyen >Priority: Blocker > Labels: ide, pull-request-available, server, tomcat, tomcat9 > Fix For: 12.0 > > Attachments: Netbeans11.0-terminal-output.log, Screenshot 2020-02-20 > at 21.17.36.png, apache-tomcat-9.0.31.zip, netbeans11-2-log.zip, > org-netbeans-modules-tomcat5.jar > > Time Spent: 1h 20m > Remaining Estimate: 0h > > * Example code - Not applicable > * Example project - Not applicable > * Attachments... > * Screenshot 1) Console shows success whilst minutes later Netbeans error > appears > * Screenshot 2) Netbeans 11.0 terminal output included and I suspect it the > same error in Netbeans 11.2 > * apache-tomcat-9.0.31.zip that includes the tomcat configuration and logs > for one attempt of running Tomcat (all looks good here) > * netbeans11-2-log for the latest Netbeans 11.2 logs > * Exact steps 1. Add tomcat server 2. Run tomcat server, 3. Confirm it > starts (browser success and console logs success), 4. Minutes later error > appears to say "Starting of Tomcat Failed" > * Actual results - Tomcat should start than then Netbeans would usually > deploy the app, but Netbeans fails to detect Tomcat started successfully. No > projects required to recreate this - starting Tomcat up from within the > Netbeans IDE shows success in the console <500ms but then reports as failed > minutes later > * Expected results - Netbeans should continue to deploy an application once > detecting tomcat has started > * NetBeans version - Multiple (11.0, 11.2) > * JDK version JDK 13 Open JDK and Sun JDK > * OS (Environment) Mac Catalina 10.15.3 > Deeper information follows... > I installed the pre-requisite Open JDK 13 first. > I had Netbeans 8.2 running on my iMac and decided to install the latest > version of Netbeans on my MacBook Pro running Mac OS Catalina 10.15.3, so I > opted for the latest NetBeans 11.2 installer. > I was surprised to see no 'customise' option during installation to choose > Tomcat (which is what used to happen in Netbeans 8.2). Once Netbeans 11.2 > was running I went to the server tab and added Tomcat 9.0.31 by pointing to > the Tomcat brew installation folder and added a private configuration folder, > I entered a new user 'ide' and password and ticked the 'Create user if does > not exist'. > I can confirm it created the user in the tomcat-users.xml file correctly. > ``` > > http://tomcat.apache.org/xml; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0" > xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"> > > > > username="ide"/> > > ``` > When I right-click on the server and choose "Start", or "Start in debug mode" > tomcat starts and it is confirmed as starting within 317 milliseconds. > I can load a browser manually and navigate to > [http://localhost:8084/manager/status] and confirm Tomcat is indeed running. > ``` > NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED > --add-opens=java.base/java.io=ALL-UNNAMED > --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED > 20-Feb-2020 21:09:28.879 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version name: > Apache Tomcat/9.0.31 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 > 2020 19:32:12 UTC > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version number: > 9.0.31.0 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Name: Mac OS X > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.15.3 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Architecture: x86_64 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Java Home: >
[jira] [Commented] (NETBEANS-3903) Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31
[ https://issues.apache.org/jira/browse/NETBEANS-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17052175#comment-17052175 ] Rob commented on NETBEANS-3903: --- I have just installed the latest MacOS version of Netbeans (11.3) and this problem has re-appeared. I presumed it was merged into 11.3? I have re-applied the fix by replace the enterprise module file as before. > Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31 > - > > Key: NETBEANS-3903 > URL: https://issues.apache.org/jira/browse/NETBEANS-3903 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, serverplugins - Tomcat >Affects Versions: 11.0, 11.1, 11.2, 11.3 > Environment: MacOS Catalina 10.15.3 > Netbeans 11.2 (using installer) > Netbeans 11.0 (using binary download) > Tomcat 9.0.31 (via brew and binary download) > Tomcat 8.5.51 (via brew and binary download) >Reporter: Rob >Assignee: Nam Nguyen >Priority: Blocker > Labels: ide, pull-request-available, server, tomcat, tomcat9 > Fix For: 12.0 > > Attachments: Netbeans11.0-terminal-output.log, Screenshot 2020-02-20 > at 21.17.36.png, apache-tomcat-9.0.31.zip, netbeans11-2-log.zip, > org-netbeans-modules-tomcat5.jar > > Time Spent: 1h 20m > Remaining Estimate: 0h > > * Example code - Not applicable > * Example project - Not applicable > * Attachments... > * Screenshot 1) Console shows success whilst minutes later Netbeans error > appears > * Screenshot 2) Netbeans 11.0 terminal output included and I suspect it the > same error in Netbeans 11.2 > * apache-tomcat-9.0.31.zip that includes the tomcat configuration and logs > for one attempt of running Tomcat (all looks good here) > * netbeans11-2-log for the latest Netbeans 11.2 logs > * Exact steps 1. Add tomcat server 2. Run tomcat server, 3. Confirm it > starts (browser success and console logs success), 4. Minutes later error > appears to say "Starting of Tomcat Failed" > * Actual results - Tomcat should start than then Netbeans would usually > deploy the app, but Netbeans fails to detect Tomcat started successfully. No > projects required to recreate this - starting Tomcat up from within the > Netbeans IDE shows success in the console <500ms but then reports as failed > minutes later > * Expected results - Netbeans should continue to deploy an application once > detecting tomcat has started > * NetBeans version - Multiple (11.0, 11.2) > * JDK version JDK 13 Open JDK and Sun JDK > * OS (Environment) Mac Catalina 10.15.3 > Deeper information follows... > I installed the pre-requisite Open JDK 13 first. > I had Netbeans 8.2 running on my iMac and decided to install the latest > version of Netbeans on my MacBook Pro running Mac OS Catalina 10.15.3, so I > opted for the latest NetBeans 11.2 installer. > I was surprised to see no 'customise' option during installation to choose > Tomcat (which is what used to happen in Netbeans 8.2). Once Netbeans 11.2 > was running I went to the server tab and added Tomcat 9.0.31 by pointing to > the Tomcat brew installation folder and added a private configuration folder, > I entered a new user 'ide' and password and ticked the 'Create user if does > not exist'. > I can confirm it created the user in the tomcat-users.xml file correctly. > ``` > > http://tomcat.apache.org/xml; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0" > xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"> > > > > username="ide"/> > > ``` > When I right-click on the server and choose "Start", or "Start in debug mode" > tomcat starts and it is confirmed as starting within 317 milliseconds. > I can load a browser manually and navigate to > [http://localhost:8084/manager/status] and confirm Tomcat is indeed running. > ``` > NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED > --add-opens=java.base/java.io=ALL-UNNAMED > --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED > 20-Feb-2020 21:09:28.879 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version name: > Apache Tomcat/9.0.31 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 > 2020 19:32:12 UTC > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version number: > 9.0.31.0 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Name: Mac OS X > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.15.3 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Architecture: x86_64 >
[jira] [Commented] (NETBEANS-3903) Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31
[ https://issues.apache.org/jira/browse/NETBEANS-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17045742#comment-17045742 ] Nam Nguyen commented on NETBEANS-3903: -- Just wanted to update the tracker that the change has been merged. Should now be available on the daily build. > Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31 > - > > Key: NETBEANS-3903 > URL: https://issues.apache.org/jira/browse/NETBEANS-3903 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, serverplugins - Tomcat >Affects Versions: 11.0, 11.1, 11.2 > Environment: MacOS Catalina 10.15.3 > Netbeans 11.2 (using installer) > Netbeans 11.0 (using binary download) > Tomcat 9.0.31 (via brew and binary download) > Tomcat 8.5.51 (via brew and binary download) >Reporter: Rob >Priority: Blocker > Labels: ide, pull-request-available, server, tomcat, tomcat9 > Fix For: 12.0 > > Attachments: Netbeans11.0-terminal-output.log, Screenshot 2020-02-20 > at 21.17.36.png, apache-tomcat-9.0.31.zip, netbeans11-2-log.zip, > org-netbeans-modules-tomcat5.jar > > Time Spent: 1h 20m > Remaining Estimate: 0h > > * Example code - Not applicable > * Example project - Not applicable > * Attachments... > * Screenshot 1) Console shows success whilst minutes later Netbeans error > appears > * Screenshot 2) Netbeans 11.0 terminal output included and I suspect it the > same error in Netbeans 11.2 > * apache-tomcat-9.0.31.zip that includes the tomcat configuration and logs > for one attempt of running Tomcat (all looks good here) > * netbeans11-2-log for the latest Netbeans 11.2 logs > * Exact steps 1. Add tomcat server 2. Run tomcat server, 3. Confirm it > starts (browser success and console logs success), 4. Minutes later error > appears to say "Starting of Tomcat Failed" > * Actual results - Tomcat should start than then Netbeans would usually > deploy the app, but Netbeans fails to detect Tomcat started successfully. No > projects required to recreate this - starting Tomcat up from within the > Netbeans IDE shows success in the console <500ms but then reports as failed > minutes later > * Expected results - Netbeans should continue to deploy an application once > detecting tomcat has started > * NetBeans version - Multiple (11.0, 11.2) > * JDK version JDK 13 Open JDK and Sun JDK > * OS (Environment) Mac Catalina 10.15.3 > Deeper information follows... > I installed the pre-requisite Open JDK 13 first. > I had Netbeans 8.2 running on my iMac and decided to install the latest > version of Netbeans on my MacBook Pro running Mac OS Catalina 10.15.3, so I > opted for the latest NetBeans 11.2 installer. > I was surprised to see no 'customise' option during installation to choose > Tomcat (which is what used to happen in Netbeans 8.2). Once Netbeans 11.2 > was running I went to the server tab and added Tomcat 9.0.31 by pointing to > the Tomcat brew installation folder and added a private configuration folder, > I entered a new user 'ide' and password and ticked the 'Create user if does > not exist'. > I can confirm it created the user in the tomcat-users.xml file correctly. > ``` > > http://tomcat.apache.org/xml; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0" > xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"> > > > > username="ide"/> > > ``` > When I right-click on the server and choose "Start", or "Start in debug mode" > tomcat starts and it is confirmed as starting within 317 milliseconds. > I can load a browser manually and navigate to > [http://localhost:8084/manager/status] and confirm Tomcat is indeed running. > ``` > NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED > --add-opens=java.base/java.io=ALL-UNNAMED > --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED > 20-Feb-2020 21:09:28.879 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version name: > Apache Tomcat/9.0.31 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 > 2020 19:32:12 UTC > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version number: > 9.0.31.0 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Name: Mac OS X > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.15.3 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Architecture: x86_64 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Java Home: >
[jira] [Commented] (NETBEANS-3903) Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31
[ https://issues.apache.org/jira/browse/NETBEANS-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17043940#comment-17043940 ] Rob commented on NETBEANS-3903: --- Hi all - thanks for your efforts on this, I'm very pleased to be able to use Netbeans 11.2 with Tomcat thanks to your solution. I've updated one of the Stack Overflow questions to reference this ticket as I'm sure there must be many Mac developers that will hit this issue and attempt the long list of solutions listed in the SO answer, none of which solved the issue for me. Please refer to https://stackoverflow.com/questions/5764/starting-of-tomcat-failed-from-netbeans > Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31 > - > > Key: NETBEANS-3903 > URL: https://issues.apache.org/jira/browse/NETBEANS-3903 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, serverplugins - Tomcat >Affects Versions: 11.0, 11.1, 11.2 > Environment: MacOS Catalina 10.15.3 > Netbeans 11.2 (using installer) > Netbeans 11.0 (using binary download) > Tomcat 9.0.31 (via brew and binary download) > Tomcat 8.5.51 (via brew and binary download) >Reporter: Rob >Priority: Blocker > Labels: ide, pull-request-available, server, tomcat, tomcat9 > Attachments: Netbeans11.0-terminal-output.log, Screenshot 2020-02-20 > at 21.17.36.png, apache-tomcat-9.0.31.zip, netbeans11-2-log.zip, > org-netbeans-modules-tomcat5.jar > > Time Spent: 0.5h > Remaining Estimate: 0h > > * Example code - Not applicable > * Example project - Not applicable > * Attachments... > * Screenshot 1) Console shows success whilst minutes later Netbeans error > appears > * Screenshot 2) Netbeans 11.0 terminal output included and I suspect it the > same error in Netbeans 11.2 > * apache-tomcat-9.0.31.zip that includes the tomcat configuration and logs > for one attempt of running Tomcat (all looks good here) > * netbeans11-2-log for the latest Netbeans 11.2 logs > * Exact steps 1. Add tomcat server 2. Run tomcat server, 3. Confirm it > starts (browser success and console logs success), 4. Minutes later error > appears to say "Starting of Tomcat Failed" > * Actual results - Tomcat should start than then Netbeans would usually > deploy the app, but Netbeans fails to detect Tomcat started successfully. No > projects required to recreate this - starting Tomcat up from within the > Netbeans IDE shows success in the console <500ms but then reports as failed > minutes later > * Expected results - Netbeans should continue to deploy an application once > detecting tomcat has started > * NetBeans version - Multiple (11.0, 11.2) > * JDK version JDK 13 Open JDK and Sun JDK > * OS (Environment) Mac Catalina 10.15.3 > Deeper information follows... > I installed the pre-requisite Open JDK 13 first. > I had Netbeans 8.2 running on my iMac and decided to install the latest > version of Netbeans on my MacBook Pro running Mac OS Catalina 10.15.3, so I > opted for the latest NetBeans 11.2 installer. > I was surprised to see no 'customise' option during installation to choose > Tomcat (which is what used to happen in Netbeans 8.2). Once Netbeans 11.2 > was running I went to the server tab and added Tomcat 9.0.31 by pointing to > the Tomcat brew installation folder and added a private configuration folder, > I entered a new user 'ide' and password and ticked the 'Create user if does > not exist'. > I can confirm it created the user in the tomcat-users.xml file correctly. > ``` > > http://tomcat.apache.org/xml; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0" > xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"> > > > > username="ide"/> > > ``` > When I right-click on the server and choose "Start", or "Start in debug mode" > tomcat starts and it is confirmed as starting within 317 milliseconds. > I can load a browser manually and navigate to > [http://localhost:8084/manager/status] and confirm Tomcat is indeed running. > ``` > NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED > --add-opens=java.base/java.io=ALL-UNNAMED > --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED > 20-Feb-2020 21:09:28.879 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version name: > Apache Tomcat/9.0.31 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 > 2020 19:32:12 UTC > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version number: > 9.0.31.0 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Name: Mac OS X > 20-Feb-2020 21:09:28.883 INFO [main] >
[jira] [Commented] (NETBEANS-3903) Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31
[ https://issues.apache.org/jira/browse/NETBEANS-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17043803#comment-17043803 ] Nam Nguyen commented on NETBEANS-3903: -- Thanks. The pull request was created. It should work with older tomcat 8. The fix is simply making the HTTP request adhere to standard HTTP protocol. > Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31 > - > > Key: NETBEANS-3903 > URL: https://issues.apache.org/jira/browse/NETBEANS-3903 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, serverplugins - Tomcat >Affects Versions: 11.0, 11.1, 11.2 > Environment: MacOS Catalina 10.15.3 > Netbeans 11.2 (using installer) > Netbeans 11.0 (using binary download) > Tomcat 9.0.31 (via brew and binary download) > Tomcat 8.5.51 (via brew and binary download) >Reporter: Rob >Priority: Blocker > Labels: ide, server, tomcat, tomcat9 > Attachments: Netbeans11.0-terminal-output.log, Screenshot 2020-02-20 > at 21.17.36.png, apache-tomcat-9.0.31.zip, netbeans11-2-log.zip, > org-netbeans-modules-tomcat5.jar > > > * Example code - Not applicable > * Example project - Not applicable > * Attachments... > * Screenshot 1) Console shows success whilst minutes later Netbeans error > appears > * Screenshot 2) Netbeans 11.0 terminal output included and I suspect it the > same error in Netbeans 11.2 > * apache-tomcat-9.0.31.zip that includes the tomcat configuration and logs > for one attempt of running Tomcat (all looks good here) > * netbeans11-2-log for the latest Netbeans 11.2 logs > * Exact steps 1. Add tomcat server 2. Run tomcat server, 3. Confirm it > starts (browser success and console logs success), 4. Minutes later error > appears to say "Starting of Tomcat Failed" > * Actual results - Tomcat should start than then Netbeans would usually > deploy the app, but Netbeans fails to detect Tomcat started successfully. No > projects required to recreate this - starting Tomcat up from within the > Netbeans IDE shows success in the console <500ms but then reports as failed > minutes later > * Expected results - Netbeans should continue to deploy an application once > detecting tomcat has started > * NetBeans version - Multiple (11.0, 11.2) > * JDK version JDK 13 Open JDK and Sun JDK > * OS (Environment) Mac Catalina 10.15.3 > Deeper information follows... > I installed the pre-requisite Open JDK 13 first. > I had Netbeans 8.2 running on my iMac and decided to install the latest > version of Netbeans on my MacBook Pro running Mac OS Catalina 10.15.3, so I > opted for the latest NetBeans 11.2 installer. > I was surprised to see no 'customise' option during installation to choose > Tomcat (which is what used to happen in Netbeans 8.2). Once Netbeans 11.2 > was running I went to the server tab and added Tomcat 9.0.31 by pointing to > the Tomcat brew installation folder and added a private configuration folder, > I entered a new user 'ide' and password and ticked the 'Create user if does > not exist'. > I can confirm it created the user in the tomcat-users.xml file correctly. > ``` > > http://tomcat.apache.org/xml; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0" > xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"> > > > > username="ide"/> > > ``` > When I right-click on the server and choose "Start", or "Start in debug mode" > tomcat starts and it is confirmed as starting within 317 milliseconds. > I can load a browser manually and navigate to > [http://localhost:8084/manager/status] and confirm Tomcat is indeed running. > ``` > NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED > --add-opens=java.base/java.io=ALL-UNNAMED > --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED > 20-Feb-2020 21:09:28.879 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version name: > Apache Tomcat/9.0.31 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 > 2020 19:32:12 UTC > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version number: > 9.0.31.0 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Name: Mac OS X > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.15.3 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Architecture: x86_64 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Java Home: > /Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home > 20-Feb-2020 21:09:28.883 INFO
[jira] [Commented] (NETBEANS-3903) Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31
[ https://issues.apache.org/jira/browse/NETBEANS-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17043697#comment-17043697 ] Eric Barboni commented on NETBEANS-3903: Hi, I would suggest doing a pull request see procedure here. http://netbeans.apache.org/participate/submit-pr.html#contributing-code Did the fix still works with older tomcat 8 ? > Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31 > - > > Key: NETBEANS-3903 > URL: https://issues.apache.org/jira/browse/NETBEANS-3903 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, serverplugins - Tomcat >Affects Versions: 11.0, 11.1, 11.2 > Environment: MacOS Catalina 10.15.3 > Netbeans 11.2 (using installer) > Netbeans 11.0 (using binary download) > Tomcat 9.0.31 (via brew and binary download) > Tomcat 8.5.51 (via brew and binary download) >Reporter: Rob >Priority: Blocker > Labels: ide, server, tomcat, tomcat9 > Attachments: Netbeans11.0-terminal-output.log, Screenshot 2020-02-20 > at 21.17.36.png, apache-tomcat-9.0.31.zip, netbeans11-2-log.zip, > org-netbeans-modules-tomcat5.jar > > > * Example code - Not applicable > * Example project - Not applicable > * Attachments... > * Screenshot 1) Console shows success whilst minutes later Netbeans error > appears > * Screenshot 2) Netbeans 11.0 terminal output included and I suspect it the > same error in Netbeans 11.2 > * apache-tomcat-9.0.31.zip that includes the tomcat configuration and logs > for one attempt of running Tomcat (all looks good here) > * netbeans11-2-log for the latest Netbeans 11.2 logs > * Exact steps 1. Add tomcat server 2. Run tomcat server, 3. Confirm it > starts (browser success and console logs success), 4. Minutes later error > appears to say "Starting of Tomcat Failed" > * Actual results - Tomcat should start than then Netbeans would usually > deploy the app, but Netbeans fails to detect Tomcat started successfully. No > projects required to recreate this - starting Tomcat up from within the > Netbeans IDE shows success in the console <500ms but then reports as failed > minutes later > * Expected results - Netbeans should continue to deploy an application once > detecting tomcat has started > * NetBeans version - Multiple (11.0, 11.2) > * JDK version JDK 13 Open JDK and Sun JDK > * OS (Environment) Mac Catalina 10.15.3 > Deeper information follows... > I installed the pre-requisite Open JDK 13 first. > I had Netbeans 8.2 running on my iMac and decided to install the latest > version of Netbeans on my MacBook Pro running Mac OS Catalina 10.15.3, so I > opted for the latest NetBeans 11.2 installer. > I was surprised to see no 'customise' option during installation to choose > Tomcat (which is what used to happen in Netbeans 8.2). Once Netbeans 11.2 > was running I went to the server tab and added Tomcat 9.0.31 by pointing to > the Tomcat brew installation folder and added a private configuration folder, > I entered a new user 'ide' and password and ticked the 'Create user if does > not exist'. > I can confirm it created the user in the tomcat-users.xml file correctly. > ``` > > http://tomcat.apache.org/xml; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0" > xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"> > > > > username="ide"/> > > ``` > When I right-click on the server and choose "Start", or "Start in debug mode" > tomcat starts and it is confirmed as starting within 317 milliseconds. > I can load a browser manually and navigate to > [http://localhost:8084/manager/status] and confirm Tomcat is indeed running. > ``` > NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED > --add-opens=java.base/java.io=ALL-UNNAMED > --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED > 20-Feb-2020 21:09:28.879 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version name: > Apache Tomcat/9.0.31 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 > 2020 19:32:12 UTC > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version number: > 9.0.31.0 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Name: Mac OS X > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.15.3 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Architecture: x86_64 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Java Home: > /Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home >
[jira] [Commented] (NETBEANS-3903) Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31
[ https://issues.apache.org/jira/browse/NETBEANS-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17043685#comment-17043685 ] Rob commented on NETBEANS-3903: --- Thanks [~namn2020] - I can confirm that copying the file over into the enterprise/modules folder worked for me. I did not need to clear the .cache or .netbeans folder for some reason it just worked. > Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31 > - > > Key: NETBEANS-3903 > URL: https://issues.apache.org/jira/browse/NETBEANS-3903 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, serverplugins - Tomcat >Affects Versions: 11.0, 11.1, 11.2 > Environment: MacOS Catalina 10.15.3 > Netbeans 11.2 (using installer) > Netbeans 11.0 (using binary download) > Tomcat 9.0.31 (via brew and binary download) > Tomcat 8.5.51 (via brew and binary download) >Reporter: Rob >Priority: Blocker > Labels: ide, server, tomcat, tomcat9 > Attachments: Netbeans11.0-terminal-output.log, Screenshot 2020-02-20 > at 21.17.36.png, apache-tomcat-9.0.31.zip, netbeans11-2-log.zip, > org-netbeans-modules-tomcat5.jar > > > * Example code - Not applicable > * Example project - Not applicable > * Attachments... > * Screenshot 1) Console shows success whilst minutes later Netbeans error > appears > * Screenshot 2) Netbeans 11.0 terminal output included and I suspect it the > same error in Netbeans 11.2 > * apache-tomcat-9.0.31.zip that includes the tomcat configuration and logs > for one attempt of running Tomcat (all looks good here) > * netbeans11-2-log for the latest Netbeans 11.2 logs > * Exact steps 1. Add tomcat server 2. Run tomcat server, 3. Confirm it > starts (browser success and console logs success), 4. Minutes later error > appears to say "Starting of Tomcat Failed" > * Actual results - Tomcat should start than then Netbeans would usually > deploy the app, but Netbeans fails to detect Tomcat started successfully. No > projects required to recreate this - starting Tomcat up from within the > Netbeans IDE shows success in the console <500ms but then reports as failed > minutes later > * Expected results - Netbeans should continue to deploy an application once > detecting tomcat has started > * NetBeans version - Multiple (11.0, 11.2) > * JDK version JDK 13 Open JDK and Sun JDK > * OS (Environment) Mac Catalina 10.15.3 > Deeper information follows... > I installed the pre-requisite Open JDK 13 first. > I had Netbeans 8.2 running on my iMac and decided to install the latest > version of Netbeans on my MacBook Pro running Mac OS Catalina 10.15.3, so I > opted for the latest NetBeans 11.2 installer. > I was surprised to see no 'customise' option during installation to choose > Tomcat (which is what used to happen in Netbeans 8.2). Once Netbeans 11.2 > was running I went to the server tab and added Tomcat 9.0.31 by pointing to > the Tomcat brew installation folder and added a private configuration folder, > I entered a new user 'ide' and password and ticked the 'Create user if does > not exist'. > I can confirm it created the user in the tomcat-users.xml file correctly. > ``` > > http://tomcat.apache.org/xml; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0" > xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"> > > > > username="ide"/> > > ``` > When I right-click on the server and choose "Start", or "Start in debug mode" > tomcat starts and it is confirmed as starting within 317 milliseconds. > I can load a browser manually and navigate to > [http://localhost:8084/manager/status] and confirm Tomcat is indeed running. > ``` > NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED > --add-opens=java.base/java.io=ALL-UNNAMED > --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED > 20-Feb-2020 21:09:28.879 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version name: > Apache Tomcat/9.0.31 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 > 2020 19:32:12 UTC > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version number: > 9.0.31.0 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Name: Mac OS X > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.15.3 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Architecture: x86_64 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Java Home: >
[jira] [Commented] (NETBEANS-3903) Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31
[ https://issues.apache.org/jira/browse/NETBEANS-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17043156#comment-17043156 ] Nam Nguyen commented on NETBEANS-3903: -- The file I attached above can be download and paste into the folder: netbeans/enterprise/modules I also found that I need to clear the ".cache" folder and ".netbeans" folder. Although doing so will delete your preferences, which is not a big deal. This also happens on Linux. I don't know why they didn't fix it sooner, although it appears to be a blocker issue. I don't have the merge right, so I can't put it into the nightly build. Hopefully one of the developers who has that right would do that. > Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31 > - > > Key: NETBEANS-3903 > URL: https://issues.apache.org/jira/browse/NETBEANS-3903 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, serverplugins - Tomcat >Affects Versions: 11.0, 11.1, 11.2 > Environment: MacOS Catalina 10.15.3 > Netbeans 11.2 (using installer) > Netbeans 11.0 (using binary download) > Tomcat 9.0.31 (via brew and binary download) > Tomcat 8.5.51 (via brew and binary download) >Reporter: Rob >Priority: Blocker > Labels: ide, server, tomcat, tomcat9 > Attachments: Netbeans11.0-terminal-output.log, Screenshot 2020-02-20 > at 21.17.36.png, apache-tomcat-9.0.31.zip, netbeans11-2-log.zip, > org-netbeans-modules-tomcat5.jar > > > * Example code - Not applicable > * Example project - Not applicable > * Attachments... > * Screenshot 1) Console shows success whilst minutes later Netbeans error > appears > * Screenshot 2) Netbeans 11.0 terminal output included and I suspect it the > same error in Netbeans 11.2 > * apache-tomcat-9.0.31.zip that includes the tomcat configuration and logs > for one attempt of running Tomcat (all looks good here) > * netbeans11-2-log for the latest Netbeans 11.2 logs > * Exact steps 1. Add tomcat server 2. Run tomcat server, 3. Confirm it > starts (browser success and console logs success), 4. Minutes later error > appears to say "Starting of Tomcat Failed" > * Actual results - Tomcat should start than then Netbeans would usually > deploy the app, but Netbeans fails to detect Tomcat started successfully. No > projects required to recreate this - starting Tomcat up from within the > Netbeans IDE shows success in the console <500ms but then reports as failed > minutes later > * Expected results - Netbeans should continue to deploy an application once > detecting tomcat has started > * NetBeans version - Multiple (11.0, 11.2) > * JDK version JDK 13 Open JDK and Sun JDK > * OS (Environment) Mac Catalina 10.15.3 > Deeper information follows... > I installed the pre-requisite Open JDK 13 first. > I had Netbeans 8.2 running on my iMac and decided to install the latest > version of Netbeans on my MacBook Pro running Mac OS Catalina 10.15.3, so I > opted for the latest NetBeans 11.2 installer. > I was surprised to see no 'customise' option during installation to choose > Tomcat (which is what used to happen in Netbeans 8.2). Once Netbeans 11.2 > was running I went to the server tab and added Tomcat 9.0.31 by pointing to > the Tomcat brew installation folder and added a private configuration folder, > I entered a new user 'ide' and password and ticked the 'Create user if does > not exist'. > I can confirm it created the user in the tomcat-users.xml file correctly. > ``` > > http://tomcat.apache.org/xml; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0" > xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"> > > > > username="ide"/> > > ``` > When I right-click on the server and choose "Start", or "Start in debug mode" > tomcat starts and it is confirmed as starting within 317 milliseconds. > I can load a browser manually and navigate to > [http://localhost:8084/manager/status] and confirm Tomcat is indeed running. > ``` > NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED > --add-opens=java.base/java.io=ALL-UNNAMED > --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED > 20-Feb-2020 21:09:28.879 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version name: > Apache Tomcat/9.0.31 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 > 2020 19:32:12 UTC > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version number: > 9.0.31.0 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Name: Mac OS X > 20-Feb-2020 21:09:28.883 INFO [main] >
[jira] [Commented] (NETBEANS-3903) Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31
[ https://issues.apache.org/jira/browse/NETBEANS-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17043026#comment-17043026 ] Rob commented on NETBEANS-3903: --- Thanks for this [~namn2020], will this fix be included in a nightly build - preferably something I can just install via a .dmg onto the Mac? I have no idea how to build the whole netbeans project nor how to grab the artefacts output to install. I'm happy to test any fix and provide feedback on whether it works. I've tried multiple versions of Netbeans and Tomcat on my Mac and it seems I could only get it working in Netbeans 8.2 (although I'm sure that there must be other versions working) - surely lots of other people are hitting this problem so I'm amazed it's a code change - does this imply other people aren't using Macs, or aren't using Tomcat, or are they hitting this problem and then moving onto a different IDE? > Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31 > - > > Key: NETBEANS-3903 > URL: https://issues.apache.org/jira/browse/NETBEANS-3903 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, serverplugins - Tomcat >Affects Versions: 11.0, 11.1, 11.2 > Environment: MacOS Catalina 10.15.3 > Netbeans 11.2 (using installer) > Netbeans 11.0 (using binary download) > Tomcat 9.0.31 (via brew and binary download) > Tomcat 8.5.51 (via brew and binary download) >Reporter: Rob >Priority: Blocker > Labels: ide, server, tomcat, tomcat9 > Attachments: Netbeans11.0-terminal-output.log, Screenshot 2020-02-20 > at 21.17.36.png, apache-tomcat-9.0.31.zip, netbeans11-2-log.zip, > org-netbeans-modules-tomcat5.jar > > > * Example code - Not applicable > * Example project - Not applicable > * Attachments... > * Screenshot 1) Console shows success whilst minutes later Netbeans error > appears > * Screenshot 2) Netbeans 11.0 terminal output included and I suspect it the > same error in Netbeans 11.2 > * apache-tomcat-9.0.31.zip that includes the tomcat configuration and logs > for one attempt of running Tomcat (all looks good here) > * netbeans11-2-log for the latest Netbeans 11.2 logs > * Exact steps 1. Add tomcat server 2. Run tomcat server, 3. Confirm it > starts (browser success and console logs success), 4. Minutes later error > appears to say "Starting of Tomcat Failed" > * Actual results - Tomcat should start than then Netbeans would usually > deploy the app, but Netbeans fails to detect Tomcat started successfully. No > projects required to recreate this - starting Tomcat up from within the > Netbeans IDE shows success in the console <500ms but then reports as failed > minutes later > * Expected results - Netbeans should continue to deploy an application once > detecting tomcat has started > * NetBeans version - Multiple (11.0, 11.2) > * JDK version JDK 13 Open JDK and Sun JDK > * OS (Environment) Mac Catalina 10.15.3 > Deeper information follows... > I installed the pre-requisite Open JDK 13 first. > I had Netbeans 8.2 running on my iMac and decided to install the latest > version of Netbeans on my MacBook Pro running Mac OS Catalina 10.15.3, so I > opted for the latest NetBeans 11.2 installer. > I was surprised to see no 'customise' option during installation to choose > Tomcat (which is what used to happen in Netbeans 8.2). Once Netbeans 11.2 > was running I went to the server tab and added Tomcat 9.0.31 by pointing to > the Tomcat brew installation folder and added a private configuration folder, > I entered a new user 'ide' and password and ticked the 'Create user if does > not exist'. > I can confirm it created the user in the tomcat-users.xml file correctly. > ``` > > http://tomcat.apache.org/xml; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0" > xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"> > > > > username="ide"/> > > ``` > When I right-click on the server and choose "Start", or "Start in debug mode" > tomcat starts and it is confirmed as starting within 317 milliseconds. > I can load a browser manually and navigate to > [http://localhost:8084/manager/status] and confirm Tomcat is indeed running. > ``` > NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED > --add-opens=java.base/java.io=ALL-UNNAMED > --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED > 20-Feb-2020 21:09:28.879 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version name: > Apache Tomcat/9.0.31 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 > 2020 19:32:12 UTC > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version
[jira] [Commented] (NETBEANS-3903) Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31
[ https://issues.apache.org/jira/browse/NETBEANS-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17042745#comment-17042745 ] Nam Nguyen commented on NETBEANS-3903: -- The issue can be fixed, by updating the following file: org.netbeans.modules.tomcat5.util.Utils.java Line 81, Added \r\n to the end of this: out.println("HEAD /netbeans-tomcat-status-test HTTP/1.1\r\nHost: localhost:" + port + "\r\n"); // NOI18N Resulted: out.println("HEAD /netbeans-tomcat-status-test HTTP/1.1\r\nHost: localhost:" + port + "\r\n\r\n"); // NOI18N After that, must rebuild the Tomcat5 module and replace. The cause is probably the server was waiting for another newline after the header. So reading from it doesn't work. > Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31 > - > > Key: NETBEANS-3903 > URL: https://issues.apache.org/jira/browse/NETBEANS-3903 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, serverplugins - Tomcat >Affects Versions: 11.0, 11.1, 11.2 > Environment: MacOS Catalina 10.15.3 > Netbeans 11.2 (using installer) > Netbeans 11.0 (using binary download) > Tomcat 9.0.31 (via brew and binary download) > Tomcat 8.5.51 (via brew and binary download) >Reporter: Rob >Priority: Blocker > Labels: ide, server, tomcat, tomcat9 > Attachments: Netbeans11.0-terminal-output.log, Screenshot 2020-02-20 > at 21.17.36.png, apache-tomcat-9.0.31.zip, netbeans11-2-log.zip > > > * Example code - Not applicable > * Example project - Not applicable > * Attachments... > * Screenshot 1) Console shows success whilst minutes later Netbeans error > appears > * Screenshot 2) Netbeans 11.0 terminal output included and I suspect it the > same error in Netbeans 11.2 > * apache-tomcat-9.0.31.zip that includes the tomcat configuration and logs > for one attempt of running Tomcat (all looks good here) > * netbeans11-2-log for the latest Netbeans 11.2 logs > * Exact steps 1. Add tomcat server 2. Run tomcat server, 3. Confirm it > starts (browser success and console logs success), 4. Minutes later error > appears to say "Starting of Tomcat Failed" > * Actual results - Tomcat should start than then Netbeans would usually > deploy the app, but Netbeans fails to detect Tomcat started successfully. No > projects required to recreate this - starting Tomcat up from within the > Netbeans IDE shows success in the console <500ms but then reports as failed > minutes later > * Expected results - Netbeans should continue to deploy an application once > detecting tomcat has started > * NetBeans version - Multiple (11.0, 11.2) > * JDK version JDK 13 Open JDK and Sun JDK > * OS (Environment) Mac Catalina 10.15.3 > Deeper information follows... > I installed the pre-requisite Open JDK 13 first. > I had Netbeans 8.2 running on my iMac and decided to install the latest > version of Netbeans on my MacBook Pro running Mac OS Catalina 10.15.3, so I > opted for the latest NetBeans 11.2 installer. > I was surprised to see no 'customise' option during installation to choose > Tomcat (which is what used to happen in Netbeans 8.2). Once Netbeans 11.2 > was running I went to the server tab and added Tomcat 9.0.31 by pointing to > the Tomcat brew installation folder and added a private configuration folder, > I entered a new user 'ide' and password and ticked the 'Create user if does > not exist'. > I can confirm it created the user in the tomcat-users.xml file correctly. > ``` > > http://tomcat.apache.org/xml; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0" > xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"> > > > > username="ide"/> > > ``` > When I right-click on the server and choose "Start", or "Start in debug mode" > tomcat starts and it is confirmed as starting within 317 milliseconds. > I can load a browser manually and navigate to > [http://localhost:8084/manager/status] and confirm Tomcat is indeed running. > ``` > NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED > --add-opens=java.base/java.io=ALL-UNNAMED > --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED > 20-Feb-2020 21:09:28.879 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version name: > Apache Tomcat/9.0.31 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 > 2020 19:32:12 UTC > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server version number: > 9.0.31.0 > 20-Feb-2020 21:09:28.883 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS Name: Mac OS X > 20-Feb-2020 21:09:28.883 INFO [main] >