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
1 answer

Payara 5 @JMSConnectionFactory fails to inject when using @Stateless bean

I am testing out some JMS work on Paraya 5. Specifically 5.181. Below is the code for my simple Stateless bean. @JMSConnectionFactory fails! the JMSContext context variable is always null. However @Resource(lookup =…
Michael Remijan
  • 687
  • 7
  • 22
3
votes
1 answer

Payara server in Docker-compose up

I am pretty new to Docker and trying to understand it. I have a docker-compose.yml file which contains certain things which I am unclear about. (I have recevied it from client and trying to run/understand it). Please note that I am using windows 10…
Ragini
  • 1,509
  • 7
  • 28
  • 42
3
votes
1 answer

"IllegalArgumentException: Can not set [EJB interface] field [managed bean field] to com.sun.proxy.$Proxy[some number]" with OmniFaces' @Eager

Injecting an EJB into a JSF managed bean in a multi-module Maven Java EE 7 Project fails both on Payara 4.x and 5.x as well as Glassfish 4.x and 5.x and WildFly 11.0.0.Final which makes me think that this is not a Payara/Glassfish bug as I thought…
Kalle Richter
  • 8,008
  • 26
  • 77
  • 177
3
votes
3 answers

debug two separate java server app with intellij and payara

I want to debug two separate java server app with intellij IDEA and payara. first project run correctly but when I run second one nothing happen. Error: Error running 'glassfish': Unable to open debugger port (127.0.0.1:9009):…
mohsenJsh
  • 2,048
  • 3
  • 25
  • 49
3
votes
1 answer

Payara5 - payaradomain on Java 9

Im looking for some help running Payara 5 Alpha on Java 9. The blog post "Payara Server 5 Alpha 2 release is here!" says it runs the payara domain on Java 9, but Im still getting the java.lang.NullPointerException on…
farrellmr
  • 1,815
  • 2
  • 15
  • 26
3
votes
3 answers

Change Master Password on Payara/Glassfish Server

Background: I need to change the payara-server master-password. According to the docs the master-password must match the password in the keystore & truststore for the SSL Certificates to work properly. To make my website run on https instead of…
S34N
  • 7,469
  • 6
  • 34
  • 43
3
votes
1 answer

Memory problems with ScrollableCursor in Payara/EclipseLink with Postgres

I'm using Payara 4.1 (Eclipselink 2.6), Postgres 9.6. I'm trying to use a ScrollableCursor to access data results that can be quite large. In testing we had gotten an java.lang.OutOfMemoryError trying to run the query so I did some heapdump…
Tim
  • 181
  • 1
  • 8
3
votes
0 answers

first (and only the first!) call to Spring Data repository after server restart always fails (if inside JTA transaction)

Im building a REST service with Jersey, running on Payara. The service uses Spring Data (and JPA/JTA below that) to access the database. I noticed that after a server restart, the first call to the service worked but the result was never written to…
Mario Köhler
  • 192
  • 1
  • 10
3
votes
2 answers

Web service exception: " An exception or error occurred in the container during the request processing java.lang.Exception: Host is not set"

I have a web method which gets some name and returns its required input type(BOM, AML, BOM and AML or any other name) by reading a class file(maven plugin file). While trying to do this, i am getting below exception. [2017-08-02T17:14:33.902+0800]…
Mysti
  • 105
  • 3
  • 10
3
votes
1 answer

Application is not loading after upgrading to payara 4.1.1.171

Upgraded server from glassfish 3.1 to payara 4.1.1.171, took the glassfish config backup and restored to payara 4.1.1.171. After that my application is not loading and in console it throws this error net::ERR_INCOMPLETE_CHUNKED_ENCODING If i change…
moh
  • 1,426
  • 2
  • 16
  • 43
3
votes
1 answer

payara glassfish web xml filter url parsing

I have kind of below filter mapping my web xml. But the deployment fails. Is there an alternative ? thanks TestFilter *.js