Questions tagged [wildfly-swarm]

Swarm offers an innovative approach to packaging and running JavaEE applications by packaging them with just enough of the server runtime to "java -jar" your application.

See also:

191 questions
14
votes
1 answer

Spring Cloud/Boot vs Wildfly Swarm

I have doing some analysis of modern Container less Java Stack on net, two Major promising things i came about was: Spring Boot/Cloud (Packed in Tomcat or Jetty,...) Wildfly Swarm (Moduler Wildfly 9 Server with minimum possible components) Yes…
zaxeer
  • 189
  • 2
  • 11
11
votes
1 answer

Problem executing goal wildfly swarm plugin, API incompatibility, java.lang.AbstractMethodError

I am trying to build the debezium-swarm-demo app in the debezium-examples github repository The build does not finish and gives me Execution default of goal org.wildfly.swarm:wildfly-swarm-plugin:2018.5.0:package failed: An API incompatibility was…
anushka
  • 345
  • 4
  • 14
7
votes
4 answers

Bean Validation with JAX-RS (rest-easy): parameter name not recognized

I'm using JAX-RS resources with Bean Validation and integration between these two works as expected. However, the default error messages generated in case of a validation error report parameter names as arg0, like…
omilke
  • 827
  • 9
  • 20
6
votes
4 answers

Developing with Wildfly Swarm in IDE without restarts - "hot deploy" somewhere?

I'm interested in the Wildfly Swarm project to create fat-jar JavaEE application but can't figure out how to "hot deploy" changed classes from the IDE. Whenever I change a line of code or a JSF xhtml file I currently have to restart the whole…
lathspell
  • 3,040
  • 1
  • 30
  • 49
6
votes
1 answer

WildFly Swarm Nullpointer @Inject bean

I have a schedule service which gets its job via REST as JSON. The Resource class: import java.io.IOException; import javax.inject.Inject; import javax.ws.rs.Consumes; import javax.ws.rs.POST; import javax.ws.rs.Path; import…
Marekzan
  • 93
  • 1
  • 9
5
votes
0 answers

CDI errors on Tests

I'm building an application using Wildfly Swarm 2018.5.0. When I setup the application tests, every thing works fine in an "Hello World" application, but when I add it to my application with all dependencies, there is a lot of erros like:…
Victor
  • 8,309
  • 14
  • 80
  • 129
5
votes
1 answer

Wildfly-Swarm Consul service discovery - Invalid service address

I’m developing Wildfly-Swarm app and I want to use Consul as my service discovery. So I added topology-consul fraction, set my Consul path in project-defaults.yml and added @Advertise("service-name") to my Endpoint. And if I start my application…
Kiki
  • 2,243
  • 5
  • 30
  • 43
5
votes
1 answer

Running Wildfly Swarm with KeyCloak on docker image

I created small Wildfly Swarm application with KeyCloak server using WildFly Swarm Project Generator I Added some code, built and started my fat jar using: java -jar -Dswarm.port.offset=100 login-service-swarm.jar After app stared i created new…
Kiki
  • 2,243
  • 5
  • 30
  • 43
5
votes
0 answers

ClassNotFoundException when running WildFly Swarm Arquillian test

(Referenced by https://issues.jboss.org/projects/SWARM/issues/SWARM-767) I am trying to test my WildFly Swarm application using Arquillian. I have a custom Main class for my Swarm, and a custom deployment. When I attempt to run my tests, I receive a…
Mitch Talmadge
  • 4,638
  • 3
  • 26
  • 44
4
votes
1 answer

Primefaces Calendar Listener - ERROR [io.undertow.request]

I'm trying to use a listener on Calendar. I'm doing the following: lista.xhtml
Pickles Dog
  • 155
  • 2
  • 11
4
votes
0 answers

Setting up Wildfly Swarm with slf4j and log4j2

I am trying to set up a Wildfly Swarm based project to log with log4j 2 through slf4j. I have already tried a few things reaching some kind of compromise, that I will base my question on (maybe it's of help to others). Yet my solution is nothing I…
TheDentist
  • 103
  • 1
  • 7
3
votes
1 answer

How to share messages, published on Topic, between multiple VMs, in Spring Jms Tibjms

My application is consuming messages published to a Topic. I have 3 servers where my application code is running. With current implementation, the messages is distributed to all running VMs i.e. copy of message is received by every consumer. My…
G.G.
  • 592
  • 5
  • 16
3
votes
2 answers

wildfly swarm deployment crash with java 9

Packaging a hello world application generated by the wildfly swarm generator and built with Java9 crashes when deploying the application. It seems that the reason is the swarm/undertow dependency to the org.ow2.asm:asm-all:5.0.4 which is not Java9…
MichaelJ
  • 113
  • 6
3
votes
0 answers

How to add a custom module in Wildfly Swarm when executing from custom main()

I have a custom Wildfly module for logging in Json format, which my Swarm application references in standalone.xml:
alin
  • 29
  • 2
3
votes
1 answer

Where exactly do I put project-defaults.yml?

I'm working on a Wildfly Swarm project (using Wildfly Swarm version 2017.8.1, Maven 3.5.0, OpenJDK 1.8.0_141) where users will often upload files WAY bigger than Undertow's default 10485760 bytes (10MB) max-post-size setting. I see from other…
Redsaz
  • 53
  • 1
  • 5
1
2 3
12 13