Questions tagged [wildfly]

WildFly, formerly known as JBoss Application Server, is an open source (LGPL) application server that implements the latest enterprise Java standards.

WildFly is written in Java and as such is usable on any operating system that supports Java.

WildFly was originally developed by JBoss Inc. which was acquired by Red Hat in 2006. It is licensed under the terms of the GNU Lesser General Public License. WildFly is free and open source software.

The renaming to WildFly was done to reduce confusion. The renaming only affects the JBoss Application Server project. The JBoss Community or the Red Hat JBoss product line (with JBoss Enterprise Application Platform) all retain their names. See also the tag.

For further information, visit the WildFly website.

6512 questions
2
votes
1 answer

How to share JPA data model between 2 EAR in JBoss "Wildfly"

We have a working JBoss v8 "Wildfly" deployment like this: App-ear.ear |_App-model.jar |_App-ejb.jar |_App-web.war This deployment comes with a persistence.xml inside the App-model.jar. Now I want to deploy a second EAR with a different WAR module…
Daniel Bleisteiner
  • 3,190
  • 1
  • 33
  • 47
2
votes
1 answer

How to set version to your war in WildFly?

In apache I use, projectname#1.9-Test##1.9-TEST to set version my war. What is the equivalent of that in WildFly?
2
votes
1 answer

default errorhandler for wildfly 8 logging mechanism

I am migrating a project from JBoss 4.2.3 to Wildfly 9. I am using default jboss-logging mechanism We had errorHandler for every appender in jboss-log4j.xml
Sumanth
  • 595
  • 3
  • 14
  • 39
2
votes
2 answers

Wildfly Security Manager : Permission failed for org.jboss.vfs.VirtualFilePermission

I have My JBOSS Wildfly set up. I have a problem when accessing a certain part in my code that I get an error with the message as bellow: Caused by: java.security.AccessControlException: WFSM000001: Permission check failed for…
Salman9
  • 245
  • 1
  • 4
  • 17
2
votes
1 answer

Wildfly how to remove module such as Mail

For the purpose of slimming services, I have attempted to remove the mail module under the javax. When removing all references to this module in the standalone-full.xml and attempting to run Wildfly, I receive the following exception: …
Andreas
  • 115
  • 2
  • 11
2
votes
0 answers

Eclipse Mars + Wildfly 9 + deployment not working

I have a Java Spring application, configured in Eclipse Mars and I am running Wildfly 9 from within Eclipse. I am using the wildfly-maven-plugin to deploy to server. These are the steps I follow: Start the server from Eclipse and do maven build…
Mayurb
  • 577
  • 2
  • 10
  • 21
2
votes
2 answers

Wildfly missing dependency jboss.ws.config

When trying to start up wildfly, version 8.2.0, using domain.sh, I get this exception. [Server:master-server] 16:44:53,818 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed -…
Jay Harder
  • 31
  • 1
  • 1
  • 5
2
votes
1 answer

AspectJ & shared Spring context inside an EAR on WildFly 9 using hibernate - "No session found for current thread"!

I am wanting to use AspectJ for load-time weaving of my service layer JAR that contains DAO & domain classes and the session and transaction beans that are shared with multiple web projects inside an EAR running on WildFly (JBoss), but am getting a…
Nigel Espi
  • 21
  • 3
2
votes
4 answers

Maven dependency entry for wildfly ejb standalone client

I'm writing a standalone client for an ejb application deployed to jboss wildfly 9.0.1.Final. The documentation I've reviewed suggests there is a readme file (readme-ejb-jms.txt) in the wildfly directory. This file contained the following…
John
  • 3,458
  • 4
  • 33
  • 54
2
votes
2 answers

How to set WildFly 9.0.1.Final httpUri encoding

For the reason that I want to use JavaEE7 and JPA2.1, I turned to WildFly9.0.1 Final which meets my requirement. WildFly9.0.1 Final is using undertow as the Web Server. Chinese Characters(in UTF-8 encoding) from web browser transferred to the jboss…
happyyangyuan
  • 179
  • 3
  • 14
2
votes
2 answers

Weld "Enclosing method not found" exception in an EJB JAR

Deploying an EJB Jar to WildFly 8.2.0 with CDI enabled (i.e. with a minimal beans.xml file) is leading to "Enclosing method not found" exceptions being thrown. There is nothing particularly useful in the logs to identify the source of the error. How…
Phyxx
  • 15,730
  • 13
  • 73
  • 112
2
votes
2 answers

Wildfly add-user.sh Instance to Management Instance

I'm running Wildfly within Docker. I need to add users and set the configuration before the java process is started. I can run the add-user.sh script to create a simple user: /wildfly/bin/add-user.sh admin admin --silent However, I need to create…
Ken J
  • 4,312
  • 12
  • 50
  • 86
2
votes
1 answer

what is the purpose of default-web-module attribute in host tag in standalone.xml file of wildfly 9?

am working on wildfly, in standalone.xml file i have configured hosts as standalone.xml :
Raj Kumar Samala
  • 561
  • 12
  • 31
2
votes
1 answer

UserTransaction: javax.naming.NameNotFoundException after Migration to WildFly 8.2.0 and Java 8

After migrating to Java 8 and WildFly 8.2.0 I get this error on every Transaction UserTransaction: javax.naming.NameNotFoundException: UserTransaction [Root exception is java.lang.IllegalStateException: JBAS014237: Only session and…
Johnny2012
  • 1,512
  • 8
  • 31
  • 46
2
votes
0 answers

java.lang.NoClassDefFoundError: Could not initialize class org.springframework.core.io.support.VfsPatternUtils

As am working on WildFly 8, am getting an error like java.lang.NoClassDefFoundError: Could not initialize class org.springframework.core.io.support.VfsPatternUtils Log: {"JBAS014671: Failed services" =>…
Manish Sharma
  • 29
  • 1
  • 6