ASF Bugzilla – Attachment 33816 Details for
Bug 59400
ClientJMeterEngine remote exit reports IOException
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Stop backing engine asynchronously
rexit.patch (text/plain), 1.03 KB, created by
Sebb
on 2016-04-30 21:55:03 UTC
(
hide
)
Description:
Stop backing engine asynchronously
Filename:
MIME Type:
Creator:
Sebb
Created:
2016-04-30 21:55:03 UTC
Size:
1.03 KB
patch
obsolete
>Index: src/core/org/apache/jmeter/engine/RemoteJMeterEngineImpl.java >=================================================================== >--- src/core/org/apache/jmeter/engine/RemoteJMeterEngineImpl.java (revision 1741506) >+++ src/core/org/apache/jmeter/engine/RemoteJMeterEngineImpl.java (working copy) >@@ -196,7 +196,15 @@ > @Override > public void rexit() throws RemoteException { > log.info("Exiting"); >- backingEngine.exit(); >+ // Bug 59400 - allow rexit() to return >+ Thread et = new Thread() { >+ @Override >+ public void run() { >+ log.info("Stopping the backing engine"); >+ backingEngine.exit(); >+ } >+ }; >+ et.setDaemon(false); > // Tidy up any objects we created > Registry reg = LocateRegistry.getRegistry(this.rmiPort); > try { >@@ -207,6 +215,7 @@ > log.info("Unbound from registry"); > // Help with garbage control > JMeterUtils.helpGC(); >+ et.start(); > } > > @Override
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 Raw
Actions:
View
Attachments on
bug 59400
: 33816