Home > Guides > Core Developers Guide > Application Servers > JBoss 5 |

Apache Struts 2 Documentation
JBoss 5
Edit Page Browse Space Add Page Add News

### Convention plugin support

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`

Linux/OSX - $JBOSS_HOME/bin/run.conf

    JAVA_OPTS="$JAVA_OPTS -Djboss.vfs.forceVfsJar=true"

Windows - $JBOSS_HOME\bin\run.conf.bat

    set "JAVA_OPTS=%JAVA_OPTS% -Djboss.vfs.forceVfsJar=true"

You can find more details about JBoss VFS here.