Background As the saying goes, the only constant in life is change and while I’m sure Heraclitus wasn’t thinking about software development back in 500 BC, it applies equally as well to Liferay Development I’ve been using Liferay for over 15 years and have had the privilege of seeing many important changes in how we use Liferay for building solutions. Some of them have...
This article provides the necessary steps to configure Cross-Cluster Replication (CCR) for Elasticsearch with Liferay on a local machine. By following this guide, you’ll simulate the behavior of CCR with Liferay for testing purposes. CCR is only available in the DXP version, and an LES license is necessary to enable this feature. In a typical Liferay DXP/search engine setup,...
So this past summer a number of my Office Hours sessions had to be cancelled. All I really said at the time was that I was sorry about cancelling the sessions and that I was busy traveling. And you should know, both of these statements were true. But I didn't really explain why I was traveling... So, here it is - Liferay is getting back in the Liferay Training business....
Many weeks ago I blogged about how I could no longer add images to blogs and this was preventing me from publishing some entries I had which needed screen shots... We have since fixed that issue, but I'm not sure I shared what happened. As it turns out, on liferay.dev we were following security best practices by creating and configuring a Role with necessary permissions,...
Just a quick one today that will hopefully save you some time if you hit this yourself... I'm updating a workspace to use JDK-21 (it was previously working fine w/ JDK-11). When I started Tomcat, I immediately got an error: 10-Oct-2024 15:36:08.783 SEVERE [main] org.apache.catalina.startup.HostConfig. deployDescriptor Error deploying deployment descriptor ...
When developing custom code or portlets, it's common to work with sensitive data like passwords, client secrets, or API keys. For example, when you're configuring OAuth2 to authorize a request in your code, you will need to provide an ID and a secret. A common pitfall is to hardcode this information directly into your codebase, which can lead to significant security vulnerabilities,...
you read it right :) , the idea might sound weird to many but if you are like me and have been working on Liferay for quiet some time especially for clients with lots of custom OSGI modules , where one or more modules rely on each other ... ( which might be against the core idea of OSGI , but it is what it is ) or you have an instance / portal with highly coupled ...
Liferay Objects has been one of the powerful features of Liferay. It provides codeless approach of building application. It provides headless api which can be used for accessing object entry data. These endpoints provide us options for searching, filtering, sorting and aggregating the data (Refer). In this blog, we will see how we can make use of this Filter, Sort and Search...
Introduction As evidenced by my recent blogs, I'm still on a React Custom Element Client Extension tear... I think this is the best way to develop custom solutions on Liferay because they are free from the Liferay upgrade cycle, so effectively I'm writing these solutions once and I'm done. As you start building out multiple custom elements though, you'll quickly find...
My good friend Andrew Jardine has started upgrading his Mastering Liferay site, currently on 7.1, and he's going to be upgrading it to the latest 7.4. However, he recently was blessed with a new M3 MacBook and, when he was trying to build his 7.1 workspace, he was hit with an error: Exception in thread "main" java.lang.UnsatisfiedLinkError: ...
Recently I was helping a client who seemed be under a DDOS attack... Analysis of traffic showed a large number of incoming requests that seemed to be doing searches for various expected keywords. And there were a lot of these requests. Since they were doing searches, this of course had an impact on their Liferay system, slowing response times, reducing platform capacity, and...
We may face some scenario to execute a process which might consume JVM memory and keeps the web page loading when dealing with large tasks like file uploads. Liferay has BackgroundTaskExecutor which internally acts like multi-threading which we require to send metadata to the background so the BackgroundTask Framework will take care of executing the task in background. Below...
Introduction Welcome to the third installment in our series about creating and importing products into Liferay DXP. In this series we're taking a step-by-step approach that covers all of the preliminary steps you should be taking before you import products from an external system such as an PIM or ERP. Previously we've talked about configuring your ...
Download options Liferay Portal and Liferay Commerce share the same Bundle and Docker image. To get started using either Liferay Portal or Liferay Commerce, choose the best download option suited for your environment below. Docker image To use Liferay Portal 7.4 GA125: docker run -it -p 8080:8080 liferay/portal:7.4.3.125-ga125 Bundles and other...
Everyone loves a bug bounty program, right? Well I want to launch an unofficial bug bounty program today! What are we looking for? Bugs related to performing builds using JDK17 and/or JDK21. So anything related to dev tools, such as Blade, the IDE plugins, the Liferay Workspace/Gradle, Maven plugins, the various workspace plugins like ServiceBuilder,...
In the paradignm of cloud service management, one of the crucial aspects is log management. Logs provide valuable information for troubleshooting and system monitoring. If your project is implemented on Liferay PaaS or Liferay SaaS, you don't have much to worry about, since both Liferay PaaS and SaaS offer out-of-the-box storage and management of logs for the deployed ...
En el mundo de la gestión de servicios en la nube, uno de los aspectos cruciales es la administración de logs. Los logs proporcionan información valiosa para la resolución de problemas y la propia monitorización del sistema. Si tu proyecto lo tienes implementado sobre Liferay PaaS o Liferay SaaS, no tienes mucho de que preocuparte, pues tanto como Liferay PaaS y SaaS...
If you're looking for the simplified process, you can skip ahead by clicking here. Introduction Lately my focus has been on development of React applications consuming Liferay Headless APIs. When you only need to invoke a couple of endpoints, i.e. you're accessing a single Object endpoint and using GET, PATCH, POST, PUT and DELETE methods you end up writing some...
Introduction This post originated from a couple of different client questions... First was a seemingly simple question from a client: How do I use Service Builder to connect to an external database that has a double for the primary key? Unfortunately the only answer for this is you can't. Service Builder only allows Strings, Ints and Longs as primary keys, and...
Introduction So I've been a developer for a long time (longer than I care to admit). When I started, being a developer actually meant you had to wear many hats, one of which has included database administration and object modeling. When modeling in a database, there's different approaches obviously, but for OLTP applications (Online Transaction Processing), it is common...
Showing 1 to 20 of 3,072 entries.