wildfly-10

How to work with MQTT in Wildfly

帅比萌擦擦* 提交于 2019-12-22 17:53:57
问题 I am working on a platform to monitor and control devices which use MQTT for the communication layer. I use REST endpoints for the Angular2 based SPA Web. The backend is developed in JEE using WildFly which support out of the box the MQTT protocol through is JMS Broker(Active MQ). I am new in JEE and don’t know a lot of things: - I have never used the JMS System - I can’t find any information o tutorial to point me in the right way to get MQTT messages through a JMS Application. Can you help

How do I undeploy all artifacts from WildFly?

时间秒杀一切 提交于 2019-12-21 18:06:13
问题 I am developing a web application and deploying (with IntelliJ) to WildFly 10.1. I recently renamed my webapp module, which results in renaming my war file from foo.war to bar.war . Every time I start up, I get this error: 12:24:15,899 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."foo_war_exploded.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."foo_war_exploded.war".STRUCTURE:

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

时光毁灭记忆、已成空白 提交于 2019-12-20 04:19:56
问题 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 folder. That worked fine. But now, after official packaging, when i start Wildfly and the application, I get an error message... something about the manifest file of this jar. What's the best way to set up the apllication so that this jar is found by

How update WildFly 10.1.0Final Apache Artemis 1.1.0 to Apache Artemis 1.3

两盒软妹~` 提交于 2019-12-19 10:45:10
问题 I have installed WildFly 10.1.0.Final I I created a Stomp over Websocket client to in Javascript to connect directly to a topic in Artemis. I connect an subscrite two clients but when I close or unscribe one of the two clients, the others spot recive messages. I found a mail-list that have exactly discribing the same problem. http://activemq.2283324.n4.nabble.com/STOMP-server-quits-sending-to-all-subscribers-when-one-client-disconnects-td4713980.html One user called "johndament" mention that

Wildfly10 - EJB-Remote Client - no response

陌路散爱 提交于 2019-12-19 06:03:41
问题 I'm currently migrating our code from Jboss7 to Wildfly10. The Server itself starts up totaly fine. When trying to connect our client with the working new wildfly10 server for ejb-remote calls it just won't work. The only thing I get to work with is the following error: org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector setupEJBReceivers WARN: Could not register a EJB receiver for connection to remote-ip:8080 java.lang.RuntimeException: Operation failed with status WAITING at

Redirect http requests to https in wildfly 10

為{幸葍}努か 提交于 2019-12-17 19:49:50
问题 This is my standalone-full.xml configuration with ssl configured security realm . <security-realm name="SslRealm"> <server-identities> <ssl> <keystore path="D:\ncm.keystore" alias="ncm" keystore-password="*****" /> </ssl> </server-identities> </security-realm> Subsystem <server name="default-server"> <http-listener name="default" socket-binding="http" redirect-socket="https"/> <https-listener name="default-ssl" socket-binding="https" security-realm="SslRealm"/> <host name="default-host" alias

What is <OPENSHIFT_MYSQL_ENABLED> environment variable in openshift v3?

风流意气都作罢 提交于 2019-12-14 02:31:35
问题 How can I to set enabled = "true" on datasource of standalone.xml of Openshift v3 Wildfly container like below. <datasource jndi-name="java:jboss/datasources/MySQLDS" enabled="true" use-java-context="true" pool-name="MySQLDS" use-ccm="true"> I put the OPENSHIFT_MYSQL_ENABLED environment variable to "true" but nothing happended. The answer reference site is the below URL: https://developer.jboss.org/wiki/DataserviceBuilderOnOpenShiftV3Online 回答1: I was dealing with the same problem: the

Disable logging of Exception in Bean

戏子无情 提交于 2019-12-13 07:23:46
问题 I'm using Wildfly 10 and JAX-RS (resteasy) and have a Bean being injected in another Bean: @Path("foo") public class FooResource { @Inject BarBean bar; ... } Then I'm calling a method on bar that throws a RuntimeException. I'm handling this Exception in FooResource , but Wildfly has interceptors that print the stack trace to the log. I don't want this to happen. Is there any way to disable this behavior? 回答1: I could only reproduce this when the @Inject ed bean was a EJB (with Wildfly-9). You

How to build a plugin architecture using CDI - I'm using Wildfly 10

99封情书 提交于 2019-12-13 03:47:58
问题 I want to build a JEE plugin based architecture. The main idea is do something similar to what eclipse is, but in the context of JEE. My goal is to have a minimum of modules as the core, and allow others modules extend its functionality. To this, I have implemented a test using 4 modules: gauges: Defines and implements a gaugesregistry service, also defines a gauge POJO. cashgauges: implements a gauge producer using CDI. this is a plugin mock. othergauges: implements a gauge producer using

Wildfly 10 in cluster tries to serialize JSP with org.infinispan.commons.marshall.NotSerializableException

♀尐吖头ヾ 提交于 2019-12-13 03:24:23
问题 I'm trying to use my application with following code in JPS <c:forEach var="area" items="#{MissingSearchBean.workingAreas}"> <h:commandButton value="#{area.workingAreaName}(#{area.count})" action="#{MissingSearchBean.selectWorkingArea(area.workingAreaName)}" styleClass="commandButton" /> </c:forEach> inside wilfly 10. Everything works fine, but when I open view, containing code above I see following error in logs: Caused by: org.infinispan.commons.marshall.NotSerializableException: javax