Questions tagged [undertowjaxrsserver]
7 questions
0
votes
0 answers
How to set up swagger-jaxrs-server
I have generated swagger-jaxrs-server from open api code generator using this petstore.yaml from swagger openapi as input . I want to run sever in STS as maven project.
I tried
1) Adding Tomcat7 plugin in porm.xml
2) Maven --> update project
3)…

Aniket Thorat
- 107
- 2
- 10
0
votes
0 answers
JAX-RS integration test with Undertow failing in Jenkins but working locally
I have an JAX-RS integration test that works locally, both in IntelliJ (using Gradle to run the test) and Gradle command line .
But when I run the test in Jenkins, the test fails, with some issue during the Undertow deployment.
This is how I start…

Vincent F
- 6,523
- 7
- 37
- 79
0
votes
1 answer
Undertow Routing Format using Wildcards
My requirement is to serve "index.html" irrespective of what route is being set in the request. I have referenced Routing template format for undertow but to no avail. It seems to work for people. The handler looks like
PathHandler path1 =…

Edwin Samuel Jonathan
- 198
- 2
- 13
0
votes
1 answer
Update JavaFX control from thread started by a library
I have a JavaFX 8 application. It uses kind of observer pattern to react to events:
public class EventBus {
public static final EventBus INSTANCE = new EventBus();
private final Set listeners;
private EventBus() {
…

ivko
- 58
- 4
0
votes
1 answer
Wildfly-swarm: cannot access jax-rs resource (404 Not found)
I want to give wildfly-swarm a try. I created a project with Jax-rs fraction and a simple hello world resource. I ran it but I got 404 Not Found.
Here's my pom.xml

Armando
- 459
- 1
- 8
- 22
0
votes
2 answers
Serving static content in UndertowJaxrsServer
I'm trying to serve static content through a ResourceHandler in my Undertow server that has a RestEasy deployment.
public class Server {
public static void main(String[] args) throws Exception {
UndertowJaxrsServer server = new…

Saravanan M
- 4,697
- 5
- 35
- 37
-1
votes
1 answer
Where and how to store files uploaded by a user using rest api?
Currently I’m using a shared storage(azure file storage) to store profile pictures and company logos and also some custom python scripts uploaded by admins. My rest services are running in a docker swarm cluster where all the nodes have access to…

Xtr33mm
- 85
- 1
- 5