Virtual Desktop Infrastructure Portal
Bachelor-Praktikum Sommersemester 2011 TU Darmstadt
- Clone this project
- Install VirtualBox (see below)
- Install Eclipse
- Import sourcecode:
- File -> Import -> Maven -> Maven Projects, choose the folder from step 1, in Advanced select Naming template:
[groupId].[artifactId]
- File -> Import -> Maven -> Maven Projects, choose the folder from step 1, in Advanced select Naming template:
- Install PostgreSQL (see below)
- Add
vboxjxpcom.jar
to tomcatshared.loader
- in the servers view tab double click the Server -> Open launch configuration -> Tab Classpath -> Users Entries -> Add external jar -> select the vboxjxpcom.jar
- Configure NodeController (see below)
- Configure ManagementServer (see below)
- Configure WebInterface (see below)
IMPORTANT: Due to Java XPCOM-issues the VirtualBox-API can not be accessed from Windows machines. Linux and Mac OS X works just fine.
- Install PostgreSQL Server
- Create database
- Database name:
VDIPortal
- Database name:
- Edit
hibernate.cfg.xml
located insrc/management/src/main/resources
, depending on your configuration set properties- connection.url
- connection.username
- connection.password
- Install the latest VirtualBox, get it from the VirtualBox (download page)
- Install the ExtensionPack, get it from the VirtualBox (download page)
- Create the following symbolic link:
ln -s /usr/lib/virtualbox/libvboxjxpcom.so /usr/lib/libvboxjxpcom.so
IMPORTANT: The home folder must be writeable for the user executing the NodeController, i.e. tomcat6
The entire project can be build with mvn package
. This creates all .war-files in the target-directories of every subproject.
To install the applications, move the .war-files to the Tomcat webapps directory.
Edit the configuration.properties
file located in src/node/src/main/webapp/WEB-INF
and fill in appropriate values.
vbox.home
depends on where VirtualBox is installed. On Mac OS X, this is probably /Applications/VirtualBox.app/Contents/MacOS
, on Linux hosts something like /usr/lib/virtualbox
Edit the configuration.properties
file located in src/management/src/main/webapp/WEB-INF
and fill in appropriate values.
Edit the configuration.properties
file located in src/web/src/main/webapp/WEB-INF
and fill in appropriate values.
Copyright (c) 2011 Lennart Diedrich, Jan Dillmann, Ingo Jakobs, Samuel Vogel
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.