Apache

How to convert org.apache.myfaces.trinidad.model.UploadedFile to java.io.File in Java?

It’s pretty common to have to convert an org.apache.myfaces.trinidad.model.UploadedFile to a java.io.File when working with an ADF <af:inputFile>. Working with a java.io.File being the only way to retrieve values from a CSV. Here is a simple code snippet to do so : View the code on Gist.

How to convert org.apache.myfaces.trinidad.model.UploadedFile to java.io.File in Java? Read More »

How to fix “failed to start The Apache HTTP Server” after renewing SSL certificate on AWS EC2 linux ?

If you followed my last article “How to host an https WordPress site on AWS EC2 with a Let’s Encrypt SSL certificate?”  you know have a Let’s Encrypt generated SSL certificate for your WordPress. Once in a while Let’s Encrypt will generate a new certificate if you scheduled the certbot-auto renew command. You’ll then need

How to fix “failed to start The Apache HTTP Server” after renewing SSL certificate on AWS EC2 linux ? Read More »

Scroll to Top