Questions tagged [payara-micro]

Payara-Micro is a lightweight build of Payara that builds on GlassFish embedded.

Payara Micro is built to be a microservices platform. It is built in the same way as GlassFish embedded, with extra APIs such as JCache.

111 questions
1
vote
1 answer

How can a micro-payara instance be bound to localhost only?

I want to run a micro-payara on the localhost interface only. How can I manage that? I didn't find any command line options: https://payara.gitbooks.io/payara-server/documentation/payara-micro/appendices/cmd-line-opts.html
sealor
  • 135
  • 8
1
vote
1 answer

How do I remove jar filename before endpoint's url?

When I compile my maven-based project I have the resulting jar file in 'target/my-application'. When I run locally my application (I use Payara Micro if this is important) I have the following in log: Payara Micro…
menteith
  • 596
  • 14
  • 51
1
vote
1 answer

Provide SOAP Interface with payara micro

payara micro doesn't provide a JAX-WS stack out of the box. Does anyone know about a way to serve SOAP Interfaces with payara micro?
peez80
  • 1,583
  • 2
  • 15
  • 32
1
vote
1 answer

Why payara-micro.jar and validation-api.jar is needed into my war?

I have a webapp project in NetBeans, and I created a "Run class - main method" to startup programatically PayaraMicro.getInstance()....bootstrap(); Then, to compile and to run without problems in NetBeans with Shift+F6 Run.class, I have to put…
1
vote
1 answer

@startup and @postConstruct not called at payara startup

I am developing a JEE application and I want to do some migration when the application starts. Actually, I am using payara-micro with Docker as a server. For an unknown reason, this code is never executed. Here is my code…
Dimitri
  • 8,122
  • 19
  • 71
  • 128
1
vote
1 answer

"org.apache.jasper.JasperException: PWC6345" error when using Payara-Micro to deploy a JavaEE application

I'm deploying a JavaEE application on Payara Micro Programmatically. It works fine in Netbeans IDE, but I get the error below when using java -jar myapp.jar from cmd. It looks like Payara Micro can't find javac. Suggestions on how to go about…
rey_coder
  • 422
  • 8
  • 12
1
vote
0 answers

Ways of deploying in Payara Micro under a certain context root

I'm looking for ways to deploy an application in Payara Micro under a specific context root (ideally an empty context, so the application runs at root). As far as I know there are two methods: Use an .ear file and specify the context root in the…
1
vote
1 answer

Exception when combining Omnifaces and PrimeFaces LazyDataModel on Payara Micro

I run into an Exception when adding the OmniFaces maven dependency to an existing working Project: [2016-06-28T17:19:09.280+0200] [Payara Micro 4.1] [SEVERE] [AS-WEB-CORE-00037] [javax.enterprise.web.core] [tid: _ThreadID=17…
Alex Andersen
  • 127
  • 1
  • 1
  • 14
1
vote
3 answers

Configuration file

I need to read some property from configuration file. I don't want to store the property file inside the location. What is best practice For example, if execute as follows java -jar payara-micro.jar --deploy demo.jar I want to keep the parameter…
0
votes
0 answers

How to remove extra rest apis exposed by eclipselink version greter than 3.x?

I have added below dependency to my pom.xml org.eclipse.persistence eclipselink 3.0.3 This creates a list of extra rest apis, mentioned below: GET…
0
votes
0 answers

Payara Domain-xml Hazelcast Port

I want to change the default Port from 5900 (default) to 6900. How can I achieve this in a domain.xml? I have there the following Tags:
0
votes
1 answer

PrismaCloud CVE-2022-36437

Prisma Cloud reports Vulnerability in hazelcast CVE-2022-36437 The thing is that the project does not use hazelcast. It uses payara-micro 6.2023.1 What is the connection between hazlecast and payara-micro? How to solve this vulnerability?
Farrukh Nabiyev
  • 346
  • 2
  • 11
0
votes
1 answer

Enabling payara-micro SSL through docker-compose

I'm trying to enable some security to a payara-micro instance. I'm running a standard payara-micro image through docker-compose, passing a war file (which is well deployed): version: '2.2' services: payara_micro_service: restart:…
B. Bri
  • 546
  • 2
  • 7
  • 23
0
votes
0 answers

Vaadin Flow 24.0.0.alpha7 doesn't work with Payara Micro

I tried to run Vaadin Flow 24.0.0.alpha7 (because it supports Jakarta EE 9) on Payara Micro but Vaadin servlet didn't deploy. I believe Payara Micro 6.2022.2 should support it theoretically however when I tried to run it on Java 17 I got multiple…
Sogawa-sps
  • 147
  • 10
0
votes
1 answer

Using Vaadin Flow with other servlets in Jakarta EE environment

I would like to use the Vaadin Flow along with other servlets in Jakarata EE environment, but I can't to do so because Vaadin intercepts all requests to "/". I tried to add the following lines to the application.properties file as it was recommended…
Sogawa-sps
  • 147
  • 10