Previous Topic Next topic Print topic


Using JBoss

JBoss Configuration View

Once a Dynamic Web Project has been created and Eclipse is in Java EE Perspective, a Servers tab is available. JBoss can be started and stopped in the Servers tab with the green circle and red square icons.

In the Servers tab, expand JBoss AS 7.1. This displays the applications that have been deployed.

Double-click JBoss AS 7.1 opens a JBoss Information and Configuration view in Eclipse.

Starting JBoss

When starting JBoss there are known issues with classes from the Axis2 .jar files conflicting with the same named classes in the JBoss .jar files. JBoss issues warning messages for these which may be ignored. The large number of exceptions generated may hide other more serious issues.

One solution is to delete the org/w3c/dom directory from DynWebTest1\WebContent\WEB-INF\lib\xmlbeans-2.3.0.jar.

A neater solution is to exclude these classes from being loaded by adding the file jboss-classloading.xml to the DynWebTest1\WebContent\WEB-INF directory with the following XML:

<classloading xmlns="urn:jboss:classloading:1.0"
 domain="DynWebTest1.war"
 parent-domain="DefaultDomain"
 export-all="NON_EMPTY"
 import-all="true"
 parent-first="false"
 excluded="org.w3c.dom">
</classloading >
See the discussions on the JBoss community Web pages for more information:
Previous Topic Next topic Print topic