Questions tagged [payara]

Payara is a drop-in replacement for the open source GlassFish Application Server

Payara is an open source drop-in replacement for , with enterprise support and expanded API support for microservices. It maintains compatibility with the upstream GlassFish in the default domain1 and provides a separate payaradomain where new features not compatible with upstream GlassFish get added.

642 questions
3
votes
2 answers

Using EAR-level defined data source as JTA data source in persistence.xml of a shared JAR

In a Jakarta EE 8 environment: Is it possible to define a ("portable JNDI") data source at EAR level [1] in application.xml and use this data source as JTA data source in the persistence.xml inside a library/JAR module? Purpose: Creating a common…
hjoeren
  • 549
  • 1
  • 5
  • 12
3
votes
1 answer

Payara Refuses to Start: java.security.KeyStoreException: JCEKS not found

Running a Java EE 8 web Application on Payara 5.194. it has been a while since I started Payara and the application. When I start the server: I gets messages for 6 expired certificates. Subject: CN=Staat der Nederlanden Root CA - G2, O=Staat der…
usertest
  • 2,140
  • 4
  • 32
  • 51
3
votes
0 answers

Session is never expired in JSF Websocket

I'm using Omnifaces websocket. Session is never timeout. I tried with jsf websocket. There's the same result. When I go to another page that doesn't use websocket and stays at that page, session will expire normally. Here are example of my codes…
PeterL355
  • 75
  • 1
  • 9
3
votes
2 answers

SSLException with latest Java Zulu 8.0.252

With the latest Java Zulu 8.0.252 and Payara5 Server i cannot read any HTTPS URLs anymore. After downgrading to 8.0.251 everything works fine again. javax.net.ssl.SSLException at…
tak3shi
  • 2,305
  • 1
  • 20
  • 33
3
votes
2 answers

how to read the bindDnPassword value from environment property / Payara container for @LdapIdentityStoreDefinition

Setting LdapIdentityStoreDefinition attributes as follows : @LdapIdentityStoreDefinition( url = "", bindDnPassword = "${ALIAS=somepassword}", // this is not working . callerSearchBase = "", callerSearchFilter = "", …
checkmate
  • 49
  • 3
3
votes
1 answer

Payara server 5.192: cannot start with JDK11 on IntelliJ

I can start Payara v5.192 with JDK11 via command line, but it breaks after trying to start it via IntelliJ with the following error: -Xbootclasspath/p is no longer a supported option And I can't even start it via terminal any longer. This is part…
Alex Sim
  • 403
  • 3
  • 16
3
votes
1 answer

Is there a ManagedExecutorService queue limit?

I'm using the ManagedExecutorService to process a list of jobs. I process the jobs in the main thread and execute each job with the ManagedExecutor. It's possible in the future that the job size exceeds the pool size...so I wonder, is there a queue…
VWeber
  • 1,261
  • 2
  • 12
  • 34
3
votes
1 answer

How can I declare the response array type for OpenAPI definition with JAX-RS?

I'm building a REST service with JAX-RS, Microprofile and Payara 5. My method returns an object of type Response. The response itself contains a List of MyClass. The implementation looks like this: import…
Franz Wimmer
  • 1,477
  • 3
  • 20
  • 38
3
votes
1 answer

Target Unreachable, identifier resolved to null - read all other questions

I know a lot of questions are already on StackOverflow about this but I have been struggling for over 5 hours now and I just don't know what to do anymore. I hope when someone sees my situation they can point me in the right direction. I think I've…
3
votes
2 answers

Enable CORS settings in Payara (or Glassfish) server

Does anyone know how to enable CORS for certain domains in the Payara server directly (or glassfish)? I'm working with Payara server 4.1.1.171.1. I have an app running on localhost:3000 that needs to talk to the Payara server but I keep getting a…
CAMD_3441
  • 2,514
  • 2
  • 23
  • 38
3
votes
1 answer

Injected JsonWebToken is empty with MicroProfile JWT Auth 1.1 on Payara 5.183

I am having issues with decoding/using/verifying the passed JWT to my Java EE 8 with MicroProfile 2.0.1 backend running on Payara 5.183. The React frontend application passes the JWT token, which is obtained from Keycloak, to the backend as…
rieckpil
  • 10,470
  • 3
  • 32
  • 56
3
votes
2 answers

Payara 5 compatibility with Java 9

Has anyone managed to start Payara 5 using Java 9? Payara version: 5.184 JDK version: 9.0.4 java 9.0.4 Java(TM) SE Runtime Environment (build 9.0.4+11) Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode) OS: Windows 10, version…
3
votes
3 answers

Black diamonds and question marks persisting after setting database uft8mb4

Regarding MySQL database and Java JDBC connection encoding. Database has been converted to utf8mb4 and utf8mb4_unicode_ci as shown this is the results of SHOW VARIABLES WHERE Variable_name LIKE 'character\_set\_%' OR Variable_name LIKE 'collation%';…
3
votes
1 answer

Assign roles to user

Instead of having all users with right to do everything, I am trying to add roles (Admin, User) to working Java EE project. I had started on my own, altering tables, writing own mechanism and planned to control that programmatically with…
Joscho2
  • 33
  • 7
3
votes
3 answers

Starting a payara 5 has encountered

I have build a very simple project of hello world in Payara 5 (5.181) JSF 2.3 JDK 1.8 CDI 2.0 Maven and encountered a problem Unable to start server due following issues: Launch process failed with exit code 1 in console it throws…
Asad Kareem
  • 382
  • 3
  • 11
1 2
3
42 43