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
28
votes
8 answers

Glassfish server does not start. NullPointeException

I just downloaded the GlassFish 5.0 archive - Full Platform, unzipped it, I run it through the command line. asadmin start-domain problem: Exception in thread "main" java.lang.NullPointerException at…
Oleksandr
  • 450
  • 1
  • 6
  • 13
17
votes
6 answers

How do I add JDBC drivers and configure JDBC Resources in Payara Micro?

What are my options to set up JDBC drivers and resources when using Java EE Payara Micro?
tainos
  • 280
  • 1
  • 4
  • 14
13
votes
6 answers

Glassfish / Payara javax.ejb.AccessLocalException: Client not authorized for this invocation in server.log

I was trying figure out the cause of another exception for my dynamic web app here - https://github.com/double-whammy/affablebean I made a small change and I got a new exception - javax.ejb.AccessLocalException: Client not authorized for this…
james
  • 1,667
  • 5
  • 26
  • 38
11
votes
4 answers

Eclipse support for Glassfish 5

Does anyone know if there will be support for GlassFish 5 in Eclipse in nearer future (GlassFish Tools supports 3.1 and 4.x)? Is there another way to integrate Glassfish in Eclipse besides GlassFish Tools?
Flocke
  • 764
  • 6
  • 14
9
votes
0 answers

Getting Auth fail after upgrading Payara from 4.1.1. to 4.1.2

I'm upgrading Payara from 4.1.1 to 4.1.2.181 and now I'm getting 401 when calling my Auth end point. My auth endpoint returns 200 (ok) but the calling application is getting 401 from Payara (as far as I can tell) Parent pom.xml: ...
TungstenX
  • 830
  • 3
  • 19
  • 40
9
votes
2 answers

How to get Apache Derby and Hibernate to print english exception messages in a Java EE application?

I'm running a Java EE application which uses Hibernate 5.2.10.Final with an Apache Derby storage backend on Payara 4.1.1.172. I'm seeing error messages like Caused by: java.sql.SQLDataException: A truncation error was encountered trying to shrink…
Kalle Richter
  • 8,008
  • 26
  • 77
  • 177
7
votes
2 answers

JSON parse error: Cannot construct instance of `com.dto.IdDTO` (although at least one Creator exists)

I have a Spring Boot application using version 2.2.4 and Zulu Java 11.0.5 from Azul. It is accessing a REST web service which is deployed on a Payara web server (version 5.194). I am using the following DTOs: public class IdDTO extends…
7
votes
1 answer

Can't overwrite file in docker compose

I'm using docker compose to set up a payara server and need to overwrite the domain.xml file. I'm currently doing it through volumes: - './domain.xml:/opt/payara41/glassfish/domains/domain1/config/domain.xml' but when i compose it with…
Lieke
  • 181
  • 1
  • 12
5
votes
3 answers

Springframework : PermittedSubclasses requires ASM8/9

I have updated the lib and dependency of my project including : From OpenJDK 11 to OpenJDK 17.0.2 From JavaEE to Jakarta 9 From Springboot 2.7.4 to 3.0.1 The application can be built successfully, and I try to deploy it to Payara Server 6.2022.2…
barry
  • 79
  • 3
5
votes
1 answer

How to replace jackson for moxy on payara 5

I read a lot about how to replace jackson for moxy on payara 5 but never achieve a good solution, so I create a small project and hope that someone can help me. pom.xml javax
tiagomistral
  • 143
  • 8
5
votes
3 answers

IntelliJ - Remote debug - Unable to open debugger port

I am using IntelliJ 2017.3 with Payara 4.1.2.172. I used to just start the server from the command line had a Remote Debug running on port 9009, and everything used to work fine. Then I set up an plugged in server with attached modules in IntelliJ,…
Richard
  • 8,193
  • 28
  • 107
  • 228
5
votes
2 answers

How to use Jackson 2 in Payara 5?

I'm using Jackson 2 with Payara 4 and I would liked to use Jackson 2 in Payara 5. Using JAX-RS, I also would like to avoid changing annotations and so on... In Payara 5 the default Jsonb provider is Yasson. Any ideas to disable it and use Jackson…
Whyvra FVR
  • 73
  • 1
  • 8
5
votes
2 answers

Payara-Server - Write timeout exceeded when trying to flush the data

I'm receiving this exception from Payara Server 4.1.1.164 when requesting different web services (Jersey 2.23.1) in a deployed JavaEE Application. I don't know the reason of the exception and either exactly When it appears because in some test…
bishop
  • 360
  • 5
  • 21
5
votes
2 answers

Entity class has no primary key specified

I have an entity class which inherits from four level of inheritance in which the top level parent defines the primary key (@Id) and I'm having trouble figuring out what I did wrong as I get this error: Entity class [class D] has no primary key…
4
votes
2 answers

Payara Server does not work with Netbeans 12.6 and JDK 17

We are migrating web apps that use java 1.7 here at the company. We then chose to use the latest stable version of JDK 17 and Payara server (we already use Glassfish), however when linking the server on NetBeans the Java 17 LTS platform does not…
Elvis Fabiane
  • 43
  • 1
  • 4
1
2 3
42 43