Questions tagged [wildfly-11]

WildFly, formerly known as JBoss AS, is an application server developed by Red Hat. WildFly is written in Java, and implements the Java Platform, Enterprise Edition (Java EE) 7 specification. It runs on multiple platforms. WildFly is free and open-source software, subject to the requirements of the GNU Lesser General Public License (LGPL), version 2.1.

114 questions
2
votes
0 answers

Defining and accessing JNDI variables without java:

i'm currently deploying a .war webservice into a Wildfly 11 application server. The problem is, im dealing with some legacy code where JNDI names are accessed with things like @Resource(name = "xpto/myStringValue") private String myString; I have…
user1508072
  • 217
  • 1
  • 3
1
vote
1 answer

app using hibernate 5.4.27.Final is not deploying successful in wildfly-11.0.0.Final

I have an app (version 201908) deployed in wildfly-11.0.0.Final that's using org.hibernate-hibernate-core-3.6.9.Final and java 8 and is successfully deployed. When I'm trying to deploy this app's newer version (202211), that's using…
WDrgn
  • 521
  • 10
  • 29
1
vote
0 answers

How to validate token issued by Azure Active Directory with Wildfly 11's Elytron subsystem?

I'm trying to protect the application's REST API hosted in my Wildfly 11 container with BEARER_TOKEN that is issued by Azure Active Directory. What I've done already: Migrated from Legacy security to Elytron security. Created a token…
spaykit
  • 121
  • 1
  • 8
1
vote
1 answer

Wildfly module classloading

I have come across a rather curious issue with wildfly classloading. I have a java-ee webapp, structured as follows: some.ear +- some.war +- EJBs.jar both the war and the jar require some spring classes to function properly. I defined a spring…
Jonathan
  • 2,698
  • 24
  • 37
1
vote
1 answer

Call Remote EJB from WildFly to Glassfish

I have the next setting: An EJB deployed in a glassfish 3.2.1 application Server. Trying to deploy a Springboot app as WAR over a Wildfly 11 App Server. In my springboot app, I added the maven dependency for glassfish client…
1
vote
0 answers

which directory to put external jars?

I have a web project to run at a wildfly server which need an external jar . I put the jar in the deployment folder and add jboss-deployment-structure.xml with below code and it works.
kk luo
  • 549
  • 1
  • 9
  • 22
1
vote
1 answer

Can't catch 400 Bad Request with javax.ws.rs.ext.ExceptionMapper

I have a REST service method that uses the POST http method and accepts application/json. The JSON is bound to a JAXB bean: @POST public void test(final HierResult obj) throws Exception { printHierResult(obj); } @XmlRootElement public static…
basin
  • 3,949
  • 2
  • 27
  • 63
1
vote
1 answer

Wildfly loadbalancer log

I have a setup which has one load balancer(wildly-11 in load balancer profile) at front and two server nodes(wildly-11) at the back.Now i need load balancer log which can give details about request transferred to which node.Can anyone explain how we…
avinash
  • 163
  • 2
  • 12
1
vote
1 answer

JBoss_Keycloak_"404 - Not Found"

I am stuck with a JBoss-Keycloak issue. Posting this with the hope that someone who has encountered this may have some idea on what could be going wrong. Details are below. Environment - OS - $ sw_vers ProductName: Mac OS X ProductVersion:…
Naga Vijayapuram
  • 845
  • 7
  • 11
1
vote
1 answer

@Transactional method insert value on exception and multithread wildfly CDI

I have a method in CDI bean which is transactional, on error it creates an entry in database with the exception message. This method can be called by RESTendpoint and in multithread way. We have a SQL constraint to avoid duplicity in database …
cyril
  • 872
  • 6
  • 29
1
vote
1 answer

ActiveMQ doesn't use jboss.bind.address on Wildfly

I'm trying to setup a simple cluster with two nodes and my application uses JMS. I tried start the nodes using command: standalone.bat --server-config=standalone-full-ha.xml…
Rodrigo Menezes
  • 245
  • 7
  • 20
1
vote
1 answer

deploy rest service with camel rest DSL and undertow component to Wildfly Virtual Host

I defined a camel rest DSL service using udertow component and specified a virtual host in jboss-web.xml file but the service is always accessible trough the default virtual Host. Jboss Undertow configuration:
1
vote
1 answer

How configure Wildfly 11 in HA Mode with preferred master?

I am currently using the default HA configuration in Wildfly 11. I would like to know how can I tell which particular cluster is preferred if it is available. I believe I should change the singleton subsystem but I do not know how.
Luciano Borges
  • 817
  • 3
  • 12
  • 31
1
vote
0 answers

neo4j jdbc driver as a module on wildfly

I'm trying to install neo4j-jdbc-driver-3.3.1 as a module on Wildfly 11. I created the folders org/neo4j/driver/main and added the module.xml file as following:
1
vote
1 answer

Handle WildFly component shutdown gracefully

How do I implement a service inside a war-container deployed on wildfly that is able to gracefully shutdown? I have the following example code: SomeService.java: @Stateless public class SomeService { public void doThing() { // this will…
Felk
  • 7,720
  • 2
  • 35
  • 65