JBoss Tools bug: SeamListener not found

Overview If you use JBoss Tools Plugin for Eclipse to deploy apps to JBoss 5.1 container and get a “SeamListener not found”, this post provides a simple workaround. I deployed a webapp to JBoss 5.1 container from Eclipse using JBoss Tools plugin. The app failed to start with the following error: 19:01:14,762 WARN [JAXWSDeployerHookPreJSE] Cannot [...]

Securing a JBoss web application

This articles describes how to secure a Java web application in JBoss using BASIC authentication.

How to configure multiple page.xml files in Seam 2.2

Seam lets you specify navigation rules in the pages.xml file which can become very large for apps with many pages and transitions. Seam allows you to break this file into multiple small files. This allows you to easily manage large applications by creating multiple pages.xml files, typically one per page. This article describes how to create multiple pages.xml files in Seam 2.2.

Spring classpath scan breaks when migrating from JBoss4 to JBoss5

Spring 2.5 classpath scan does not work on JBoss5 due to internal architecture changes in JBoss5. You may face this issue when migrating from JBoss4 to JBoss5. This article walks you through a simple fix, with code snippets.

EJB3 JPA error when migrating from JBoss version 4 to 5

When I tried migrating my JBoss 4.2 application which uses Spring to manage transactions, to JBoss 5.1, I got the following error message.

Specification violation [EJB3 JPA 6.2.1.2] – You have not defined a jta-data-source for a JTA enabled persistence context

This is a known issue and there are two known workarounds for this problem. See article for details.

Maven Cargo JBoss

This article shows how to deploy your war to JBoss using maven and cargo. It also shows how to integration test your JBoss applications using selenium by automatically deploying the war, running the tests and then automatically undeploying the war. All using maven, selenium and cargo!

It is a good practice to startup JBoss outside the scope of maven and use cargo to redeploy your app. Cargo uses the jmx-console over http to deploy and no file path configuration is needed! This only works with JBoss running locally as a file: reference to the war file is passed over http.

See articles for details and code snippets.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes