XPages Date Field Issue: Solving the One-Day Jump on Every Save  

By Martin Pradny | 2/16/24 11:17 AM | Development - Notes / Domino | Added by Oliver Busse

A user reported a very strange issue - when a document with a date field is saved, it changes the value one day to the past. With every save. But only for some dates, not all. It turned out to be a mystery that goes deep into XPages and Notes/Java APIs.

XPages class-loader memory leak  

By Martin Pradny | 12/6/22 11:51 AM | Development - Notes / Domino | Added by Oliver Busse

We have recently experienced OutOfMemory crashes of XPages app server. The server was recently upgraded to 12.0.1FP1, but we were getting some panic crashes in HTTP even before the upgrade (it was 9.0.1FP10). Our hopes were that the upgrade would stabilize the server, but it's not the case. At least now I start to see what's the problem.

HCL Domino 12.0.2, Engage 2022 and HCL Factory tour Milan  

By Martin Pradny | 11/20/22 7:38 AM | Business - Events / People | Added by Oliver Busse

I haven't published my recap after Engage this year and the recent HCL Factory tour in Milan is a great opportunity to write a summary about what's happening in HCL (mostly Domino) space. It's a mix of news about 12.0.2, future directions, and my impressions, so it can be a bit chaotic, but I got the impression that many people see it similarly.

XPages and RichText (part I) - ACF  

By Martin Pradny | 9/1/22 1:32 AM | Development - Notes / Domino | Added by Oliver Busse

This post is long overdue. I originally planned to write it to document the issues and solutions while working on the app, but as the problems kept appearing I wanted to make sure that I have all the answers. Now I know that I probably won't have them in the near future as I'm seeing new issues even after having the app in production for some time.

Quick Tip - SSJS Error line numbers  

By Martin Pradny | 8/9/21 3:40 PM | Development - Notes / Domino | Added by Oliver Busse

Recently, I had to work on an app with a pretty huge server-side JavaScript codebase. Several developers with different levels of XPages knowledge worked on that project in the past, to the code is quite hard to follow. My suggestion to rewrite all the code to Java was not accepted, so we have to deal with SSJS for now.

Domino CI build with Jenkins and Docker  

By Martin Pradny | 2/12/21 2:44 AM | Development - Notes / Domino | Added by Oliver Busse

I wanted to make this work for a very long time, but there were always some parts missing, so I could not get the full process running. Finally, the wait is over. The following paragraphs describe a way to build Notes/Domino apps automatically on a Jenkins server, allowing parallel builds and all "normal" continuous-integration behavior, without having to think too much about Domino specifics.

Testing new Domino 12 transaction methods  

By Martin Pradny | 12/3/20 9:06 AM | Development - Notes / Domino | Added by Oliver Busse

Domino V12 EAP contains new methods to manage code transactions. The underlying C API has been there for quite some time, but I've never really looked at it. Now it's finally official and you will be able to leverage these new features in your apps.

Domino AppDev Pack meets Kotlin and Spring Boot  

By Martin Pradny | 11/5/20 1:57 AM | Development - Notes / Domino | Added by Oliver Busse

Domino AppDev Pack Java API is still quite fresh for me, but I always try to push the limits, so I've decided to add Kotlin to the mix. If you've never heard of Kotlin, please go and check it. It's a pretty cool language that can run on JVM and allows you to write more readable code more easily. I'll build a simple CRUD REST API, running on Spring Boot, that works with Domino data.

Getting started with Domino AppDev Pack Java API - Part 2  

By Martin Pradny | 10/28/20 5:47 AM | Development - Notes / Domino | Added by Oliver Busse

In my previous post I've shown how to quickly start coding with Domino AppDev Pack Java API. I used an insecure connection to avoid dealing with certificates, now it's time to fix this. If you are testing the new Java API, which is marked as a preview, you probably enjoy living on the edge and may also have a V12 EAP Domino server somewhere. This may help us see how the future may look.

HCL Domino SSO with Microsoft Teams  

By Martin Pradny | 10/9/20 10:43 AM | Infrastructure - Notes / Domino | Added by Oliver Busse

Microsoft Teams is probably one of the most used tools this year, it was already quite popular before the pandemic started to spread across the world this spring, but now most of the businesses I work with use it. After using it just like a chat/conferencing tool, many start to explore further capabilities of the platform. When working with Domino data in apps that are web-enabled, it can be quite easy - just add a web tab anywhere you want. The problem is, that you need to deal with user authentication.

WSL, HCL Volt and some Docker  

By Martin Pradny | 9/9/20 2:02 AM | Development - Leap / Volt | Added by Martin Pradny

Running HCL Volt Docker test server on Windows is now really easy. New Windows Subsystem for Linux allows easy integration with Linux sub-system that can be used to build a Docker image using domino-docker project. Exploring new Domino and Volt features is now easier than ever.

3 weeks, 3 countries, 3 roles  

By Martin Pradny | 5/30/19 4:54 AM | - | Added by Oliver Busse

