Categories
Database Development

Replace a sequential set of numbers with special character

I have a varchar(200) column that contains entries such as, ABC123124_A12312 ABC123_A1212 ABC123124_B12312 AC123124_AD12312 A12312_123 etc.. I want to replace a sequence of numbers with a single * so that I can group the distinct non-numeric patterns in the table. The result for this set would be ABC*_A* ABC*_B* AC*_AD* A*_* I have written the […]

Categories
Mastering Development System & Network

Why is Bouncy Castle appearing to be the default security provider in JBoss 6.4?

Our application is making calls to a Google API. On UAT with Java version 1.7.0_131 and JBoss 6.4, it works correctly, but on production environment, with the same Java and the JBoss versions, the same codebase gives the error: Caused by: java.lang.RuntimeException: Could not generate DH keypair at sun.security.ssl.ECDHCrypt.<init>(ECDHCrypt.java:83) at sun.security.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:720) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:278) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:961) […]