jboss6.x

Can't deploy Maven jar (MDB) on Jboss 6

风格不统一 提交于 2019-12-12 06:04:13
问题 I am using jboss6, message driven bean, hibernate and maven2 in my application when i try to compile my mdb using maven2 and deploy on jboss6 i get the following error: Failed to create Resource MessageBean.jar - cause: java.lang.Exception:Failed to start deployment [vfs:///opt/jboss6/server/default/deploy/MessageBean.jar] during deployment of 'MessageBean.jar' - cause: java.lang.RuntimeException:org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments

Datasource encryption in jboss eap 6

断了今生、忘了曾经 提交于 2019-12-12 03:26:01
问题 I have encrypted the datasource as follows: Standalone.xml: <datasource jndi-name="java:/OracleDS" pool-name="OracleDS" enabled="true"> <connection-url>jdbc:oracle:thin:@abc.com:1001:DEV1</connection-url> <driver>oracle</driver> <security> <security-domain>encrypted-ds</security-domain> </security> <validation> <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker"/> <validate-on-match>true</validate-on-match> <background-validation

What should I use to implement the JBoss AOP aspect concepts

谁说胖子不能爱 提交于 2019-12-12 02:05:26
问题 I am currently using JBoss app server 6 and using JBoss AOP aspects in my application. As I am migrating to my application to another app server, I need to implement aspects and I cannot use JBoss AOP. Could you please suggest what technology should I use to implement the JBoss AOP aspect concepts. 回答1: AspectJ. It is mature, independent of a certain app server, efficient and more powerful than JBoss AOP or Spring AOP. 来源: https://stackoverflow.com/questions/26906118/what-should-i-use-to

SocketException in Java EE 6 application

*爱你&永不变心* 提交于 2019-12-11 23:22:23
问题 I get the following exception seemingly at random on several occations per day in production environment, and it's starting to bother me. I never get it while developing soi I have a hard time deciding the cause. Does anyone know what the cause might be? I've searched around on the exception without really finding anything useful. 2011-12-0808:18:51,311VARNING[javax.enterprise.resource.webcontainer.jsf.application](http-0.0.0.0-80-16)JSF1064:Unable to find or serve resource,jquery/ui/jquery

NameNotFoundException when running simple webapp in JBOSS 6 but Not on JBOSS 7

只谈情不闲聊 提交于 2019-12-11 18:02:17
问题 I have a simple web-app ( REST service and EJB ) that when I run on JBOSS 7 works fine. But on JBOSS 6 I get NameNotFoundException . I am unable to figure out why it works with JBOSS 7 but not with JBOSS 6 . my pom.xml includes dependencies for java ee 6 api . Here is the code: jax-rs activator: import javax.ws.rs.ApplicationPath; import javax.ws.rs.core.Application; @ApplicationPath("rest") public class RestApplication extends Application { } EJB import java.util.Date; import javax.ejb

JBPM: How to run a sql query from a service task?[ver 6.2]

我是研究僧i 提交于 2019-12-11 11:47:08
问题 My objective is to get data from a table stored in MySQL db. For that I have created a custom service task which pulls out the relevant data using hibernate. It works as expected when I run it as a java application on Eclipse. It complains that it is not able to find the required 'persistence unit' when run on the server. I'm pushing my project using git onto kie-workbench(not sure if it's a good way) and had to make a few modifications to couple the work item with work item handler. Work

Problems with @Stateless and application startup on JBoss 6

久未见 提交于 2019-12-11 11:06:09
问题 I have created a Java Web project with just one class. If I compile and deploy the WAR to JBoss everything works fine. However, if I make the class @Stateless, JBoss deployment fails with the error. java.lang.IllegalArgumentException: EntityManagerFactory cannot be null I am (by now) sure that I must be doing something very stupid but I cannot see what my problem is. Update : Must be something with the installation I have been given. Works fine on a local install of JBoss 6. Larger stacke

JBoss war file deployment issue

故事扮演 提交于 2019-12-11 10:08:06
问题 I am trying to deploy a KM.war file on jboss server. Its getting following error trace. 16:12:07,680 ERROR [AbstractKernelController] Error installing to PostClassLoader: name=vfs:///F:/software/servers/jboss-6.0.0.Final/server/default/deploy/OpenKM.war state=ClassLoader mode=Manual requiredState=PostClassLoader: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///F:/software/servers/jboss-6.0.0.Final/server/defau lt/deploy/KM.war at org.jboss.deployers.spi

NoClassDefFoundError in JBOSS EAP6.4

家住魔仙堡 提交于 2019-12-11 08:41:46
问题 When I deploy my war in JBOSS EAP6.4 I get below error inspite of having jackson-mapper-asl.1.9.2.jar in my classpath and setting to read in deployment structure <?xml version="1.0" encoding="UTF-8"?> <jboss-deployment-structure> <deployment> <dependencies> <module name="deploy" /> <module name="org.codehaus.jackson.jackson-mapper-asl" /> </dependencies> </deployment> </jboss-deployment-structure> Below is the log stack Thread-11733 2016-09-12 06:12:10,169 | WARN | session= | user= | org

Unable to exclude logmanager module on JBoss 6 EAP

依然范特西╮ 提交于 2019-12-11 05:15:07
问题 I'm trying to exclude all the logging modules from a jboss-deployment-structure.xml in JBoss 6 EAP. My jboss-deployment-structure.xml is: <jboss-deployment-structure> <deployment> <exclusions> <module name="org.apache.log4j" /> <module name="org.jboss.logging" /> <module name="org.jboss.logmanager" /> <module name="org.jboss.log4j.logmanager" /> </exclusions> </deployment> </jboss-deployment-structure> So after I deploy my .war with said configuration I get: [ModuleClassLoader for Module "org