RSS

Entries with Products Liferay Portal 7.x .

thumbnail
David H Nebinger | 10 Mar 2023

So just a quick blog post today... I was working with Support where they were trying to help a client that had a failed U64 bundle upgrade in Production and we were trying to understand what the failure was and help the client complete the upgrade. Then my friend Christopher Lui happened to mention: the odd thing is that this customer upgraded their Dev environment...

2973
7
thumbnail
David H Nebinger | 21 Feb 2023

Introduction Recently there have been a bunch of questions lately in Slack, in Ask, and even in Liferay Support tickets complaining about the time it takes to log into Liferay and what can be done to improve performance, specifically targeting the hash algorithms... TL;DR - Liferay has increased the rounds on the PBKDF2 hash which is detrimental to your login...

3997
2
thumbnail
David H Nebinger | 09 Aug 2022

Just a quick one today... A community member reported getting an exception during module deployment: INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:238] Processing com.liferay.report.jar ERROR [fileinstall-directory-watcher][DirectoryWatcher:1195] Unable to start bundle: ...

6474
0
thumbnail
David H Nebinger | 27 Jul 2022

Introduction You may have seen my blog Setting Up JNDI in Liferay 7.4 which I posted to explain how to do a JNDI lookup. The code works, I assure you, but there's one group of developers that blog didn't serve: Spring Portlet Developers. Whether you are developing using PortletMVC4Spring and Spring 5, or you are developing using Spring Portlet MVC under an older ...

6451
1
thumbnail
David H Nebinger | 22 Jul 2022

Introduction I've been working with a client to upgrade their Spring portlet wars to Liferay 7.4. And the update is kind of big as we're upgrading Spring, changing to PortletMVC4Spring (needed for Spring 5), ... They have a large number of Spring portlet wars, but in reviewing the code I noticed that each of the wars had duplicate Spring services defined into the Spring...

6957
7
thumbnail
Francisco García Navarrete | 11 Jul 2022

Introduction Liferay development has been changing throughout the years with its different versions. With 6.x we had WAR portlets. 7.0 came along and with it OSGi modules were the norm. And now, 7.4 has brought something completely new: Remote Apps. You can check this other blog and the official documentation for a thorough explanation about Remote Apps.   So, what...

12608
1
thumbnail
Francisco García Navarrete | 11 Jul 2022

Introducción El desarrollo en Liferay ha ido cambiando a lo largo de los años con sus distintas versiones. Con las versiones 6.x teníamos los portlets de tipo WAR. Cuando llegó la versión 7.0 los módulos OSGi pasaron a ser el estándar. Y ahora, 7.4 nos ha traído algo totalmente nuevo: Remote APPs. Si queréis una explicación más detallada sobre Remote Apps podéis echar un...

8646
1
thumbnail
Maharajan Paramasivan | 29 Apr 2022

Part-1 | What & Why & When Custom Liferay Framework Create your own Liferay Framework, Understand the possibilities to write your own Liferay framework for any complex custom developed solution which could evolve with time like any other Liferay Out Of The Box Feature. Custom Liferay Framework - What? Alright! This is where we set the context. What is a Framework? ...

6597
4
thumbnail
Maharajan Paramasivan | 28 Apr 2022

Part-2 | How to Custom Liferay Framework? Implement your own Custom Liferay Framework over a simple use case and understand the possibilities and capabilities that open up. Continuing on top of the perspectives and ideas discussed in Part 1 of the blog series, we will try to implement our own Custom Liferay Framework for a simple use case picked up from one of the Liferay OOTB...

6114
1
Michael Chen | 07 Apr 2022

Many UI teams prefer building Liferay DXP Theme using gulp instead of the Liferay Theme Builder. For example, cd themes/my-themenpm installgulp build However, Liferay has not documented ways to integrate the above to a Maven project pom.xml. Here is a sample solution: { "name": "my-theme", "version": "1.0.0", ...

5723
0
thumbnail
David H Nebinger | 24 Mar 2022

Introduction So my friend Thiago Moreira posted the following (slightly edited) message to our internal Slack: Hey, so I've built a module for 7.4 GA5, but when it is deployed to 7.4 GA16, I get a bunch of "unresolved requirement" exceptions and the module won't be available. Is there something I need to set so my module will work on both GA5 and...

10391
0
thumbnail
David H Nebinger | 02 Mar 2022

Another quick one this week... A community member reached out and asked for help with a problem on their DXP Cloud site. They were already working with DXP Cloud support, but they had been struggling with the issue for over a week and were trying to get help from all corners... When they accessed their site using the direct URL (an internal URL that all DXP Cloud admins have access to), the...

13751
0
thumbnail
David H Nebinger | 25 Feb 2022

Just a quick one today... In previous versions of Liferay, if you were browsing a site as a guest but wanted to access a private page or a private site, Liferay would automagically show you the login form so you could authenticate before accessing the page or site. This has been changed in 7.4. It was determined that just by showing the login form, Liferay was leaking the fact that the page...

15177
2
thumbnail
David H Nebinger | 15 Feb 2022

Introduction Recently I was asked how to implement MDC and/or NDC in Liferay 7.4, and since I thought it might be interesting to a wider audience, I'm going to blog about it here. Background In a multithreaded, multiuser environment such as in a web application like Liferay, different threads in the container will be handling different requests, but likely each request is doing something...

16936
3
thumbnail
David H Nebinger | 12 Feb 2022

Introduction In November of 2018, I authored a blog, Boosting Search. In that blog, I showed how to boost search results for tag matches in an effort to provide some alternative to GSA's KeyMatch support. A lot has changed in Liferay since that blog was posted, and it turns out there are much easier ways now in DXP 7.4 that won't require any code at all... Results Ranking In discussing the...

14297
3
thumbnail
Vitaliy Koshelenko | 08 Feb 2022

Overview In this blog I'll explain how to implement a custom Headless API module, configure an OAuth2 authorization and consume the API.  We’ll implement the Headless API for “App manager” functionality with endpoints to get the list of apps, get app details, create/update/delete the app (“App” here is a model, describing some external application with the following...

19909
1
thumbnail
David H Nebinger | 07 Feb 2022

Introduction I've worked with clients that, for one reason or another, needed to change their database platform. This ask has increased with the move to DXPCloud and MySQL database. I'm not sure there's a well defined plan for how to migrate a Liferay database, so I thought I'd blog about it. Now, if you know anything about me, you know I'm a planner and I create (sometimes intricate)...

14985
3
thumbnail
David H Nebinger | 26 Jan 2022

Introduction I was recently polling my coworkers looking for new blog ideas, and Filipe Melo asked about Websockets. I haven't seen any other documentation or blogs about building Websocket solutions for Liferay, so I figured this would be an interesting challenge. Websockets was introduced to provide a full duplex and realtime client/server communication path between remote clients and your...

16029
4
thumbnail
David H Nebinger | 26 Jan 2022

Introduction My friend and coworker Eric Chin recently posed a question on our internal slack channels asking if anyone had experience with Liferay's Batch mode and he was not finding enough supporting documentation on it. Although I hadn't yet worked with Liferay Batch, I kind of took it as a challenge to not only give it a try, but more importantly to document it in a new blog post, so here...

15637
0
thumbnail
David H Nebinger | 23 Feb 2022

Hey, so a quick post today about how to set up JNDI connections in Liferay CE 7.4 or Liferay DXP 7.4. Liferay moved jars around in 7.4. No longer are there key jars in the Tomcat lib/ext directory (or for other application servers). To set up JNDI resources under 7.4, you'll need to put the necessary JDBC jars into the Tomcat lib directory (or the lib directory of your application server). In...

18479
5