jboss-eap-7

Jboss EAP 7 - How to exclude implicit modules from deployment (javax.jms)?

允我心安 提交于 2020-08-06 07:57:13
问题 I didn't think I would end up here but after a lot of Google and StackOverflow searches here I'm. This is my exact problem except that I can't afford to make code changes. The WAR I'm trying to deploy includes a JMS library (i.e. javax.jms , which I cannot exclude form the WAR.) which is already loaded by Jboss EAP 7 by default. The path to jar is something like this jboss/modules/system/layers/base/javax/jms/api/ain/jboss-jms-api_2.0_spec-1.0.0.Final-redhat-1.jar . Because of this two

Unable to send message to remote ActiveMQ Artemis embedded in JBoss EAP 7.2

北城以北 提交于 2020-07-22 08:34:26
问题 I am trying to send a JMS message to remote ActiveMQ Artemis queue that is embedded in JBoss EAP 7.2. I have defined the following in standalone-full.xml : Remote Connector Pooled Connection Factory Remote binding <subsystem xmlns="urn:jboss:domain:messaging-activemq:4.0"> <server name="default"> <journal pool-files="10"/> <security-setting name="#"> <role name="guest" send="true" consume="true" create-non-durable-queue="true" delete-non-durable-queue="true"/> </security-setting> <address

Error while starting JBoss - Could not read provided index: /content/<<warFile>>r/WEB-INF/lib/camel-api-3.0.1.jar/META-INF/jandex.idx

只愿长相守 提交于 2020-06-26 08:06:12
问题 In our project, we are using Spring Boot 2.2.4 and Apache Camel 3.0.1 and deploying the application as a war file in JBoss EAP 7.2.0. I am getting the following error while deploying the application in JBoss 2020-03-11 20:35:59,822 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0002: Could not read provided index: /content/<>/WEB-INF/lib/camel-api-3.0.1.jar/META-INF/jandex.idx Similarly I am getting error on other jandex.idx files in other locations. Can anyone please

JBoss EAP 7.1 Spring-Data-JPA CDI Extension

心不动则不痛 提交于 2020-05-29 06:14:52
问题 We have an app that uses Spring Data JPA repositories to inject into EJB's. Spring's org.springframework.data.jpa.repository.cdi.JpaRepositoryExtension does the magic. It looks for an EntityManager in CDI, saves it for later use, looks for Spring Data JPA repositories using the @Repository annotation, and saves their types for later use. When CDI is initialized, JpaRepositoryExtension::afterBeanDiscovery runs and to do the proper bean creation and insertion into CDI. This has worked perfectly

JBoss EAP 7.1 Spring-Data-JPA CDI Extension

爱⌒轻易说出口 提交于 2020-05-29 06:14:05
问题 We have an app that uses Spring Data JPA repositories to inject into EJB's. Spring's org.springframework.data.jpa.repository.cdi.JpaRepositoryExtension does the magic. It looks for an EntityManager in CDI, saves it for later use, looks for Spring Data JPA repositories using the @Repository annotation, and saves their types for later use. When CDI is initialized, JpaRepositoryExtension::afterBeanDiscovery runs and to do the proper bean creation and insertion into CDI. This has worked perfectly

How to connect to JMS queue JBoss EAP 7 behind NAT?

不打扰是莪最后的温柔 提交于 2020-03-23 01:19:38
问题 I have configured JBoss EAP 7.0 which is behind NAT gateway. JMS client can successfully connect to JMS queues from same server or another saver from same network. But when same JMS client is moved out of that network and try to connect to JMS through NAT gateway it cant connect to the queue. Same behavior is encountered in both development environment and aws ec2 in vpc. Development environment has a NAT gateway and I presume vpc also uses same or similar thing. I started with the code found

How to connect to JMS queue JBoss EAP 7 behind NAT?

点点圈 提交于 2020-03-23 01:18:40
问题 I have configured JBoss EAP 7.0 which is behind NAT gateway. JMS client can successfully connect to JMS queues from same server or another saver from same network. But when same JMS client is moved out of that network and try to connect to JMS through NAT gateway it cant connect to the queue. Same behavior is encountered in both development environment and aws ec2 in vpc. Development environment has a NAT gateway and I presume vpc also uses same or similar thing. I started with the code found

javax.jms.JMSException: Failed to create session factory while sending message to embedded ActiveMQ Artemis within JBoss EAP 7.2

≯℡__Kan透↙ 提交于 2020-02-06 07:57:48
问题 I am trying to develop a program that will send message to ActiveMQ Artemis embedded in JBoss EAP 7.2. I have followed the instructions given in this question: Below is my method which sends a message: public void sendMessage() { Context context = null; ConnectionFactory factory = null; Destination destination = null; Connection connection = null; Session session = null; MessageProducer producer = null; Properties initialProperties = new Properties(); initialProperties.put(InitialContext

javax.jms.JMSException: Failed to create session factory while sending message to embedded ActiveMQ Artemis within JBoss EAP 7.2

偶尔善良 提交于 2020-02-06 07:57:29
问题 I am trying to develop a program that will send message to ActiveMQ Artemis embedded in JBoss EAP 7.2. I have followed the instructions given in this question: Below is my method which sends a message: public void sendMessage() { Context context = null; ConnectionFactory factory = null; Destination destination = null; Connection connection = null; Session session = null; MessageProducer producer = null; Properties initialProperties = new Properties(); initialProperties.put(InitialContext