You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (JIRA)" <ji...@apache.org> on 2018/04/20 19:54:17 UTC

[jira] [Closed] (GEODE-3441) Tomcat8SessionsClientServerDUnitTest uses default port

     [ https://issues.apache.org/jira/browse/GEODE-3441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anthony Baker closed GEODE-3441.
--------------------------------

> Tomcat8SessionsClientServerDUnitTest uses default port
> ------------------------------------------------------
>
>                 Key: GEODE-3441
>                 URL: https://issues.apache.org/jira/browse/GEODE-3441
>             Project: Geode
>          Issue Type: Bug
>          Components: http session
>            Reporter: Dan Smith
>            Assignee: Dan Smith
>            Priority: Major
>             Fix For: 1.3.0
>
>
> The Tomcat8SessionsClientServerDUnitTest client server test recently failed in jenkins. It looks like there was already a geode server running on the default port.
> This test should use a random port for the cache server, not the default port.
> With revision 566ff6c70a91e052be558df80b76f2eef611c1c8, from build 922
> {noformat}
> org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.modules.session.Tomcat8SessionsClientServerDUnitTest$$Lambda$57/1625836960.call in VM 1 running on Host asf905.gq1.ygridcore.net with 4 VMs
> 	at org.apache.geode.test.dunit.VM.invoke(VM.java:387)
> 	at org.apache.geode.test.dunit.VM.invoke(VM.java:357)
> 	at org.apache.geode.test.dunit.VM.invoke(VM.java:325)
> 	at org.apache.geode.modules.session.Tomcat8SessionsClientServerDUnitTest.setupServer(Tomcat8SessionsClientServerDUnitTest.java:60)
> 	at org.apache.geode.modules.session.Tomcat8SessionsClientServerDUnitTest.postSetUp(Tomcat8SessionsClientServerDUnitTest.java:44)
> Caused by: java.net.BindException: Failed to create server socket on  null[40,404]
> 	at org.apache.geode.internal.net.SocketCreator.createServerSocket(SocketCreator.java:783)
> 	at org.apache.geode.internal.net.SocketCreator.createServerSocket(SocketCreator.java:745)
> 	at org.apache.geode.internal.net.SocketCreator.createServerSocket(SocketCreator.java:712)
> 	at org.apache.geode.internal.cache.tier.sockets.AcceptorImpl.<init>(AcceptorImpl.java:469)
> 	at org.apache.geode.internal.cache.CacheServerImpl.start(CacheServerImpl.java:344)
> 	at org.apache.geode.modules.session.Tomcat8SessionsClientServerDUnitTest.lambda$setupServer$f0fd67c5$1(Tomcat8SessionsClientServerDUnitTest.java:65)
> 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:779)
> 	... 27 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)