</bold></h4

Laden Sie http://pgfakt.de/PGFAKT.war herunter und 
kopieren Sie es in das Verzeichnis "/webapps" Ihres Tomcat-Servers.
Nun sollte das WAR-File sofort selbsttaetig
ausgepackt und installiert werden. Bei der Version 6.xx des Tomcat Unter Ubuntu/Debian sind ggf. Anpassungen
in den Config-Dateien notwendig. (siehe unten).

Alternativ unter Ubuntu/Debian:
TOMCAT6_SECURITY=no

in /etc/init.d/tomcat6 eintragen.

Setzen Sie die Installation dann mit http://localhost:8080/PGFAKT fort.

Tomcat6-Config-Anpassung
/etc/tomcat6/policy.d/04webapps.policy:

// ========== WEB APPLICATION PERMISSIONS =====================================

// These permissions are granted by default to all web applications
// In addition, a web application will be given a read FilePermission
// and JndiPermission for all files and directories in its document root.
grant {
   // Required for JNDI lookup of named JDBC DataSource's and
   // javamail named MimePart DataSource used to send mail
   permission java.util.PropertyPermission "java.home", "read";
   permission java.util.PropertyPermission "java.naming.*", "read";
   permission java.util.PropertyPermission "javax.sql.*", "read";

   // OS Specific properties to allow read access
   permission java.util.PropertyPermission "os.name", "read";
   permission java.util.PropertyPermission "os.version", "read";
   permission java.util.PropertyPermission "os.arch", "read";
   permission java.util.PropertyPermission "file.separator", "read";
   permission java.util.PropertyPermission "path.separator", "read";
   permission java.util.PropertyPermission "line.separator", "read";

   // JVM properties to allow read access
   permission java.util.PropertyPermission "java.version", "read";
   permission java.util.PropertyPermission "java.vendor", "read";
   permission java.util.PropertyPermission "java.vendor.url", "read";
   permission java.util.PropertyPermission "java.class.version", "read";
   permission java.util.PropertyPermission "java.specification.version", "read";
   permission java.util.PropertyPermission "java.specification.vendor", "read";
   permission java.util.PropertyPermission "java.specification.name", "read";

   permission java.util.PropertyPermission "java.vm.specification.version", "read";
   permission java.util.PropertyPermission "java.vm.specification.vendor", "read";
   permission java.util.PropertyPermission "java.vm.specification.name", "read";
   permission java.util.PropertyPermission "java.vm.version", "read";
   permission java.util.PropertyPermission "java.vm.vendor", "read";
   permission java.util.PropertyPermission "java.vm.name", "read";

   // Required for OpenJMX
   permission java.lang.RuntimePermission "getAttribute";

   // Allow read of JAXP compliant XML parser debug
   permission java.util.PropertyPermission "jaxp.debug", "read";

   // Precompiled JSPs need access to this package.
   permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime";
   permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime.*";

   // Example JSPs need those to work properly
   permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.el";
   permission java.lang.RuntimePermission "accessDeclaredMembers";
     // Precompiled JSPs need access to this system property.
   permission java.util.PropertyPermission "org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER", "read";

   // java.io.tmpdir should be usable as a temporary file directory
   permission java.util.PropertyPermission "java.io.tmpdir", "read";
   permission java.io.FilePermission "${java.io.tmpdir}/-", "read,write,delete";

permission java.net.SocketPermission "127.0.0.1:5432","resolve,connect";
permission java.net.SocketPermission "127.0.0.1:80","resolve,connect";
permission java.net.SocketPermission "localhost:0-65535","resolve,connect";
permission java.net.SocketPermission "*:0-65535","resolve,connect";

permission java.io.FilePermission "/srv/tomcat6-examples/-", "read,write,delete";
permission java.io.FilePermission "/srv/tomcat6-examples/-", "read,write,delete,execute";
permission java.util.PropertyPermission "*", "read,write";

permission java.io.FilePermission "<<ALL FILES>>", "read,write,delete,execute";
//permission java.lang.RuntimePermission "accessClassInPackage.burger";
//permission java.lang.RuntimePermission "accessClassInPackage.burger.*";
//permission java.lang.RuntimePermission "accessClassInPackage.burger.pgfs";
permission java.lang.RuntimePermission "accessClassInPackage.*";
//permission java.lang.RuntimePermission "accessClassInPackage.*.*";

};

