wildfly-10

Jackson 2 on Wildfly 10: How to load ProviderBase?

纵然是瞬间 提交于 2019-12-11 00:33:11
问题 There seems to be a lot of questions related to Wildfly and Jackson, yet I could not solve my problem despite searching the site far and wide... I want to use Jackson 2 to handle JSON serialization on an app deployed on Wildfly 10, but I keep getting stuck on loading the com.fasterxml.jackson.jaxrs.base.ProviderBase class. Offending code: @Provider public class CustomJsonProvider extends ResteasyJackson2Provider { @Inject private CustomSerializer customSerializer; private List<JsonSerializer<

Wildfly 10 Final indefinitely creating ActiveMQ-client-global-threads

*爱你&永不变心* 提交于 2019-12-10 21:25:16
问题 I have a Wildfly AS setup for JMS, I;m monitoring it with Jconsole and have noticed that before I even create a session on my Consumer or Producer the thread count is steadily increasing, I was previously using Wildfly 9 final for the same purpose, it's thread usage was steady even during use, but it had a memory leak which prompted me to upgrade. In Jconsole I can see: Thread-2(ActiveMQ-client-global-threads-3258368) Thread-4(ActiveMQ-client-global-threads-3258368) Thread-5(ActiveMQ-client

WildFly multiple domains and SSL certificates

时光毁灭记忆、已成空白 提交于 2019-12-09 12:16:06
问题 I have two different domains example1.com example2.com Each domain has its own SSL certificate. What I am trying to do now, is using both domains for the same WildFly instance, supporting SSL. The WildFly documentation states, that I can only reference a single certificate in a keystore. Thus, I can't just define a single <security-realm> with one keystore containing both certificates. Thus, I defined two different <security-realm> . One for each domain. <security-realm name="RealmExample1">

InfinispanDirectoryProvider with Wildfly 10.1

ぐ巨炮叔叔 提交于 2019-12-08 08:22:56
问题 We would like to run our EAR, which uses hibernate search, in a HA cluster with wildfly 10.1 and jgroups using infinispan as a cache for hibernate and hibernate search. The basic cluster configuration, based on standalone-full-ha.xml (additional details below) is working when we use: <property name="hibernate.search.default.directory_provider" value="ram"/> for Hibernate Search's directory provider. But when we change this to: <property name="hibernate.search.default.directory_provider" value

Websockets / STOMP with ActiveMQ Artemis on Wildfly 10 not working

随声附和 提交于 2019-12-08 06:28:15
问题 I am implementing a WebSockets application using Spring WebSockets. As a STOMP broker, I want to use Wildfly's Artemis (Active MQ). I did the following configuration in standalone-full.xml: Adding the following acceptor: <acceptor name="stomp-acceptor" factory-class="org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptorFactory"> <param name="protocols" value="STOMP" /> <param name="port" value="61613" /> </acceptor> add a new application user guest/guest to application-users

Unable to find a MessageBodyReader of content-type text/html and type interface java.util.List

余生长醉 提交于 2019-12-08 04:12:58
问题 Please do not consider it as duplicate request as i have gone through all the post in stackoverflow, none of them answered. no response i found. Issue is : I am facing a very weird issue making a GET request with same piece of code via standalone application (inside main()). It works where as if the same code is put in Java EE app and deployed on a wildfly 10 server, it gives Error "Unable to find a MessageBodyReader of content-type text/html and type interface java.util.List" Code:

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

五迷三道 提交于 2019-12-08 03:15:00
问题 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 to start service jboss.deployment.unit."MyApp.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."MyApp.war".WeldStartService: Failed to start service at org.jboss.msc.service.ServiceControllerImpl$StartTask

How connect to WildFly 10.1.0.Final ActiveMQ Artemis using JNDI and Spring?

僤鯓⒐⒋嵵緔 提交于 2019-12-07 19:14:16
问题 I have WildFly 10.1.0.Final, this have Artemis 1.1.0 Whats the correct way of configure jndi.properties?: java.naming.factory.initial=org.apache.activemq.artemis.jndi.ActiveMQInitialContextFactory java.naming.provider.url=http-remoting://127.0.0.1:8080 jboss.naming.client.ejb.context=false This worket with WildFly 9.0.0.Final that have HornetQ: java.naming.factory.initial=org.jboss.naming.remote.client.InitialContextFactory java.naming.provider.url=http-remoting://127.0.0.1:8080 jboss.naming

InfinispanDirectoryProvider with Wildfly 10.1

扶醉桌前 提交于 2019-12-06 16:31:33
We would like to run our EAR, which uses hibernate search, in a HA cluster with wildfly 10.1 and jgroups using infinispan as a cache for hibernate and hibernate search. The basic cluster configuration, based on standalone-full-ha.xml (additional details below) is working when we use: <property name="hibernate.search.default.directory_provider" value="ram"/> for Hibernate Search's directory provider. But when we change this to: <property name="hibernate.search.default.directory_provider" value="infinispan"/> We get errors: 01:48:21,857 ERROR [org.jboss.msc.service.fail] (ServerService Thread

Unable to find a MessageBodyReader of content-type text/html and type interface java.util.List

落爺英雄遲暮 提交于 2019-12-06 15:44:21
Please do not consider it as duplicate request as i have gone through all the post in stackoverflow, none of them answered. no response i found. Issue is : I am facing a very weird issue making a GET request with same piece of code via standalone application (inside main()). It works where as if the same code is put in Java EE app and deployed on a wildfly 10 server, it gives Error "Unable to find a MessageBodyReader of content-type text/html and type interface java.util.List" Code: ClientConfig configuration = new ClientConfig(); configuration.property(ClientProperties.CONNECT_TIMEOUT, 10000)