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

Keycloak logging with log4j to use custom rolling appender

I'm trying to use Log4J for keycloak project as logging framework since there are custom rolling appenders we have written with few value additions. I was referring to changing logging subsystem in wildfly (keycloak embbeded server -…
2
votes
0 answers

Securing SOAP webservice, wildfly, authentication error

I've got a jax-ws webservice which I need to secure. When I start wildfly everything seems to load nicely, but when I try to send a request via SOAPUI tool, the server returns Error with body element - unauthorized. Relevant parts of code…
mcjkwlczk
  • 145
  • 15
2
votes
1 answer

WELD-001303 with JSF Flows Packaged in EAR File - WELD-001303: No active contexts for scope type javax.faces.flow.FlowScoped

Converting a WAR file using JSF Flows into an EAR file. WAR file structure…
Arun Gupta
  • 3,965
  • 5
  • 31
  • 39
2
votes
1 answer

Inject EJB into RESTeasy webservice

Im currently having a problem injecting a @Stateless-EJB into my RESTeasy implemented webservice: Resource: import javax.ejb.EJB; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import…
Thomas Schmidt
  • 1,248
  • 2
  • 12
  • 37
2
votes
1 answer

Principal in EJB injected from REST service

I have a simple REST webservice that uses basic authentication. @Path("/ws") @Stateless public class MyWebservice { @EJB private MyEJB myEjb; @GET @Path("/get") @Produces(MediaType.APPLICATION_JSON) public MyObject…
user3151902
  • 3,154
  • 1
  • 19
  • 32
2
votes
2 answers

Adding a module in WildFly 8.2.0 Final release

I am new in JBoss and I try to add a jdbc driver for derby as a module in WidlFly 8.2.0. What I did: I added the org/apache/derby/main folder in the JBOSS_HOME/modules/system/layers/base directory In this new folder, I added derbyclient.jar (from…
Olivier
  • 33
  • 1
  • 8
2
votes
2 answers

Override Message-ID by configuration

When I send email from my application using the default WildFly mail session, the auto-generated message ID gives away that my server is WildFly: Message-ID: <524672585.11.1429091886393.JavaMail.wildfly@myserver.example.com> For security reasons,…
Harald Wellmann
  • 12,615
  • 4
  • 41
  • 63
2
votes
0 answers

Need an example how to enable Hibernate query cache with Wildfly 8.2

I try to enable the Hibernate query cache in my application which runs inside Wildfly 8.2. I read through all documentations without any result. Can anybody please give me a minimalistic example what I have to do. Please including all configurations…
gregor
  • 2,397
  • 2
  • 12
  • 18
2
votes
1 answer

Wildfly enable datasource statistics returns "JBAS014792: Unknown attribute statistics-enabled"

When I try to enable the statistic for a mysql datasource in wildfly it throws me the following error: Internal Server Error { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "failure-description" =>…
gregor
  • 2,397
  • 2
  • 12
  • 18
2
votes
1 answer

How can I stop inflight exchanges in camel using something like hawtio?

Using JEE7, Wildfly 8, ActiveMQ 5, Camel 2.13.2. While developing, occasionally tickets will get caught in some impossible circumstance and will retrying 5, 10 times, cluttering up the logs during development. Or, alternatively, I'll need to reboot…
jordanpg
  • 6,386
  • 4
  • 46
  • 70
2
votes
1 answer

CDI bean doesn’t get discovered unless explicitly annotated

What does it mean when Weld says "unsatisfied dependency for type Foo" when the bean is POJO but, as soon as I add @Dependent at the top, everything works ok? I remember it used to work fine without specifying the scope. I think I broke…
gurghet
  • 7,591
  • 4
  • 36
  • 63
2
votes
1 answer

Wildfly Undertow request failed HttpServerExchange on Webservice

I am trying to reach a webservice running on my Wildfly instance. The webservice is annotated as Post and accepts JSON. When I try to call the service, my Wildfly throws an Nullpointerexception. The actual stack trace looks like this: 15:23:40,324…
monimo
  • 21
  • 1
  • 1
  • 4
2
votes
2 answers

Error in starting Wildfly 8.0 server with JDK 1.8

I get this error when I start the server. I tried everything but still not sure what the cause is . Please help Thanks java.lang.IllegalArgumentException: Failed to instantiate class "org.jboss.logmanager.handlers.PeriodicRotatingFileHandler" for…
Ashu
  • 21
  • 1
  • 5
2
votes
2 answers

Module not excluded on Wildfly

We want to exclude the modules\system\layers\base\javax\servlet\jstl\api\main\jboss-jstl-api_1.2_spec-1.1.2.Final.jar from our web application deployment (WAR file). Hence we have the following configuration in…
Harold L. Brown
  • 8,423
  • 11
  • 57
  • 109
2
votes
2 answers

Quickly Update Static Content on WildFly Server

I have web application that is deployed to a local WildFly server. I am currently working on the front-end and am having troubles testing the data calls. All of my data gathering is done via AJAX and thus requires that I be on an actual server to…
Tyler Murry
  • 2,705
  • 3
  • 29
  • 46