Home > Guides > Core Developers Guide > Application Servers > JBoss 5 |
To have proper support of the Convention Plugin in JBoss AS 5, especially when you put actions inside a jar (which is embedded in war or ear) and not directly into WEB-INF/classes
, you must add the following line into $JBOSS_HOME/bin/run.conf
or into $JBOSS_HOME\bin\run.conf.bat
JAVA_OPTS="$JAVA_OPTS -Djboss.vfs.forceVfsJar=true"
set "JAVA_OPTS=%JAVA_OPTS% -Djboss.vfs.forceVfsJar=true"
You can find more details about JBoss VFS here.