[JBoss JIRA] (ISPN-6922) Support for loading keystores from classpath in the Hot Rod client
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-6922?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes reopened ISPN-6922:
-------------------------------------
Keep open until 8.2.x PR is integrated
> Support for loading keystores from classpath in the Hot Rod client
> ------------------------------------------------------------------
>
> Key: ISPN-6922
> URL: https://issues.jboss.org/browse/ISPN-6922
> Project: Infinispan
> Issue Type: Enhancement
> Affects Versions: 9.0.0.Alpha3, 8.2.3.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Fix For: 9.0.0.Alpha4, 8.2.4.Final
>
>
> Configuration of truststores and keystores in the Hot Rod client only work with files, In certain situation the application is packaged together with the hotrod client in a single jar and thus cannot load the keystores.
> Suggestion of supporting classpath resources:
> {code:title=hotrod-client.properties}
> infinispan.client.hotrod.trust_store_file_name=classpath:/some/loc/truststore.jks
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (ISPN-6922) Support for loading keystores from classpath in the Hot Rod client
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-6922?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-6922:
------------------------------------
Fix Version/s: 8.2.4.Final
> Support for loading keystores from classpath in the Hot Rod client
> ------------------------------------------------------------------
>
> Key: ISPN-6922
> URL: https://issues.jboss.org/browse/ISPN-6922
> Project: Infinispan
> Issue Type: Enhancement
> Affects Versions: 9.0.0.Alpha3, 8.2.3.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Fix For: 9.0.0.Alpha4, 8.2.4.Final
>
>
> Configuration of truststores and keystores in the Hot Rod client only work with files, In certain situation the application is packaged together with the hotrod client in a single jar and thus cannot load the keystores.
> Suggestion of supporting classpath resources:
> {code:title=hotrod-client.properties}
> infinispan.client.hotrod.trust_store_file_name=classpath:/some/loc/truststore.jks
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (ISPN-6930) ERROR logged when consuming events with SSL
by Gustavo Fernandes (JIRA)
Gustavo Fernandes created ISPN-6930:
---------------------------------------
Summary: ERROR logged when consuming events with SSL
Key: ISPN-6930
URL: https://issues.jboss.org/browse/ISPN-6930
Project: Infinispan
Issue Type: Bug
Reporter: Gustavo Fernandes
When closing the remote cache manager that has an event listener and connects via SSL, the Hot Rod client logs an ERROR
{noformat}
2016-08-05 12:14:53 [Client-Listener-org.infinispan.spark.suites.JavaStreamApiSecureSuite-3219f3f2007a4ba4] ERROR ClientListenerNotifier:278 - ISPN004043: Unrecoverable error reading event from server localhost/127.0.0.1:11222, exiting event reader thread
org.infinispan.client.hotrod.exceptions.TransportException:: java.net.SocketException: Socket closed
at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.readByte(TcpTransport.java:207)
at org.infinispan.client.hotrod.impl.protocol.Codec20.readMagic(Codec20.java:305)
at org.infinispan.client.hotrod.impl.protocol.Codec20.readEvent(Codec20.java:147)
at org.infinispan.client.hotrod.event.ClientListenerNotifier$EventDispatcher.run(ClientListenerNotifier.java:262)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.infinispan.client.hotrod.event.ClientListenerNotifier.lambda$null$0(ClientListenerNotifier.java:78)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketException: Socket closed
at java.net.SocketInputStream.read(SocketInputStream.java:203)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
at sun.security.ssl.InputRecord.read(InputRecord.java:503)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.readByte(TcpTransport.java:202)
... 9 more
{noformat}
The error is not throw when not using SSL.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months