[JBoss JIRA] (ISPN-7130) Failed clearing MariaDB JDBC cache store
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-7130?page=com.atlassian.jira.plugin.... ]
Ryan Emerson reassigned ISPN-7130:
----------------------------------
Assignee: Ryan Emerson
> Failed clearing MariaDB JDBC cache store
> ----------------------------------------
>
> Key: ISPN-7130
> URL: https://issues.jboss.org/browse/ISPN-7130
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 8.2.4.Final
> Reporter: Paul Ferraro
> Assignee: Ryan Emerson
> Priority: Minor
>
> During scenarion {code}eap-7x-failover-db-session-shutdown-repl-sync-mariadb-10{code} (failover test when session are stored in MariaDB database) we saw errors on server when the server was shutting down. According to stacktrace it could be related to Infinispan.
> {code}
> 10:25:43,315 INFO [org.jboss.test.clusterbench.common.session.CommonHttpSessionServlet] (default task-1) New session created: OcWgFKcNH9Qyn1lQO2wJBdIkrf3d-_wr2gVoUeBp
> [JBossINF] 10:25:49,725 ERROR [org.infinispan.persistence.jdbc.binary.JdbcBinaryStore] (expiration-thread--p18-t1) ISPN008001: Failed clearing cache store: java.sql.SQLException: No Parameters set. The command addBatch() must have been set
> [JBossINF] at org.mariadb.jdbc.internal.util.ExceptionMapper.getSqlException(ExceptionMapper.java:149)
> [JBossINF] at org.mariadb.jdbc.MariaDbServerPreparedStatement.executeBatch(MariaDbServerPreparedStatement.java:211)
> [JBossINF] at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:714)
> [JBossINF] at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1190)
> [JBossINF] at org.infinispan.persistence.jdbc.binary.JdbcBinaryStore.purge(JdbcBinaryStore.java:329)
> [JBossINF] at org.infinispan.persistence.manager.PersistenceManagerImpl.purgeExpired(PersistenceManagerImpl.java:373)
> [JBossINF] at org.infinispan.expiration.impl.ClusterExpirationManager.processExpiration(ClusterExpirationManager.java:90)
> [JBossINF] at org.infinispan.expiration.impl.ExpirationManagerImpl$ScheduledTask.run(ExpirationManagerImpl.java:231)
> [JBossINF] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> [JBossINF] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
> [JBossINF] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
> [JBossINF] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
> [JBossINF] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [JBossINF] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [JBossINF] at org.jboss.as.clustering.infinispan.ClassLoaderThreadFactory.lambda$newThread$0(ClassLoaderThreadFactory.java:48)
> [JBossINF] at java.lang.Thread.run(Thread.java:745)
> {code}
> It was shortly after cluster-wide rebalance finished
> {code}
> 10:25:07,403 INFO [org.infinispan.CLUSTER] (remote-thread--p8-t1) ISPN000310: Starting cluster-wide rebalance for cache clusterbench-ee7.ear/clusterbench-ee7-ejb.jar, topology CacheTopology{id=6, rebalanceId=4, currentCH=DefaultConsistentHash{ns=256, owners = (3)[dev212: 90+92, dev215: 85+81, dev213: 81+83]}, pendingCH=DefaultConsistentHash{ns=256, owners = (4)[dev212: 67+72, dev215: 65+63, dev213: 59+55, dev214: 65+66]}, unionCH=null, actualMembers=[dev212, dev215, dev213, dev214]}
> [JBossINF] 10:25:07,403 INFO [org.infinispan.CLUSTER] (remote-thread--p8-t1) [Context=clusterbench-ee7.ear/clusterbench-ee7-ejb.jar][Scope=dev212]ISPN100002: Started local rebalance
> [JBossINF] 10:25:07,404 INFO [org.infinispan.CLUSTER] (transport-thread--p14-t21) [Context=clusterbench-ee7.ear/clusterbench-ee7-ejb.jar][Scope=dev212]ISPN100003: Finished local rebalance
> [JBossINF] 10:25:07,408 INFO [org.infinispan.CLUSTER] (remote-thread--p8-t1) [Context=clusterbench-ee7.ear/clusterbench-ee7-ejb.jar][Scope=dev213]ISPN100003: Finished local rebalance
> [JBossINF] 10:25:07,413 INFO [org.infinispan.CLUSTER] (remote-thread--p8-t1) [Context=clusterbench-ee7.ear/clusterbench-ee7-ejb.jar][Scope=dev215]ISPN100003: Finished local rebalance
> [JBossINF] 10:25:07,436 INFO [org.infinispan.CLUSTER] (remote-thread--p8-t1) [Context=clusterbench-ee7.ear/clusterbench-ee7-ejb.jar][Scope=dev214]ISPN100003: Finished local rebalance
> [JBossINF] 10:25:07,436 INFO [org.infinispan.CLUSTER] (remote-thread--p8-t1) ISPN000336: Finished cluster-wide rebalance for cache clusterbench-ee7.ear/clusterbench-ee7-ejb.jar, topology id = 6
> [JBossINF] 10:25:08,270 INFO [org.infinispan.CLUSTER] (remote-thread--p6-t5) [Context=clusterbench-ee7.ear.clusterbench-ee7-web-granular.war][Scope=dev214]ISPN100003: Finished local rebalance
> [JBossINF] 10:25:08,270 INFO [org.infinispan.CLUSTER] (remote-thread--p6-t5) ISPN000336: Finished cluster-wide rebalance for cache clusterbench-ee7.ear.clusterbench-ee7-web-granular.war, topology id = 6
> {code}
> or after new cluster view was received
> {code}
> 10:29:53,838 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (thread-4,ee,dev212) ISPN000094: Received new cluster view for channel ejb: [dev215|6] (3) [dev215, dev214, dev212]
> {code}
> No errors or warning occured on client at that time.
> Link to server log:
> http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-7x-failover-db-se...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 8 months
[JBoss JIRA] (ISPN-7395) The policy elements are ignored in the server sasl configuration
by Wolf-Dieter Fink (JIRA)
Wolf-Dieter Fink created ISPN-7395:
--------------------------------------
Summary: The policy elements are ignored in the server sasl configuration
Key: ISPN-7395
URL: https://issues.jboss.org/browse/ISPN-7395
Project: Infinispan
Issue Type: Bug
Reporter: Wolf-Dieter Fink
Assignee: Tristan Tarrant
Server SASL mech policies can be specified via properties or policy elements. When using the latter, the policy elements are not converted to the corresponding properties and applied to the mech config
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 8 months
[JBoss JIRA] (ISPN-7392) The policy elements are ignored in the server sasl configuration
by Wolf-Dieter Fink (JIRA)
[ https://issues.jboss.org/browse/ISPN-7392?page=com.atlassian.jira.plugin.... ]
Wolf-Dieter Fink commented on ISPN-7392:
----------------------------------------
This server configuration is expected to work:
<subsystem xmlns="urn:infinispan:server:endpoint:8.0">
<hotrod-connector cache-container="local" socket-binding="hotrod">
<topology-state-transfer lazy-retrieval="false" lock-timeout="1000" replication-timeout="5000"/>
<authentication security-realm="ApplicationRealm">
<sasl mechanisms="PLAIN" server-name="myServer">
<policy>
<no-anonymous value="true"/>
</policy>
</sasl>
</authentication>
</hotrod-connector>
As workaround SASL properties can be used:
<subsystem xmlns="urn:infinispan:server:endpoint:8.0">
<hotrod-connector cache-container="local" socket-binding="hotrod">
<topology-state-transfer lazy-retrieval="false" lock-timeout="1000" replication-timeout="5000"/>
<authentication security-realm="ApplicationRealm">
<sasl mechanisms="PLAIN" server-name="myServer">
<property name="javax.security.sasl.policy.noanonymous">true</property>
</sasl>
</authentication>
</hotrod-connector>
> The policy elements are ignored in the server sasl configuration
> ----------------------------------------------------------------
>
> Key: ISPN-7392
> URL: https://issues.jboss.org/browse/ISPN-7392
> Project: Infinispan
> Issue Type: Bug
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
>
> Server SASL mech policies can be specified via properties or policy elements. When using the latter, the policy elements are not converted to the corresponding properties and applied to the mech config
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 8 months
[JBoss JIRA] (ISPN-7393) Failed to properly start Hot Rod endpoint with the provided standalone-hotrod-ssl.xml
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-7393?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-7393:
------------------------------------
Steps to Reproduce:
- copy all the keys to standalone/configuration
- start the server with
bin/standalone.sh -c ../../docs/examples/configs/standalone-hotrod-ssl.xml
was:
- copy all the keys to standalone/configuration
- start the server with
bin/standalone.sh -c ../../docs/examples/configs/standalone-hotrod-ssl.xml
This was working on previous version
> Failed to properly start Hot Rod endpoint with the provided standalone-hotrod-ssl.xml
> -------------------------------------------------------------------------------------
>
> Key: ISPN-7393
> URL: https://issues.jboss.org/browse/ISPN-7393
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.0.0.Beta2
> Reporter: Gustavo Fernandes
> Assignee: Sebastian Łaskawiec
> Attachments: keystore_client.jks, keystore_server.jks, truststore_client.jks, truststore_server.jks
>
>
> {noformat}
> 2017-01-24 15:20:57,033 INFO [org.infinispan.server.endpoint] (MSC service thread 1-6) DGENDPT10002: rest2 mapped to /rest
> 2017-01-24 15:20:57,034 INFO [org.infinispan.server.endpoint] (MSC service thread 1-4) DGENDPT10002: rest1 mapped to /rest
> 2017-01-24 15:20:57,080 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.other2, jboss.server.controller.management.security_realm.other]"]
> }
> 2017-01-24 15:20:57,119 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]
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 8 months
[JBoss JIRA] (ISPN-7393) Failed to properly start Hot Rod endpoint with the provided standalone-hotrod-ssl.xml
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-7393?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes commented on ISPN-7393:
-----------------------------------------
I was using the sample file in the infinispan-spark testsuite, now it does not work anymore. Should we keep the file {{standalone-hotrod-ssl.xml}} as before and create another with the router example?
> Failed to properly start Hot Rod endpoint with the provided standalone-hotrod-ssl.xml
> -------------------------------------------------------------------------------------
>
> Key: ISPN-7393
> URL: https://issues.jboss.org/browse/ISPN-7393
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.0.0.Beta2
> Reporter: Gustavo Fernandes
> Assignee: Sebastian Łaskawiec
> Attachments: keystore_client.jks, keystore_server.jks, truststore_client.jks, truststore_server.jks
>
>
> {noformat}
> 2017-01-24 15:20:57,033 INFO [org.infinispan.server.endpoint] (MSC service thread 1-6) DGENDPT10002: rest2 mapped to /rest
> 2017-01-24 15:20:57,034 INFO [org.infinispan.server.endpoint] (MSC service thread 1-4) DGENDPT10002: rest1 mapped to /rest
> 2017-01-24 15:20:57,080 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.other2, jboss.server.controller.management.security_realm.other]"]
> }
> 2017-01-24 15:20:57,119 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]
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 8 months