[ https://issues.apache.org/jira/browse/SOLR-995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668572#action_12668572 ]
Yonik Seeley commented on SOLR-995: ----------------------------------- Thread dump for the main thread... perhaps the hang is because incoming and outgoing ports are closed via iptables? {code} [junit] "main" prio=10 tid=0x000000005cf0dc00 nid=0x60a4 runnable [0x0000000040a74000..0x0000000040a76ed0] [junit] java.lang.Thread.State: RUNNABLE [junit] at java.net.PlainSocketImpl.socketConnect(Native Method) [junit] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) [junit] - locked <0x00002aab5a75d9c8> (a java.net.SocksSocketImpl) [junit] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) [junit] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) [junit] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) [junit] at java.net.Socket.connect(Socket.java:519) [junit] at java.net.Socket.connect(Socket.java:469) [junit] at java.net.Socket.<init>(Socket.java:366) [junit] at java.net.Socket.<init>(Socket.java:180) [junit] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) [junit] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) [junit] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595) [junit] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198) [junit] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184) [junit] at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322) [junit] at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source) [junit] at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:120) [junit] at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208) [junit] at javax.naming.InitialContext.bind(InitialContext.java:400) [junit] at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:625) [junit] at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:412) [junit] - locked <0x00002aaab3618768> (a javax.management.remote.rmi.RMIConnectorServer) [junit] at org.apache.solr.core.JmxMonitoredMap.<init>(JmxMonitoredMap.java:95) [junit] at org.apache.solr.core.TestJmxMonitoredMap.setUp(TestJmxMonitoredMap.java:69) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] at java.lang.reflect.Method.invoke(Method.java:597) [junit] at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74) [junit] at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50) [junit] at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33) [junit] at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) [junit] at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45) [junit] at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66) [junit] at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35) [junit] at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42) [junit] at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) [junit] at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:32) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768) {code} > TestJmxMonitoredMap hangs > ------------------------- > > Key: SOLR-995 > URL: https://issues.apache.org/jira/browse/SOLR-995 > Project: Solr > Issue Type: Bug > Environment: CentOS5-64, Java 1.6.0_11, locked down server, most > incoming and outgoing ports closed. > Reporter: Yonik Seeley > Priority: Minor > > TestJmxMonitoredMap test hangs. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.