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
3
votes
2 answers

BouncyCastle NoSuchProviderException even though it's a Maven dependency

I'm trying to build an existing JavaEE project using Wildfly Swarm, but I keep running into an issue in one of my libraries. It is supposed to load a public key in PEM format from a server and use it to verify signatures. However, I keep getting…
KG6ZVP
  • 3,610
  • 4
  • 26
  • 45
3
votes
1 answer

Bean not injected with CDI and Arquillian test failed when SolrServer is used

My Arquillian test looks like this: import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import javax.enterprise.inject.spi.CDI; import javax.inject.Inject; import…
Miroslaw
  • 221
  • 2
  • 8
3
votes
1 answer

Spring Data JPA CDI integration fails with Wildfly Swarm

I'm having an issue getting Spring Data JPA to work in Wildfly Swarm. The first time I attempt to perform an insert, there is a transaction exception. Every subsequent insertion goes through fine. I've tried changing my services' scopes to be…
CorayThan
  • 17,174
  • 28
  • 113
  • 161
3
votes
0 answers

wildfly swarm swagger UI configuration, how to?

I have wildfly swarm service with basic REST and I want configure swagger ui with it. At the moment it is started as jar here is main file Container container = new Container(); SwaggerWebAppFraction fraction = new SwaggerWebAppFraction(); …
Armen Arzumanyan
  • 1,939
  • 3
  • 30
  • 56
2
votes
0 answers

Thorntail with Hotswap agent possible?

Is it possible to configure thorntail (swarm) runner plugin to use HotSwap Agent somehow? I've managed to do so with Wildfly but when I set VM arguments for the agent I get following error: java.lang.ClassNotFoundException:…
Mike
  • 812
  • 9
  • 25
2
votes
1 answer

max-pool-size is invalid in combination with derive-size

For the last couple of days I’ve been battling with an issue which I believe is derived from a change in the source code in Thorntail and unfortunately this code doesn’t appear to be publically available. The error I’ve been receiving is…
dee dubya
  • 23
  • 5
2
votes
0 answers

Random error SQLNonTransientConnectionException: Connection is closed

From time to time we get the following error in our Wildfly Swarm app server (full stack trace at the end): java.sql.SQLNonTransientConnectionException: (conn=19796385) Connection is closed Can someone explain how these kind of errors can occur?…
Michael Hunziker
  • 2,659
  • 3
  • 22
  • 26
2
votes
1 answer

JNoSQL + MongoDB + Wildfly Swarm

I was trying to create a hello world with JNoSQL, Mongo and Wildfly Swarm. The use @Inject of DocumentCollectionManager is working, but it is not working with a Repository. This is how I'm injecting: @Inject private DocumentCollectionManager…
Victor
  • 8,309
  • 14
  • 80
  • 129
2
votes
1 answer

WildFly Swarm configure Messaging Remote

i will configure two wildfly-swarm (Version 2018.5.0) server remote. The first server should send messages (over wildfly-swarm messaging) to the second server. On the second server a consumer for messaging is running. After reading a lot of…
Andreas
  • 31
  • 4
2
votes
1 answer

Wildfly Swarm on docker in MacOS

I'm trying to run a Wildfly Swarm service inside a Docker in a macOS, but it is throwing an exception. I do not know if is a MacOS issue (I believe it is) or a JVM issue. I'm using a very simple Dockerfile for wildly swarm: FROM…
Victor
  • 8,309
  • 14
  • 80
  • 129
2
votes
2 answers

How enable management console with wildfly swarm docker?

i want to active console management for server wildfly swarm docker i have dependecies in pom org.wildfly.swarm management-console
bilgin
  • 133
  • 1
  • 13
2
votes
0 answers

Wildfly Swarm Security Constraints configured in YAML behave different than in WEB.XML

I d like to use Keycloak as Security Provider for my wildfly swarm based app. There is only one resource that needs "public access" (/api/systemInfo)... all the other resources should be protected by Keycloak. If I add this to a web.xml (within…
mooonli
  • 2,355
  • 4
  • 23
  • 32
2
votes
1 answer

cannot get STOMP acceptor running in Wildfly Swarm

I'm trying to set up a STOMP acceptor in my Wildfly 11 based Swarm deployment (using Swarm 2017.12.1 to generate a fat WAR, running via java -jar...), for letting clients send me progress messages, but could not get the acceptor to load, always get…
Gregor
  • 1,297
  • 1
  • 19
  • 31
2
votes
1 answer

Weld + WildFly Swarm errors

I am trying to get CDI to work in WildFly Swarm, but Weld keeps throwing errors, even on a minimal toy example, see: https://github.com/delenius/weld-test I am keeping things as simple as possible, and following the recommended way of setting up…
delenius
  • 21
  • 4
2
votes
1 answer

Wildfly swarm in docker - exception in starting http server

I'm running in Docker a jar file (host computer macosx), and during boot I get this stacktrace: 10:42:28,101 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.undertow.listener.default:…
Tomislav Mikulin
  • 5,306
  • 4
  • 23
  • 36
1
2
3
12 13