JBoss Migration

MPDL

=Introduction= This page is intended to collect information on how to migrate our solutions (PubMan, Faces, VIRR) to a newer JBoss AS version. Current version is JBoss AS 4.2.2.

Download of JBoss AS

=JBoss AS 5.1=

Facelets/Richfaces
Pubman currently does not use these libraries, but they are anyway included in the pubman.ear POM file and cause exceptions with this jboss version. Fix: Remove these libraries from POM for now. If they are needed later, new versions of the libraries have to be used and tested.

EJB binding in JNDI Namespace
Error during deployment

Reason: Our EJBs are not correctly bound in the JNDI namespace.

Fix: A new version of jboss's ejb3 libraries has to be used. Instead of we have to use which is included in the jboss-ejb3-ext-api.jar

=JBoss AS 6.0=

Wrong Trinidad schemaLocation attribute in Trinidad's tag libraries
Error during deployment:

Reason: Trinidad uses wrong schemaLocation attribute in tr.tld and trh.tld of the trinidad-impl package.

Workaround: Using a modified trinidad-impl-package. Change to in tr.tld and trh.tld (in the trinidad-impl-package AND the pubman-presentation WEB-INF!!)

Invalid XML in Trinidad's tag libraries
Error during deployment:

Reason:The description tag in line 112 is at an invalid position according to the schema.

Fix Set the description tag including its content directly beyond the tag tag (in the trinidad-impl-package AND the pubman-presentation WEB-INF!!)

...more to come
JBoss AS 6 is still not finally released and implements new standards (for Java EE 6, e.g. JSF 2.0). Therefore many libraries are included that collide with the older versions of existing PubMan libraries. Seems that a very complex rework (update of used libraries and evtl. code) of most modules (common services and pubman itself) is necessary to get PubMan running with JBoss AS 6