Questions tagged [wildfly-10]

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.

flexible, lightweight, managed application runtime that helps you build applications in java

932 questions
2
votes
1 answer

SessionContext is null in Wildfly 10 Domain mode

In Wildfly 10 standalone mode I am getting SessionContext object using below snippet InitialContext context = new InitialContext(); UserTransaction userTrans = null; userTrans = (UserTransaction)…
happy
  • 2,550
  • 17
  • 64
  • 109
2
votes
2 answers

Stop WildFly 10 programmatically

I am migrating from JBoss 6.1.0_final to WildFly 10. On a certain condition, I want to stop my server. Like: if (condition == true) System.exit(1); The above code works fine in JBoss, it shuts down the server immediately. But when I exeute the…
Hitesh Ghuge
  • 793
  • 2
  • 10
  • 39
2
votes
2 answers

WildFly 10.1 starts on different IP but still tries to connect to 127.0.0.1:9990 for HTTP remoting and failing to connect

I am using jBPM 7.3. Everything works fine while starting but after around 5 minutes it tries to connect to 127.0.0.1:9990 port. Yet I have specified my IP address while starting as ./standalone.sh -b 10.14.24.161. Even I changed it in…
Rupesh
  • 27
  • 7
2
votes
0 answers

Wildfly Apache Spark - Application not getting deployed Could not build ClassFile

I am trying to deploy a web application which has dependencies on Spark version 2.1.1, Hbase 1.2, Phoenix 4.11 and Kafka 0.9. The application is not getting deployed, the error I am encountering is given below. It is regarding javassist, the default…
2
votes
1 answer

java.lang.IllegalArgumentException: Unable to locate persister

I am working on a project migrated from WLS8 to WildFly 10. Hibernate 3.3 (implementation of JPA) was used in WLS8. However, WildFly 10 doesn't support this version so I use the default Hibernate (version 5) bundled with WildFly 10. But I got run…
Wayne
  • 45
  • 2
  • 7
2
votes
1 answer

How to lookup EJB using JMS and CDI 1.2

I am migrating my project to Wildfly10 and using cdi-api 1.2. I have been using this structure to get the beanManager and then lookup some resources (example EJBs). import javax.enterprise.inject.spi.BeanManager; import…
2
votes
3 answers

Wildfly 10.1 server failing to deploy/start

When starting wildfly server with: ./standalone.sh or deploying my war I get the error: 21:54:04,596 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" =>…
Silk13
  • 47
  • 2
  • 9
2
votes
0 answers

How can I add Keycloak security to messaging in Wildfly 10?

I tried to set the security domain of the messaging server to the Keycloak-enabled security domain, but the messaging subsystem (Apache activeMQ artemis) cannot find the keycloak classes. How can I make the keycloak classes visible to the messaging…
Maddin
  • 957
  • 1
  • 11
  • 21
2
votes
0 answers

How to use a war for Rest API in wildfly

I have a war file consisting of my spring programs. I want to use it in wildfly 10. Deployed it in server successfully. What are the next steps to be followed to use the war file. I am using Wildfly 10 Jboss AS 7.1.1 JBDS 11
Vijay J
  • 93
  • 8
2
votes
0 answers

Programmatically creating an EntityManagerFactory gives NullPointerException in wildfly

When programmatically creating an EntityManagerFactory, it produces a Nullpointer when the persistence.xml contains a node . I have tested this on Wildfly wildfly-10.1.0.Final. I have tried to update Hibernate…
Kevin Cruijssen
  • 9,153
  • 9
  • 61
  • 135
2
votes
0 answers

WFLYCTL0212: Duplicate resource

When I start Wildfly 10.1.0 I get WFLYCTL0212: Duplicate resource error. I get the error both if I start the server from Eclipse and from dos console. Detailed log messages: 09:55:44,332 INFO [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049:…
Luke
  • 1,633
  • 3
  • 23
  • 37
2
votes
1 answer

Replication timeout exception is occuring often in infinispan replicated cache added in wildfly 10 cluster(2 nodes)

We are setting up a clustered environment using wildfly 10 of 2 nodes. We have added a new cache-container and replicated cache named 'userSessionData' for sharing data across two servers. Standalone-full-ha.xml is used. Everything is working fine…
SUJIT RAJAN
  • 49
  • 2
  • 4
2
votes
0 answers

java.lang.reflect.MalformedParameterizedTypeException in WIldfly 10

I get this error when I try to start WAR package in Wildfly 10 with several dependencies: 15:44:52,564 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service…
Peter Penzov
  • 1,126
  • 134
  • 430
  • 808
2
votes
0 answers

Custom auth module for JASPI authentication in wildfly

I need to use a custom auth module for JASPI authentication in wildfly. My standalone-full.xml:
Sahid
  • 100
  • 1
  • 1
  • 11
2
votes
0 answers

Java Thread Stuck Wildfly 10.1 Consuming 100% CPU (10 Core)

We have recently moved from Jboss 4 to Wildfly 10.1 and Java 1.6 to 1.8. We are facing many issue regarding CPU utilization, for instance below thread is running from last 16 hours and not ending. There are two thread like this and both are…
ROHIT
  • 185
  • 1
  • 3
  • 17