Bug 908955
| Summary: | CLI usability: operations that shutdown the server-side management interface result in "Communication error" | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | dchia |
| Component: | CLI | Assignee: | Alexey Loubyansky <olubyans> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.1 | CC: | abn, atangrin, bmaxwell, brian.stansberry, jcacek, pkremens, vrastsel |
| Target Milestone: | ER3 | ||
| Target Release: | EAP 6.1.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 910122 | ||
Brian Stansberry <brian.stansberry> updated the status of jira AS7-1833 to Reopened Brian Stansberry <brian.stansberry> updated the status of jira AS7-1833 to Resolved Brian Stansberry <brian.stansberry> made a comment on jira AS7-1833 Further work on this has been done in AS 8. The fix is the addition of high-level "reload" and "shutdown" commands to the CLI that better deal with the fact that these commands result in a break in communication with the server. https://bugzilla.redhat.com/show_bug.cgi?id=914817 duplicates this so I will close it. *** Bug 914817 has been marked as a duplicate of this bug. *** Calling new reload command in quick succession I get: [standalone@localhost:9999 /] reload [standalone@localhost:9999 /] reload Failed to execute :reload: java.net.ConnectException: JBAS012144: Could not connect to remote://localhost:9999. The connection timed out: JBAS012144: Could not connect to remote://localhost:9999. The connection timed out [disconnected /] I tried to to add --timeout argument to CLI calling, but ConnectionException occurs again. *** Bug 900731 has been marked as a duplicate of this bug. *** Verified on EAP 6.1.0 ER3 Xin Zhang <xin.zhang.song> made a comment on jira AS7-1833 Hi All This issue still on my environment. I download the EAP from http://www.jboss.org/jbossas/downloads. and run it in Redhat 5.5 x86_64 system. Thanks Xin Zhang <xin.zhang.song> made a comment on jira AS7-1833 Hi All This issue still on my environment. I download the EAP from http://www.jboss.org/jbossas/downloads. and run it in Redhat 5.5 x86_64 system.please point out if I do some wrong Thanks IMHO it was fixed after the EAP 6.1.Alpha version was released. Wait for the Beta, please. Xin Zhang <xin.zhang.song> made a comment on jira AS7-1833 Hi All Does this bug really fix in EAP 6.1?I also had the bug on JBoss EAP6.1 final version. My environment is :Linux 5.3 + JBoss EAP 6.1.0 Here are the log : [standalone@localhost:9999 /] :reload Communication error: java.util.concurrent.ExecutionException: Operation failed: Operation failed: Channel closed [disconnected /] Please correct me if I have any misunderstanding. Regards Xin Xin Zhang <xin.zhang.song> made a comment on jira AS7-1833 Hi All Does this bug really fix in EAP 6.1?I also had the bug on JBoss EAP6.1 final version. My environment is :Linux 5.3 + JBoss EAP 6.1.0 + JDK 1.6.0_26 Here are the log : [standalone@localhost:9999 /] :reload Communication error: java.util.concurrent.ExecutionException: Operation failed: Operation failed: Channel closed [disconnected /] Please correct me if I have any misunderstanding. Regards Xin Josef Cacek <jcacek> made a comment on jira AS7-1833 [~Xin.Zhang.Song] - simply remove colon (':') before the "reload" - so you'll use the newly introduced synchronized version. Josef Cacek <jcacek> made a comment on jira AS7-1833 [~Xin.Zhang.Song] - simply remove the colon (':') in front of the "reload" - so you'll use the newly introduced synchronized version. Xin Zhang <xin.zhang.song> made a comment on jira AS7-1833 Hi Josef I had remove the colon(':'), and there is still error message on the console.I think there are different between Linux and Windows. Here are the message: [standalone@localhost:9999 /] reload Failed to establish connection in 10511ms: JBAS012144: Could not connect to remote://localhost:9999. The connection timed out [disconnected /] Regards Xin |
Description of problem: When doing multiple :reload actions in jboss-cli.sh the managment interface crashes. The number of :reload actions to reproduce the problem may vary. How reproducible: Almost every time Steps to Reproduce: # bin/jboss-cli.sh --connect --controller=localhost:9999 [standalone@localhost:9999 /] :reload {"outcome" => "success"} [standalone@localhost:9999 /] :reload Communication error: java.util.concurrent.ExecutionException: Operation failed [disconnected /]