db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DERBY-1788) Using secmec 8(USRSSSBPWD) on 141 vms, fails with java.security.NoSuchAlgorithmException : SHA1PRNG.
Date Thu, 07 May 2009 16:53:30 GMT

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

Kathey Marsden closed DERBY-1788.
---------------------------------

    Resolution: Won't Fix

I don't think we will fix this for 1.4.1 JVM's


> Using secmec 8(USRSSSBPWD) on 141 vms, fails with java.security.NoSuchAlgorithmException
: SHA1PRNG.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1788
>                 URL: https://issues.apache.org/jira/browse/DERBY-1788
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client, Network Server
>    Affects Versions: 10.2.1.6
>            Reporter: Sunitha Kambhampati
>            Priority: Minor
>
> I ran  the testSecMec test with client & 141 vm and hit this error.
> This could probably  be a documentation issue --  that we document what level of algorithm
support is required for secmec 8 
> T9: jdbc:derby://localhost:20000/wombat;user=neelima;password=lee;securityMechanism=8
- EXCEPTION Security exception encountered, see next exception for details.
> java.sql.SQLException: Security exception encountered, see next exception for details.
> 	at org.apache.derby.client.am.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:46)
> 	at org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:345)
> 	at org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:149)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:538)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:210)
> 	at org.apache.derbyTesting.functionTests.tests.derbynet.testSecMec.getConnectionUsingDriverManager(testSecMec.java:471)
> 	at org.apache.derbyTesting.functionTests.tests.derbynet.testSecMec.runTest(testSecMec.java:383)
> 	at org.apache.derbyTesting.functionTests.tests.derbynet.testSecMec.main(testSecMec.java:260)
> Caused by: org.apache.derby.client.am.SqlException: Security exception encountered, see
next exception for details.
> 	at org.apache.derby.client.am.EncryptionManager.<init>(EncryptionManager.java:156)
> 	at org.apache.derby.client.net.NetConnection.initializeClientSeed(NetConnection.java:1426)
> 	at org.apache.derby.client.net.NetConnection.flowUSRSSBPWDconnect(NetConnection.java:721)
> 	at org.apache.derby.client.net.NetConnection.flowConnect(NetConnection.java:459)
> 	at org.apache.derby.client.net.NetConnection.<init>(NetConnection.java:217)
> 	at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl.newNetConnection(ClientJDBCObjectFactoryImpl.java:201)
> 	at org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:140)
> 	... 5 more
> Caused by: java.security.NoSuchAlgorithmException: SHA1PRNG SecureRandom not available
> 	at java.security.Security.getAlgClassName(Security.java:576)
> 	at java.security.Security.getAlgClassName(Security.java:598)
> 	at java.security.Security.getImpl(Security.java:1079)
> 	at java.security.SecureRandom.getInstance(SecureRandom.java:241)
> 	at org.apache.derby.client.am.EncryptionManager.<init>(EncryptionManager.java:148)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message