Questions tagged [payara]
Payara is a drop-in replacement for the open source GlassFish Application Server
payara
653
questions
0
votes
0
answers
50
views
Application.getResources() is null or {0} is not a valid data source
Previously myApp ran on Payara 5-2022.5 Community Edition with Jakarta EE8, java 8, and Hibernate 5.6.15 with multi-tenancy. And no any error when starting from Netbeans 22.
I converted myApp from ...
0
votes
1
answer
59
views
Moving from Java 1.8 to Java 11, with IIOP Corba gives "Corba no permission"
Target is:
Moving client (portlet) code from Java 1.8 to Java 11 - see testcase below.
Server Payara 5 running on java 11, but Session Beans compiled in Java 1.8.
Communication via IIOP:Corba.
Above ...
0
votes
0
answers
47
views
Issue in deploying Spring boot 3.3.1 App on Payara 6.2024.6 after adding JNDI configuration with Informix DB
I had created one hello app without JPA I deployed it on Payara, it worked but when I added JNDI name to it and configured properly JNDI in Payara also added all the drivers to payara lib directory, I ...
-1
votes
0
answers
22
views
java.lang.RuntimeException: Could not setup GlassFish Embedded Bootstrap
I have a deployment class for integration tests in my project that is inheriterd by every test class. This class is annotated by:
@ArquillianSuiteDeployment
@RunWith(CustomArqullianRunner.class)
I'm ...
0
votes
0
answers
21
views
How to upgrade eclipselink in Payara server?
I would like to upgrade Eclipselink in Payara server 6.2024.6 to version 4.0.3.
I followed what stated in upgrading the version of eclipselink being used in payara server and older Upgrading ...
0
votes
0
answers
23
views
How do I configure NGINX to maintain the session when Java web app redirects to Microsoft for authentication?
We have a Java web application that uses security very similar to examples provided by Microsoft for authentication (Microsoft Authentication Library).
We use Payara Enterprise as our Java application ...
0
votes
1
answer
35
views
Jax-RS app with Payara server dosen't serialize Color via custom Serializer
I'm developing JAX-RS based application and Payara server. I want to serialize build in java Color class to String format: color = "RcolorValu, GColorValue, BColor value". For example in ...
0
votes
1
answer
36
views
Error during the Migration from Payara 5 to Payara6 version (6.2024.4)
I’ve upgraded a java application, with Payara Micro and maven, from the Payara server from version 5 (5.52.0 version) to 6 version (6.2024.4).
The build is ok but I get this at the runtime:
[WARNING] ...
0
votes
1
answer
19
views
access by jdbc realm throws error in payara server 5.194
I am trying to configure using jdbc realm in Payara 5.194
I belive I do all right but always get this message:
Web Login Failed: com.sun.enterprise.security.auth.login.common.LoginException: Login ...
0
votes
0
answers
47
views
multiple springboot microservices with single connection pool
I have multiple microservices springboot app running as jar file, each of them will create a connection to a centralize oracle database. I wish to have a connection pool for all these microservices to ...
0
votes
0
answers
58
views
Enable session replication in Payara server 5.2020.6 with embedded hazelcast
I am trying to enable session replication in my payara server instances using embedded hazelcast. Currently, I have my application deployed on different pods in an openshift environment, each embedded ...
0
votes
0
answers
21
views
How to run apps with two different domain names on a single domain of payara 5.x.x?
I need to run two apps with domain names say, abc.xyz and def.xyz (with their own ssl certificates) on a single domain instance on payara. I am using 5.2022.5 version of Payara.
I created two virtual ...
0
votes
1
answer
32
views
Is there any possibility to use JTA with Spring Framework 6 and Tomcat or Payara?
Can you explain how to use Java Transaction API with pure Spring Framework on Payara or Tomcat server. I cant find any solution. There are several threads on Stack Overflow about using tools like ...
-1
votes
1
answer
87
views
Not able to change the logging level log4j on Payara server
I would like to change the logging level of log4j without redeploy on Payara server.
I go to /opt/payara/payara5.2022.5/glassfish/domains/DEV01/applications/myapp then find the log4j.properties file. ...
0
votes
1
answer
61
views
Setting the Maximum Message Size for JMS Destinations in Payara
We are using a Payara Server Version 5 and 6 on which we have several JMS Destinations configured.
These are configured via the asadmin command line tool like so:
./asadmin --Port=4848 create-jms-...