[infinispan-issues] [JBoss JIRA] (ISPN-4230) WebSocket Server not usable in Infinispan Server

Galder Zamarreño (JIRA) issues at jboss.org
Tue Apr 29 04:10:34 EDT 2014


     [ https://issues.jboss.org/browse/ISPN-4230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated ISPN-4230:
-----------------------------------

    Assignee: Gustavo Fernandes  (was: Mircea Markus)

    
> WebSocket Server not usable in Infinispan Server
> ------------------------------------------------
>
>                 Key: ISPN-4230
>                 URL: https://issues.jboss.org/browse/ISPN-4230
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 7.0.0.Alpha3
>         Environment: java version "1.7.0_55"
> Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
> MacOS 10.9.2
>            Reporter: Gustavo Fernandes
>            Assignee: Gustavo Fernandes
>             Fix For: 7.0.0.Alpha4
>
>
> There's a dependency missing in the websocket module that causes it to throw the exception when connecting
> {code}
> 09:14:10,827 WARNING [io.netty.channel.ChannelInitializer] (WebSocketServerWorker-1) Failed to initialize a channel. Closing: [id: 0x93a75f0c, /127.0.0.1:64170 => /127.0.0.1:8181]: java.lang.NoClassDefFoundError: org/json/JSONException
> 	at org.infinispan.server.websocket.WebSocketServer$WebSocketServerPipelineFactory.initChannel(WebSocketServer.java:90) [infinispan-server-websocket-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> 	at io.netty.channel.ChannelInitializer.channelRegistered(ChannelInitializer.java:69) [netty-all-4.0.18.Final.jar:4.0.18.Final]
> 	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRegistered(DefaultChannelHandlerContext.java:166) [netty-all-4.0.18.Final.jar:4.0.18.Final]
>> 	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_55]
> Caused by: java.lang.ClassNotFoundException: org.json.JSONException from [Module "org.infinispan.server.websocket:main" from local module loader @326d888e (finder: local module finder @35203c7f (roots: /Users/applevtnc/Source/github/infinispan-fork/server/integration/build/target/infinispan-server-7.0.0-SNAPSHOT/modules,/Users/applevtnc/Source/github/infinispan-fork/server/integration/build/target/infinispan-server-7.0.0-SNAPSHOT/modules/system/layers/base))]
> 	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.2.0.CR1]
> 	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.2.0.CR1]
>> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the infinispan-issues mailing list