[JBoss JIRA] (ISPN-4232) HotRod client cannot be installed in Karaf due to missing dependency on infinispan-core
by Martin Gencur (JIRA)
Martin Gencur created ISPN-4232:
-----------------------------------
Summary: HotRod client cannot be installed in Karaf due to missing dependency on infinispan-core
Key: ISPN-4232
URL: https://issues.jboss.org/browse/ISPN-4232
Project: Infinispan
Issue Type: Bug
Components: Core
Reporter: Martin Gencur
Assignee: Ion Savin
Fix For: 7.0.0.Alpha4
HotRod client requires infinispan-commons in order to function correctly. infinispan-commons is now a child fragment of infinispan-core (defined by Fragment-Host in OSGi) and so it requires its parent bundle - infinispan-core - to be installed as well.
This in unfortunate because HotRod client should work without infinispan-core.
{code}
java.lang.Exception: Could not start bundle mvn:org.infinispan/infinispan-client-hotrod/7.0.0-SNAPSHOT in feature(s) hotrod-client-7.0.0-SNAPSHOT: Unresolved constraint in bundle org.infinispan.client-hotrod [58]: Unable to resolve 58.0: missing requirement [58.0] osgi.wiring.package; (&(osgi.wiring.package=org.infinispan.commons)(version>=7.0.0.SNAPSHOT)) [caused by: Unable to resolve 55.0: missing requirement [55.0] osgi.wiring.host; (&(osgi.wiring.host=org.infinispan.core)(bundle-version>=7.0.0.SNAPSHOT))]
at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:491)
at org.apache.karaf.features.internal.FeaturesServiceImpl.start(FeaturesServiceImpl.java:1207)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_17]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_17]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_17]
at java.lang.reflect.Method.invoke(Method.java:601)[:1.7.0_17]
at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[7:org.apache.aries.blueprint.core:1.1.0]
at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[7:org.apache.aries.blueprint.core:1.1.0]
at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[7:org.apache.aries.blueprint.core:1.1.0]
at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[7:org.apache.aries.blueprint.core:1.1.0]
at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[7:org.apache.aries.blueprint.core:1.1.0]
at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[7:org.apache.aries.blueprint.core:1.1.0]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_17]
at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_17]
at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[7:org.apache.aries.blueprint.core:1.1.0]
at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[7:org.apache.aries.blueprint.core:1.1.0]
at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)[7:org.apache.aries.blueprint.core:1.1.0]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:668)[7:org.apache.aries.blueprint.core:1.1.0]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:370)[7:org.apache.aries.blueprint.core:1.1.0]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:261)[7:org.apache.aries.blueprint.core:1.1.0]
at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:259)[7:org.apache.aries.blueprint.core:1.1.0]
at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:222)[7:org.apache.aries.blueprint.core:1.1.0]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[11:org.apache.aries.util:1.1.0]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[11:org.apache.aries.util:1.1.0]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[11:org.apache.aries.util:1.1.0]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[11:org.apache.aries.util:1.1.0]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[11:org.apache.aries.util:1.1.0]
at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)[org.apache.felix.framework-4.0.3.jar:]
at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:695)[org.apache.felix.framework-4.0.3.jar:]
at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:483)[org.apache.felix.framework-4.0.3.jar:]
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4244)[org.apache.felix.framework-4.0.3.jar:]
at org.apache.felix.framework.Felix.startBundle(Felix.java:1923)[org.apache.felix.framework-4.0.3.jar:]
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)[org.apache.felix.framework-4.0.3.jar:]
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)[org.apache.felix.framework-4.0.3.jar:]
at java.lang.Thread.run(Thread.java:722)[:1.7.0_17]
{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
10 years
[JBoss JIRA] (ISPN-4231) DistSyncL1FuncTest.testRemoteGetArrivesButWriteOccursBeforeRegistration random failures
by Dan Berindei (JIRA)
Dan Berindei created ISPN-4231:
----------------------------------
Summary: DistSyncL1FuncTest.testRemoteGetArrivesButWriteOccursBeforeRegistration random failures
Key: ISPN-4231
URL: https://issues.jboss.org/browse/ISPN-4231
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 7.0.0.Alpha3
Reporter: Dan Berindei
Assignee: William Burns
Fix For: 7.0.0.Alpha4
{noformat}
14:39:04,037 ERROR (testng-DistSyncL1FuncTest:) [UnitTestTestNGListener] Test testRemoteGetArrivesButWriteOccursBeforeRegistration(org.infinispan.distribution.DistSyncL1FuncTest) failed.
org.junit.ComparisonFailure: expected:<[second]-put> but was:<[first]-put>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.infinispan.distribution.BaseDistSyncL1Test.testRemoteGetArrivesButWriteOccursBeforeRegistration(BaseDistSyncL1Test.java:342)
{noformat}
--
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
10 years
[JBoss JIRA] (ISPN-4229) The JDBC Cache store should not require the schema name configuration
by Nicolas Filotto (JIRA)
[ https://issues.jboss.org/browse/ISPN-4229?page=com.atlassian.jira.plugin.... ]
Nicolas Filotto commented on ISPN-4229:
---------------------------------------
Well it depends on what you have into the database and how the database manage the schemas.
If you have only one schema that contains the tables of your cache store it is not an issue it will work properly on all db.
If you use database like MySQL or PGSQL that scope all the commands to the current schema, you won't meet any issue even if you have several schemas that contain the tables of your cache store.
You will meet an issue on DB like Oracle for example, if you have several schemas that contain the tables of your cache store especially if the user account used has enough rights to access to several schemas, because tableExists will return true but in fact you don't have anything in the current schema so it will fail later when we will add some data.
> The JDBC Cache store should not require the schema name configuration
> ---------------------------------------------------------------------
>
> Key: ISPN-4229
> URL: https://issues.jboss.org/browse/ISPN-4229
> Project: Infinispan
> Issue Type: Feature Request
> Reporter: Mircea Markus
> Assignee: Mircea Markus
>
--
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
10 years
[JBoss JIRA] (ISPN-4129) Add Query, CDI, JCache, LevelDB and REST to the AS modules
by Mircea Markus (JIRA)
[ https://issues.jboss.org/browse/ISPN-4129?page=com.atlassian.jira.plugin.... ]
Mircea Markus updated ISPN-4129:
--------------------------------
Assignee: Pedro Ruivo (was: Tristan Tarrant)
> Add Query, CDI, JCache, LevelDB and REST to the AS modules
> ----------------------------------------------------------
>
> Key: ISPN-4129
> URL: https://issues.jboss.org/browse/ISPN-4129
> Project: Infinispan
> Issue Type: Feature Request
> Components: Build process
> Affects Versions: 7.0.0.Alpha1
> Reporter: Tristan Tarrant
> Assignee: Pedro Ruivo
> Fix For: 7.0.0.Alpha4, 7.0.0.Final
>
>
> Query, CDI, JCache, LevelDB and REST modules need to be added to the AS modules we ship
--
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
10 years
[JBoss JIRA] (ISPN-4147) the new EAP-based CLI is not yet compatibile with the old JDG CLI
by Mircea Markus (JIRA)
[ https://issues.jboss.org/browse/ISPN-4147?page=com.atlassian.jira.plugin.... ]
Mircea Markus updated ISPN-4147:
--------------------------------
Assignee: Pedro Ruivo (was: Tristan Tarrant)
> the new EAP-based CLI is not yet compatibile with the old JDG CLI
> -----------------------------------------------------------------
>
> Key: ISPN-4147
> URL: https://issues.jboss.org/browse/ISPN-4147
> Project: Infinispan
> Issue Type: Bug
> Components: CLI
> Affects Versions: 7.0.0.Alpha1
> Reporter: Vitalii Chepeliuk
> Assignee: Pedro Ruivo
>
> * Running JDG tests for CLI
> Fcli/standalone_caches_test.rb:84: warning: Insecure world writable dir /qa/tools in PATH, mode 040777
> Exception in thread "main" java.lang.UnsupportedClassVersionError: org/jboss/as/cli/CommandLineMain : Unsupported major.minor version 51.0
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
> at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:345)
> at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:423)
> at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261)
> at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76)
> at org.jboss.modules.Module.loadModuleClass(Module.java:548)
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:189)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:398)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:249)
> at org.jboss.modules.Module.run(Module.java:280)
> at org.jboss.modules.Main.main(Main.java:455)
> ** Jobs are here
> https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JDG/view/FUNC/job/j...
> https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JDG/view/FUNC/job/j...
> * ispn-cli --help
> Usage:
> jboss-cli.sh/jboss-cli.bat [--help] [--version] [--controller=host:port]
> [--connect] [--file=file_path]
> [--commands=command_or_operation1,command_or_operation2...]
> [--command=command_or_operation]
> [--user=username --password=password]
> [--no-local-auth]
> [--timeout=timeout]
> --help (-h) - prints (this) basic description of the command line utility.
> --version - prints the version info of the JBoss AS release, JVM and system environment.
> --controller - the default controller host and port to connect to when
> --connect option (described below) is specified or when the connect command is issued w/o the arguments. The default controller host is localhost and the port is 9999.
> --connect (-c) - instructs the CLI to connect to the controller on start-up (to avoid issuing a separate connect command later).
> --gui - GUI built on top of the CLI, the only difference is that it brings up a GUI instead of a command line. In this mode, the CLI will automatically connect during start-up. You can
> optionally specify --controller, if necessary.
> --file - specifies a path to a file which contains commands operations (one per line) that should be executed (in a non-interactive mode). The CLI will terminate the session
> immediately after the last command has been executed or if
> some command or operation failed.
> ... etc
--
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
10 years
[JBoss JIRA] (ISPN-4230) WebSocket Server not usable in Infinispan Server
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-4230?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-4230:
------------------------------------
Git Pull Request: https://github.com/infinispan/infinispan/pull/2516
> 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: Mircea Markus
>
> 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
10 years
[JBoss JIRA] (ISPN-4230) WebSocket Server not usable in Infinispan Server
by Gustavo Fernandes (JIRA)
Gustavo Fernandes created ISPN-4230:
---------------------------------------
Summary: 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: Mircea Markus
There's a dependency missing in the websocket module that causes it to connect throwing the exception
{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
10 years
[JBoss JIRA] (ISPN-4230) WebSocket Server not usable in Infinispan Server
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-4230?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-4230:
------------------------------------
Description:
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}
was:
There's a dependency missing in the websocket module that causes it to connect throwing the exception
{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}
> 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: Mircea Markus
>
> 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
10 years