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
1
vote
0 answers

JCache infinispan is there a way to retrieve number of entries in cache?

I am working with infinispan cache (7.1.0.Final) in a maven application running on wildfly 10.1.0.Final. Caching is working fine, I am using the automatic caching approach with @CacheResult, @CacheRemove, @CacheRemoveAll annotations and defined the…
1
vote
0 answers

JCache Infinspan creates immortals on entry update

While using JCache (Infinispan) on Wildfly 10.1 I stumbled against the following issue. I created a new cache (test-cache) where I used CreatedExpiryPolicy with a duration of 5 minutes. After playing around with the cache I noticed that if I put…
maroswal
  • 96
  • 6
1
vote
1 answer

wildfly anonymous remote jms access

I'm trying to access a remote JMS queue from a unit test. As far as I can tell by looking at the config, the Remote factory is there, and security is disabled. However, I keep getting Authentication exception. Do I have to pass some additional…
user2793390
  • 741
  • 7
  • 29
1
vote
1 answer

Can't build Java EE project using org.wildfly:wildfly-spec-api dependency

I have Java EE 7 application deployed to WildFly 10.1.0.Final I have the following Maven configuration:
guest
  • 1,696
  • 4
  • 20
  • 31
1
vote
0 answers

Facing java.lang.IllegalAccessError for a base abstract class when trying to inject its implementation in wildfly 10

We are receiving the following exceptions in one of our code : java.lang.IllegalAccessError: tried to access class base.BaseMessage from class message.beans.TerminalPowerCommandProducer$Proxy$_$$_WeldSubclass Our class structure is as follows : The…
1
vote
0 answers

Wildfly Custom form authentication configuration

How to add custom authenticator in Wildfly? In JBoss 4.2 it was like below: In \jboss-as\server\production\deploy\jboss-web.deployer\META-INF\jboss-service.xml, add the following in : MY-CUSTOM-AUTH
Kathy
  • 11
  • 2
1
vote
3 answers

Managed bean with a parameterized bean class must be @Dependent: class org.apache.cxf.jaxrs.provider.AbstractCachingMessageProvider

After adding tika parser in my application I am getting the following error in my Spring Application. I am running the application on wildfly 10.1.1 final. 11:11:30,371 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed…
sharoon d'cunha
  • 47
  • 1
  • 3
  • 9
1
vote
1 answer

Defer TransactionalObserverNotifier fails with ARJUNA016082: Synchronizations are not allowed

I am currently facing an issue when I fire an CDI event through a Hibernate lifecycle listener, and defer the notification until the transaction has succeeded using @Observe(during = ...). This logic works fine in some cases, but there seem some…
1
vote
1 answer

Wildfly10: Configuring deployment runtime name with XML

Can I set the runtime name of a deployment by configuring a XML file inside .war file? besides the file name of the .war, is there a way to configure the name and runtime name of a deployment using XML?
ethanxyz_0
  • 713
  • 12
  • 37
1
vote
1 answer

Add camunda-bpm-wildfly with activemq and run in same docker container

I want to add camunda-bpm-wildfly with active mq and run in same docker container. First I added them to two containers and tried to run as follows. It was OK. 1. Running camunda-bpm-wildfly. Dockerfile : FROM…
ironwood
  • 8,936
  • 15
  • 65
  • 114
1
vote
1 answer

How do I specify in jee 7 permissions.xml

I have a JAXRS web application that is being deployed to a Wildfly 10 standalone server. I am trying to create a restrictive META-INF/permissions.xml security policy in my war file, but I am struggling to get the java.io.FilePermission to recognize…
1
vote
0 answers

Using Container-Managed EntityManager with Spring Data JPA

The Javadoc for PersistenceAnnotationBeanPostProcessor states, "If you prefer the Java EE server's own EntityManager handling, specify entries in this post-processor's 'persistenceContexts' map." This causes PersistenceAnnotationBeanPostProcessor to…
gilby
  • 232
  • 2
  • 13
1
vote
0 answers

org.springframework.jms.listener.DefaultMessageListenerContainer

I have a application that uses the above class to listen on a configured JMS queue in WildFly ( 10.1.0 )
Pete Long
  • 107
  • 2
  • 11
1
vote
0 answers

Wildfly 10 (JDK 8) - Optimizing the JVM CodeCache for continuous hotdeploy (ReservedCodeCacheSize)

A few weeks ago we faced higher use of CPU after some days running our apps in Wildfly. Looking at Thread Dump, we find out that C2 Compiler Thread was the suspect. Analising the JVM memory pool we realized that, while using Wildfly with 28…
ethanxyz_0
  • 713
  • 12
  • 37
1
vote
1 answer

what's the best way to use the jboss-client.jar in a Wildfly 10 application?

I have a Wildfly 10 ear application (runs in the server container) which needs to be able to publish to a remote queue hosted on another wildfly server. To accomplish that I copied this jar from the wildfly\bin\client folder into the ear's lib…
inor
  • 2,781
  • 2
  • 32
  • 42