jboss-eap-6

Deploy in to jboss EAP 6.4 from jenkins

强颜欢笑 提交于 2019-12-11 14:16:42
问题 I wanted to deploy in to jboss eap from jenkins.I have configured a job which pulls the artifact from nexus repository in to workspace using repository connector plugin.I wanted to do the deployment in to jboss EAP from jenkins.Is there any way i can acheive it? I think one way could be to use the jboss-as-maven-plugin.is there any way i could tell jboss-as-maven-plugin to take the war from workspace location? is there any other option available? 回答1: You can configure maven plugin like as:

Getting started with embeddable JBoss EAP 6 / AS 7

对着背影说爱祢 提交于 2019-12-10 20:55:19
问题 I'm trying out embeddable JBoss with the EJBContainer.createEJBContainer API described in the spec (JSR 318: Enterprise JavaBeans, Version 3.1, ch. 22: Embeddable Usage), not any of the various predecessors using JBoss specific APIs. Overview When i invoke my main method normally, a session bean invocation succeeds. But there seem to be some classloading issues, because the JNDI object at "java:jboss/UserTransaction" cannot be cast to javax.transaction.UserTransaction. So i guess the

ClassNotFoundException on com.sun.jersey.spi.container.servlet.ServletContainer

笑着哭i 提交于 2019-12-10 15:16:08
问题 I am migrating project from jBoss-eap-5.1 to jboss-eap-6.0. I have defined jersey jars in the modules directory of jboss as follows: com |_jersey |_jersey-core |_jersey-client |_jersey-server |_jersey-servlet In my project .pom file i defined the jars as follows: <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey-servlet</artifactId> <version>1.10</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey-core</artifactId>

Error in setExceptionListener in sending message via JmsTemplate to ActivemQ (as external broker of Jboss-eap)

蹲街弑〆低调 提交于 2019-12-08 06:39:30
Based on this article , I've connected Jboss eap 6.2 to an external ActivemQ 5.9.0 . For sending/receiving message i'm using JmsTemplate and DefaultMessageListenerContainer in spring-jms 4.1.1 . Receiving message is working fine, but in sending message i get this error: 11:33:37,059 ERROR [stderr] java.lang.reflect.InvocationTargetException 11:33:37,060 ERROR [stderr] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 11:33:37,060 ERROR [stderr] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 11:33:37,060 ERROR [stderr] at sun.reflect

How to obtain JBoss Server Group Name programatically when deployed to a domain

落爺英雄遲暮 提交于 2019-12-06 14:17:50
问题 How can I obtain the jboss eap 6.x / wildfly server group name programmatically from within a java enterprise application deployed to a domain? Some of the other jboss values such as node name can be obtained via system property values but server-group-name does not appear to be exposed this way. I would like to be able to show the server group name (i.e. the cluster name) in a system diagnostics function for technical users to verify they are looking at the correct system... (npe, dev, prod

issues interating jboss eap6 with ActiveMQ 5.9

对着背影说爱祢 提交于 2019-12-06 11:04:30
问题 I have the activeMQ server running in the jvm at tcp://localhost:61616 then i place the activemq-rar-5.9.0.redhat-610379 unzipped adaptor in the \runtimes\jboss-eap\modules\system\layers\base\org\apache\activemq\main in the adaptor i have the Meta-INF in the jboss EAP6 , standalone.xml i have specified the But when i start the server ... i get the below error ** 12:05:39,910 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 40) JBAS014612: Operation ("add")

Wildfly version in JBoss EAP 7.1.0

女生的网名这么多〃 提交于 2019-12-05 22:15:11
I am using Java 8 to build my application and planning to use JBoss EAP 7.1.0 for production deployment, but I am not getting which version of Wildfly ships with JBoss EAP 7.1.0. I find Wildfly core 3.0.1 but what is Wildfly core? Also is it recomended to update the Java version of JBoss EAP 6.4 to Java 8 and use it? WildFly is not shipped with the EAP. WildFly is a community project and JBoss EAP is a Red Hat product. They live in separate repositories and even if they usually have some common point in history, you can't say WildFly is shipped with EAP. The closest WildFly version to EAP 7.1

How to obtain JBoss Server Group Name programatically when deployed to a domain

瘦欲@ 提交于 2019-12-04 21:51:42
How can I obtain the jboss eap 6.x / wildfly server group name programmatically from within a java enterprise application deployed to a domain? Some of the other jboss values such as node name can be obtained via system property values but server-group-name does not appear to be exposed this way. I would like to be able to show the server group name (i.e. the cluster name) in a system diagnostics function for technical users to verify they are looking at the correct system... (npe, dev, prod etc) One other (and maybe better) way to do it is to use the management API https://docs.jboss.org

issues interating jboss eap6 with ActiveMQ 5.9

我的未来我决定 提交于 2019-12-04 16:53:06
I have the activeMQ server running in the jvm at tcp://localhost:61616 then i place the activemq-rar-5.9.0.redhat-610379 unzipped adaptor in the \runtimes\jboss-eap\modules\system\layers\base\org\apache\activemq\main in the adaptor i have the Meta-INF in the jboss EAP6 , standalone.xml i have specified the But when i start the server ... i get the below error ** 12:05:39,910 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 40) JBAS014612: Operation ("add") failed - address: ([ ("subsystem" => "resource-adapters"), ("resource-adapter" => "activemq-rar.rar") ])

Arquillian tests fail on JBoss eap 6.1 (but working on JBoss 7.1.1)

。_饼干妹妹 提交于 2019-12-04 02:21:42
问题 I have a problem running my arquillian tests (started by a jenkins job) on a JBoss eap 6.1 server. It's no problem to run the tests on a JBoss 7.1.1 server, but when I switch to the eap 6.1 I get the following exception for all tests: java.lang.IllegalStateException: Error launching test at http://0.0.0.0:8080/test/ArquillianServletRunner?outputMode=serializedObject&className=testClass&methodName=testMethod&cmd=event. Got 503 (Service Unavailable) at org.jboss.arquillian.protocol.servlet