Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 856768 Details for
Bug 1053922
Agent does not set HTTP connect or read timeout in JBoss remoting
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch for RHQ_4_9_0
0001-BZ-1053922-Add-default-remoting-timeout-to-agent.patch (text/plain), 1.40 KB, created by
Elias Ross
on 2014-01-28 19:17:42 UTC
(
hide
)
Description:
Patch for RHQ_4_9_0
Filename:
MIME Type:
Creator:
Elias Ross
Created:
2014-01-28 19:17:42 UTC
Size:
1.40 KB
patch
obsolete
>From 8a785510e09f399764b22cd91117ea617a5b45bb Mon Sep 17 00:00:00 2001 >From: Elias Ross <elias_ross@apple.com> >Date: Wed, 15 Jan 2014 17:28:01 -0800 >Subject: [PATCH 1/2] BZ 1053922 - Add default remoting timeout to agent > >--- > .../agent/src/main/java/org/rhq/enterprise/agent/AgentMain.java | 7 +++++++ > 1 file changed, 7 insertions(+) > >diff --git a/modules/enterprise/agent/src/main/java/org/rhq/enterprise/agent/AgentMain.java b/modules/enterprise/agent/src/main/java/org/rhq/enterprise/agent/AgentMain.java >index b46fb4b..9cd6c48 100644 >--- a/modules/enterprise/agent/src/main/java/org/rhq/enterprise/agent/AgentMain.java >+++ b/modules/enterprise/agent/src/main/java/org/rhq/enterprise/agent/AgentMain.java >@@ -2692,6 +2692,13 @@ private RemoteCommunicator createServerRemoteCommunicator(String uri, boolean wi > config.put(HTTPSClientInvoker.IGNORE_HTTPS_HOST, "true"); > } > >+ // The JBoss remoting HTTP transport can wait indefinitely for a response >+ // This ensures the client does not wait forever >+ long timeout = m_configuration.getClientSenderCommandTimeout(); >+ if (timeout > 0) { >+ config.put("timeout", Long.toString(timeout)); >+ } >+ > RemoteCommunicator remote_comm = new JBossRemotingRemoteCommunicator(uri, config); > if (withFailover) { > remote_comm.setFailureCallback(new FailoverFailureCallback(this)); >-- >1.8.1.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1053922
: 856768