[JBoss JIRA] (ISPN-6421) Instantiation of cache based on template should not modify template
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-6421?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic commented on ISPN-6421:
-------------------------------------------
Ok [~ryanemerson] I tried this myself and concluded that we are properly handling this use case just as you described. Closing this issue.
> Instantiation of cache based on template should not modify template
> -------------------------------------------------------------------
>
> Key: ISPN-6421
> URL: https://issues.jboss.org/browse/ISPN-6421
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Affects Versions: 8.2.0.Final
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Priority: Minor
> Fix For: 9.0.0.CR1, 9.0.0.Final
>
>
> In cache add, instiating a cache A based on template T should not modify T but should create a configuration A under configurations=CONFIGURATIONS with the "template" attribute set to false and the "configuration" attribute set to T and then a cache A with "configuration" A.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-6421) Instantiation of cache based on template should not modify template
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-6421?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic resolved ISPN-6421.
---------------------------------------
Resolution: Done
> Instantiation of cache based on template should not modify template
> -------------------------------------------------------------------
>
> Key: ISPN-6421
> URL: https://issues.jboss.org/browse/ISPN-6421
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Affects Versions: 8.2.0.Final
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Priority: Minor
> Fix For: 9.0.0.CR1, 9.0.0.Final
>
>
> In cache add, instiating a cache A based on template T should not modify T but should create a configuration A under configurations=CONFIGURATIONS with the "template" attribute set to false and the "configuration" attribute set to T and then a cache A with "configuration" A.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-7370) Administration console - configuration of cache store is broken
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-7370?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic commented on ISPN-7370:
-------------------------------------------
Ok [~rmacor] please give the exact steps starting with a clean/fresh server. I tried and tried, but could not reproduce it.
> Administration console - configuration of cache store is broken
> ---------------------------------------------------------------
>
> Key: ISPN-7370
> URL: https://issues.jboss.org/browse/ISPN-7370
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 9.0.0.Beta1
> Reporter: Roman Macor
> Assignee: Vladimir Blagojevic
> Fix For: 9.0.0.CR1
>
> Attachments: Screenshot from 2017-01-19.png
>
>
> Click on cache container -> cache -> configuration -> Store -> Select store type e.g. Binary keyed JDBC store
> Issues:
> some property names are displayed like this: {{$ctrl.resolveFieldName()}}
> ... links (for Write Behind for example) are not working
> Please see the attached screenshot for details.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-7228) Administration console - creating wrong schema doesn't show error message
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-7228?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic commented on ISPN-7228:
-------------------------------------------
[~anistor] I get it! However, we don't have methods getFileErrors and getFilesWithErrors exposed to DMR, hence our hands are tied. Until we do, there is little [~ryanemerson] and I can do here. [~anistor] can you perhaps expose an operation that would check syntax and semantic errors of a registered protobuf? That way we can register proto but and then query if there are any errors. What would also work changing the semantics of registerProtofile/Schema so we can get these errors returned right away but I am not sure what is the impact of such a change and/or if it is doable. Thoughts [~anistor] and [~NadirX]?
> Administration console - creating wrong schema doesn't show error message
> -------------------------------------------------------------------------
>
> Key: ISPN-7228
> URL: https://issues.jboss.org/browse/ISPN-7228
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 9.0.0.Alpha4
> Reporter: Roman Macor
> Assignee: Vladimir Blagojevic
> Priority: Minor
> Attachments: ISPN-7228.txt
>
>
> Click on cache container -> Configuration -> Schemas -> Add -> Fill in incorrect scheme: (schema name: wrong_schema, Schema: nonsense)
> Result: The dialog is closed and no schema is created.
> Expected message:
> Error There has been an error executing the operation: DGISPN0118: Failed to invoke operation: org.infinispan.protostream.DescriptorParserException: java.lang.IllegalStateException: Syntax error in nonsense.proto at 1:9: unexpected label: nonsense
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-7228) Administration console - creating wrong schema doesn't show error message
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-7228?page=com.atlassian.jira.plugin.... ]
Adrian Nistor commented on ISPN-7228:
-------------------------------------
ProtobufMetadataManager's javadoc is unfortunatelly wrong. Method registerProtofiles fails with exception only if the registration did not happen at all due to whatever unlikely cache failure. Syntax or semantic errors in the file do not cause the registration to fail with exception. The file is still written to the cache.
getFileErrors and getFilesWithErrors methods should be used to determine if there are syntax or semantic errors. Please note that due to imports you could have an error in a completely different file than the one updated.
> Administration console - creating wrong schema doesn't show error message
> -------------------------------------------------------------------------
>
> Key: ISPN-7228
> URL: https://issues.jboss.org/browse/ISPN-7228
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 9.0.0.Alpha4
> Reporter: Roman Macor
> Assignee: Vladimir Blagojevic
> Priority: Minor
> Attachments: ISPN-7228.txt
>
>
> Click on cache container -> Configuration -> Schemas -> Add -> Fill in incorrect scheme: (schema name: wrong_schema, Schema: nonsense)
> Result: The dialog is closed and no schema is created.
> Expected message:
> Error There has been an error executing the operation: DGISPN0118: Failed to invoke operation: org.infinispan.protostream.DescriptorParserException: java.lang.IllegalStateException: Syntax error in nonsense.proto at 1:9: unexpected label: nonsense
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-7401) AbstractProtocolServer relying on startDefaultCache
by Sanne Grinovero (JIRA)
Sanne Grinovero created ISPN-7401:
-------------------------------------
Summary: AbstractProtocolServer relying on startDefaultCache
Key: ISPN-7401
URL: https://issues.jboss.org/browse/ISPN-7401
Project: Infinispan
Issue Type: Task
Components: Server
Reporter: Sanne Grinovero
Assignee: Tristan Tarrant
Fix For: 9.0.0.CR1
The {{AbstractProtocolServer}} class is used/extended by various other tools, including testing infrastructure of OGM.
It currently is "booting" the system by starting the default cache. This concept needs an update.
See {{org.infinispan.server.core.AbstractProtocolServer.startDefaultCache()}}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-7400) Cache segment ownership information in DistributionManager
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-7400?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-7400:
-------------------------------
Status: Open (was: New)
> Cache segment ownership information in DistributionManager
> ----------------------------------------------------------
>
> Key: ISPN-7400
> URL: https://issues.jboss.org/browse/ISPN-7400
> Project: Infinispan
> Issue Type: Task
> Components: Core
> Affects Versions: 9.0.0.Beta2
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Labels: performance
> Fix For: 9.0.0.CR1
>
>
> ISPN-7029 introduced {{DistributionInfo}} to simplify limit the number of times we compute the location of a given key. We can go further and cache the {{DistributionInfo}} of each segment in {{DistributionManager}}, so that each operation only needs to compute the segment of its key.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-7389) Fix ExampleConfigsIT.testSSLHotRodConfig
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-7389?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-7389:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.CR1
Resolution: Done
> Fix ExampleConfigsIT.testSSLHotRodConfig
> ----------------------------------------
>
> Key: ISPN-7389
> URL: https://issues.jboss.org/browse/ISPN-7389
> Project: Infinispan
> Issue Type: Bug
> Reporter: Sebastian Łaskawiec
> Assignee: Sebastian Łaskawiec
> Priority: Blocker
> Fix For: 9.0.0.CR1
>
>
> http://ci.infinispan.org/viewLog.html?buildId=48419&tab=buildResultsDiv&b...
> {noformat}
> java.lang.RuntimeException: Could not retrieve HotRod host
> at org.infinispan.arquillian.utils.MBeanUtils.getMBeanAttribute(MBeanUtils.java:59)
> at org.infinispan.arquillian.core.HotRodEndpoint.getInetAddress(HotRodEndpoint.java:65)
> at org.infinispan.server.test.configs.ExampleConfigsIT.securityConfig(ExampleConfigsIT.java:616)
> at org.infinispan.server.test.configs.ExampleConfigsIT.testSSLHotRodConfig(ExampleConfigsIT.java:358)
> Caused by: javax.management.InstanceNotFoundException: jboss.datagrid-infinispan:type=Server,name=HotRod,component=Transport
> at org.jboss.as.jmx.PluggableMBeanServerImpl.findDelegate(PluggableMBeanServerImpl.java:1110)
> at org.jboss.as.jmx.PluggableMBeanServerImpl.getAttribute(PluggableMBeanServerImpl.java:386)
> at org.jboss.as.jmx.BlockingNotificationMBeanServer.getAttribute(BlockingNotificationMBeanServer.java:148)
> at org.jboss.remotingjmx.protocol.v2.ServerProxy$GetAttributeHandler.handle(ServerProxy.java:689)
> at org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1$1.run(ServerCommon.java:153)
> at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$1.run(ServerInterceptorFactory.java:75)
> at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$1.run(ServerInterceptorFactory.java:70)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:422)
> at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:149)
> at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor.handleEvent(ServerInterceptorFactory.java:70)
> at org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1.run(ServerCommon.java:149)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> ------- Stdout: -------
> [TestSuiteProgress] Test succeeded: ExampleConfigsIT.testTopologyConfigSiteAttribute
> [TestSuiteProgress] Tests succeeded: 165, failed: 1, skipped: 10
> [TestSuiteProgress] Test starting: ExampleConfigsIT.testSSLHotRodConfig
> [0m08:11:03,018 INFO [org.jboss.modules] (main) JBoss Modules version 1.5.2.Final
> [0m[0m08:11:03,188 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
> [0m[0m08:11:03,267 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: Infinispan Server 9.0.0-SNAPSHOT (WildFly Core 2.2.0.Final) starting
> [0m[0m08:11:04,195 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
> [0m[0m08:11:04,219 INFO [org.xnio] (MSC service thread 1-4) XNIO version 3.4.0.Final
> [0m[0m08:11:04,225 INFO [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.4.0.Final
> [0m[0m08:11:04,263 INFO [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 4.0.21.Final
> [0m[0m08:11:04,275 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 19) Activating Infinispan subsystem.
> [0m[0m08:11:04,319 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 21) WFLYIO001: Worker 'default' has auto-configured to 4 core threads with 32 task threads based on your 2 available processors
> [0m[0m08:11:04,361 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 18) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
> [0m[33m08:11:04,374 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 29) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.
> [0m[0m08:11:04,376 INFO [org.jboss.as.security] (ServerService Thread Pool -- 27) WFLYSEC0002: Activating Security Subsystem
> [0m[0m08:11:04,384 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 25) WFLYNAM0001: Activating Naming Subsystem
> [0m[0m08:11:04,391 INFO [org.jboss.as.connector] (MSC service thread 1-2) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.4.Final)
> [0m[0m08:11:04,417 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = h2
> [0m[0m08:11:04,481 INFO [org.jboss.as.security] (MSC service thread 1-4) WFLYSEC0001: Current PicketBox version=4.9.6.Final
> [0m[0m08:11:04,489 INFO [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service
> [0m[0m08:11:04,909 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) WFLYDS0013: Started FileSystemDeploymentService for directory /opt/buildAgent/work/4107e96132ab99f9/server/integration/testsuite/target/server/node1/standalone/deployments
> [0m[0m08:11:04,931 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "custom-store.jar" (runtime-name: "custom-store.jar")
> [0m[0m08:11:05,248 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
> [0m[0m08:11:05,595 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-1) ISPN000128: Infinispan version: Infinispan 'Ruppaner' 9.0.0-SNAPSHOT
> &#27;[0m&#27;[0m08:11:05,999 INFO [org.infinispan.expiration.impl.ExpirationManagerImpl] (MSC service thread 1-3) ISPN000025: wakeUpInterval is <= 0, not starting expired purge thread
> &#27;[0m&#27;[0m08:11:06,000 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-3) DGISPN0001: Started default cache from local container
> &#27;[0m&#27;[0m08:11:06,004 INFO [org.infinispan.expiration.impl.ExpirationManagerImpl] (MSC service thread 1-1) ISPN000025: wakeUpInterval is <= 0, not starting expired purge thread
> &#27;[0m&#27;[0m08:11:06,004 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-1) DGISPN0001: Started namedCache cache from local container
> &#27;[0m&#27;[0m08:11:06,011 INFO [org.infinispan.expiration.impl.ExpirationManagerImpl] (MSC service thread 1-2) ISPN000025: wakeUpInterval is <= 0, not starting expired purge thread
> &#27;[0m&#27;[0m08:11:06,011 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-2) DGISPN0001: Started memcachedCache cache from local container
> &#27;[0m&#27;[0m08:11:06,174 INFO [org.infinispan.server.endpoint] (MSC service thread 1-3) DGENDPT10000: HotRodServer hotrod2 starting
> &#27;[0m&#27;[0m08:11:06,174 INFO [org.infinispan.server.endpoint] (MSC service thread 1-3) DGENDPT10033: Starting server HotRodServer hotrod2 without transport (use multi tenant router instead)
> &#27;[0m&#27;[0m08:11:06,174 INFO [org.infinispan.server.endpoint] (MSC service thread 1-3) DGENDPT10001: HotRodServer hotrod2 listening on None
> &#27;[0m&#27;[0m08:11:06,201 INFO [org.infinispan.server.endpoint] (MSC service thread 1-2) DGENDPT10000: rest2 starting
> &#27;[0m&#27;[0m08:11:06,201 INFO [org.infinispan.server.endpoint] (MSC service thread 1-2) DGENDPT10033: Starting server REST without transport (use multi tenant router instead)
> &#27;[0m&#27;[0m08:11:06,205 INFO [org.infinispan.server.endpoint] (MSC service thread 1-1) DGENDPT10000: rest1 starting
> &#27;[0m&#27;[0m08:11:06,205 INFO [org.infinispan.server.endpoint] (MSC service thread 1-1) DGENDPT10033: Starting server REST without transport (use multi tenant router instead)
> &#27;[0m&#27;[0m08:11:06,205 INFO [org.infinispan.server.endpoint] (MSC service thread 1-1) DGENDPT10002: rest1 mapped to /rest
> &#27;[0m&#27;[0m08:11:06,206 INFO [org.infinispan.server.endpoint] (MSC service thread 1-1) DGENDPT10000: HotRodServer hotrod1 starting
> &#27;[0m&#27;[0m08:11:06,206 INFO [org.infinispan.server.endpoint] (MSC service thread 1-1) DGENDPT10033: Starting server HotRodServer hotrod1 without transport (use multi tenant router instead)
> &#27;[0m&#27;[0m08:11:06,206 INFO [org.infinispan.server.endpoint] (MSC service thread 1-1) DGENDPT10001: HotRodServer hotrod1 listening on None
> &#27;[0m&#27;[0m08:11:06,210 INFO [org.infinispan.server.endpoint] (MSC service thread 1-2) DGENDPT10002: rest2 mapped to /rest
> &#27;[0m&#27;[0m08:11:06,268 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-4) DGISPN0007: Registering Deployed Cache Store service for store 'org.infinispan.persistence.cluster.MyCustomCacheStore'
> &#27;[0m&#27;[31m08:11:06,278 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
> ("subsystem" => "datagrid-infinispan-endpoint"),
> ("router-connector" => "router")
> ]) - failure description: {
> "WFLYCTL0412: Required services that are not installed:" => [
> "jboss.server.controller.management.security_realm.other",
> "jboss.server.controller.management.security_realm.other2"
> ],
> "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.datagrid-infinispan-endpoint.router.router is missing [jboss.server.controller.management.security_realm.other, jboss.server.controller.management.security_realm.other2]"]
> }
> &#27;[0m&#27;[0m08:11:06,303 INFO [org.jboss.as.server] (ServerService Thread Pool -- 17) WFLYSRV0010: Deployed "custom-store.jar" (runtime-name : "custom-store.jar")
> &#27;[0m&#27;[0m08:11:06,306 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
> WFLYCTL0184: New missing/unsatisfied dependencies:
> service jboss.server.controller.management.security_realm.other (missing) dependents: [service jboss.datagrid-infinispan-endpoint.router.router]
> service jboss.server.controller.management.security_realm.other2 (missing) dependents: [service jboss.datagrid-infinispan-endpoint.router.router]
> &#27;[0m&#27;[0m08:11:06,380 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
> &#27;[0m&#27;[0m08:11:06,380 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
> &#27;[0m&#27;[31m08:11:06,380 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: Infinispan Server 9.0.0-SNAPSHOT (WildFly Core 2.2.0.Final) started (with errors) in 3666ms - Started 179 of 191 services (1 services failed or missing dependencies, 54 services are lazy, passive or on-demand)
> &#27;[0m&#27;[0m08:11:06,553 INFO [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0236: Suspending server with no timeout.
> &#27;[0m&#27;[0m08:11:06,556 INFO [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: Shutting down in response to management operation 'shutdown'
> &#27;[0m&#27;[0m08:11:06,573 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-4) DGISPN0002: Stopped namedCache cache from local container
> &#27;[0m&#27;[0m08:11:06,576 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-4) DGISPN0002: Stopped memcachedCache cache from local container
> &#27;[0m&#27;[0m08:11:06,577 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
> &#27;[0m&#27;[0m08:11:06,585 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-4) DGISPN0002: Stopped default cache from local container
> &#27;[0m&#27;[0m08:11:06,591 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0019: Stopped Driver service with driver-name = h2
> &#27;[0m&#27;[0m08:11:06,602 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment custom-store.jar (runtime-name: custom-store.jar) in 37ms
> &#27;[0m&#27;[0m08:11:06,614 INFO [org.jboss.as] (MSC service thread 1-4) WFLYSRV0050: Infinispan Server 9.0.0-SNAPSHOT (WildFly Core 2.2.0.Final) stopped in 50ms
> &#27;[0m
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months