Questions tagged [wildfly]
The wildfly tag has no usage guidance.
41
questions
4
votes
1
answer
3k
views
Intermediate certificate not in keystore even though I added it
I was tasked to set up an ssl in a server, this server uses wildfly, so I have to make a keystore that contains all of the certificates that I got, the server certificate, the intermediate and the ...
3
votes
2
answers
1k
views
Linux file-handle (pipe) leak in WildFly 12+
I am trying to identify if behaviour that I am observing is correct or if WildFly is leaking file handle descriptors.
During our standard performance testing after upgrading from WildFly 11 to 14 we ...
2
votes
1
answer
1k
views
Logging username in KeyCloak access-log
In KeyCLoak 15.0 (that is WildFly 23.0), I’m trying to configure access-log to also include username (or any ID of the user) when a user is logged in. In keycloak/standalone/configuration/standalone....
2
votes
1
answer
541
views
WildFly sending private key instead of certificate
I'm trying to configure a WildFly server running in Docker to use SSL:
created a private key: keytool -genkey -alias axcelpk -keyalg RSA -keystore server.keystore -keysize 2048 -validity 1825
created ...
2
votes
0
answers
305
views
Wildfly Elytron container managed authentication with federated SAML2 IDP
I'm trying to set up container-managed authentication with Wildfly 24 and would like to use an existing (federated) Shibboleth IDP.
I haven't found docs detailing that use case, so I opted for the ...
2
votes
1
answer
5k
views
Start server service with wildfly
I need to start a service with certain IP using Wildfly
Already follows tutorials
Wildfly start fine with local IP which is 127.0.0.1 also with 0.0.0.0
But when I change into mine or other IP it ...
2
votes
0
answers
3k
views
Wildfly: http to https redirect on the same port
Question
How does one redirect a http-request to a https-request on the same port?
Use case
Someone opens mypage:1234 but omits the protocol.
The user would expect to enter the page none the less.
...
1
vote
3
answers
567
views
How do I send error logs through e-mail on Wildfly?
Bafflingly, there's no SMTP implementation out of the box. How is it not a basic feature?
Tried adding a custom handler type MailHandler, but I get stuck setting the properties. It seems a good chunk ...
1
vote
2
answers
2k
views
Wildfly : Too many open files
We recently got a "too many open files" error in our production Wildfly 17 on debian 9. A simple restart of the wildfly service got rid of the error but I'd like to avoid the problem to come ...
1
vote
3
answers
8k
views
wildfly and logrotate: wildfly still logs messages to already rotated server.log
For wildfly (on linux) I need following logging scenario: daily rotation of server.log and removing old log files which are older than 90 days. I don't see a way to configure this in wildfly/log4j (...
1
vote
2
answers
5k
views
JBoss EAP 7, IO Subsystem workers configurations
I am asking here because I cannot find much information on this...
What is the main use of the setting for "Io threads" and "Task max threads" under the IO subsystem workers configuration?
...
1
vote
1
answer
18k
views
Cannot start wildfly with systemd
Centos 7
Wildfly-16.0.0.Beta1
JDK 1.8.0_212
I cannot start wildfly with "systemctl start wildfly" but I can start it with "/opt/wildfly/bin/launch.sh standalone standalone.xml 192.168.56.200 &"
...
1
vote
0
answers
68
views
WildFly deployment fails due to 'unable to build Hibernate SessionFactory' - how to retry automatically?
In a customer's environment, updates are scheduled to run on several servers at nighttime, each time this happens our WildFly application is not recovering until I reboot the application server itself ...
1
vote
1
answer
2k
views
Configure WildFly to use HTTPS
I am using WildFly25, and have it running with default settings.
Server console
WildFly Full 25.0.0.Final (WildFly Core 17.0.1.Final) started in 3938ms - Started 308 of 547 services (338 services are ...
1
vote
0
answers
541
views
WFLYEE0097: Module may not be a child of the EAR's library directory. When trying to deploy EAR
I am trying to deploy a web application to WildFly. Right now, I'm simply dropping an ear file in the <JBOSS_HOME>/standalone/deployments directory. When I do, I get the following error message ...
1
vote
1
answer
957
views
Getting rid of the error about the loss of content when updating was files in WildFly (or Jboss EAP) forever
It is not a trivial question about an error on WildFly(10):
WFLYSRV0137: No deployment content with hash
edba0011304daa1b2648eb4848a44536acbbebf6 is available in the
deployment content ...
1
vote
2
answers
2k
views
How to prepare and add Godaddy SSL wildcard certificate to Wildfly/JBoss
I have a done some research into how to prepare the wildcard certificate and add it in a manner in which it could be used within WildFly/JBoss (I'm using WildFly 16, but it should be the same for ...
0
votes
1
answer
10k
views
How to identify cause of error 403 on JBoss WildFly server?
We are running an AngularJS application on JBoss WildFly. It used to work fine on both, our testing environment and in production. How, however, there is a weird error 403 issue in production now.
...
0
votes
1
answer
87
views
Does Wildfly process HTTP requests in order of arrival in a single queue?
Java web application deployed on wildfly 10. This application exposes Rest webservices.
Users, from different PCs, use a client which interacts with web services.
Packets travel through the network. ...
0
votes
2
answers
99
views
Failed to connect to LDAP server.: javax.naming.AuthenticationException
I have configured ldap in Jboss instance, however it's not being connected to ldap server and throws below error.
02:50:08,512 DEBUG [org.wildfly.security] (management task-1) Obtaining lock for ...
0
votes
0
answers
149
views
java.net.SocketException: Too many open files error in java 8 and wildfly
We are using wildfly 8 with jdk version 1.8 in centos stream 8 for our application. Recently we have been facing like application stop responding and on same time we found "Caused by: java.net....
0
votes
0
answers
71
views
AWS EC2 Ubuntu instance launches WildFly (Java / Jakarta EE server) but seems inaccessible via browser
I am trying to setup AWS for a JBoss WildFly 31.0.0.Final to get a demo webapp up and running. So I found this tutorial:
https://kamalmeet.com/cloud-computing/amazon-ec2-step-by-step-guide-to-setup-a-...
0
votes
0
answers
32
views
Can Wildfly/JBoss Management CLI with embedded host controller use a temporary local domain controller?
I need to use Wildfly/JBoss Management CLI to set up managed servers connections to the domain controller. It's under automation, so I'm using the Embedded Host Controller to avoid the hassle of ...
0
votes
1
answer
315
views
How to set Wildfly/JBoss domain controller IP address in managed servers using CLI?
I'm trying to change the domain controller IP address in JBoss/Wildfly managed servers using the management cli, but the configuration either keeps unchanged or changes in the wrong way.
I can find ...
0
votes
0
answers
73
views
[name=Redis, majorVersion=6]; user must register resolver or explicitly set 'hibernate.dialect'
I have asked this question in stackoverflow already, but I think the question is more suitable here. Sorry for cross-posting.
After successfully creating datasource for redis in wildfly, I am now ...
0
votes
0
answers
175
views
JBoss CLI command running into failure
I want to automatically delete my Wildfly logs after a certain period of time (e.g. 3 days). As I am running my application in a container which has no access to crontab, I want to do this via a JBoss ...
0
votes
0
answers
501
views
Automatically delete log files with JBoss CLI for Wildfly application
I want to automatically delete my Wildfly logs after a certain period of time (e.g. 3 days). As I am running my application in a container which has no access to crontab, I want to do this via a JBoss ...
0
votes
1
answer
1k
views
IIS/ARR reverse proxy negotiate pass-through
I am having hard time with IIS/ARR reverse proxying to WildFly application server. On Linux we use web-servers to offload HTTPS, authentication and security functions from application server, so the ...
0
votes
1
answer
584
views
Wildfly 26.1.1.Final Elytron - LDAP "Context was closed"
I am following the Wildfly 26.1 Elytron documentation to try to get LDAP working for a local Wildfly 26.1.1.Final server running in standalone, but am running into an esoteric issue where the context ...
0
votes
0
answers
1k
views
Prevent Wildfly from redirecting HTTP requests to HTTPS
I have a project running on Wildfly 15. For one scenario I need to disable HTTP requests being redirected to HTTPS. When I run the web application on localhost everything is fine, but when I replace ...
0
votes
0
answers
426
views
Wildfly 10 deployment not working very well by replacing war file
I have a java web application that is in charge to execute:
log.info("Welcome New York")
Then I build the war file and it's deployed to Wildfly 10. After that, I check it out the log file ...
0
votes
0
answers
36
views
locate all nested war/jar files inside jboss/wildfly - log4j [duplicate]
I want to detect all nested wars and jars containing the log4j library. I have jboss/wildfly services. I started to find out with 'locate | grep', but it shows me only tmp directories, not exactly war/...
0
votes
2
answers
1k
views
Wildfly standalone.xml - passing secret to KeyCloak SPI from elytron credential store
I'm migrating KeyCloak v15 (WildFly v23) passwords from the old vault to elytron credential store. It works fine for the standard use case. In standalone.xml, I have:
/server/extensions/extension:
<...
0
votes
1
answer
91
views
Alternative to Google Analytics for WildFly application
We run a corporate web site that is hosted on a WildFly server. It is accessible through the internet, but requires individual logins for our customers. Basically, the project is password protected ...
0
votes
1
answer
642
views
When Logging Into Wildfly CLI From Bash Script Keep Getting Help Context Displayed
I have several bash scripts that log a user onto the Wildfly cli and then run some tasks.
For example:
read -p "Enter Admin Name :" USERNAME
read -s -p "Enter Admin Password :" ...
0
votes
1
answer
359
views
Log files defined in logging profiles cannot be accessed by management interface in WildFly
I have a WildFly 15.0.1 running in domain mode in a Docker container. It has two logging profiles configured - one for each application deployed on it. When I log in to the HAL Management Console via ...
0
votes
0
answers
332
views
How to make Wildfly 11 server available during deployment?
We have an EAR with multiple WARs (web services). Those WARs talk to each other during deployment phase using Wildfly's HTTP server. We are using 8.2.0, 10.0.0 and 10.1.0 without problems right now, ...
0
votes
2
answers
3k
views
WildFly 17 load balance with mod_cluster without apache in domain mode
I've successfully created a WildFly cluster with 3 hosts in domain mode.
Now I'm trying to get the mod_cluster subsystem without apache or other server in the middle, as I've seen it's possible, but I ...
0
votes
1
answer
502
views
WildFly run-batch: launch of all deployments with dependencies
I have a WildFly 10 server in which about 12 deployments are installed, and the list of deployments may change periodically.
The main problem is that when i'm restart the server, applications are ...
0
votes
1
answer
969
views
How can I diagnose in Wilfly why security domain in Elytron, based on LDAP realm fails
I am trying to set up web application authentication against Active Directory using Elytron in Wildfly 16.
Deployment fails. This question is not that much about Elytron configuration, but as ...
0
votes
0
answers
1k
views
Wildfly fails to connect to MySql database
I have inherited a wildfly-9 server application and a dedicated MySql database, and I'm trying to revive it. But wildfly tries to connect to the wrong database user, as if it was ignoring user/...