ant -Dj2ee.jar=/path/to/my/j2ee.jar
use.ejb=true.ant -Dsite=personal).
You could have the site files live in another directory, but you will
still need a config.properties file and you will then have to set the site
property as before and the site.dir property accordingly.I figured out a workaround to make your app work in JBoss with embedded Tomcat. See the following bug:Note that JBoss with embedded Jetty works fine.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14476Turns out it is a known issue, but the Struts guys say that since it works in Tomcat standalone without any workarounds, that it is a JBoss bug and should be reported there.
What I did, specifically, to make things work is to put commons-validator.jar in JBOSS_HOME/server/default/deploy *before* starting JBoss. Then, I started JBoss and ran the "deploy-jboss" target like normal. Everything works now. Tested with jboss-3.0.5_tomcat-4.1.18.