Using Amazon Lightsail for WordPress Now

      No Comments on Using Amazon Lightsail for WordPress Now

Disclaimer: Opinions here are Based on personal experience, let me know in comments if you have a different experience For a small website/blog, things are completely different for a high traffic, scalable and highly available website. Not an exhaustive list. Just the things I have experimented with. I understand that… Read more »

Liferay 6 Certification Preparation Tips

      No Comments on Liferay 6 Certification Preparation Tips

How to prepare There is no shortcut. Don’t rely on any sample questions online(including this post) completely. Best way to prepare is to practice tutorial here . Even the experienced developers should try to go through the tutorial, try to create portlets, hooks and learn the concepts by doing things. One… Read more »

“A Cloud Guru” vs “Linux Academy” vs CloudAcademy

Disclaimer – This post is based on my personal experience. I have spent more than 8 months with A Cloud Guru and just a few weeks with other two services – Linux Academy and CloudAcademy. I am NOT associated or affiliated with any of the services and/or product mentioned in the post…. Read more »

Default profile (default.properties) for Patching Liferay on Jboss

You can always use patching tool’s auto-discovery option to generate a profile. In case you are not able to use that following are the sample settings for JBoss. Just create default.properties under patching-tool directory patching.mode=binary war.path=C:/jboss-eap-6.4/standalone/deployments/ROOT.war/ global.lib.path=C:/jboss-eap-6.4/modules/com/liferay/portal/main/ Key properties to remember are war.path which should point to your ROOT.war directory… Read more »

Tomcat – How to resolve java.util.zip.ZipException: error in opening zip file

This post is not necessarily about any specific technology. Just wanted to tell you about one possible reason for this commonly faced problem. I was working on a Spring MVC application lately and I got the following error SEVERE [localhost-startStop-4] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/springcaptcha]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)… Read more »

Multiple files upload in Liferay 6.1

      No Comments on Multiple files upload in Liferay 6.1

Today I have found a weird bug in Liferay’s UploadServletRequestImpl in the following method public String getFullFileName(String name) { FileItem[] liferayFileItems = _fileParams.get(name); if ((liferayFileItems != null) && (liferayFileItems.length > 0)) { FileItem liferayFileItem = liferayFileItems[0]; return liferayFileItem.getFullFileName(); } return null; }   The intention of the above code is to return… Read more »