[
https://issues.apache.org/jira/browse/GEODE-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kirk Lund resolved GEODE-3251.
------------------------------
Resolution: Fixed
Fix Version/s: 1.3.0
Fixed by:
{noformat}
commit 0ea489ea52bb8f04e50c396cb5a8c0629f82f075
Author: Jinmei Liao <[email protected]>
Date: Mon Jul 17 16:05:54 2017 -0700
GEODE-3231: do not use temporary folder as workingdir or log to file by
default when using the member starter rules
* do not create a workingDir and sets the user.dir by default for
Locator/ServerStarterRule
* do not use a temp folder for all vms workingDir by default when using
LocatorServerStarterRule.
* only bounce the vm when changing the workingdir of vms, otherwise, just
cleanup the persisted files after each test.
{noformat}
> DiskStoreMXBeanSecurityJUnitTest fails with IOException: Failed to retrieve
> RMIServer stub
> ------------------------------------------------------------------------------------------
>
> Key: GEODE-3251
> URL: https://issues.apache.org/jira/browse/GEODE-3251
> Project: Geode
> Issue Type: Bug
> Components: jmx, tests
> Reporter: Kirk Lund
> Assignee: Kirk Lund
> Fix For: 1.3.0
>
>
> I'm not sure if the JMX RMI startup is asynchronous in some way or not, but
> at some point any of the JMX tests seem to be prone to hitting this failure:
> "java.io.IOException: Failed to retrieve RMIServer stub"
> {noformat}
> :geode-core:integrationTest
> org.apache.geode.management.internal.security.DiskStoreMXBeanSecurityJUnitTest
> > testNoAccess FAILED
> java.io.IOException: Failed to retrieve RMIServer stub:
> javax.naming.ServiceUnavailableException [Root exception is
> java.rmi.ConnectException: Connection refused to host: 10.254.0.238; nested
> exception is:
> java.net.ConnectException: Connection refused (Connection refused)]
> Caused by:
> javax.naming.ServiceUnavailableException [Root exception is
> java.rmi.ConnectException: Connection refused to host: 10.254.0.238; nested
> exception is:
> java.net.ConnectException: Connection refused (Connection refused)]
> Caused by:
> java.rmi.ConnectException: Connection refused to host:
> 10.254.0.238; nested exception is:
> java.net.ConnectException: Connection refused (Connection
> refused)
> Caused by:
> java.net.ConnectException: Connection refused (Connection
> refused)
> 3598 tests completed, 1 failed, 163 skipped
> :geode-core:integrationTest FAILED
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)