[JBoss JIRA] (WFCORE-2771) Wildfly Management Console should log bound ports
by Jason Tedor (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2771?page=com.atlassian.jira.plugi... ]
Jason Tedor updated WFCORE-2771:
--------------------------------
Git Pull Request: https://github.com/wildfly/wildfly-core/pull/2390
> Wildfly Management Console should log bound ports
> -------------------------------------------------
>
> Key: WFCORE-2771
> URL: https://issues.jboss.org/browse/WFCORE-2771
> Project: WildFly Core
> Issue Type: Bug
> Components: Server
> Reporter: Jason Tedor
> Assignee: Jason Greene
>
> When binding Wildfly Management Console to an ephemeral port (i.e., by specifying port 0), Wildfly states that the management console is not enabled:
> {code}
> 23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0063: Http management interface is not enabled
> 23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled
> {code}
> This isn't right. For example, using {{lsof}} I can see that Wildfly bound to an ephemeral port. After starting Wildfly with {{-Djboss.management.http.port=0}}:
> {code}
> $ lsof -p `jps | grep jboss-modules.jar | awk '{print $1}'` -P -n | grep TCP
> java 59501 jason 379u IPv4 0xd038b817c1abd6a5 0t0 TCP 127.0.0.1:8080 (LISTEN)
> java 59501 jason 387u IPv4 0xd038b817acfc6a85 0t0 TCP 127.0.0.1:65238 (LISTEN)
> java 59501 jason 390u IPv4 0xd038b817b86956a5 0t0 TCP 127.0.0.1:8443 (LISTEN)
> $ curl -v -XGET localhost:65238
> Note: Unnecessary use of -X or --request, GET is already inferred.
> * Rebuilt URL to: localhost:65238/
> * Trying ::1...
> * TCP_NODELAY set
> * Connection failed
> * connect to ::1 port 65238 failed: Connection refused
> * Trying 127.0.0.1...
> * TCP_NODELAY set
> * Connected to localhost (127.0.0.1) port 65238 (#0)
> > GET / HTTP/1.1
> > Host: localhost:65238
> > User-Agent: curl/7.51.0
> > Accept: */*
> >
> < HTTP/1.1 301 Moved Permanently
> < Connection: keep-alive
> < Location: http://localhost:65238/console/index.html
> < Content-Length: 0
> < Date: Sun, 07 May 2017 03:25:04 GMT
> <
> * Curl_http_done: called premature == 0
> * Connection #0 to host localhost left intact
> {code}
> showing that Wildfly is indeed listening and giving the usual redirect to the Console index.
> Instead, Wildfly should log the ephemeral port that it actually bound to:
> {code}
> 23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:65301/management
> 23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:65301
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 8 months
[JBoss JIRA] (WFCORE-2771) Wildfly Management Console should log bound ports
by Jason Tedor (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2771?page=com.atlassian.jira.plugi... ]
Jason Tedor updated WFCORE-2771:
--------------------------------
Description:
When binding Wildfly Management Console to an ephemeral port (i.e., by specifying port 0), Wildfly states that the management console is not enabled:
{code}
23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0063: Http management interface is not enabled
23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled
{code}
This isn't right. For example, using {{lsof}} I can see that Wildfly bound to an ephemeral port. After starting Wildfly with {{-Djboss.management.http.port=0}}:
{code}
$ lsof -p `jps | grep jboss-modules.jar | awk '{print $1}'` -P -n | grep TCP
java 59501 jason 379u IPv4 0xd038b817c1abd6a5 0t0 TCP 127.0.0.1:8080 (LISTEN)
java 59501 jason 387u IPv4 0xd038b817acfc6a85 0t0 TCP 127.0.0.1:65238 (LISTEN)
java 59501 jason 390u IPv4 0xd038b817b86956a5 0t0 TCP 127.0.0.1:8443 (LISTEN)
$ curl -v -XGET localhost:65238
Note: Unnecessary use of -X or --request, GET is already inferred.
* Rebuilt URL to: localhost:65238/
* Trying ::1...
* TCP_NODELAY set
* Connection failed
* connect to ::1 port 65238 failed: Connection refused
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 65238 (#0)
> GET / HTTP/1.1
> Host: localhost:65238
> User-Agent: curl/7.51.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Connection: keep-alive
< Location: http://localhost:65238/console/index.html
< Content-Length: 0
< Date: Sun, 07 May 2017 03:25:04 GMT
<
* Curl_http_done: called premature == 0
* Connection #0 to host localhost left intact
{code}
showing that Wildfly is indeed listening and giving the usual redirect to the Console index.
Instead, Wildfly should log the ephemeral port that it actually bound to:
{code}
23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:65301/management
23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:65301
{code}
was:
When binding Wildfly Management Console to an ephemeral port (i.e., by specifying port 0), Wildfly states that the management console:
{code}
23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0063: Http management interface is not enabled
23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled
{code}
This isn't right. For example, using {{lsof}} I can see that Wildfly bound to an ephemeral port. After starting Wildfly with {{-Djboss.management.http.port=0}}:
{code}
$ lsof -p `jps | grep jboss-modules.jar | awk '{print $1}'` -P -n | grep TCP
java 59501 jason 379u IPv4 0xd038b817c1abd6a5 0t0 TCP 127.0.0.1:8080 (LISTEN)
java 59501 jason 387u IPv4 0xd038b817acfc6a85 0t0 TCP 127.0.0.1:65238 (LISTEN)
java 59501 jason 390u IPv4 0xd038b817b86956a5 0t0 TCP 127.0.0.1:8443 (LISTEN)
$ curl -v -XGET localhost:65238
Note: Unnecessary use of -X or --request, GET is already inferred.
* Rebuilt URL to: localhost:65238/
* Trying ::1...
* TCP_NODELAY set
* Connection failed
* connect to ::1 port 65238 failed: Connection refused
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 65238 (#0)
> GET / HTTP/1.1
> Host: localhost:65238
> User-Agent: curl/7.51.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Connection: keep-alive
< Location: http://localhost:65238/console/index.html
< Content-Length: 0
< Date: Sun, 07 May 2017 03:25:04 GMT
<
* Curl_http_done: called premature == 0
* Connection #0 to host localhost left intact
{code}
showing that Wildfly is indeed listening and giving the usual redirect to the Console index.
Instead, Wildfly should log the ephemeral port that it actually bound to:
{code}
23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:65301/management
23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:65301
{code}
> Wildfly Management Console should log bound ports
> -------------------------------------------------
>
> Key: WFCORE-2771
> URL: https://issues.jboss.org/browse/WFCORE-2771
> Project: WildFly Core
> Issue Type: Bug
> Components: Server
> Reporter: Jason Tedor
> Assignee: Jason Greene
>
> When binding Wildfly Management Console to an ephemeral port (i.e., by specifying port 0), Wildfly states that the management console is not enabled:
> {code}
> 23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0063: Http management interface is not enabled
> 23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled
> {code}
> This isn't right. For example, using {{lsof}} I can see that Wildfly bound to an ephemeral port. After starting Wildfly with {{-Djboss.management.http.port=0}}:
> {code}
> $ lsof -p `jps | grep jboss-modules.jar | awk '{print $1}'` -P -n | grep TCP
> java 59501 jason 379u IPv4 0xd038b817c1abd6a5 0t0 TCP 127.0.0.1:8080 (LISTEN)
> java 59501 jason 387u IPv4 0xd038b817acfc6a85 0t0 TCP 127.0.0.1:65238 (LISTEN)
> java 59501 jason 390u IPv4 0xd038b817b86956a5 0t0 TCP 127.0.0.1:8443 (LISTEN)
> $ curl -v -XGET localhost:65238
> Note: Unnecessary use of -X or --request, GET is already inferred.
> * Rebuilt URL to: localhost:65238/
> * Trying ::1...
> * TCP_NODELAY set
> * Connection failed
> * connect to ::1 port 65238 failed: Connection refused
> * Trying 127.0.0.1...
> * TCP_NODELAY set
> * Connected to localhost (127.0.0.1) port 65238 (#0)
> > GET / HTTP/1.1
> > Host: localhost:65238
> > User-Agent: curl/7.51.0
> > Accept: */*
> >
> < HTTP/1.1 301 Moved Permanently
> < Connection: keep-alive
> < Location: http://localhost:65238/console/index.html
> < Content-Length: 0
> < Date: Sun, 07 May 2017 03:25:04 GMT
> <
> * Curl_http_done: called premature == 0
> * Connection #0 to host localhost left intact
> {code}
> showing that Wildfly is indeed listening and giving the usual redirect to the Console index.
> Instead, Wildfly should log the ephemeral port that it actually bound to:
> {code}
> 23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:65301/management
> 23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:65301
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 8 months
[JBoss JIRA] (WFCORE-2771) Wildfly Management Console should log bound ports
by Jason Tedor (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2771?page=com.atlassian.jira.plugi... ]
Jason Tedor updated WFCORE-2771:
--------------------------------
Description:
When binding Wildfly Management Console to an ephemeral port (i.e., by specifying port 0), Wildfly states that the management console:
{code}
23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0063: Http management interface is not enabled
23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled
{code}
This isn't right. For example, using {{lsof}} I can see that Wildfly bound to an ephemeral port. After starting Wildfly with {{-Djboss.management.http.port=0}}:
{code}
$ lsof -p `jps | grep jboss-modules.jar | awk '{print $1}'` -P -n | grep TCP
java 59501 jason 379u IPv4 0xd038b817c1abd6a5 0t0 TCP 127.0.0.1:8080 (LISTEN)
java 59501 jason 387u IPv4 0xd038b817acfc6a85 0t0 TCP 127.0.0.1:65238 (LISTEN)
java 59501 jason 390u IPv4 0xd038b817b86956a5 0t0 TCP 127.0.0.1:8443 (LISTEN)
$ curl -v -XGET localhost:65238
Note: Unnecessary use of -X or --request, GET is already inferred.
* Rebuilt URL to: localhost:65238/
* Trying ::1...
* TCP_NODELAY set
* Connection failed
* connect to ::1 port 65238 failed: Connection refused
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 65238 (#0)
> GET / HTTP/1.1
> Host: localhost:65238
> User-Agent: curl/7.51.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Connection: keep-alive
< Location: http://localhost:65238/console/index.html
< Content-Length: 0
< Date: Sun, 07 May 2017 03:25:04 GMT
<
* Curl_http_done: called premature == 0
* Connection #0 to host localhost left intact
{code}
showing that Wildfly is indeed listening and giving the usual redirect to the Console index.
Instead, Wildfly should log the ephemeral port that it actually bound to:
{code}
23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:65301/management
23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:65301
{code}
was:
When binding Wildfly Management Console to an ephemeral port (i.e., by specifying port 0), Wildfly states that the management console:
{{23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0063: Http management interface is not enabled
23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled}}
This isn't right. For example, using {{lsof}} I can see that Wildfly bound to an ephemeral port. After starting Wildfly with {{-Djboss.management.http.port=0}}:
{code}
$ lsof -p `jps | grep jboss-modules.jar | awk '{print $1}'` -P -n | grep TCP
java 59501 jason 379u IPv4 0xd038b817c1abd6a5 0t0 TCP 127.0.0.1:8080 (LISTEN)
java 59501 jason 387u IPv4 0xd038b817acfc6a85 0t0 TCP 127.0.0.1:65238 (LISTEN)
java 59501 jason 390u IPv4 0xd038b817b86956a5 0t0 TCP 127.0.0.1:8443 (LISTEN)
$ curl -v -XGET localhost:65238
Note: Unnecessary use of -X or --request, GET is already inferred.
* Rebuilt URL to: localhost:65238/
* Trying ::1...
* TCP_NODELAY set
* Connection failed
* connect to ::1 port 65238 failed: Connection refused
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 65238 (#0)
> GET / HTTP/1.1
> Host: localhost:65238
> User-Agent: curl/7.51.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Connection: keep-alive
< Location: http://localhost:65238/console/index.html
< Content-Length: 0
< Date: Sun, 07 May 2017 03:25:04 GMT
<
* Curl_http_done: called premature == 0
* Connection #0 to host localhost left intact
{code}
showing that Wildfly is indeed listening and giving the usual redirect to the Console index.
Instead, Wildfly should log the ephemeral port that it actually bound to:
{{23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:65301/management
23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:65301}}
> Wildfly Management Console should log bound ports
> -------------------------------------------------
>
> Key: WFCORE-2771
> URL: https://issues.jboss.org/browse/WFCORE-2771
> Project: WildFly Core
> Issue Type: Bug
> Components: Server
> Reporter: Jason Tedor
> Assignee: Jason Greene
>
> When binding Wildfly Management Console to an ephemeral port (i.e., by specifying port 0), Wildfly states that the management console:
> {code}
> 23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0063: Http management interface is not enabled
> 23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled
> {code}
> This isn't right. For example, using {{lsof}} I can see that Wildfly bound to an ephemeral port. After starting Wildfly with {{-Djboss.management.http.port=0}}:
> {code}
> $ lsof -p `jps | grep jboss-modules.jar | awk '{print $1}'` -P -n | grep TCP
> java 59501 jason 379u IPv4 0xd038b817c1abd6a5 0t0 TCP 127.0.0.1:8080 (LISTEN)
> java 59501 jason 387u IPv4 0xd038b817acfc6a85 0t0 TCP 127.0.0.1:65238 (LISTEN)
> java 59501 jason 390u IPv4 0xd038b817b86956a5 0t0 TCP 127.0.0.1:8443 (LISTEN)
> $ curl -v -XGET localhost:65238
> Note: Unnecessary use of -X or --request, GET is already inferred.
> * Rebuilt URL to: localhost:65238/
> * Trying ::1...
> * TCP_NODELAY set
> * Connection failed
> * connect to ::1 port 65238 failed: Connection refused
> * Trying 127.0.0.1...
> * TCP_NODELAY set
> * Connected to localhost (127.0.0.1) port 65238 (#0)
> > GET / HTTP/1.1
> > Host: localhost:65238
> > User-Agent: curl/7.51.0
> > Accept: */*
> >
> < HTTP/1.1 301 Moved Permanently
> < Connection: keep-alive
> < Location: http://localhost:65238/console/index.html
> < Content-Length: 0
> < Date: Sun, 07 May 2017 03:25:04 GMT
> <
> * Curl_http_done: called premature == 0
> * Connection #0 to host localhost left intact
> {code}
> showing that Wildfly is indeed listening and giving the usual redirect to the Console index.
> Instead, Wildfly should log the ephemeral port that it actually bound to:
> {code}
> 23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:65301/management
> 23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:65301
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 8 months
[JBoss JIRA] (WFCORE-2771) Wildfly Management Console should log bound ports
by Jason Tedor (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2771?page=com.atlassian.jira.plugi... ]
Jason Tedor updated WFCORE-2771:
--------------------------------
Description:
When binding Wildfly Management Console to an ephemeral port (i.e., by specifying port 0), Wildfly states that the management console:
{{23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0063: Http management interface is not enabled
23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled}}
This isn't right. For example, using {{lsof}} I can see that Wildfly bound to an ephemeral port. After starting Wildfly with {{-Djboss.management.http.port=0}}:
{code}
$ lsof -p `jps | grep jboss-modules.jar | awk '{print $1}'` -P -n | grep TCP
java 59501 jason 379u IPv4 0xd038b817c1abd6a5 0t0 TCP 127.0.0.1:8080 (LISTEN)
java 59501 jason 387u IPv4 0xd038b817acfc6a85 0t0 TCP 127.0.0.1:65238 (LISTEN)
java 59501 jason 390u IPv4 0xd038b817b86956a5 0t0 TCP 127.0.0.1:8443 (LISTEN)
$ curl -v -XGET localhost:65238
Note: Unnecessary use of -X or --request, GET is already inferred.
* Rebuilt URL to: localhost:65238/
* Trying ::1...
* TCP_NODELAY set
* Connection failed
* connect to ::1 port 65238 failed: Connection refused
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 65238 (#0)
> GET / HTTP/1.1
> Host: localhost:65238
> User-Agent: curl/7.51.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Connection: keep-alive
< Location: http://localhost:65238/console/index.html
< Content-Length: 0
< Date: Sun, 07 May 2017 03:25:04 GMT
<
* Curl_http_done: called premature == 0
* Connection #0 to host localhost left intact
{code}
showing that Wildfly is indeed listening and giving the usual redirect to the Console index.
Instead, Wildfly should log the ephemeral port that it actually bound to:
{{23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:65301/management
23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:65301}}
was:
When binding Wildfly Management Console to an ephemeral port (i.e., by specifying port 0), Wildfly states that the management console:
{{23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0063: Http management interface is not enabled
23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled}}
This isn't right. For example, using {{lsof}} I can see that Wildfly bound to an ephemeral port. After starting Wildfly with {{-Djboss.management.http.port=0}}:
{{$ lsof -p `jps | grep jboss-modules.jar | awk '{print $1}'` -P -n | grep TCP
java 59501 jason 379u IPv4 0xd038b817c1abd6a5 0t0 TCP 127.0.0.1:8080 (LISTEN)
java 59501 jason 387u IPv4 0xd038b817acfc6a85 0t0 TCP 127.0.0.1:65238 (LISTEN)
java 59501 jason 390u IPv4 0xd038b817b86956a5 0t0 TCP 127.0.0.1:8443 (LISTEN)
$ curl -v -XGET localhost:65238
Note: Unnecessary use of -X or --request, GET is already inferred.
* Rebuilt URL to: localhost:65238/
* Trying ::1...
* TCP_NODELAY set
* Connection failed
* connect to ::1 port 65238 failed: Connection refused
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 65238 (#0)
> GET / HTTP/1.1
> Host: localhost:65238
> User-Agent: curl/7.51.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Connection: keep-alive
< Location: http://localhost:65238/console/index.html
< Content-Length: 0
< Date: Sun, 07 May 2017 03:25:04 GMT
<
* Curl_http_done: called premature == 0
* Connection #0 to host localhost left intact}}
showing that Wildfly is indeed listening and giving the usual redirect to the Console index.
Instead, Wildfly should log the ephemeral port that it actually bound to:
{{23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:65301/management
23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:65301}}
> Wildfly Management Console should log bound ports
> -------------------------------------------------
>
> Key: WFCORE-2771
> URL: https://issues.jboss.org/browse/WFCORE-2771
> Project: WildFly Core
> Issue Type: Bug
> Components: Server
> Reporter: Jason Tedor
> Assignee: Jason Greene
>
> When binding Wildfly Management Console to an ephemeral port (i.e., by specifying port 0), Wildfly states that the management console:
> {{23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0063: Http management interface is not enabled
> 23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled}}
> This isn't right. For example, using {{lsof}} I can see that Wildfly bound to an ephemeral port. After starting Wildfly with {{-Djboss.management.http.port=0}}:
> {code}
> $ lsof -p `jps | grep jboss-modules.jar | awk '{print $1}'` -P -n | grep TCP
> java 59501 jason 379u IPv4 0xd038b817c1abd6a5 0t0 TCP 127.0.0.1:8080 (LISTEN)
> java 59501 jason 387u IPv4 0xd038b817acfc6a85 0t0 TCP 127.0.0.1:65238 (LISTEN)
> java 59501 jason 390u IPv4 0xd038b817b86956a5 0t0 TCP 127.0.0.1:8443 (LISTEN)
> $ curl -v -XGET localhost:65238
> Note: Unnecessary use of -X or --request, GET is already inferred.
> * Rebuilt URL to: localhost:65238/
> * Trying ::1...
> * TCP_NODELAY set
> * Connection failed
> * connect to ::1 port 65238 failed: Connection refused
> * Trying 127.0.0.1...
> * TCP_NODELAY set
> * Connected to localhost (127.0.0.1) port 65238 (#0)
> > GET / HTTP/1.1
> > Host: localhost:65238
> > User-Agent: curl/7.51.0
> > Accept: */*
> >
> < HTTP/1.1 301 Moved Permanently
> < Connection: keep-alive
> < Location: http://localhost:65238/console/index.html
> < Content-Length: 0
> < Date: Sun, 07 May 2017 03:25:04 GMT
> <
> * Curl_http_done: called premature == 0
> * Connection #0 to host localhost left intact
> {code}
> showing that Wildfly is indeed listening and giving the usual redirect to the Console index.
> Instead, Wildfly should log the ephemeral port that it actually bound to:
> {{23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:65301/management
> 23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:65301}}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 8 months
[JBoss JIRA] (WFCORE-2771) Wildfly Management Console should log bound ports
by Jason Tedor (JIRA)
Jason Tedor created WFCORE-2771:
-----------------------------------
Summary: Wildfly Management Console should log bound ports
Key: WFCORE-2771
URL: https://issues.jboss.org/browse/WFCORE-2771
Project: WildFly Core
Issue Type: Bug
Components: Server
Reporter: Jason Tedor
Assignee: Jason Greene
When binding Wildfly Management Console to an ephemeral port (i.e., by specifying port 0), Wildfly states that the management console:
{{23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0063: Http management interface is not enabled
23:15:55,138 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled}}
This isn't right. For example, using {{lsof}} I can see that Wildfly bound to an ephemeral port. After starting Wildfly with {{-Djboss.management.http.port=0}}:
{{$ lsof -p `jps | grep jboss-modules.jar | awk '{print $1}'` -P -n | grep TCP
java 59501 jason 379u IPv4 0xd038b817c1abd6a5 0t0 TCP 127.0.0.1:8080 (LISTEN)
java 59501 jason 387u IPv4 0xd038b817acfc6a85 0t0 TCP 127.0.0.1:65238 (LISTEN)
java 59501 jason 390u IPv4 0xd038b817b86956a5 0t0 TCP 127.0.0.1:8443 (LISTEN)
$ curl -v -XGET localhost:65238
Note: Unnecessary use of -X or --request, GET is already inferred.
* Rebuilt URL to: localhost:65238/
* Trying ::1...
* TCP_NODELAY set
* Connection failed
* connect to ::1 port 65238 failed: Connection refused
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 65238 (#0)
> GET / HTTP/1.1
> Host: localhost:65238
> User-Agent: curl/7.51.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Connection: keep-alive
< Location: http://localhost:65238/console/index.html
< Content-Length: 0
< Date: Sun, 07 May 2017 03:25:04 GMT
<
* Curl_http_done: called premature == 0
* Connection #0 to host localhost left intact}}
showing that Wildfly is indeed listening and giving the usual redirect to the Console index.
Instead, Wildfly should log the ephemeral port that it actually bound to:
{{23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:65301/management
23:27:09,347 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:65301}}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 8 months
[JBoss JIRA] (DROOLS-1552) Raise a warning during DMN Decision Table validation if the user uses expressions in the cell
by Edson Tirelli (JIRA)
Edson Tirelli created DROOLS-1552:
-------------------------------------
Summary: Raise a warning during DMN Decision Table validation if the user uses expressions in the cell
Key: DROOLS-1552
URL: https://issues.jboss.org/browse/DROOLS-1552
Project: Drools
Issue Type: Enhancement
Components: dmn engine
Affects Versions: 7.0.0.CR3
Reporter: Edson Tirelli
Assignee: Edson Tirelli
Fix For: 7.1.0.Final
KIE DMN engine implementation extends the specification to allow expressions to be used as end-points in unary tests.
Since this is an extension to the specification, the DMN validation component should raise a warning to the user, letting him know this is an extension, whenever he uses expressions in DT cells.
The warning should not be raised in case the expression is a simple use of the date/time/duration functions.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 8 months