[ https://issues.apache.org/jira/browse/GEODE-2646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928367#comment-15928367 ]
Kirk Lund commented on GEODE-2646: ---------------------------------- These Rules need to be altered to not use default ports for JMX Manager, HTTP Service, etc. Assigning to Jinmei. > PulseDataExportTest.dataBrowserExportWorksAsExpected fails with BindException > ----------------------------------------------------------------------------- > > Key: GEODE-2646 > URL: https://issues.apache.org/jira/browse/GEODE-2646 > Project: Geode > Issue Type: Bug > Components: pulse, tests > Reporter: Kirk Lund > Assignee: Jinmei Liao > Labels: Flaky > > {noformat} > :geode-assembly:flakyTest > org.apache.geode.tools.pulse.PulseDataExportTest > > dataBrowserExportWorksAsExpected FAILED > java.lang.AssertionError: Suspicious strings were written to the log > during this run. > Fix the strings or use IgnoredException.addIgnoredException to ignore. > ----------------------------------------------------------------------- > Found suspect string in log4j at line 1371 > [error 2017/03/08 04:58:14.240 UTC <locator request thread[1]> tid=0x31] > Jmx manager could not be started because java.rmi.server.ExportException: > Port already in use: 1099; nested exception is: > java.net.BindException: Failed to create server socket on null[1,099] > org.apache.geode.management.ManagementException: > java.rmi.server.ExportException: Port already in use: 1099; nested exception > is: > java.net.BindException: Failed to create server socket on null[1,099] > at > org.apache.geode.management.internal.ManagementAgent.startAgent(ManagementAgent.java:149) > at > org.apache.geode.management.internal.SystemManagementService.startManager(SystemManagementService.java:469) > at > org.apache.geode.management.internal.JmxManagerLocator.findJmxManager(JmxManagerLocator.java:105) > at > org.apache.geode.management.internal.JmxManagerLocator.processRequest(JmxManagerLocator.java:55) > at > org.apache.geode.distributed.internal.InternalLocator$PrimaryHandler.processRequest(InternalLocator.java:1318) > at > org.apache.geode.distributed.internal.tcpserver.TcpServer.lambda$processRequest$0(TcpServer.java:392) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.rmi.server.ExportException: Port already in use: 1099; > nested exception is: > java.net.BindException: Failed to create server socket on null[1,099] > at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:341) > at > sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:249) > at > sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411) > at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147) > at > sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:234) > at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:195) > at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:155) > at > java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:239) > at > org.apache.geode.management.internal.ManagementAgent.configureAndStart(ManagementAgent.java:398) > at > org.apache.geode.management.internal.ManagementAgent.startAgent(ManagementAgent.java:147) > ... 8 more > Caused by: java.net.BindException: Failed to create server socket on > null[1,099] > at > org.apache.geode.internal.net.SocketCreator.createServerSocket(SocketCreator.java:782) > at > org.apache.geode.internal.net.SocketCreator.createServerSocket(SocketCreator.java:739) > at > org.apache.geode.management.internal.ManagementAgent$GemFireRMIServerSocketFactory.createServerSocket(ManagementAgent.java:556) > at > sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:666) > at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:330) > ... 17 more > Caused by: java.net.BindException: Address already in use (Bind failed) > at java.net.PlainSocketImpl.socketBind(Native Method) > at > java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387) > at java.net.ServerSocket.bind(ServerSocket.java:375) > at > org.apache.geode.internal.net.SocketCreator.createServerSocket(SocketCreator.java:778) > ... 21 more > 2 tests completed, 1 failed > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)