Blog Archives

Unit Testing HTTPS Clients with a Self-signed Certificate

Overview A quick and easy way to eliminate javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target without making dangerous changes to your default trust store. Steps Create a new keystore and associated

Tagged with: , , , , , , ,
Posted in Java EE Development

JMS Patterns – Generic Message Handler

Refactoring some JMS code got me thinking about message validation, type casting, and payload extraction. Having recently read Adam Bien’s excellent book “Real World Java EE Patterns – Rethinking Best Practices” I decided to implement the “Payload Extractor” pattern. However,

Tagged with: , , , , , ,
Posted in Java EE Development

Installing Rational Software Modeller 7.5 on Fedora 11

Because the installer uses text relocations you’ll need to relax your SELinux settings. Go to System -> Administration -> SELinux Management -> Status and set the Current Enforcing Mode to Permissive. Launch the installer and follow the wizard to completion

Tagged with: , , , , ,
Posted in Fedora, Java EE Development, UML