You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ma...@apache.org on 2020/02/25 20:07:03 UTC

[netbeans] branch master updated: [NETBEANS-3903] - Netbeans 11.2 fails to detect startup of Tomcat

This is an automated email from the ASF dual-hosted git repository.

matthiasblaesing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new 8375ec8  [NETBEANS-3903] - Netbeans 11.2 fails to detect startup of Tomcat
     new ee94db4  Merge pull request #1981 from nam-van-nguyen/NETBEANS-3903
8375ec8 is described below

commit 8375ec8f8e351a8da1ea836533621d3cf13c295c
Author: Nam Nguyen <nu...@gmail.com>
AuthorDate: Tue Feb 25 13:46:22 2020 -0500

    [NETBEANS-3903] - Netbeans 11.2 fails to detect startup of Tomcat
    
      + Added new line to the HTTP head request to the Tomcat so it would
        return successfully (according to HTTP specs)
---
 enterprise/tomcat5/src/org/netbeans/modules/tomcat5/util/Utils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/enterprise/tomcat5/src/org/netbeans/modules/tomcat5/util/Utils.java b/enterprise/tomcat5/src/org/netbeans/modules/tomcat5/util/Utils.java
index e64ae97..3c45c8b 100644
--- a/enterprise/tomcat5/src/org/netbeans/modules/tomcat5/util/Utils.java
+++ b/enterprise/tomcat5/src/org/netbeans/modules/tomcat5/util/Utils.java
@@ -78,7 +78,7 @@ public final class Utils {
                     BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
                     try {
                         // request
-                        out.println("HEAD /netbeans-tomcat-status-test HTTP/1.1\r\nHost: localhost:" + port + "\r\n"); // NOI18N
+                        out.println("HEAD /netbeans-tomcat-status-test HTTP/1.1\r\nHost: localhost:" + port + "\r\n\r\n"); // NOI18N
                         out.flush();
 
                         // response


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists