[infinispan-issues] [JBoss JIRA] (ISPN-6926) Server hang on start

Gustavo Fernandes (JIRA) issues at jboss.org
Thu Aug 4 04:38:00 EDT 2016


    [ https://issues.jboss.org/browse/ISPN-6926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13274889#comment-13274889 ] 

Gustavo Fernandes commented on ISPN-6926:
-----------------------------------------

Both the memcached server and the websocker server try to construct an instance of the {{org.infinispan.server.core.transport.NettyTransport}} but it blocks because the class lock is held by the Websocket server.

The Websocket server holds the {{org.infinispan.server.core.transport.NettyTransport}} class lock in order to perform the static initialization, and on its way it acquires the
class lock of {{io.netty.util.internal.SystemPropertyUtil}} but gets blocked when trying to call a static method of class  {{io.netty.util.internal.logging.InternalLoggerFactory}}

The RestServer has the class lock of {{io.netty.util.internal.logging.InternalLoggerFactory}} but when executing the static initializer of {{io.netty.util.internal.ThreadLocalRandom}} it cannot obtain the lock on class {{io.netty.util.internal.SystemPropertyUtil}} because it's being held by the websocket server



> Server hang on start
> --------------------
>
>                 Key: ISPN-6926
>                 URL: https://issues.jboss.org/browse/ISPN-6926
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Server, Test Suite - Server
>            Reporter: Gustavo Fernandes
>            Priority: Critical
>         Attachments: server, surefire
>
>
> Server testsuite is hanging with the stack attached. Arquillian starts the server, and after it does not respond, tries to kill it, and block.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list