[JBoss JIRA] (ISPN-4302) Set default isolation level to READ_COMMITTED in server
by Martin Gencur (JIRA)
Martin Gencur created ISPN-4302:
-----------------------------------
Summary: Set default isolation level to READ_COMMITTED in server
Key: ISPN-4302
URL: https://issues.jboss.org/browse/ISPN-4302
Project: Infinispan
Issue Type: Bug
Components: Server
Reporter: Martin Gencur
Assignee: Martin Gencur
Fix For: 7.0.0.Alpha4
When <locking> configuration element is present in server configuration but isolation is not specified, the resulting value for isolation will be REPEATABLE_READ - this is inconsistent with library mode and further, REPEATABLE_READ is not a valid value in the server distribution as the server does not support transactions.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 5 months
[JBoss JIRA] (ISPN-4298) HotRod kerberos auth doesn't see the ticket when creating RemoteCachManager
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-4298?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-4298:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 7.0.0.Beta1
Resolution: Done
> HotRod kerberos auth doesn't see the ticket when creating RemoteCachManager
> ---------------------------------------------------------------------------
>
> Key: ISPN-4298
> URL: https://issues.jboss.org/browse/ISPN-4298
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Reporter: Vojtech Juranek
> Assignee: Tristan Tarrant
> Fix For: 7.0.0.Beta1
>
>
> When HR client obtains initial GSSAPI challenge (usually when creating {{RemoteCachManager}}), it fails with
> {noformat}
> Caused by: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
> at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:212)
> at org.infinispan.client.hotrod.impl.transport.tcp.SaslTransportObjectFactory.makeObject(SaslTransportObjectFactory.java:67)
> at org.infinispan.client.hotrod.impl.transport.tcp.SaslTransportObjectFactory.makeObject(SaslTransportObjectFactory.java:25)
> at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1220)
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.borrowTransportFromPool(TcpTransportFactory.java:306)
> ... 109 more
> Caused by: GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)
> at sun.security.jgss.krb5.Krb5InitCredential.getInstance(Krb5InitCredential.java:147)
> at sun.security.jgss.krb5.Krb5MechFactory.getCredentialElement(Krb5MechFactory.java:121)
> at sun.security.jgss.krb5.Krb5MechFactory.getMechanismContext(Krb5MechFactory.java:187)
> at sun.security.jgss.GSSManagerImpl.getMechanismContext(GSSManagerImpl.java:223)
> at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:212)
> at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:179)
> at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:193)
> ... 113 more
> {noformat}
> When the code is wrapped by {{PrivilegedExceptionAction}}, e.g.
> {code}
> final Configuration config = getRemoteCacheManagerConfig(subj);
> Subject.doAs(subj, new PrivilegedExceptionAction<Void>() {
> public Void run() throws Exception {
> remoteCacheManager = new RemoteCacheManager(config, true);
> return null;
> }
> });
> {code}
> everything works fine
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 5 months
[JBoss JIRA] (ISPN-4297) Digest HR auth tests fails, unable to find container
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-4297?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-4297:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 7.0.0.Beta1
Resolution: Done
> Digest HR auth tests fails, unable to find container
> ----------------------------------------------------
>
> Key: ISPN-4297
> URL: https://issues.jboss.org/browse/ISPN-4297
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Reporter: Vojtech Juranek
> Assignee: Vojtech Juranek
> Fix For: 7.0.0.Beta1
>
>
> Fails with
> {noformat}
> java.lang.IllegalArgumentException: Cannot find specified object in InfinispanContext, type: org.infinispan.arquillian.core.RemoteInfinispanServer, qualifier: container1
> {noformat}
> Instead of creating new profile, configure the test to be able to run with default profile.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 5 months
[JBoss JIRA] (ISPN-4301) Handle storeMetadata=false in JpaStore.process and JpaStore.purge methods
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-4301?page=com.atlassian.jira.plugin.... ]
Radim Vansa commented on ISPN-4301:
-----------------------------------
In fact, we shouldn't run purge without metadata at all - no entries can expire without expiration timestamp (which is stored in metadata).
> Handle storeMetadata=false in JpaStore.process and JpaStore.purge methods
> -------------------------------------------------------------------------
>
> Key: ISPN-4301
> URL: https://issues.jboss.org/browse/ISPN-4301
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 7.0.0.Alpha4
> Reporter: Radim Vansa
> Assignee: Dan Berindei
>
> Even when storing metadata is disabled, JpaStore tries to fetch them in process (when ran with fetchMetadata=true) and in purge, the code enumerating and removing the metadata is executed even when there can't be any metadata.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 5 months