Blogs

RSS
RSS
thumbnail

There is nothing worse than starting your day and being confronted with an error like this: com.liferay.portlet.dynamicdatamapping.StorageException: com.liferay.portal.NoSuchUserException: No User exists with the primary key 0 I certainly *DO* exist, Liferay, and do not appreciate being assigned the number 0.  I received this error while trying to add a DDL...

35777
thumbnail

To set up Liferay Developer Studio to use git on OSX you might run into an issue that the git configuration options are not shown in the preferences window. To fix this you can run Developer Studio with the -clean option. Here is a short list of steps to getting egit working: 1. Install egit/JGit by adding this software site:  egit -...

30560
thumbnail

We are pleased to announce that Liferay 7.0 will be moving to Java 8 dropping support for all previous versions of Java which are no longer supported by Oracle. The Liferay community can now enjoy the full benefits of Java 8 and all the libraries and tools that have moved to Java 8. You will also of course be able to make contributions to Liferay Portal using Java 8 in the near...

42410
thumbnail

A little while ago I ran into a strange problem at a customer. We had written a hook that contained a small REST service that accepts a multipart POST to import a document and some related metadata/permissions. This service seemed to work OK and was used to import 1000's of documents, but every now and then we received a call or an email of an enduser complaining that they...

57653
thumbnail

The Sync team is pleased to announce SSO support in the latest releases of Liferay Sync desktop and mobile clients. Any SSO implementation that works against Liferay Portal will work with Liferay Sync as well (SiteMinder, OpenSSO, OAM, SAML, Shibboleth, etc). Please note this feature is for Portal EE customers only. Below are some screenshots showing the login flow using Liferay's...

53356
thumbnail

After building a hook that wraps the FakeSMTP application and a portlet that gives you file management capabilities in Liferay we now get to part 3 of the series: the CRaSH portlet. I must admit: I did actually build this portlet first, but during its development needed something to show/inspect emails and to upload, download and edit files and ended building the other...

59910
thumbnail

(This blog entry in only available in Hungarian).   A Liferay életében az egyik fontos érték a “stay nerdy” kifejezés. Ezt elég nehéz magyarra fordítani, a két héttel ezelőtt az irodában zajló videóforgatás során is felmerült többekben a kérdés, hogy ez mit is jelent. Ha mindenképp megpróbálnánk lefordítani, talán  a “maradj kocka” kifejezés...

25950

What is AWS Marketplace? AWS Marketplace is an online store where you can sell or buy software that runs on Amazon Web Services. These are pre-configured system images, which can be executed by customers on their selected server configuration with just a few clicks. Putting your product there will allow your customers to use it without going through the trouble of installation...

28696
thumbnail

Through Liferay's JSON-WS interface it is possible to automate tasks that might otherwise take lots of time through Liferay portal's GUI interface.  For example for my work I often need to create a set of DDL record sets. By using the method "/ddlrecordset/add-record-set" it is possible to create these through JSON-WS from either a website or any other JSON client. ...

29658
thumbnail

  Today I'm welcoming a repeat guest, Jorge Ferrer, Liferay's VP of Engineering. I've had the great opportunity to ask him a lot of questions that provide deep insight into what's running behind the scenes in the engineering team. We didn't have enough time, so this is part 1 of our conversation, to be continued in episode 58. I need to squeeze in the (already recorded) episode...

112450
thumbnail

  Another Liferay contest is on the way! This one, however, is a bit different than others you may have participated in previously. To celebrate the upcoming release of Liferay 7, we are holding a community Javadoc contest. It's simple; you write Javadoc for parts of Liferay you have expert knowledge on, and you accumulate points based on the amount of...

50739
thumbnail

Part 2 of this series is a short, but sweet one. This portlet was born out of a very specific customer requirement: the need to be able to see log files for some user that have Liferay web access, but no actual OS level access to the server itself. We first looked at using the Liferay Log Viewer portlet that is available in the Liferay Marketplace and while it partly covered the...

50458
thumbnail

                Caching is important part of any web application. We implement caching for our application on different levels. Generally we cache static resource on web server level and DB level caching on persistence level. Most of web-framework/portal provide some level of caching. Liferay strongly integrated caching in its core part and...

58274
thumbnail

This is not really a technical post. In what follows, I share two little tips for Liferay 6.2 users. This may also be useful to developers, unless you prefer crafting SQL to solve all your data problems (which you probably do). Let's get to them. #1: Find journal articles that use a particular structure Read the errata. When I was starting out with Liferay...

43440
thumbnail

Hochverfügbarkeit erreichen, aber wie? Das Ziel jedes IT-Verantwortlichen ist es die Systeme seines Unternehmens "hoch verfügbar" zu machen und das aus gutem Grund. Für Unternehmen ist es unerlässlich sicherzustellen, dass ihre Systeme immer online sind. Weltweit wird daran gearbeitet so nah wie möglich an das "Verfügbarkeits Nirvana" von 99,9999 Prozent zu gelangen. Load...

26285
thumbnail

  In this episode I'm talking probably one last time to James Falkner about upcoming changes... James was the first guest on Radio Liferay (back in episode 1 - as well as others) and now - at least temporarily until episode 56 is published - will be the last. We're talking about upcoming changes, and sadly it looks like this will be his last appearance on this program.  ...

85629
thumbnail

Over the last 5 years if there's anything I've learned it's that the only thing that doesn't change is change itself. I've been blessed to have been a part of many exciting changes at Liferay and our community, seeing it grow from 80 to almost 600 employees, and from 20k to 150k community members, and being given the chance to: Join an awesome company and work with...

51549
thumbnail

I hate when I have to spend time deploying changes in my Java classes. I wanted to know if there was a way of deploying them very fast. So I found out about Hotswap Agent and DCEVM and decided to give them a shot. So far, they meet my expectations. They get the job done fast... it seems instant! I would encourage anyone developing in Liferay to give it a try, and warn you that you...

53607
thumbnail

This is part 1 of a series of blog posts about a collection of tools I created during the last couple of months as a reaction to some problems I ran into. The first one is how to handle/debug emails while testing mail related items in Liferay. There is of course the standard option of configuring Liferay to use your company's mail server or your personal email account at...

48832
thumbnail

In this post I want to share how you can use Maven to do 2 important things in a Liferay project: patching and creating a deploy package.   While this way of patching is a very powerful way to modify Liferay in an automated way (no manual WAR/JAR patching) you should use it as sparingly as possible. If possible you should always try to use more...

46669