cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-5644) Exception swallowing in ..net.MessagingService
Date Sat, 15 Jun 2013 15:45:20 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dave Brosius resolved CASSANDRA-5644.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.6
         Reviewer: dbrosius

Thanks!

committed to cassandra-1.2 as 082684dd806a0bf0964901e3749992e4b1a1d650
                
> Exception swallowing in ..net.MessagingService
> ----------------------------------------------
>
>                 Key: CASSANDRA-5644
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5644
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Config
>    Affects Versions: 2.0
>         Environment: RedHat Linux, OpenJDK 7
>            Reporter: Harry Metske
>            Priority: Minor
>             Fix For: 1.2.6
>
>         Attachments: CASSANDRA-5644.patch
>
>
> While I was trying to setup internode encryption, I spent too much time finding out that
the name of my keystore was wrong.
> Main reason was the org/apache/cassandra/net/MessagingService.java swallowing the exception
and just spitting out:
> {noformat}
> ERROR [main] 2013-06-15 12:49:43,758 CassandraDaemon.java (line 358) Fatal configuration
error
> org.apache.cassandra.exceptions.ConfigurationException: Unable to create ssl socket
> 	at org.apache.cassandra.net.MessagingService.getServerSocket(MessagingService.java:432)
> 	at org.apache.cassandra.net.MessagingService.listen(MessagingService.java:412)
> 	at org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:564)
> 	at org.apache.cassandra.service.StorageService.initServer(StorageService.java:529)
> 	at org.apache.cassandra.service.StorageService.initServer(StorageService.java:428)
> 	at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:354)
> 	at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:453)
> 	at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:496)
> Unable to create ssl socket
> {noformat}
> I will attach a minor patch, that shows just a bit more:
> {noformat}
> ERROR [main] 2013-06-15 12:58:44,979 CassandraDaemon.java (line 358) Fatal configuration
error
> org.apache.cassandra.exceptions.ConfigurationException: Unable to create ssl socket
> 	at org.apache.cassandra.net.MessagingService.getServerSocket(MessagingService.java:432)
> 	at org.apache.cassandra.net.MessagingService.listen(MessagingService.java:412)
> 	at org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:564)
> 	at org.apache.cassandra.service.StorageService.initServer(StorageService.java:529)
> 	at org.apache.cassandra.service.StorageService.initServer(StorageService.java:428)
> 	at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:354)
> 	at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:453)
> 	at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:496)
> Caused by: java.io.IOException: Error creating the initializing the SSL Context
> 	at org.apache.cassandra.security.SSLFactory.createSSLContext(SSLFactory.java:124)
> 	at org.apache.cassandra.security.SSLFactory.getServerSocket(SSLFactory.java:53)
> 	at org.apache.cassandra.net.MessagingService.getServerSocket(MessagingService.java:428)
> 	... 7 more
> Caused by: java.io.FileNotFoundException: conf/oeps-wrong-truststore.jks (No such file
or directory)
> 	at java.io.FileInputStream.open(Native Method)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:138)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:97)
> 	at org.apache.cassandra.security.SSLFactory.createSSLContext(SSLFactory.java:105)
> 	... 9 more
> Unable to create ssl socket
> {noformat}
> kind regards,
> Harry

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message