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
4
votes
2 answers

Connecting GlassFish/Payara to MySQL 8.x

I had a maven JSF/JPA web application that was connected to MySQL 5.x developed using Netbeans 12. The application was running fine until I updated the MySQL version from 5.x to 8.x. Since that update, I can not configure the database to connect to…
Buddhika Ariyaratne
  • 2,339
  • 6
  • 51
  • 88
4
votes
3 answers

Payara5 Server will not deploy: Unknown Protocol RFB

In a clean eclipse environment payara5 will not deploy. I have downloaded the correct version of the server, using java 1.8 and simply added it with new server to start it. I cannot get rid of this error. The payara landing page works, however …
videokate
  • 87
  • 8
4
votes
0 answers

Issue: Glassfish 5 after Re-Deployment Websocket no Messages from Server

Currently using Glassfish 5(Payara). After first serverstart and deployment the Websocket has no issues at all. After a Re-Deployment the handshake between client and server connect, but the websocket doesn´t get any messages from our server. In…
Christian
  • 41
  • 1
4
votes
1 answer

Why does Java Stripe API have Exception NoSuchMethodError for receiveChangeCipherSpec()?

I am using the Stripe Java library version 5.41.0 on void linux with Payara 5 and OpenJDK [void@void ~]$ java -version openjdk version "1.8.0_202" OpenJDK Runtime Environment (build 1.8.0_202-b00) OpenJDK 64-Bit Server VM (build 25.202-b00, mixed…
Halcyon
  • 1,376
  • 1
  • 15
  • 22
4
votes
2 answers

Date format changed in Payara 5 (Long does not work anymore ) -- org.eclipse.yasson.YassonProperties#ZERO_TIME_PARSE_DEFAULTING

Using Payara 4.174 and receive in backend the date as a long, for example 1540545780000. Now, I upgraded to Payara version 5. public User { String name; Date birthdate; } @POST @Path("/user/) public void createUser(User user) { ... } json…
Sorin Penteleiciuc
  • 653
  • 1
  • 10
  • 26
4
votes
2 answers

Payara 5 NP-Exception during deployment: TyrusServletContainerInitializer

With the payara 5.181 full release, deployment fails quite often with the following stack trace. This happens both in Netbeans-environment and with docker container. After several retries, containing server-restarts, project clean-build, with and…
LTrenker
  • 71
  • 5
4
votes
1 answer

What's the difference between glassfish-application.xml and glassfish-web.xml in GlassFish/Payara 4.x?

There're tons of explanation for the difference between Java EE and Web profile for all imaginable pairs of implementations ("What's the difference between Tomcat and GlassFish", "What's the difference between GlassFish and JBoss", etc.) which is…
Kalle Richter
  • 8,008
  • 26
  • 77
  • 177
4
votes
1 answer

Deploying a logback enabled spring boot app to Glassfish 4/Payara generates gigs of logging

When I attempt to deploy a Spring Boot app to Payara (Glassfish 4) I'm getting huge logs that eventually use up all my disk space. The logging seem to be in some sort of recursive loop like this (see below). Although I can get a deploy working by…
PaulNUK
  • 4,774
  • 2
  • 30
  • 58
3
votes
1 answer

Configuring JPA/Eclipselink project with Payara Server and Postgresql

I´m trying to set up a project using Payara Server Community Edition v5.2022.2, Postgresql 14 and Eclipselink. When I test a simple rest endpoint returning a String, everything works fine, so I know that the rest configuration is working. The…
3
votes
1 answer

Force deploy of web application to fail on Tomcat

We are researching the possibility to migrate some web JSF applications from Payara 5 to Tomcat 9 (TomEE 8). We are using Java 11 and Java EE 7/8. Our applications connect to a backend server using RMI. At the moment, with Payara 5, when the code…
actunderdc
  • 1,448
  • 2
  • 11
  • 20
3
votes
1 answer

HTTP Status 404 - Not Found in pages when deploying war of Spring application in dockerized payara

I am trying to deploy a spring web application (*.war packaging) in a payara docker container. When I run the app localy in payara, the url http://localhost/my_application/test works fine but when I deploy my app on dockerized payara I get HTTP…
Ioanna Dln
  • 309
  • 2
  • 13
3
votes
0 answers

ServiceLocatorImpl shutdown issue in Jersey 2.34

We've been getting errors occasionally from our test and production environments where ServiceLocatorImpl has shut down which causes it to fail to create stateless EJBs from any @Schedule methods. javax.ejb.EJBException: javax.ejb.EJBException:…
Tim
  • 181
  • 1
  • 8
3
votes
1 answer

Why does this simple Jakarta Security example from Soteria work on Payara but not on WildFly?

I'm used to using WildFly for Java/Jakarta EE development and lately I wanted to update a project that is using JAAS for authentication/authorization to the new Jakarta Security API from Jakarta EE 9.1. I couldn't make it work, so I decided to…
3
votes
1 answer

Application Configuration Properties on Payara (how to read them)

I would like to use Application Configuration Properties that you can configure using the user interface of payara (for example): My question is: how can I access these values on java code side? Through annotation? Through some sort of context…
B. Bri
  • 546
  • 2
  • 7
  • 23
3
votes
0 answers

Payara 5, Java 11 and maven dependencies

So, Java 11 SE removed the following packages: java.xml.ws java.xml.bind java.activation java.xml.ws.annotation java.corba java.transaction java.se.ee jdk.xml.ws jdk.xml.bind These are still part of Java EE 8, correct? It's recommended that my…
John Manko
  • 1,828
  • 27
  • 51
1
2
3
42 43