RSS

Entries with Products Liferay Portal 7.x .

thumbnail
David H Nebinger | 13 Sep 2019

Introduction Welcome back to my series on using Liferay's REST Builder tool to generate your own Headless APIs! In part 1 of the series, we created a new project and modules, and we started to create the OpenAPI Yaml file defining our headless services by specifying the Reusable Components section. In part 2 of the series, we completed the OpenAPI Yaml file by adding in...

16013
2
thumbnail
David H Nebinger | 03 Sep 2019

Just a quick post today... So I've been using the Target Platform like all the time now. I don't want to have to worry about versions, especially those Liferay modules that change version numbers on every fix pack... However, I've found that sometimes the version numbers just aren't there. But often I only find this out after I've stripped out the version and tried a build. My...

11039
3
thumbnail
David H Nebinger | 13 Sep 2019

Introduction In part 1 of this series, we started a project to leverage Liferay's new REST Builder tool for generating Headless APIs. We defined the Reusable Components section, the section where we define our request and response objects, namely the Vitamin component and a copy of Liferay's Creator component. In part 2 of the series, we finished the OpenAPI Yaml file by defining...

15761
1
thumbnail
David H Nebinger | 13 Sep 2019

Introduction In part 1 of this series, we started a project to build our own custom Headless APIs using Liferay's REST Builder tool. The project was started, four modules were created and I presented the Meta and Reusable Components sections from my OpenAPI Yaml file. We're going to pick up where we left off and finish presenting the Paths (endpoints) section and then start...

18434
4
thumbnail
David H Nebinger | 13 Sep 2019

Introduction So recently I have been working with Liferay's new Headless APIs... I have a nice React-based SPA leveraging the new headless-delivery and headless-user-admin modules. I'm going to release everything eventually, but some parts just aren't ready yet. The first part is ready, though: using the new REST Builder tool to create your own Headless APIs. I know what...

27233
2
thumbnail
David H Nebinger | 27 Aug 2019

Recently I was one of many trying to help a coworker figure out why a Liferay OOTB feature was failing... We had odd stack traces, null object references when OSGi never should have allowed a null to begin with, and nothing we tried would fix the problem. Eventually we found that, for some reason, two different versions of a Liferay bundle had been deployed into the environment....

9828
0
thumbnail
David H Nebinger | 25 Aug 2019

So the last couple of days I've been working on a new React Headless app that I'm going to be sharing soon, but for various reasons I've had to refer to the /api/jsonws page to check out the classic APIs there that are still available. Just as a bit of background, I have an awesome 27" iMac that I do all of my development on. I love it so much that I purchased an additional Apple...

8485
2
thumbnail
David H Nebinger | 23 Aug 2019

Just a quick post today... Helped a client who was getting a message in the logs after configuring the SAML SP in Liferay using an ADFS IdP: Caused by: org.opensaml.ws.security.SecurityPolicyException: Inbound message issuer was not authenticated. at org.opensaml.ws.security.provider.MandatoryAuthenticatedMessageRule.evaluate(MandatoryAuthenticatedMessageRule.java:38) ...

8265
2
thumbnail
David H Nebinger | 04 Jan 2024

Hey, did you know that the Gradle version of the Liferay Workspace now supports building your very own customized Liferay Docker images? Neither did I... I stumbled upon this support in the recent Blade releases. I think at this point in time it might officially be considered as "incubating", but I've given it a spin and feel like it is in good enough shape to start...

16852
10
thumbnail
David H Nebinger | 29 Jul 2019

The Liferay Workspace comes with a great build option that I'm not sure developers know about and/or use - distribution bundles. When you have your Gradle-based workspace, the simple command gradlew distBundleZip or gradlew distBundleTar can build you a prepackaged Liferay bundle using Liferay CE or DXP, Tomcat, your custom modules as well as your configuration for the targeted...

10508
0
thumbnail
David H Nebinger | 28 Jul 2019

Okay, so I'm like working on a bigger project that will be a bigger blog sometime soon, but I really need a current Liferay DXP tarball. When I say current, I mean that it must have: The latest version of Tomcat 9 Fixpacks (and possibly hotfixes) applied. As a DXP client, this just won't be available to you for download. Even if you are just using Liferay CE,...

8906
0
thumbnail
David H Nebinger | 27 Jul 2019

I was recently fishing for topics to build potential sessions for Devcon 2019 (you're going, right? ;-) ) and one community member suggested the topic of Service Trackers. While I'm not sure I could fill a whole session on service trackers, I think I can certainly fill a blog entry about them... What Are Service Trackers The best way I can describe service trackers, well they...

9648
1
thumbnail
David H Nebinger | 27 Jul 2019

Liferay 7.2 has an updated Service Builder that introduces some changes that we should all be aware of. From a Dependency Injection perspective, not really much is going to change for us when it comes to consuming the services. Just as we did for 7.0 and 7.1, we will still have a member variable in our @Component for a service instance and then @Reference inject it in. As long as...

12816
3
thumbnail
David Gómez | 25 Jun 2019

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

15507
1
thumbnail
David H Nebinger | 18 Jun 2019

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

12729
1
thumbnail
David H Nebinger | 01 Jun 2019

So if you've been monitoring your logs, it is quite possible you're seeing NoSuchLayoutExceptions related to browserconfig.xml. If you are seeing them, it's because your users are running IE 11 and they've just opted to "Pin To Start" for your site (a good thing, I guess). So what's going on? Well, IE11 has this new feature where it can add your site as a tile in the Windows 8...

8604
0
thumbnail
David H Nebinger | 06 Jun 2023

A SysAdmin came up to me and said he was having issues starting Liferay DXP 7.0, a bunch of CNFEs were coming up at startup. I found that they were set up to use Wily for monitoring their JVMs, and it was those classes that were generating CNFEs. In general, when you add the -Djavaagent=XXX parameter onto your app server's startup command, you're enabling an agent which will...

17000
4
thumbnail
David H Nebinger | 10 Nov 2023

In Liferay 6.x, scheduled tasks were kind of easy to implement. I mean, you'd implement a class that implements the Liferay Message Bus's MessageListener interface and then add the details in the <scheduler-entry /> sections in your liferay-portlet.xml file and you'd be off to the races. Well, things are not so simple with Liferay 7 CE / Liferay DXP. In fact, I...

72062
31