Bug 787322
Summary: | org.rhq.enterprise.client.ClientMain (remoting-cli) hangs if executed as a service or in the background | |||
---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Larry O'Leary <loleary> | |
Component: | CLI | Assignee: | Lukas Krejci <lkrejci> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 4.2 | CC: | hrupp | |
Target Milestone: | --- | Keywords: | NeedsTestCase | |
Target Release: | JON 3.1.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 790859 (view as bug list) | Environment: | ||
Last Closed: | 2013-09-03 15:10:14 UTC | Type: | --- | |
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: | 782579, 790859 |
Description
Larry O'Leary
2012-02-04 00:08:43 UTC
Thread dump from running process reveals the hung stack: "main" prio=10 tid=0x00007f7354008800 nid=0x7270 runnable [0x00007f73591f3000] java.lang.Thread.State: RUNNABLE at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:236) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read(BufferedInputStream.java:254) - locked <0x00000000fe0a3968> (a java.io.BufferedInputStream) at jline.UnixTerminal.exec(UnixTerminal.java:303) at jline.UnixTerminal.exec(UnixTerminal.java:282) at jline.UnixTerminal.stty(UnixTerminal.java:273) at jline.UnixTerminal.initializeTerminal(UnixTerminal.java:89) at jline.Terminal.setupTerminal(Terminal.java:75) - locked <0x00000000ee250af8> (a java.lang.Class for jline.Terminal) at jline.Terminal.getTerminal(Terminal.java:26) at jline.ConsoleReader.<init>(ConsoleReader.java:191) at jline.ConsoleReader.<init>(ConsoleReader.java:186) at jline.ConsoleReader.<init>(ConsoleReader.java:174) at org.rhq.enterprise.client.ClientMain.<init>(ClientMain.java:149) at org.rhq.enterprise.client.ClientMain.main(ClientMain.java:103) Lukas, can you investigate this. This has been fixed in master tracked by bug 790859. Documenting the verification [mfoley@foleymonsterbox1 bin]$ ./rhq-cli.sh -u rhqadmin -p rhqadmin -s localhost -t 7080 -f ./test.js & [1] 26675 [mfoley@foleymonsterbox1 bin]$ Remote server version is: 4.4.0-SNAPSHOT (94f6790) Login successful ./test.js (No such file or directory) [1]+ Done ./rhq-cli.sh -u rhqadmin -p rhqadmin -s localhost -t 7080 -f ./test.js [mfoley@foleymonsterbox1 bin]$ Bulk closing of old issues in VERIFIED state. |