Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    You're either not using a valid size or you're out the boundaries. If you really must use a number bigger than 1024 please consider using BouncyCastle, as the JDK SSL only supports up to 1024

Solutions on the web

via Coderanch by rahulJ james, 9 months ago
Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)
via coderanch.com by Unknown author, 2 years ago
Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)
via Coderanch by rahulJ james, 1 year ago
Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)
via Google Groups by Tomy, 2 years ago
Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)
via Stack Overflow by Clearner88
, 2 years ago
Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)
via Stack Overflow by thotheolh
, 2 years ago
Prime size must be multiple of 64, and can only range from 512 to 2048 (inclusive)
java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)	at com.sun.crypto.provider.DHKeyPairGenerator.initialize(DashoA12275)	at java.security.KeyPairGenerator$Delegate.initialize(Unknown Source)	at java.security.KeyPairGenerator.initialize(Unknown Source)	at com.ibm.db2.jcc.b.ic.(ic.java:75)	at com.ibm.db2.jcc.t4.b.Mc(b.java:2334)	at com.ibm.db2.jcc.t4.b.a(b.java:1266)	at com.ibm.db2.jcc.t4.b.b(b.java:1255)	at com.ibm.db2.jcc.t4.b.s(b.java:1020)	at com.ibm.db2.jcc.t4.b.c(b.java:632)	at com.ibm.db2.jcc.t4.b.b(b.java:618)	at com.ibm.db2.jcc.t4.b.a(b.java:360)	at com.ibm.db2.jcc.t4.b.(b.java:298)	at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:193)	at org.apache.tomcat.dbcp.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)	at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)	at org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1247)	at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1221)	at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)