OpenNTF / openliberty-domino

Open Liberty server embedded in Domino
Apache License 2.0
7 stars 3 forks source link

Crash observed when restarting HTTP after deploying an XPages WAR app #45

Closed jesse-gallagher closed 4 years ago

jesse-gallagher commented 4 years ago

This showed up on the first HTTP request to the app after HTTP restart, after several messages, so it's not immediately on initializing Notes:

10908:000039-00007F419E1DA700] 06/08/2020 12:13:47 PM  WLP: [AUDIT   ] CWWKF0011I: The develop server is ready to run a smarter planet. The develop server started in 6.340 seconds.
[010908:000039-00007F419E1DA700] 06/08/2020 12:13:47 PM  WLP: [ODA] Starting the OpenNTF Domino API... Using notes.ini: /var/lib/domino/data/notes.ini
[010908:000039-00007F419E1DA700] 06/08/2020 12:13:47 PM  WLP: [ODA] OpenNTF API Version 0.0.0.unknown started
[010908:000039-00007F419E1DA700] 06/08/2020 12:13:47 PM  WLP: [err] Logging.logCfgFilePrecheck: File '/var/lib/domino/data/IBM_TECHNICAL_SUPPORT/org.openntf.domino.logging.logconfig.properties' not found
[010908:000039-00007F419E1DA700] 06/08/2020 12:13:47 PM  WLP: [err] Logging: Couldn't initialize from PropertyFile; activating fallback ...
[010908:000039-00007F419E1DA700] 06/08/2020 12:13:52 PM  WLP: [WARNING ] CLFAD0128W: The registry for the application 1 cannot depend on the library with id com.ibm.xsp.rcp.library, because there is no such library.

[006825:000129-00007F085BAF5700]  Thread=[006825:000129-00007F085BAF5700]
[006825:000129-00007F085BAF5700] Stack base=0x5BAF4FCC, Stack size = 21680 bytes
[006825:000129-00007F085BAF5700] PANIC: CheckTheProcesses - Process /opt/hcl/domino/notes/11000100/linux/jvm/bin/java (8044/0x1F6C) child of 0/0x0 has terminated abnormally
jesse-gallagher commented 4 years ago

It's possible that the trouble is a lack of NotesTerm call from within the sub-process. If so, it would make sense to create a feature in the vein of CrossWorlds to handle this process.

jesse-gallagher commented 4 years ago

This'll show up a little while after just stopping HTTP, so that lends more credence to the NotesTerm cleanup theory.

jesse-gallagher commented 4 years ago

This was mitigated by a combination of adding a notesRuntime-1.0 feature and tweaking the running app to be careful with threads.