RSS
thumbnail
Marcial Calvo Valenzuela | 23 Dec 2024

Esta entrada de blog también está disponible en Español Working with Java applications that use native thread pools, one of the limitations we may encounter is the lack of built-in tools to monitor the behavior of these pools. Although libraries such as ThreadPoolExecutor in Java offer powerful functionalities to manage threads, they do not directly...

99
0
thumbnail
Marcial Calvo Valenzuela | 23 Dec 2024

This blog entry is also available in English Cuando trabajamos con aplicaciones Java que utilizan pools de hilos nativos, una de las limitaciones que podemos encontrar es la falta de herramientas integradas para monitorizar el comportamiento de estos pools. Aunque bibliotecas como ThreadPoolExecutor en Java ofrecen potentes funcionalidades para gestionar...

87
0
thumbnail
Eric D | 20 Dec 2024

Hello everybody, A small post to explain how to create a vanilla javascript native fragment in Liferay in few minutes. I want to create a small animation for this winter... a Snow Flakes animation on all of my site pages. For this, I decide to create a fragment and put it on the master page of my site. I simply go on github and find this repository ...

353
0
thumbnail
Jamie Sammons | 20 Dec 2024

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 GA129: docker run -it -p 8080:8080 liferay/portal:7.4.3.129-ga129 Bundles and other download options ...

1068
2
thumbnail
Victor Ware | 26 Nov 2024

Earlier this year, Liferay announced our Java Evolution beginning with runtime support for Java 17 and 21. As we wrap up the year, we wanted to share an update on how our evolution is going and what you can expect in 2025. Culminating in the migration to Jakarta EE 10, the year ahead is exciting and challenging as we open up new technologies that have never been available to our...

2670
1
thumbnail
David H Nebinger | 25 Nov 2024

Just a quick one today... So I'm working on some Client Extensions and wanted to see the impact that deployment would have across virtual instances. FWIW, CX are only supposed to affect the virtual instance they are deployed to. But, normally to access different virtual instances, you need different virtual hosts (domain names) in order to access the different...

748
2
thumbnail
Jeffrey Handa | 11 Nov 2024

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...

1152
2
thumbnail
Daniel Martinez Cisneros | 08 Nov 2024

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,...

821
0
thumbnail
David H Nebinger | 11 Oct 2024

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....

1474
0
thumbnail
David H Nebinger | 11 Oct 2024

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,...

1177
0
thumbnail
David H Nebinger | 10 Oct 2024

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 ...

4197
11
thumbnail
Matheus Monteiro | 10 Oct 2024

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,...

981
0
thumbnail
Jawad Azhar | 10 Oct 2024

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 ...

1007
0
thumbnail
Mohammed Yasin | 02 Oct 2024

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...

1452
0
thumbnail
David H Nebinger | 27 Sep 2024

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...

2243
2
thumbnail
David H Nebinger | 25 Sep 2024

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:   ...

1435
0
thumbnail
David H Nebinger | 25 Sep 2024

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...

1626
3
vinoth kumar | 17 Sep 2024

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...

1688
0
thumbnail
Jeffrey Handa | 14 Sep 2024

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 ...

1190
0
thumbnail
Jamie Sammons | 16 Oct 2024

    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...

4392
0