I should be probably doing some work now, but the last three weeks were quite busy and a short blog post may help me to process all the information I gathered (or I'm just too tired to get any real work done as it looked like that half of Poland is going home for an extended weekend due to public holiday in Germany and I got home at 2AM instead of 11PM).

Engage 2018 / Domino App dev  

By Martin Pradny | 5/23/18 5:31 PM | - | Added by Oliver Busse

After missing last year event, I’ve returned to Engage conference, which was this time on decks of SS Rotterdam (unsurprisingly in Rotterdam, Netherland). While many things were familiar, like smiling faces of people from ICS community from all over the world, many things were different this year.

Using JAX-RS inside NSF  

By Martin Pradny | 11/2/17 4:12 AM | - | Added by Oliver Busse

Last week Christian Güdemann published new release of SmartNSF on OpenNTF that contains cool new feature that Christian tweeted before. With new CUSTOM strategy it allows direct execution of Java code from REST API defined in router configuration. It's even better than it sounds as it initializes facesContext and XPages application if needed, so even access to beans works.

My presentation from SUTOL 2016 - Automation is developer's friend  

By Martin Pradny | 11/16/16 6:56 AM | - | Added by Oliver Busse

Last week I had a session at Sutol conference about automation for developers. It covered several samples, where I started with Reat.js front-end app, stored it in Domino nsf database and later did also complete build on Jenkins server with Selenium tests.

SUTOL conference 2016  

By Martin Pradny | 9/23/16 5:45 AM | - | Added by Oliver Busse

It became a tradition that every autumn SUTOL organize technical conference that focuses on topics around IBM ICS portfolio. After successful switch to English as primary language last year, this year the event will be extended to 1.5 days.

XPages ${} risk of code injection possible workaround  

By Martin Pradny | 8/15/16 4:31 AM | - | Added by John Oldenburger

I wasn't happy with findings in my previous post, because it can lead to security issues, but also can have performance hit when you actually need dynamic evaluation of injected code (I use it for app localization and few other use cases). After some digging I came to conclusion that it can't be easily changed/overridden.

XPages ${} risk of code injection  

By Martin Pradny | 8/12/16 2:50 PM | - | Added by Oliver Busse

While working on app optimization I experimented a bit more with 'Compute on page load' vs. 'Compute dynamically' behavior. There have been several discussions in past about possible combination of ${} and #{}, for example posts from Marky Roden, Sven Hasselbach and Paul Withers . What struck me today was risk of code injection.

XPagesPreloadDB more evil than good  

By Martin Pradny | 8/2/16 10:15 AM | - | Added by Oliver Busse

While doing optimization of application load time I found that XPagesPreloadDB notes.ini parameter didn't work in way I expected. With quick google search I realized that I'm not the first one to hit this problem as John Dalgaard wrote about the issue few years ago.

Domino classic Java elements encoding problems  

By Martin Pradny | 2/24/16 1:54 AM | - | Added by Oliver Busse

Recently I encountered a problem, where Notes Java agent contained strange characters. My Domino Designer was set to UTF-8 and everything looked fine when I changed those characters to correct ones, but only until I reopened this design element again.

XPages and Java security troubles  

By Martin Pradny | 5/25/15 3:35 AM | - | Added by John Oldenburger

This is more a rant than classic post, but I hope it may help someone or someone could prove me wrong, which would be even better. In recent app I use XPages Scaffolding from Jesse Gallagher. He does some magic in his code that relies on Java reflection to access classes that you can define in your NSF as your model.

Let the machines do their work and have a good sleep  

By Martin Pradny | 4/20/15 4:16 AM | - | Added by Oliver Busse

Last month I had opportunity to speak at ICS.UG user group together with Martin Jinoch. It was great event as I mentioned in previous post. Our slides are available on ICS.UG session list, but I also want to publish demo video and GIT repository that I used for the demo.

Fun with POI4XPages and Maven  

By Martin Pradny | 1/15/15 4:50 PM | - | Added by Oliver Busse

It's been long since I wrote my last post. For part of that period I completely left world of Domino and XPages. During that time also many interesting XPages technologies and project appeared or got more popular. One of them is build automation using Maven, so my plan for holidays was to check recent posts from Christian and Jesse about mavenization of XPages libraries.

Testing your Java code in XPages (part 1)  

By Martin Pradny | 4/15/14 6:05 AM | - | Added by Oliver Busse

This topic will lead to a series of articles. It depends how deep I will get, but I will try to stay as much general as possible and avoid solutions that work just in my current case.

More Gradle goodness for Domino  

By Martin Pradny | 3/23/14 4:38 AM | - | Added by Oliver Busse

I created new release of plugin for integration of headless Domino Designer into Gradle builds. Biggest changes are: Rename to Gradle Domino Plugin (most projects around are named after Domino not Notes, so I wanted to keep it aligned), Added basic error checking and output from HEADLESS.log, Task for NSF copying build-in tasks in plugin for building nsf and copying to server. All changes follow Gradle convention over configuration paradigm, so usage is now even easier.

Build XPages app from Git with Jenkins  

By Martin Pradny | 3/8/14 5:48 AM | - | Added by Martin Pradny

Since introduction of Headless designer tech-preview in Domino Designer 9.0.1 many people started to think about build automation. Now is time to try it with Jenkins - popular free build automation server.

How to get Domino database from on disk project to server in a batch file  

By Martin Pradny | 2/7/14 1:18 AM | - | Added by Per Henrik Lausten

Martin Jinoch wrote an article about parameters required for headless designer I did some experiments how to get the db to a server. Here are first thoughts