wildfly-10

How to configure same context applications to use different machines with ModCluster and Wildfly10

北城余情 提交于 2019-12-03 22:45:53
I'm trying to use ModCluster to load balance some servers. We have one single EAR that need to be load balanced by different DNSs. We have this scenario. We need to maintain the same context 'system1' because of backward compatibility 4 servers for urla.com.br/system1/ 2 servers for urlb.com.br/system1/ Using Wildfly 10.1.0 in domain mode, they are separated by two server groups: URLA and URLB . They share the same profile (URL-HA) and socket bindings (URL-HA-SOCKET). I have an Apache with mod_cluster with a minimal configuration. LoadModule cluster_slotmem_module modules/mod_cluster_slotmem

JNDI No EJB receiver available for handling

大城市里の小女人 提交于 2019-12-02 20:04:45
问题 I have a problem with my EJBTest. I have installed WildFly and configured user management and application management. I wrote an EJB 3.0 and deployed it: @Stateless @Remote(NewSessionBeanRemote.class) public class NewSessionBean implements NewSessionBeanRemote { List<String> bookShielf; /** * Default constructor. */ public NewSessionBean() { bookShielf = new ArrayList<String>(); } @Override public void addBook(String bookName) { bookShielf.add(bookName); } @Override public List getBook() {

JBOSS gives org.apache.kafka.common.KafkaException: auth.conf cannot be read

一个人想着一个人 提交于 2019-12-02 16:35:14
问题 When I deploy war of my simple kafka project (which works fine as a jar ) in wildfly v 10 , i get some zookeeper connection exception[1].This occurs when kafka listener starts to connect with zookeeper [1]] 15:21:58,531 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 82) MSC000001: Failed to start service jboss.deployment.unit."ratha.war".component.KafkaServiceBean.START: org.jboss.msc.service.StartException in service jboss.deployment.unit."ratha.war".component

JNDI No EJB receiver available for handling

别来无恙 提交于 2019-12-02 08:55:56
I have a problem with my EJBTest. I have installed WildFly and configured user management and application management. I wrote an EJB 3.0 and deployed it: @Stateless @Remote(NewSessionBeanRemote.class) public class NewSessionBean implements NewSessionBeanRemote { List<String> bookShielf; /** * Default constructor. */ public NewSessionBean() { bookShielf = new ArrayList<String>(); } @Override public void addBook(String bookName) { bookShielf.add(bookName); } @Override public List getBook() { return bookShielf; } } Afterwards, I wrote a simple client to connect it: private static void

How to dynamically change JMS queue MDB pool size in WildFly 10

[亡魂溺海] 提交于 2019-12-02 03:44:41
问题 I am working with WildFly 10.1 which ships with Artemis as the new JMS provider but I am unable to find how to dynamically change the number of consumer threads for a specific MDB. I have a queue, and a message listener (MDB) consuming messages from the queue, now I want to dynamically control the maximum number of consumers threads the domain must start. How can I do it using CLI? 回答1: As you want to do this configuration for a specific MDB you could firstly assign it to a dedicated pool.

JMS Bridge Between WildFly 10 Artemis and ActiveMQ 5.14 (ONCE_AND_ONLY_ONCE Quality of Service)

好久不见. 提交于 2019-12-02 01:01:19
I'm trying to set up a JMS Bridge between Artemis (Running in WildFly 10) and ActiveMQ 5.14 In general the process seems to work smoothly, but unfortunately I'm getting stuck on the XA configuration that is necessary to get ONCE_AND_ONLY_ONCE QoS to work. Although messages do arrive on the ActiveMQ side, I get the following error in the WildFly log: 11:25:57,920 WARN [org.apache.activemq.artemis.jms.bridge] (Thread-97) AMQ342009: JMS Bridge failed to send + acknowledge batch, closing JMS objects: javax.jms.IllegalStateException: Not a transacted session at org.apache.activemq.ActiveMQSession

How to dynamically change JMS queue MDB pool size in WildFly 10

。_饼干妹妹 提交于 2019-12-02 00:37:41
I am working with WildFly 10.1 which ships with Artemis as the new JMS provider but I am unable to find how to dynamically change the number of consumer threads for a specific MDB. I have a queue, and a message listener (MDB) consuming messages from the queue, now I want to dynamically control the maximum number of consumers threads the domain must start. How can I do it using CLI? Rémi Bantos As you want to do this configuration for a specific MDB you could firstly assign it to a dedicated pool. See this answer . Then to dynamically update your pool attributes you could take a look at this

JBOSS-LOCAL-USER: javax.security.sasl.SaslException: Failed to read server challenge

戏子无情 提交于 2019-12-01 20:31:42
When I want to access EJB on remote wildfly server from a different server, i get following error. Error: Authentication failed: all available authentication mechanisms failed: JBOSS-LOCAL-USER: javax.security.sasl.SaslException: Failed to read server challenge [Caused by java.io.FileNotFoundException: /../wildfly/standalone-/tmp/auth/X.challenge (No such file or directory)] DIGEST-MD5: Server rejected authentication If i access EJB within the server, i don't get any auth error. I use following to access server; http-remoting://server1:8080 Basically if i call this in server1, there is no

Wildfly 10 Final postgres driver ClassCastException

和自甴很熟 提交于 2019-11-30 16:08:13
问题 eventually somebody can help me. Currently I have a really strange problem when starting wildfly 10 Final with a postgres driver but with the same setting wildfly 10 CR4 will start up. The exception I get is following: Caused by: javax.resource.ResourceException: IJ031089: Failed to load datasource: org.postgresql.Driver at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.getDataSource(LocalManagedConnectionFactory.java:650) at org.jboss.jca.adapters.jdbc.local

Wildfly 10 Final postgres driver ClassCastException

和自甴很熟 提交于 2019-11-30 15:39:31
eventually somebody can help me. Currently I have a really strange problem when starting wildfly 10 Final with a postgres driver but with the same setting wildfly 10 CR4 will start up. The exception I get is following: Caused by: javax.resource.ResourceException: IJ031089: Failed to load datasource: org.postgresql.Driver at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.getDataSource(LocalManagedConnectionFactory.java:650) at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.createLocalManagedConnection(LocalManagedConnectionFactory.java:311) ... 6 more Caused by