# Technical Discussion

**URL:** https://forum.payara.fish/c/technical-discussion/10.md

[Latest](https://forum.payara.fish/latest.md) · [Categories](https://forum.payara.fish/categories.md) · [Tags](https://forum.payara.fish/tags.md)

---

## [About the Technical Discussion category](https://forum.payara.fish/t/about-the-technical-discussion-category/19)

<div class="topic-metadata">

**Author:** [@JamesHillyard](https://forum.payara.fish/u/JamesHillyard)\
**Replies:** 0\
**Last updated:** [September 6, 2021, 3:37pm UTC](https://forum.payara.fish/t/about-the-technical-discussion-category/19 "2021-09-06T15:37:16Z")

</div>

Ask questions and get help from the community. While our staff do monitor this forum, please do not expect to get a response from them in technical questions asked here. If you are facing a critical problem and need h…

---

## [Virtual Threads of HTTP Listener](https://forum.payara.fish/t/virtual-threads-of-http-listener/1810)

<div class="topic-metadata">

**Author:** [@mkarg](https://forum.payara.fish/u/mkarg)\
**Replies:** 1\
**Last updated:** [September 10, 2026, 11:05am UTC](https://forum.payara.fish/t/virtual-threads-of-http-listener/1810 "2026-09-10T11:05:11Z")

</div>

In Payara Community 7 I have noticed that I can check “Use Virtual Threads” for Concurrency Ressources, but not for the HTTP Listener. What is the reason for this? IMHO it would make administration easier to use virtual …

---

## [How to see facelet template errors?](https://forum.payara.fish/t/how-to-see-facelet-template-errors/1806)

<div class="topic-metadata">

**Author:** [@rdelaplante](https://forum.payara.fish/u/rdelaplante)\
**Replies:** 1\
**Last updated:** [August 18, 2026, 2:16pm UTC](https://forum.payara.fish/t/how-to-see-facelet-template-errors/1806 "2026-08-18T14:16:34Z")

</div>

I’m using JSF on Payara 7. When there is something wrong with a facelet template such as a syntax error or an issue with EL, I used to see a stack dump in Payara’s server.log. I’m not sure when this changed, but I no …

---

## [Indefinite WriteLockManager.acquireLocksForClone() waits after upgrading to version 6\_6.2025.10 (or later) when submitting transactional workloads to a managed task executor](https://forum.payara.fish/t/indefinite-writelockmanager-acquirelocksforclone-waits-after-upgrading-to-version-6-6-2025-10-or-later-when-submitting-transactional-workloads-to-a-managed-task-executor/1801)

<div class="topic-metadata">

**Author:** [@rainerschamm](https://forum.payara.fish/u/rainerschamm)\
**Replies:** 2\
**Last updated:** [July 10, 2026, 7:54am UTC](https://forum.payara.fish/t/indefinite-writelockmanager-acquirelocksforclone-waits-after-upgrading-to-version-6-6-2025-10-or-later-when-submitting-transactional-workloads-to-a-managed-task-executor/1801 "2026-07-10T07:54:14Z")

</div>

I am getting WriteLockManager.acquireLocksForClone() waits after upgrading to version 6\_6.2025.10 (or later) when using submitting transactional workloads to a managed task executor. From the release notes I can see tha…

---

## [Migrating to: payara 7.2026.4 & get: java.lang.NoClassDefFoundError: org/jsoup/nodes/Element](https://forum.payara.fish/t/migrating-to-payara-7-2026-4-get-java-lang-noclassdeffounderror-org-jsoup-nodes-element/1791)

<div class="topic-metadata">

**Author:** [@NOTiFY](https://forum.payara.fish/u/NOTiFY)\
**Replies:** 2\
**Last updated:** [July 9, 2026, 6:57pm UTC](https://forum.payara.fish/t/migrating-to-payara-7-2026-4-get-java-lang-noclassdeffounderror-org-jsoup-nodes-element/1791 "2026-07-09T18:57:48Z")

</div>

Trying to migrating an existing Application which runs on: WildFly Distribution - 39.0.1 Mojarra 4.0.13 Undertow 2.3.23.Final Jakarta EE 11.0.0 Jakarta Faces 4.1.6 Gradle 9.4.1 to: payara 7.2026.4 openjdk version “2…

---

## [Faster domain setup and enable secure-admin without starting or restarting domain](https://forum.payara.fish/t/faster-domain-setup-and-enable-secure-admin-without-starting-or-restarting-domain/637)

<div class="topic-metadata">

**Author:** [@bdrx](https://forum.payara.fish/u/bdrx)\
**Replies:** 2\
**Last updated:** [March 18, 2026, 4:38pm UTC](https://forum.payara.fish/t/faster-domain-setup-and-enable-secure-admin-without-starting-or-restarting-domain/637 "2026-03-18T16:38:28Z")

</div>

We create virtual machine instances and then use asadmin to create a new domain on them; copy libraries (mostly jdbc drivers) to the domain lib directory; start the domain; configure the domain by running asadmin command…

---

## [Security with OpenId and Eclipse Microprofile JWT](https://forum.payara.fish/t/security-with-openid-and-eclipse-microprofile-jwt/1787)

<div class="topic-metadata">

**Author:** [@Zeta](https://forum.payara.fish/u/Zeta)\
**Replies:** 0\
**Last updated:** [March 17, 2026, 7:49am UTC](https://forum.payara.fish/t/security-with-openid-and-eclipse-microprofile-jwt/1787 "2026-03-17T07:49:33Z")

</div>

Can a single Web application that contains both REST services and Web pages be secured by a different security mechanism? OpenId authentication is currently designed to implement the OpenId Authorization Code Flow which…

---

## [Container initiated authentication](https://forum.payara.fish/t/container-initiated-authentication/1777)

<div class="topic-metadata">

**Author:** [@ThomasP](https://forum.payara.fish/u/ThomasP)\
**Replies:** 0\
**Last updated:** [January 24, 2026, 2:11pm UTC](https://forum.payara.fish/t/container-initiated-authentication/1777 "2026-01-24T14:11:03Z")

</div>

I’m trieing to implement a very basic example of container initiated authentication. I defined the roles and constraints in web.xml: \<security-role\> \<role-name\>VIEW\_USER\_PAGES\</role-name\> \</security-rol…

---

## [Standalone Java SE 17 application accessing EJB in Payara/Glassfish](https://forum.payara.fish/t/standalone-java-se-17-application-accessing-ejb-in-payara-glassfish/1604)

<div class="topic-metadata">

**Author:** [@JanNilsson](https://forum.payara.fish/u/JanNilsson)\
**Replies:** 2\
**Last updated:** [January 8, 2026, 2:37pm UTC](https://forum.payara.fish/t/standalone-java-se-17-application-accessing-ejb-in-payara-glassfish/1604 "2026-01-08T14:37:43Z")

</div>

I can’t get a very simple Java SE 17 application to do a lookup of an Stateless EJB deployed in Payara or Glassfish. Client is very simple : ( never mind the poor code, it gets an exception and are not meant to work) pa…

---

## [Unnecessary Basic authentication dialog appears](https://forum.payara.fish/t/unnecessary-basic-authentication-dialog-appears/1733)

<div class="topic-metadata">

**Author:** [@yagi](https://forum.payara.fish/u/yagi)\
**Replies:** 4\
**Last updated:** [November 17, 2025, 12:13am UTC](https://forum.payara.fish/t/unnecessary-basic-authentication-dialog-appears/1733 "2025-11-17T00:13:46Z")

</div>

Problem: When accessing a route such as https://localhost/ via an https connection, or when accessing a file located in docroot via an https connection, a Basic Authentication dialog box appears. Steps to Reproduce: D…

---

## [Some problems with migration to payara-6](https://forum.payara.fish/t/some-problems-with-migration-to-payara-6/1697)

<div class="topic-metadata">

**Author:** [@theirman](https://forum.payara.fish/u/theirman)\
**Replies:** 3\
**Last updated:** [October 30, 2025, 1:45pm UTC](https://forum.payara.fish/t/some-problems-with-migration-to-payara-6/1697 "2025-10-30T13:45:47Z")

</div>

Hello I have some problems when i tried to migrate my configuration scripts from payara-server-5.2022.5-jdk17 to payara-server-6.2022.2-jdk17. the ssl configuration failed. i tried several actions to resolve it but not…

---

## [The specified directory is not a valid Payara installation](https://forum.payara.fish/t/the-specified-directory-is-not-a-valid-payara-installation/1578)

<div class="topic-metadata">

**Author:** [@welljim](https://forum.payara.fish/u/welljim)\
**Replies:** 5\
**Last updated:** [October 22, 2025, 1:28pm UTC](https://forum.payara.fish/t/the-specified-directory-is-not-a-valid-payara-installation/1578 "2025-10-22T13:28:30Z")

</div>

On Eclipse 4.34 and Eclipse Plugin 2.4.0, I receive the error “The specified directory is not a valid Payara installation” when I try to add a Payara server 5.2020.7 (see screenshot). Is that combination not supported? …

---

## [Jhipster Spingboot app on Payara : Undeploy fails due to missing unregistering JDBC driver](https://forum.payara.fish/t/jhipster-spingboot-app-on-payara-undeploy-fails-due-to-missing-unregistering-jdbc-driver/1673)

<div class="topic-metadata">

**Author:** [@Philippe](https://forum.payara.fish/u/Philippe)\
**Replies:** 3\
**Last updated:** [October 8, 2025, 12:28pm UTC](https://forum.payara.fish/t/jhipster-spingboot-app-on-payara-undeploy-fails-due-to-missing-unregistering-jdbc-driver/1673 "2025-10-08T12:28:04Z")

</div>

Undeploy fails due to missing unregistering JDBC driver Jhipster 6.6.0 Java 11 Spring 5.1.12 Spring boot 2.1.11 Angular 8 Postgres JDBC Driver 42.2.23 Postgresql 11.22 Payara 5.2022.3 Mon war jhipster est déploy…

---

## [Stand-alone Client Application](https://forum.payara.fish/t/stand-alone-client-application/1708)

<div class="topic-metadata">

**Author:** [@kpenrose](https://forum.payara.fish/u/kpenrose)\
**Replies:** 1\
**Last updated:** [September 10, 2025, 12:25pm UTC](https://forum.payara.fish/t/stand-alone-client-application/1708 "2025-09-10T12:25:09Z")

</div>

I have a stand-alone Java application, written on the NetBeans Platform that uses a payara server for connections with databases, JMS, JavaMail, etc. In the process of migrating to newer versions of Java/Jakarta, I am l…

---

## [Trampoline must not be defined by the bootstrap classloader](https://forum.payara.fish/t/trampoline-must-not-be-defined-by-the-bootstrap-classloader/1678)

<div class="topic-metadata">

**Author:** [@rohit\_payara](https://forum.payara.fish/u/rohit_payara)\
**Replies:** 1\
**Last updated:** [September 10, 2025, 11:53am UTC](https://forum.payara.fish/t/trampoline-must-not-be-defined-by-the-bootstrap-classloader/1678 "2025-09-10T11:53:24Z")

</div>

Hi Everyone, after deploying war file successfully in payara server, we are getting this exception “/opt/payara6/glassfish/domains/domain1/logs/server.log\_2025-03-25T07-14-26: 2025-03-25T11:13:51.347795387Z Log4j2-TF-16…

---

## [Killed Pod - Payara Micro and Hazelcast](https://forum.payara.fish/t/killed-pod-payara-micro-and-hazelcast/1688)

<div class="topic-metadata">

**Author:** [@Pedro](https://forum.payara.fish/u/Pedro)\
**Replies:** 3\
**Last updated:** [August 11, 2025, 2:25pm UTC](https://forum.payara.fish/t/killed-pod-payara-micro-and-hazelcast/1688 "2025-08-11T14:25:28Z")

</div>

How does Payara Micro with active Hazelcast handle a killed pod? Let’s say there are 3 pods running with Payara Micro. Kubernetes kills one of them, and no graceful shutdown was configured. A common issue occurs: the r…

---

## [Client Certificate Usage Question](https://forum.payara.fish/t/client-certificate-usage-question/648)

<div class="topic-metadata">

**Author:** [@CTownleySEEMiS](https://forum.payara.fish/u/CTownleySEEMiS)\
**Replies:** 3\
**Last updated:** [July 25, 2025, 10:34am UTC](https://forum.payara.fish/t/client-certificate-usage-question/648 "2025-07-25T10:34:34Z")

</div>

During testing of a newer version of Payara 5, we noticed a log message as follows. (NB: I have edited to hide some specific details but can provide the full logs if required). After some investigation, this appears to b…

---

## [Bean validation support in Payara](https://forum.payara.fish/t/bean-validation-support-in-payara/1651)

<div class="topic-metadata">

**Author:** [@kapinyajudit](https://forum.payara.fish/u/kapinyajudit)\
**Replies:** 1\
**Last updated:** [May 19, 2025, 3:31pm UTC](https://forum.payara.fish/t/bean-validation-support-in-payara/1651 "2025-05-19T15:31:15Z")

</div>

A far as I see mp.openapi.scan.beanvalidation is not yet supported by Payara (Eclipse MicroProfile OpenAPI API :: Payara Enterprise Documentation), however the feature is available in MP Openapi 3.1.x: microprofile-open-…

---

## [Payara 6 on RH JDK in FIPS mode](https://forum.payara.fish/t/payara-6-on-rh-jdk-in-fips-mode/1658)

<div class="topic-metadata">

**Author:** [@bernie](https://forum.payara.fish/u/bernie)\
**Replies:** 4\
**Last updated:** [April 14, 2025, 10:40am UTC](https://forum.payara.fish/t/payara-6-on-rh-jdk-in-fips-mode/1658 "2025-04-14T10:40:59Z")

</div>

Is it possible to run payara 6.2025.1 server on RHEL 9’s openJDK 21 in FIPS mode? When attempted, asadmin create-domain fails with CLI130: Could not create domain, spdf Command create-domain failed. ERROR: create-domai…

---

## [Testing Payara 6 with Java 21 maven-build](https://forum.payara.fish/t/testing-payara-6-with-java-21-maven-build/1656)

<div class="topic-metadata">

**Author:** [@ptsag](https://forum.payara.fish/u/ptsag)\
**Replies:** 1\
**Last updated:** [April 11, 2025, 1:45pm UTC](https://forum.payara.fish/t/testing-payara-6-with-java-21-maven-build/1656 "2025-04-11T13:45:21Z")

</div>

While deploying a web application, I had an issue loading external files like CSS, JS and pictures. Deployment is done on Ubuntu 24.10, with jdk-21, and MySQL 8. Compilation and deployment are done without error. The ID…

---

## [JDBC Pool Metrics Not Updating](https://forum.payara.fish/t/jdbc-pool-metrics-not-updating/1099)

<div class="topic-metadata">

**Author:** [@Pedro](https://forum.payara.fish/u/Pedro)\
**Replies:** 1\
**Last updated:** [April 8, 2025, 12:21pm UTC](https://forum.payara.fish/t/jdbc-pool-metrics-not-updating/1099 "2025-04-08T12:21:47Z")

</div>

Problem: The metrics for the JDBC pool are not showing correct values on the /metrics endpoints. Metrics like: connection\_pool\_poolName\_usedConnection\_total, connection\_pool\_poolName\_totalConnection connection\_pool\_po…

---

## [How to enable OpenTelemetry metric in payara 6](https://forum.payara.fish/t/how-to-enable-opentelemetry-metric-in-payara-6/1363)

<div class="topic-metadata">

**Author:** [@ciment](https://forum.payara.fish/u/ciment)\
**Replies:** 2\
**Last updated:** [April 8, 2025, 12:19pm UTC](https://forum.payara.fish/t/how-to-enable-opentelemetry-metric-in-payara-6/1363 "2025-04-08T12:19:57Z")

</div>

Hi, I found documentation how to setup OpenTelemetry for payara. There is information where documentation says deployment of an OpenTelemetry Agent is not necessary and may lead to duplicate traces. I enable request t…

---

## [A Blue/green deployment with Payara Micro](https://forum.payara.fish/t/a-blue-green-deployment-with-payara-micro/1628)

<div class="topic-metadata">

**Author:** [@Pedro](https://forum.payara.fish/u/Pedro)\
**Replies:** 1\
**Last updated:** [April 8, 2025, 12:18pm UTC](https://forum.payara.fish/t/a-blue-green-deployment-with-payara-micro/1628 "2025-04-08T12:18:12Z")

</div>

How do you usually operate a blue/green deployment with Payara Micro? Situation: In the Kubernetes cluster, a blue deployment runs with several pod replicas. The service is forwarding traffic to the blue app selector. …

---

## [Application deployment with hibernate 6 on payara 6.2023.7](https://forum.payara.fish/t/application-deployment-with-hibernate-6-on-payara-6-2023-7/1091)

<div class="topic-metadata">

**Author:** [@rabafish](https://forum.payara.fish/u/rabafish)\
**Replies:** 1\
**Last updated:** [April 7, 2025, 3:40pm UTC](https://forum.payara.fish/t/application-deployment-with-hibernate-6-on-payara-6-2023-7/1091 "2025-04-07T15:40:01Z")

</div>

I am currently trying hard to migrate an application from payara 5 to 6 hibernate 5 to 6 java ee8 to java ee10 I am using payara 6.2023.7 community edition and hibernate 6.5.2.Final as a persistence provider. What I…

---

## [Using lokal interfaces when calling another EJB](https://forum.payara.fish/t/using-lokal-interfaces-when-calling-another-ejb/1198)

<div class="topic-metadata">

**Author:** [@JanNilsson](https://forum.payara.fish/u/JanNilsson)\
**Replies:** 1\
**Last updated:** [April 7, 2025, 3:33pm UTC](https://forum.payara.fish/t/using-lokal-interfaces-when-calling-another-ejb/1198 "2025-04-07T15:33:58Z")

</div>

If I have two .ear deployed in the same server is it possible to use the lokal interface inspelad of the remote interface? If I use the remote interface will Payara optimize the callcenter and use the lokal interface?

---

## [Migrating Payara 5 CE to Payara 6 CE](https://forum.payara.fish/t/migrating-payara-5-ce-to-payara-6-ce/1672)

<div class="topic-metadata">

**Author:** [@Santanu](https://forum.payara.fish/u/Santanu)\
**Replies:** 1\
**Last updated:** [April 7, 2025, 9:00am UTC](https://forum.payara.fish/t/migrating-payara-5-ce-to-payara-6-ce/1672 "2025-04-07T09:00:18Z")

</div>

we are running Payara Server 5.201 CE on RHEL9 and using JDK11. Now we are planning to move to Payara 6. For that we are planning to install payara 6 in a different RHEL9 server on top of JDK17. Then our developers will …

---

## [Expired certificate payara5](https://forum.payara.fish/t/expired-certificate-payara5/1614)

<div class="topic-metadata">

**Author:** [@jmjamison](https://forum.payara.fish/u/jmjamison)\
**Replies:** 4\
**Last updated:** [April 3, 2025, 1:28pm UTC](https://forum.payara.fish/t/expired-certificate-payara5/1614 "2025-04-03T13:28:55Z")

</div>

I’m running payara5 for the Dataverse repository software. The certificate has expired and I’ve tried importing a new one but getting error: NCLS-ADMIN-00010 javax.net.ssl.SSLHandshakeException: NotAfter: Sun Aug 18 1…

---

## [Classloading question](https://forum.payara.fish/t/classloading-question/1639)

<div class="topic-metadata">

**Author:** [@eduarddrenth](https://forum.payara.fish/u/eduarddrenth)\
**Replies:** 4\
**Last updated:** [February 19, 2025, 6:00am UTC](https://forum.payara.fish/t/classloading-question/1639 "2025-02-19T06:00:21Z")

</div>

Dear all, Can somebody pease explain what happens in the situation I describe below? war on payara/server-web:6.2024.12-jdk17 class1 in a jar in lib/applibs class1 implements interface class2 which is in the war class…

---

## [Events, CDI and EntityManager](https://forum.payara.fish/t/events-cdi-and-entitymanager/873)

<div class="topic-metadata">

**Author:** [@Mag11c](https://forum.payara.fish/u/Mag11c)\
**Replies:** 6\
**Last updated:** [February 16, 2025, 5:34pm UTC](https://forum.payara.fish/t/events-cdi-and-entitymanager/873 "2025-02-16T17:34:16Z")

</div>

Hello, we are using EJB session beans with JPA EntityManager to access database. Additionally we use CDI to inject service instances. Now we are trying to decouple different services by using asynchronous events. Unfor…

---

## [Why is there a default master password in payara-6.2023.11.zip; and what is it?](https://forum.payara.fish/t/why-is-there-a-default-master-password-in-payara-6-2023-11-zip-and-what-is-it/726)

<div class="topic-metadata">

**Author:** [@rainerschamm](https://forum.payara.fish/u/rainerschamm)\
**Replies:** 3\
**Last updated:** [January 28, 2025, 3:05pm UTC](https://forum.payara.fish/t/why-is-there-a-default-master-password-in-payara-6-2023-11-zip-and-what-is-it/726 "2025-01-28T15:05:04Z")

</div>

Hi all I am starting to migrate from payara-5 to payara-6, but hitting a snag right at the beginning. When I try and do a simple: asadmin start-domain On a clean unzipped instance its asking for a master password. …

[Next page](https://forum.payara.fish/c/technical-discussion/10.md?page=1)
