WildFly, formerly known as JBoss AS, or simply JBoss, is an application server authored by JBoss, now developed by Red Hat. WildFly is written in Java, and implements the Java Platform, Enterprise Edition (Java EE) 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.
Questions tagged [wildfly-9]
279 questions
1
vote
2 answers
Wildfly: is possible to define websocket endpoint inside an EJB module of an EAR?
I have an EAR with inside an EJB module and a WAR module... a classic situation.
If i define a websocket endpoint in the war, all works fine: the clients open their connections and they exhchange messages.
If I move the websocket endpoint in the…

Daniele Licitra
- 1,520
- 21
- 45
1
vote
0 answers
JAX-RS webservice testcase Injection of EntityManager sets NULL object in TestClass
I am beginner with JAX-RS webservice and its testcase.
My TestController class is as follows:
public class LotTypeMangementServiceTest {
private final String LOT_NAME = "lotName";
@Inject
private LotTypeManagementService…

user2090294
- 11
- 2
1
vote
0 answers
Wildfly Maven deploy ClassNotFoundException but it's there
I'm facing a very weird scenario where a particular java file within my project is somehow not being seen by wildfly when deploying.
This is the actual error
2017-02-21 15:30:25,069 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3)…

Obb
- 163
- 4
- 12
1
vote
1 answer
PostgreSQL not releasing locks from table
We are migrating our application data from Oracle to PostgreSQL.
Environment Details:
Java 1.8
PostgreSQL 9.5 Enterprise Edition (XA DataSource)
Hibernate 4.3
WildFly 9.0.2
We are using latest PostgreSQL driver(postgresql-9.4.1212.jdbc42.jar)…

Atul
- 1,536
- 3
- 21
- 37
1
vote
0 answers
Wildfly standalone.xml - host open especific myapp.war/somepath
I have an app called myapp.war, but there are 2 entry points inside that war, one in root another in the /app2 folder.
Nowadays the user accesses mycompany.com/myapp and mycompany.com/myapp/app2.
I would like the user to enter through the domain…

liwston
- 113
- 8
1
vote
2 answers
How do I match versions of Wildfly 9.0.1 w/ org.wildfly.arquillian:wildfly-arquillian-container-managed?
Upgrading a J2EE application from Wildfly 8.2.1.FInal to 9.0.1.Final I
discovered the namespace and versioning change of the Arquillian
Wildfly container.
In the JBoss Developer forum I read
This is working with the Maven "org.wildfly.arquillian"…

Mats
- 283
- 4
- 14
1
vote
1 answer
JBatch: BatchProperty injection on Wildfly 9
I just started learning JSR-352 and made it through a view tutorials. But i have a problem with the injection of batch-properties:
The important part of my "myJob.xml" is this

Veilchen4ever
- 357
- 7
- 16
1
vote
3 answers
How to generate jacoco coverage in manual tests?
I have a web application running on wildfly 9 using gradle to build it, and I would like to get code coverage of manual tests, so I started using jacoco for doing so. What I have so far is this in my build.gradle file is this for starting java in…

Rogger Fernandes
- 805
- 4
- 14
- 28
1
vote
1 answer
WildFly 9.0.2 classloading issues
I am facing classloading issue in a WildFly server. I have deployed my EAR file in WildFly Standalone server. And declared dependencies through jboss-deployment-structure.xml.
Everything seems to be working fine except this class:
Caused by:…

Sumanth
- 595
- 3
- 14
- 39
1
vote
0 answers
WildFly does not run my LiquibaseProcucer CDI
I'm trying to run my LiquibaseProducer in WildFly 9.0.2. This is my Producer class:
package nl.itris.mjop.database;
import liquibase.integration.cdi.*;
import liquibase.integration.cdi.annotations.*;
import liquibase.resource.*;
import **********…

Jan vd Klok
- 11
- 3
1
vote
1 answer
EJB Singleton service fails at deploy
I'm rather newbie to JBoss and annotations. I have following code example. Irrelevant details are cutted out.
@Singleton
@Startup
public class SomeBean {
@Resource
TimerService timerService;
@Inject
AnotherSingleton anotherOne;
…

Eruanno
- 25
- 5
1
vote
1 answer
404 Not Found error while consuming REST on EJB
I developed an messaging EJB application with its services that uses WILDFLY 9 server.
Now the application is working and the database is fully functional, I am trying to develop a REST web-service for this app. So I created my RestActivator…

user3726967
- 11
- 2
1
vote
1 answer
How to use custom system property resolver in Wildfly
We use Wildfly 9.0.2 server and we need to use custom property resolver to inject values to system-properties in standalone.xml, to make something like:
…

Dmitry
- 1,056
- 1
- 8
- 17
1
vote
1 answer
JAAS logout does not work for custom login module
In my Java EE application running on a WildFly 9 server, I have a custom login module:
public class MyLoginModule extends AbstractServerLoginModule {
private Principal identity;
@Override
public boolean login() throws LoginException {
…

cheb1k4
- 2,316
- 7
- 26
- 39
1
vote
3 answers
Compile dynamically java class web project
I'm developing a web application where I can import a java code, compile and then execute it.
This class might have some imports from another libraries, which I added to my classpath.
Running it as a desktop application, it works, but running under…

Victor Bello
- 493
- 1
- 8
- 23