Author Archives: parasjain01

“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

Key properties to remember are war.path which should point to your ROOT.war directory and global.lib.path… 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

Today I have found a weird bug in Liferay’s UploadServletRequestImpl in the following method

  The intention of the above code is to return the full name of the file(s) being uploaded. But actually the above code returns the name of the first file uploaded on the form with the name… Read more »

JournalVmUtil in Liferay 6.1

      No Comments on JournalVmUtil in Liferay 6.1

Disclaimer – Following is not the best or optimal solution. If you have better suggestion please write in comments JournalVmUtil was present upto Liferay 5.2 and then deprecated in Liferay 6.0 and then completed removed in Liferay 6.1. If you are upgrading to 6.1 and make extensive use of JournalVmUtil… Read more »

No theme found for specified theme id abc_WAR_xyztheme

As far as my experience is concerned, this error means that your database is referring to theme which is not present. To make sure run the following commands

Now go to liferay’s Control Panel -> Plugin Configuration -> Theme Plugins tab and click on the theme in question. See… Read more »