[JBoss JIRA] (ISPN-6530) Cannot enable security configuration for a cache in cache configuration page if there was no security configuration at container startup
by Jiří Holuša (JIRA)
[ https://issues.jboss.org/browse/ISPN-6530?page=com.atlassian.jira.plugin.... ]
Jiří Holuša updated ISPN-6530:
------------------------------
Priority: Major (was: Minor)
> Cannot enable security configuration for a cache in cache configuration page if there was no security configuration at container startup
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-6530
> URL: https://issues.jboss.org/browse/ISPN-6530
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Affects Versions: 8.2.1.Final
> Reporter: Martin Vrabel
> Assignee: Vladimir Blagojevic
>
> in cache configuration page in security tab. if a cache didn't have a security configuration e.g.
> <security>
> <authorization roles="admin" />
> </security>
> at the start of the container and I enable security in the cache configuration page I get this error.
> The console looks for the JMX value but because there is no configuration it throws an error
> Error
> domain-failure-description
> WFLYCTL0175: Resource [ ("profile" => "clustered"), ("subsystem" => "datagrid-infinispan"), ("cache-container" => "testContainer"), ("configurations" => "CONFIGURATIONS"), ("local-cache-configuration" => "localCacheForConfigurationTesting"), ("security" => "SECURITY") ] does not exist; a resource at address [ ("profile" => "clustered"), ("subsystem" => "datagrid-infinispan"), ("cache-container" => "testContainer"), ("configurations" => "CONFIGURATIONS"), ("local-cache-configuration" => "localCacheForConfigurationTesting"), ("security" => "SECURITY"), ("authorization" => "AUTHORIZATION") ] cannot be created until all ancestor resources have been added
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (ISPN-6545) Server sending two responses for same Iterator.next request
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-6545?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-6545:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Server sending two responses for same Iterator.next request
> -----------------------------------------------------------
>
> Key: ISPN-6545
> URL: https://issues.jboss.org/browse/ISPN-6545
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 9.0.0.Alpha2
>
> Attachments: server.log, tmp-tests.log
>
>
> Server receives:
> {code}
> 14:55:30,600 TRACE [org.infinispan.server.hotrod.HotRodDecoder] (HotRodServerWorker-7-1) Decoded header HotRodHeader{op=IterationNextRequest, version=25, messageId=139, cacheName=, flag=0, clientIntelligence=3, topologyId=0}
> 14:55:30,601 TRACE [org.infinispan.server.hotrod.HotRodDecoder] (HotRodServerWorker-7-1) Decoded header HotRodHeader{op=IterationNextRequest, version=25, messageId=140, cacheName=, flag=0, clientIntelligence=3, topologyId=0}
> 14:55:30,601 TRACE [org.infinispan.server.hotrod.HotRodDecoder] (HotRodServerWorker-7-1) Decoded header HotRodHeader{op=IterationNextRequest, version=25, messageId=141, cacheName=, flag=0, clientIntelligence=3, topologyId=0}
> {code}
> But it replies with:
> {code}
> 14:55:30,608 TRACE [org.infinispan.server.hotrod.ContextHandler] (HotRodServerHandler-10-1) Write response IterationNextResponse{version=25, messageId=139, cacheName=, operation=IterationNextResponse, status=Success}
> 14:55:30,608 TRACE [org.infinispan.server.hotrod.ContextHandler] (HotRodServerHandler-10-1) Write response IterationNextResponse{version=25, messageId=141, cacheName=, operation=IterationNextResponse, status=Success}
> 14:55:30,608 TRACE [org.infinispan.server.hotrod.ContextHandler] (HotRodServerHandler-10-1) Write response IterationNextResponse{version=25, messageId=141, cacheName=, operation=IterationNextResponse, status=Success}
> {code}
> As a result, client never receives response for messageId=140.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (ISPN-6406) NullPointerException while executed javascript returns null to js-client
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-6406?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-6406:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> NullPointerException while executed javascript returns null to js-client
> ------------------------------------------------------------------------
>
> Key: ISPN-6406
> URL: https://issues.jboss.org/browse/ISPN-6406
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols
> Affects Versions: 8.2.1.Final, 9.0.0.Alpha1
> Reporter: Anna Manukyan
> Assignee: Galder Zamarreño
> Fix For: 9.0.0.Alpha2, 9.0.0.Final
>
>
> In case when executing a javascript on local node, which returns as a result null, the following exception is thrown on the server:
> {code}
> 17:25:26,127 ERROR [org.infinispan.server.hotrod.HotRodEncoder] (HotRodServerWorker-7-119) ISPN005022: Exception writing response with messageId=188: java.lang.NullPointerException
> at org.infinispan.server.core.transport.ExtendedByteBuf$.writeRangedBytes(ExtendedByteBuf.scala:65)
> at org.infinispan.server.hotrod.Encoder2x$.writeResponse(Encoder2x.scala:340)
> at org.infinispan.server.hotrod.HotRodEncoder.encode(HotRodEncoder.scala:45)
> at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
> at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:633)
> at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:691)
> at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:681)
> at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:716)
> at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:954)
> at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:243)
> at org.infinispan.server.hotrod.HotRodDecoder.writeResponse(HotRodDecoder.scala:250)
> at org.infinispan.server.hotrod.HotRodDecoder.customDecodeHeader(HotRodDecoder.scala:209)
> at org.infinispan.server.hotrod.HotRodDecoder.org$infinispan$server$hotrod$HotRodDecoder$$decodeHeader(HotRodDecoder.scala:97)
> at org.infinispan.server.hotrod.HotRodDecoder$$anonfun$decode$1.apply$mcV$sp(HotRodDecoder.scala:52)
> at org.infinispan.server.hotrod.HotRodDecoder.wrapSecurity(HotRodDecoder.scala:224)
> at org.infinispan.server.hotrod.HotRodDecoder.decode(HotRodDecoder.scala:50)
> at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:370)
> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:168)
> at org.infinispan.server.hotrod.HotRodDecoder.org$infinispan$server$core$transport$StatsChannelHandler$$super$channelRead(HotRodDecoder.scala:32)
> at org.infinispan.server.core.transport.StatsChannelHandler$class.channelRead(StatsChannelHandler.scala:32)
> at org.infinispan.server.hotrod.HotRodDecoder.channelRead(HotRodDecoder.scala:32)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
> at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
> at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130)
> at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
> at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
> at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
> at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
> at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
> at java.lang.Thread.run(Thread.java:745)
> {code}
> The code is:
> {code}
> //Executable javascript:
> // mode=local,language=javascript,datatype='text/plain; charset=utf-8'
> cacheManager.getAddress()
> And the Test:
> it('can execute a script remotely to get node address from cacheManager', function(done) {
> Promise.all([client, readFile('spec/utils/test-cacheManager.js')])
> .then(function(vals) {
> var c = vals[0];
> return c.addScript('test-cacheManager.js', vals[1].toString())
> .then(function() { return c; } );
> })
> .then(t.assert(t.exec('test-cacheManager.js'),
> t.toBeUndefined))
> .catch(failed(done)).finally(done);
> });
> {code}
> The result of the test execution is:
> {code}
> Message:
> java.lang.NullPointerException
> Stacktrace:
> undefined
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (ISPN-6543) Spark connector fails with CCE when compatibility mode is enabled
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-6543?page=com.atlassian.jira.plugin.... ]
Work on ISPN-6543 started by Gustavo Fernandes.
-----------------------------------------------
> Spark connector fails with CCE when compatibility mode is enabled
> -----------------------------------------------------------------
>
> Key: ISPN-6543
> URL: https://issues.jboss.org/browse/ISPN-6543
> Project: Infinispan
> Issue Type: Bug
> Components: Spark
> Reporter: Vojtech Juranek
> Assignee: Gustavo Fernandes
>
> Fails with
> {noformat}
> org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=125 returned server error (status=0x85): java.lang.ClassCastException: java.lang.Integer cannot be cast to [B
> at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:343)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:132)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:118)
> at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:56)
> at org.infinispan.client.hotrod.impl.operations.IterationNextOperation.execute(IterationNextOperation.java:48)
> at org.infinispan.client.hotrod.impl.iteration.RemoteCloseableIterator.fetch(RemoteCloseableIterator.java:100)
> at org.infinispan.client.hotrod.impl.iteration.RemoteCloseableIterator.hasNext(RemoteCloseableIterator.java:84)
> at org.infinispan.spark.rdd.InfinispanIterator.hasNext(InfinispanIterator.scala:13)
> at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:327)
> at org.apache.spark.util.random.SamplingUtils$.reservoirSampleAndCount(SamplingUtils.scala:41)
> at org.apache.spark.RangePartitioner$$anonfun$9.apply(Partitioner.scala:261)
> at org.apache.spark.RangePartitioner$$anonfun$9.apply(Partitioner.scala:259)
> at org.apache.spark.rdd.RDD$$anonfun$mapPartitionsWithIndex$1$$anonfun$apply$22.apply(RDD.scala:745)
> at org.apache.spark.rdd.RDD$$anonfun$mapPartitionsWithIndex$1$$anonfun$apply$22.apply(RDD.scala:745)
> at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)
> at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306)
> at org.apache.spark.rdd.RDD.iterator(RDD.scala:270)
> at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
> at org.apache.spark.scheduler.Task.run(Task.scala:89)
> at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:213)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months