Blogs

RSS

Entries with Projects Platform .

RSS
thumbnail

So I've been seeing this a lot recently, so I thought I'd do a quick blog about it... With web contents, we can build structures to provide an organized chunk of data, and then we can define a template to render the HTML fragment for that structure. Since the template language of choice is FreeMarker, and since in FreeMarker we have practically the entire Liferay API (and...

7823
thumbnail

We, as software developers, usually need to reach our users through different channels: from web sites to applications running on smart devices (smartphones, smartwatches, ...) or even through IoT devices… and all those solutions, oriented to the different ways that nowadays the users can interact with our systems, share the same content and features. Even if we are just creating a...

11953
thumbnail

Quite some time ago I was working with a client that had built web service clients as OSGi modules and leveraged JAXB. During load testing, we found that after many hours of heavy use, the Liferay nodes would stop serving traffic and, for all intents and purposes, would die.  Threads would get hung, blocked waiting to load a class from the web service client, and eventually...

9353
thumbnail

So recently I got to hang out with board members and officers of the OSGi Alliance, including Liferay's own Ray Auge. A great bunch of folks these guys are; they were easy to talk to and really wanted to help out. Can't wait to do it again, but that's a different story... At one point we were talking about versioning and I was explaining how I version my bundles, but I don't really...

7602
thumbnail

So just a quick post here about your Liferay build chain... It is easy, when you're starting out, to follow the instructions to install the Blade CLI or the Maven artifacts. It is also easy, even after you've been developing for awhile, to "blade init" a new project or "mvn archetype:generate" a new project and write your next great software masterpiece. And while you may know...

5031
thumbnail

Introduction So I'm not sure if you've had the chance to play around with the new Target Platform stuff that Liferay has, but it is really cool. If you haven't read about it or don't know what it is for, let me just summarize quickly: You declare a "dependency" on a Liferay-shipped BOM file, the "bill of materials" file for a project that lists all of the dependencies and...

6821
thumbnail

Liferay has a complete built-in scheduled job service which manages jobs that run on every node as well as single jobs that run in a cluster. Unfortunately there hasn't been a way to gain visibility on those scheduled jobs to see what they are, when they were scheduled, when they have run before and when they will run again. Until today. Now available is the Scheduled Tasks...

4846
thumbnail

The price for TripWire CE and TripWire DXP have been significantly reduced by 90%! TripWire is a control panel that compares each node in a cluster against a baseline. Any time there is a configuration or other change, the administrator will be notified that the cluster is in an inconsistent state and provide details about the inconsistency. This tool can help ensure each node...

4849
thumbnail

So whenever I set up a new Liferay cluster, I get to the end and I ask myself, "How do I know it is working?" My standard test is to connect to a node of the cluster and view a page. Then I connect to another node and change the content the first node is displaying. If I refresh the first node, I know it is working if that node shows the updated content instead of the old content....

4920
thumbnail

Introduction So for the longest time I have been an advocate of Liferay's logging API. Folks have asked how to use Log4J or other frameworks and I've always advised against it. Why? Well, for 3 primary reasons: Liferay uses it. As with all things Liferay, it is always easier to go with flow than it is to fight your way upstream. It can be controlled by the...

6817
thumbnail

Introduction Out of the box, Liferay DXP has fairly limited audit message output targets. In fact, there are only two that are provided: logging them or persisting to the database. Each of these come with their own set of issues. Logging is tough because it is not searchable and hardly usable. Database persistence doesn't have these problems, but the administration and...

7830
thumbnail

Introduction In the earlier days of Liferay, many administrators missed the warning about not using HSQLDB in production. By default, Liferay is configured to use HSQLDB so you can spin up a Liferay instance for development or testing or whatever, but HSQLDB was never to be used in production because it is not a production-ready database. It's easy to set Liferay up to use a...

8479
thumbnail

Introduction I have helped many companies and organizations install Liferay (5, 6 and now 7/DXP), but often times they will stop there. I mean, once the app servers are up and serving traffic correctly, aspects like the log file(s) are ignored. Well, at least as long as everything is operating smoothly; when something has gone wrong, the log file(s) is (are) one of the first places...

8697