p.s. Output from a Vagrant session. Next step is to work on the installer.
murphy:dataverse pdurbin$ export OPERATING_SYSTEM=debian
murphy:dataverse pdurbin$ vagrant ssh
WARNING: Debian specified. Here be dragons!
https://github.com/IQSS/dataverse/issues/1059MAIL_SERVER environment variable not specified. Using localhost by default.
To specify it in bash: export MAIL_SERVER=localhost
Linux vagrant 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Feb 5 12:49:09 2014 from 10.0.2.2
vagrant@vagrant:~$ sudo -i
root@vagrant:~# cd /usr/local
root@vagrant:/usr/local# cp /downloads/glassfish-4.0.zip .
root@vagrant:/usr/local# apt-get install unzip
root@vagrant:/usr/local# unzip -q glassfish-4.0.zip
root@vagrant:/usr/local# apt-get install openjdk-7-jre
root@vagrant:/usr/local# /usr/local/glassfish4/glassfish/bin/asadmin start-domain
Waiting for domain1 to start ...........
Successfully started the domain : domain1
domain Location: /usr/local/glassfish4/glassfish/domains/domain1
Log File: /usr/local/glassfish4/glassfish/domains/domain1/logs/server.log
Admin Port: 4848
Command start-domain executed successfully.
root@vagrant:/usr/local# /usr/local/glassfish4/glassfish/bin/asadmin deploy /dataverse/target/dataverse-4.0.war
remote failure: Error occurred during deployment: Exception while preparing the app : Invalid resource : jdbc/VDCNetDS__pm. Please see server.log for more details.
Command deploy failed.