After jumping through a few hoops I managed to get Archvia 1.1.3 successfully deployed to JBoss 4.2.3.
Set the appserver.base and appserver.home properties by adding the following lines to $JBOSS_HOME/bin/run.sh and restart JBoss.
Now create data source deployment descriptors for the archiva and users databases and copy them to $JBOSS_HOME/server/default/deploy. I am using MySQL 5.1 to as my database server.
archiva-ds.xml
users-ds.xml
Add WEB-INF/jboss-web.xml to the .war file.
WEB-INF/jboss-web.xml
Remove the following from the WEB-INF/lib folder of apache-archiva-1.1.3.warbecause they will cause conflicts with:
commons-logging-api-1.1.jar
log4j-1.2.14.jar
Copy apache-archiva-1.1.3.war to $JBOSS_HOME/server/default/deploy.