Questions tagged [wildfly]
WildFly, formerly known as JBoss Application Server, is an open source (LGPL) application server, developed by Redhat, that implements the latest enterprise Java standards.
6,210
questions
0
votes
0
answers
16
views
Getting Wildfly to speak SSL/TLS to other apps
We are running into an issue with TLS on Wildfly. The server accepts incoming TLS requests just fine (certificate and everything is in place, no errors), but on the backend, it is expected to open a ...
0
votes
1
answer
19
views
WFLYCTL0362: Capabilities required by resource '/subsystem=microprofile-metrics-smallrye' are not available:
I am trying to migrate WildFly 21 to 24 .
I have these errors in the console. Server can not running it is stopped.
14:11:19,550 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: ...
0
votes
1
answer
44
views
JBPM business central error After configuring database security domain
I've been trying to configure JBPM to work with database authentication
I've followed the steps in the link
https://techblogtoprogram.wordpress.com/2020/07/19/configuring-db-based-user-login-and-task-...
1
vote
0
answers
23
views
wildfly jndi (java.net.ConnectException: Connection refused: no further information)]
I am using jndi on wildfly 10.
when doing the lookup, i've got an error :
"java.net.ConnectException: Connection refused: no further information"
my jboss-ejb-client.properties is not read ...
0
votes
1
answer
51
views
Java logging performance
I am using wildfly21 set to log level=INFO. In the deployed code there are a lot of logger.debug statements.
e.g
private static Logger logger = LogManager.getLogger(getClass.getName());
logger.debug(&...
0
votes
0
answers
22
views
How to change WildFly classloader for parent last
I work on JBoss 6 migration to Wildfly 25.
JBoss 6 provide a version 3.0.16.Final of resteasy-multipart-provider.
<dependency>
<groupId>org.jboss.resteasy</groupId>
<...
1
vote
1
answer
51
views
NetBeans, Can't Set Breakpoint, "outside of any class"
I'm working on a NetBeans project with multiple sub-modules. The application runs on WildFly. Both are new to me, but I was able to create a local WildFly server that seems to run the application. I ...
0
votes
0
answers
21
views
eclipse JBoss Tools and placeholders in standalone.xml
I have a few placeholder variables in my standalone.xml for example for db connection/password etc. so I have a file standalone/configuration/system.properties with those properties and edited the ...
-1
votes
1
answer
39
views
jboss upgrade, watched many tutorials on how to upgrade my java 7 app running on jboss as 7.1.1 final to java 8 run on jboss eap 7.4
I am seeing the error below in the server console (JBoss eap 7.4):
15:01:33,147 ERROR [stderr] (ServerService Thread Pool -- 73) java.lang.UnsupportedOperationException: The default implementation ...
-2
votes
1
answer
22
views
EJB Invocation failed ... javax.ejb.EJBTransactionRolledbackException: javax.persistence.TransactionRequiredException
My code was running well on Weblogic, and I don't understand why it does not work in Wildfly 10.
@Stateless
@Interceptors(LogInterceptor.class)
@TransactionManagement(TransactionManagementType....
0
votes
0
answers
26
views
When I start to use poi to print xls,an error happend. jaspersoft 6.17.0 and poi 5.2.2
This is my code,An Error will happen in void exportReport()
JRXlsExporter exporter = new JRXlsExporter();
exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, ...
0
votes
2
answers
66
views
Migrate from Jboss 4.2.3 to Wildfly 8
I'm trying to migrate a very old java application from Jboss 4.2.3 to Wildfly 8.
I just installed the Wildfly server and the minimal config things.
In my App, my JNDI.properties file was :
java.naming....
1
vote
1
answer
37
views
Standalone Nashorn giving java.lang.NoClassDefFoundError: jdk/dynalink/RelinkableCallSite using java 11
I was using nashorn built-in java 11, but i need functionality from newest standalone version. However, when i'm using
ScriptEngine engine = new org.openjdk.nashorn.api.scripting....
0
votes
1
answer
43
views
Only error logs are printed in server.log in wildfly
I have created a war file with spring-boot project (version 2.7.0) for deplying in wildfly application server. I have a sample rest API
package com.example.demo;
import org.springframework.web.bind....
0
votes
1
answer
17
views
Configure io.sentry and io.sentry.logback in wildfly 24
Is there any way to configure io.sentry and io.sentry.logback for wildfly? so my Javaee application can log to sentry through wildfly.
I tried to add io.sentry and io.sentry.logback as modules, but ...
0
votes
1
answer
64
views
Jackson error in the spring boot and Wildfly 26
I have a spring boot application in Wildfly 26.0.1.Final with a REST service and I implemented Spring Security in it. In my project, I extend OncePerRequestFilter and override its method ...
0
votes
0
answers
19
views
Eclipse Maven WebApp: "Cannot find symbol" on all dependencies
(Several prints and snippets bellow)
Hello.
I'm having issues running "mvn install" on my Java project.
This Maven project that will be running on Wildfly 19 and has maven dependencies and ...
0
votes
1
answer
31
views
Change port of deployed Spring project on Wildfly
Note to moderator: Other existing questions in SO make reference to the default interface. I'm not interested on changing that. I need to specifically change the port of each deployment.
Other ...
0
votes
1
answer
28
views
Instantiating a deployment's class from a global library in Wildfly
In my Wildfly environment I have a global library that is used by disparate application deployments. Those disparate application deployments include customizations for that global library.
However, ...
0
votes
1
answer
28
views
MongoDB init throw in bootstrap java.lang.NoClassDefFoundError: com/mongodb/client/internal/SimpleMongoClient
I migrate a MongoDB driver to Mongo 5 version. In my project we used before this library
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</...
0
votes
0
answers
51
views
Cannot invoke org.jboss.resteasy.spi.ResteasyProviderFactory.registerProviderInstance(Object) because this.providerFactory is null
I'm Migrating my wildfly from 10 to 24 and I'm using the "wildfly-server-migration" tool for that.
Once it upgraded I'm trying to deploy my existing resteasy application in wildfly 24.
I ...
0
votes
0
answers
26
views
Can we restart wildfly based on output of server.log file?
I have created a script which would check the server.log file during shutdown and startup as it is proprietary to check the log. And based on that output appropriate step is taken. The problem I am ...
0
votes
0
answers
10
views
WildFly + org.springframework + JPA : Class is not mapped
Good afternoon to everyone.
I decided to look at the capabilities of the spring framework in the WildFly 10 environment.
I chose the stack for this:
org.springframework -> 4.3.10.RELEASE;
org....
0
votes
1
answer
57
views
How does wildfly elytron authentication work
problem authentication with elytron wildfly ==>
my configuration of LEGACY authentication ldap with the old versions of wildfy is worked good and authenticated only superuser part of specific group
...
0
votes
0
answers
44
views
Strange HTTP 401 response with nginx in combination with WildFly
I installed a WildFly 26.0.1 together with nginx as a reverse proxy.
Everything seems to work correctly.
Also the deployment of small WebApp war files within WildFlys admin console works.
But there is ...
1
vote
2
answers
78
views
IJ000455: "Wrong ManagedConnectionFactory sent to allocateConnection" with IBM MQ Resource Adapter 9.2.5.0
I configured the IBM MQ resource adapter 9.2.5.0 in Wildfly 20.0.0 as follows:
<resource-adapter id="wmq.jmsra.rar">
<archive>
...
0
votes
1
answer
24
views
Why am I receiving a 203/EXEC Error for my Wildfly.service?
I've currently been trying to run WildFly 26.1.1 on my Ubuntu 18.04 AWS VM.
So far I've created a script in order to install and have it running on both 8080 and 9990 (Administration Console), but I'...
0
votes
0
answers
26
views
PostgreSQL JDBC connection stuck in inuse state in wildfly
I have Wildfly 21 as my application server and I have configured data source for PostgreSQL connection.
Below are connection parameters I have used to configure datasource :
data-source add
--jndi-...
1
vote
1
answer
132
views
Keycloak startup fails (undertow request failed HttpServerExchange)
I'm currently trying to get a standalone installation of Keycloak up and running.
My setup is a Windows Server 2019 and I tried multiple versions of Keycloak including 12.04 and 18.0 (wildfly). I ...
0
votes
0
answers
24
views
Hosting PHP on WildFly 26?
Is it still possible to host PHP-based sites on WildFly 26 (or undertow)? There's some documentation on the Web around doing this with (much) older version of JBoss. Has support been dropped?
I need ...
0
votes
0
answers
34
views
Failed to connect jira api: failed to access class org.apache.http.impl.client.cache.BasicHttpCache from class CachingHttpAsyncClient
I faced an issue durring connecting to jira api by existing code on ear application using application server wildfly19.0.1.Final :
1- the added code :
AsynchronousJiraRestClientFactory factory = new ...
0
votes
0
answers
12
views
Does Wildfly Servergroups with independent project comes under Monolithic or Microservice or anything else?
Is my project monolithic or microservice?
Each API is independent project. Say Employee API is independent project and it connects to Oracle table Employee only. (No other table). It is deployed in ...
0
votes
0
answers
34
views
Keycloak websocket support
Good Day. I am developing an IAM system using Keycloak. I have a task to develop an endpoint that will accept websocket requests and produce some kind of logic. I implemented the interface ...
1
vote
1
answer
41
views
Wildfly16 AMQ119031: Unable to validate user from /127.0.0.1:61082. Username: null; SSL certificate subject DN: unavailable
I'm new for using Wildfly. I try to test jms activatemq with simple code. But always error : AMQ119031: Unable to validate user from /127.0.0.1:61082. Username: null; SSL certificate subject DN: ...
0
votes
2
answers
38
views
Does Keycloak stopped configuration with Wildfly after Keyclaok 17?
What is meaning of (https://www.keycloak.org/archive/downloads-17.0.1.html)
Keycloak: Distribution powered by Quarkus
Keycloak WildFly (deprecated): Distribution powered by WildFly
When i see ...
0
votes
0
answers
15
views
Error Activemq-storage - Lorg/apache/activemq/store/kahadb/plist/PListStore - wildfly - java 8
I've this error when I run my .war in wildfly:
Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.apache.activemq.usage.TempUsage.getStore()Lorg/apache/activemq/...
0
votes
0
answers
31
views
Migration from Jboss EAP 6.4 to Wildfly 23 (JBOSS 7.4)
We are working on tech refresh of application and server. We are upgrading server and application to below versions:
Application server:
JBOSS EAP 6.4 to (upto) Wildfly 23.0.2
Application:
Apache ...
-1
votes
0
answers
32
views
How to perform tests using the JMH tool on an application installed on the application server (Wildfly)
I want to benchmark an application running on Wildfly. Does JMH (Java Microbenchmark Harness) somehow support this type of performance-tests? What strategy should I apply?
0
votes
1
answer
28
views
soft link is not accessible in local, when it is created inside docker container
I have a wildfly container that is running from the custom WF Image using Dockerfile. Here I have added the custom standalone-full.xml file to the config folder(/opt/jboss/wildfly/standalone/...
0
votes
0
answers
26
views
How can I change the Netbeans VM options for java web application?
I have a java web application using wildfly 10 and netbeans 12. After that, I go to Services tab->Servers->Wildfly properties->Second tab (Platform)
Then I change the VM options to:
'-...
-2
votes
0
answers
14
views
Secure the connection between Oracle and wildfly
I am trying to secure the connection between Oracle and Wildfly.
Would appreciate any leads/links on how to do this.
0
votes
0
answers
23
views
Publishing multiple Endpoints on Wildfly Server
I want to create programatically web services on Wildfly server. I have defined WebService URLs in the configuration file. So I run two endopoints in the following way:
Endpoint.publish("http://0....
1
vote
0
answers
28
views
How to change the JavaVersion of Jboss/wildfly Dockerimage
I'm really new to Docker and wanted to setup a Wildfly-Container (v26) and deploying a .war-File to it.
The problem I've encountered is, that Wildfly is using JDK11 as base image.
My program was ...
0
votes
0
answers
29
views
Weblogic to Wildfly migration
I have a build.xml file which calls the buildWebService.xml file for my java project, which contains many weblogic specific ant tags like wlaapc, clientgen, wsdl2service and autotype.
I am trying to ...
0
votes
0
answers
24
views
What version of Wildfly corresponds to JBossEAP 7.4?
No available version found in the Red Hat website. I found a website (http://www.mastertheboss.com/jbossas/jboss-eap/what-is-the-difference-between-jboss-eap-wildfly-and-jboss-as/) but data is only ...
2
votes
1
answer
40
views
Stop @Schedule EJB gracefully when shutting down application server
I have a stateless EJB with a method that should executed periodically. This works well so far. However, I want the stop the method gracefully when it is running while shutting down application server....
0
votes
0
answers
33
views
How do I resolve RESTEASY002186 so my Wildfly 26 web application can use SSE over https?
I have a web application running on Wildfly 26 that uses SSE broadcasting and works correctly with http. However, when I switch to using an https endpoint, I get Wildfly log entries of:
WARN [org....
0
votes
0
answers
30
views
Unable to load class when using @Embedded property in @MappedSuperClass - Wildfly Hibernate
I would like to have JPA models like they are described in code snippets.
When I try to add @Embedded property of Licence class into my "abstract mapped super class Employee" I got an error ...
0
votes
0
answers
77
views
Deployment problems of a Spring Boot project on Wildfly
I am trying to deploy a Spring Boot 2.3.3.RELEASE project with Java 1.8 using Wildfly 20 as the application server, but I am experiencing several problems.
This is the POM:
<?xml version="1.0&...
0
votes
0
answers
42
views
What is the correct way to download and use Wildfly Jars in a Maven Project?
I have Multi Module Maven Project and in the parent pom.xml I am importing Wildfly dependency like below -
<dependency>
<groupId>org.wildfly</groupId>
<artifactId&...